@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/Fraunces-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f8f1df;
  --paper-deep: #efe3ca;
  --ink: #123c2f;
  --ink-soft: #4f665e;
  --forest: #102c22;
  --forest-deep: #081d16;
  --cream: #fff8e8;
  --jade: #2a9d73;
  --jade-dark: #1d7959;
  --line: rgba(18, 60, 47, 0.2);
  --gold: #d9b95e;
  --shadow: 0 24px 70px rgba(16, 44, 34, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background-color: var(--paper);
  background-image: url("/assets/paper-watercolor-soft.webp");
  background-repeat: repeat;
  background-size: 760px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: var(--cream);
  background: var(--forest);
  border-radius: 10px;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  width: min(1180px, calc(100% - 48px));
  min-height: 90px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  text-decoration: none;
  font-family: "Fraunces", Georgia, serif;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 7px 18px rgba(16, 44, 34, 0.18);
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

nav a:hover {
  color: var(--ink);
}

.header-cta {
  justify-self: end;
  padding: 10px 17px;
  color: var(--cream);
  background: var(--forest);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  text-decoration: none;
}

.hero {
  width: min(1180px, calc(100% - 48px));
  min-height: 700px;
  margin: 0 auto;
  padding: 70px 0 44px;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(360px, 0.72fr);
  align-items: center;
  gap: clamp(48px, 7vw, 100px);
}

.hero-copy {
  padding-bottom: 35px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--jade-dark);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 690;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(64px, 7.2vw, 104px);
  line-height: 0.94;
}

.hero-lede {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(19px, 2vw, 23px);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
}

