:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";

  --font-weight: 400;

  --size-text-normal: 16px;
  --size-line-height: 1.2;
  --size-column: 800px;

  --color-bg: #ffffff; 
  --color-text: #000000; 
  --color-yellow: #FFE839;
  --color-orange: #FF5800;
}

html,body {
  height: 100%;
  width: 100%;
  font-family: var(--font-sans); 
  font-size: var(--size-text-normal);
  line-height: var(--size-line-height);
  font-weight: var(--font-weight);
  font-style: normal;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  position: relative;
  color: var(--color-text);
  background-color: var(--color-bg);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  line-height: var(--size-line-height);
}

a,
a:link,
a:visited,
a:hover,
a:active {
  color: inherit;
  text-decoration: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

a:focus-visible {
  outline: 1px solid var(--color-highlight);
  outline-offset: 2px;
}

p {
  margin: 0;
}

img {
  display: block;
}

a.inline {
  color: #0062FF !important;
  text-decoration: underline;
}

/* -------- */

header {
  background-color: var(--color-yellow);
  padding-top: 3rem;
  padding-bottom: 5rem;
}

header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  height: auto;
  box-sizing: border-box;
  padding: 1rem;
  width: 100%;
  max-width: 720px;
}

header h1 img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* -------- */

div.column {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1000px;
  box-sizing: border-box;
  padding-inline: 1rem;
  margin: 0 auto;
}

/* -------- */

.card {
  border: 1px solid #D9D9D9;
  border-radius: 10px;
}

/* -------- */

div#counter {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  padding-left: 1rem;
  z-index: 2;
  background-color: white;
  margin-top: -3rem;
  margin-bottom: 1rem;
}

span.counter-heading {
  font-weight: 700;
  font-size: 1.2rem;
}

div#counter-array {
  position: relative;
  display: flex;
  flex-direction: row;
  gap: 1px;
  justify-content: space-between;
  width: 40%;
}

span.counter-divider {
  display: block;
  width: 1px;
  height: 2rem;
  background: red;
  transform: translateY(4px);
}

div.counter-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
}

span.counter-num {
  font-weight: 700;
  font-size: 2rem;
  text-align: center;
}

span.counter-sub {
  font-size: 13px;
}

/* -------- */

div.card-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

div.card-row .card {
  flex: 1;
  padding: 1rem;
  box-sizing: border-box;
  font-size: 1.2rem;
  background-color: white;
}

span.icon {
  display: block;
  height: 48px;
  width: 36px;
  overflow: hidden;
  background-size: auto 100%;
  margin-bottom: .5rem;
}

/* -------- */

div.copy-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 60%;
}

div.copy-group p {
  font-size: 1.5rem;
  line-height: 1.4;
}

h2 {
  font-size: 3rem;
  font-weight: 700;
}

span.highlight {
  font-weight: 700;
  background-color: var(--color-yellow);
}

a.cta {
  display: inline-block;
  width: max-content;
  margin-top: 1rem;
  color: white;
  font-size: 1.15rem;
  border-radius: 6px;
  padding: .8rem 1rem;
  background: linear-gradient(#0062FF, #0009F2);
}

/* -------- */

section#s1 {
  background: linear-gradient(#F7F7F7, #FFFFFF);
}

section#s1 div.copy-group {
  margin-top: 4rem;
}

/* -------- */

section#s2 {
  padding-block: 3rem;
  background-color: var(--color-yellow);
}

section#s2 div.column {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

section#s2 div.copy-group {
  margin-top: 0;
  flex: 1;
  align-self: center;
}

/* -------- */

section#s3 {
  background: linear-gradient(#F7F7F7, #FFFFFF);
}

section#s3 div.copy-group {
  margin-top: 4rem;
  max-width: 100%;
}

section#s3 a.cta {
  margin-bottom: 4rem;
}

/* -------- */

section#s4 {
  background: linear-gradient(#F7F7F7, #FFFFFF);
}

section#s4 div.copy-group {
  margin-top: 4rem;
  max-width: 100%;
}

/* -------- */

img.gift {
  height: 300px;
}

img.iphone {
  display: block;
  width: 100%;
  height: auto;
}

/* -------- */

div.product-group {
  display: flex; 
  flex-direction: row;
  flex-wrap: wrap;
  margin-top: 3rem;
  margin-bottom: 2rem;
  gap: 1rem;
}

div.product {
  width: calc(50% - 1rem);
  position: relative;
  border-radius: 10px;
  border: 1px solid #D9D9D9;
}

div.product span.discount {
  display: inline-block;
  position: absolute;
  font-weight: 700;
  line-height: 1;
  color: white;
  font-size: 1rem;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 8px;
  border-radius: 4px;
  background-color: var(--color-orange);
}

div.product div.image {
  aspect-ratio: 1920 / 1200;
  max-width: 100%;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  overflow: hidden;
}

div.product div.image img {
  width: 100%;
}

div.product div.copy {
  padding: 1rem;
}

div.product div.copy h3 {
  font-size: 1.25rem;
  margin-bottom: .5rem;
}

div.product div.copy p {
  font-size: 1rem;
  line-height: 1.5;
}

/* -------- */

div.faq-group {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 3rem;
  margin-bottom: 10rem;
}

div.faq-answer > p {
  line-height: 1.4;
}

details {
  font-size: 1.2rem;
  background: white;
  border-radius: 10px;
  border: 1px solid #D9D9D9;
  padding: 1rem;
}

summary {
  font-weight: 600;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

summary > span {
  color: #0062FF;
}

summary::-webkit-details-marker {
  display: none;
}

details div.faq-answer {
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid #D9D9D9;
}

/* -------- */

@media only screen and (max-width: 800px) {
  section div.copy-group {
    max-width: 100% !important;
  }

  div#counter {
    flex-direction: column;
    padding: 1.5rem 1rem 1rem 1rem;
    gap: 1rem;
  }

  div#counter-array {
    width: 100%;
    max-width: 400px;
  }

  div.card-row {
    flex-direction: column;
  }

  section#s2 div.column {
    flex-direction: column;
  }

  section#s2 div.copy-group {
    order: 2;
  }

  img.gift {
    align-self: flex-start;
    order: 1;
    height: auto;
    width: 100%;
    max-width: 200px;
  }

  div.copy-group {
    gap: 1rem;
  }

  div.copy-group h2 {
    font-size: 2.5rem; 
  }

  details {
    font-size: 1.1rem !important;
  }

  div.copy-group p {
    font-size: 1.25rem;
  }
}

@media only screen and (max-width: 640px) {

  div.product {
    width: 100%; 
  }

}