.button {
  min-height: 52px;
  padding: 13px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.cta-solid {
  color: var(--cream);
  background: var(--forest);
  box-shadow: 0 12px 30px rgba(16, 44, 34, 0.2);
}

.cta-solid:hover {
  background: var(--forest-deep);
}

.button-secondary {
  color: var(--forest);
  background: rgba(255, 248, 232, 0.62);
}

.button-secondary:hover {
  background: var(--cream);
}

.availability {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  font-weight: 650;
}

.hero-visual {
  height: 650px;
  align-self: end;
  overflow: hidden;
  background: var(--forest);
  border: 8px solid rgba(255, 255, 255, 0.55);
  border-radius: 42px 42px 0 0;
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: auto;
}

.trust-strip {
  padding: 20px max(24px, calc((100vw - 1180px) / 2));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--forest);
  color: var(--cream);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-strip p {
  margin: 0;
  padding: 2px 22px;
  color: rgba(255, 248, 232, 0.82);
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
  font-weight: 750;
  text-align: center;
}

.trust-strip p:last-child {
  border-right: 0;
}

.section {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 120px 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

h2 {
  margin: 0;
  font-size: clamp(44px, 5.7vw, 72px);
  line-height: 1.02;
}

.section-heading > p:last-child,
.feature-copy > p:not(.eyebrow),
.final-cta > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 19px;
}

.learning-steps {
  margin: 64px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  list-style: none;
}

.learning-steps li {
  min-height: 270px;
  padding: 30px;
  background: rgba(255, 248, 232, 0.7);
  border: 1px solid var(--line);
  border-radius: 26px;
  box-shadow: 0 12px 32px rgba(16, 44, 34, 0.07);
}

.learning-steps span {
  color: var(--jade-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.learning-steps h3,
.rules-grid h3 {
  margin: 45px 0 8px;
  font-size: 36px;
}

.learning-steps p,
.rules-grid p {
  margin: 0;
  color: var(--ink-soft);
}

.feature-story,
.review-story {
  padding: clamp(75px, 9vw, 128px) max(24px, calc((100vw - 1120px) / 2));
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: center;
  gap: clamp(52px, 8vw, 112px);
  color: var(--cream);
  background: var(--forest);
}

.feature-story h2,
.review-story h2,
.privacy h2 {
  color: var(--cream);
}

.feature-story .eyebrow,
.review-story .eyebrow,
.privacy .eyebrow {
  color: #67d4a9;
}

.feature-story .feature-copy > p,
.review-story .feature-copy > p,
.privacy p {
  color: rgba(255, 248, 232, 0.72);
}

.feature-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding: 15px 0;
  color: rgba(255, 248, 232, 0.77);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.feature-list strong {
  color: var(--cream);
}

.screen-pair {
  position: relative;
  min-height: 720px;
}

.screen {
  position: absolute;
  width: min(58%, 350px);
  border: 5px solid rgba(255, 248, 232, 0.18);
  border-radius: 32px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.3);
}

.screen-back {
  top: 0;
  right: 0;
  transform: rotate(4deg);
}

.screen-front {
  left: 2%;
  bottom: 0;
  transform: rotate(-3deg);
}

.rules-heading {
  max-width: 820px;
}

.rules-grid {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 17px;
}

.rules-grid article {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 248, 232, 0.72);
  border: 1px solid var(--line);
  border-radius: 25px;
}

.rules-grid .rule-region {
  color: var(--jade-dark);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rules-grid h3 {
  margin: 34px 0 10px;
}

.review-story {
  grid-template-columns: minmax(440px, 1.1fr) minmax(0, 0.9fr);
  background: var(--forest-deep);
}

.review-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: 20px;
}

.review-images img {
  border: 4px solid rgba(255, 248, 232, 0.16);
  border-radius: 28px;
  box-shadow: 0 26px 55px rgba(0, 0, 0, 0.3);
}

.review-images img:last-child {
  margin-top: 80px;
}

.privacy {
  width: min(960px, calc(100% - 48px));
  margin: 120px auto;
  padding: clamp(38px, 6vw, 66px);
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: start;
  gap: 36px;
  color: var(--cream);
  background: var(--forest);
  border-radius: 34px;
  box-shadow: var(--shadow);
}

.privacy img {
  border-radius: 28px;
}

.privacy a {
  display: inline-block;
  margin-top: 10px;
  color: #85e4bf;
  font-weight: 750;
}

.final-cta {
  width: min(900px, calc(100% - 48px));
  margin: 0 auto;
  padding: 30px 0 120px;
  text-align: center;
}

.final-cta .hero-actions {
  justify-content: center;
}

footer {
  width: min(1180px, calc(100% - 48px));
  min-height: 110px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  font-size: 13px;
}

footer > a {
  color: var(--ink);
  font-family: "Fraunces", Georgia, serif;
  font-size: 18px;
  font-weight: 650;
  text-decoration: none;
}

footer div {
  display: flex;
  gap: 22px;
}

footer p {
  justify-self: end;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    width: min(560px, 88vw);
    height: 760px;
    justify-self: center;
  }

  .trust-strip {
    grid-template-columns: 1fr 1fr;
  }

  .trust-strip p:nth-child(2) {
    border-right: 0;
  }

  .trust-strip p:nth-child(-n + 2) {
    padding-bottom: 12px;
  }

  .trust-strip p:nth-child(n + 3) {
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .learning-steps,
  .rules-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-story,
  .review-story {
    grid-template-columns: 1fr;
  }

  .screen-pair {
    width: min(690px, 100%);
    min-height: 700px;
    margin: 0 auto;
  }

  .review-images {
    width: min(690px, 100%);
    margin: 0 auto;
  }
}

@media (max-width: 620px) {
  body {
    font-size: 16px;
    background-size: 560px;
  }

  .site-header,
  .hero,
  .section,
  .privacy,
  .final-cta,
  footer {
    width: min(100% - 30px, 1180px);
  }

  .site-header {
    min-height: 76px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .header-cta {
    padding: 9px 13px;
    font-size: 12px;
  }

  .hero {
    min-height: 0;
    padding: 54px 0 0;
    gap: 55px;
  }

  h1 {
    font-size: clamp(54px, 16vw, 72px);
  }

  .hero-lede {
    font-size: 18px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-visual {
    width: 100%;
    height: 590px;
    border-width: 5px;
    border-radius: 28px 28px 0 0;
  }

  .trust-strip {
    padding: 18px 15px;
  }

  .trust-strip p {
    padding-inline: 8px;
    font-size: 11px;
  }

  .section {
    padding: 88px 0;
  }

  h2 {
    font-size: clamp(40px, 12vw, 54px);
  }

  .section-heading > p:last-child,
  .feature-copy > p:not(.eyebrow),
  .final-cta > p:not(.eyebrow) {
    font-size: 17px;
  }

  .learning-steps,
  .rules-grid {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .learning-steps li,
  .rules-grid article {
    min-height: 0;
  }

  .learning-steps h3,
  .rules-grid h3 {
    margin-top: 26px;
  }

  .feature-story,
  .review-story {
    padding: 84px 20px;
    gap: 54px;
  }

  .screen-pair {
    min-height: 525px;
  }

  .screen {
    width: 60%;
    border-width: 3px;
    border-radius: 22px;
  }

  .review-images {
    gap: 10px;
  }

  .review-images img {
    border-width: 3px;
    border-radius: 20px;
  }

  .review-images img:last-child {
    margin-top: 50px;
  }

  .privacy {
    margin: 84px auto;
    grid-template-columns: 68px 1fr;
    gap: 20px;
    border-radius: 26px;
  }

  .privacy img {
    width: 68px;
    height: 68px;
    border-radius: 18px;
  }

  .final-cta {
    padding-bottom: 90px;
  }

  footer {
    padding: 30px 0;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  footer p {
    justify-self: start;
    margin: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button {
    transition: none;
  }
}
