@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/CormorantGaramond-SemiBold.otf") format("opentype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/SourceSans3-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/SourceSans3-Semibold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #002d2a;
  --emerald: #002f31;
  --cream: #f7ebd4;
  --parchment: #efdfbd;
  --coral: #f47b53;
  --sage: #a5b789;
  --body: "Source Sans 3", "Segoe UI", sans-serif;
  --heading: "Cormorant Garamond", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 18px/1.5 var(--body); }
body::before { content: ""; position: fixed; inset: 0; z-index: 5; background: url("/assets/paper-grain.webp") repeat; opacity: .025; pointer-events: none; }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 3px solid currentColor; outline-offset: 6px; border-radius: 4px; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; }
.page-width { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 12px 20px; background: var(--cream); color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.hero-surface { background: var(--emerald); color: var(--cream); }
.site-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-block: 29px; border-bottom: 1px solid rgb(247 235 212 / 20%); }
.brand { display: flex; align-items: center; gap: 12px; min-height: 48px; text-decoration: none; font: 600 31px/1.15 var(--heading); }
.brand img { width: 29px; }
.site-nav { display: flex; align-items: center; gap: 26px; font-size: 16px; }
.site-nav a { color: rgb(247 235 212 / 82%); text-decoration: none; transition: color 150ms; }
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--cream); text-decoration: underline; }
.launch-label { display: flex; align-items: center; gap: 9px; font-size: 16px; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sage); }
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; padding-block: 58px 56px; }
.eyebrow { margin-bottom: 20px; font-size: 14px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
h1 { font-size: clamp(60px, 6.4vw, 92px); line-height: .98; letter-spacing: -.04em; }
h1 em { color: var(--sage); font-style: normal; }
.hero-description { max-width: 440px; margin-block: 28px 30px; font-size: 21px; line-height: 1.5; }
.primary-action { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; min-height: 58px; padding: 13px 23px; border-radius: 12px; background: var(--cream); color: var(--ink); font-size: 20px; font-weight: 600; text-decoration: none; transition: background-color 150ms; }
.primary-action:hover { background: #fff8ed; }
.primary-action span { font-size: 26px; line-height: 1; transition: transform 200ms ease; }
.primary-action:hover span,
.primary-action:focus-visible span { transform: translateX(4px); }
.platform-note { margin-top: 15px; font-size: 16px; }
.hero-art { position: relative; padding: 16px 0 0; }
.hero-art img { position: relative; width: 100%; }
.art-orbit { position: absolute; top: 0; left: 5%; width: 90%; aspect-ratio: 1; border: 1px solid rgb(247 235 212 / 12%); border-radius: 50%; }
.hero-art p { margin-top: -3px; text-align: center; font: 600 23px/1.4 var(--heading); }
.learning-promise { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; border-top: 1px solid rgb(247 235 212 / 20%); padding-top: 28px; }
.learning-promise strong { display: block; margin-bottom: 7px; font: 600 46px/1.1 var(--heading); }
.learning-promise span { font-size: 17px; color: rgb(247 235 212 / 85%); }
.estimate-marker { margin-left: 3px; vertical-align: super; font: 400 23px/1 var(--body); color: var(--sage); text-decoration: none; }
.estimate-note { padding-block: 22px 28px; font-size: 14px; line-height: 1.5; color: rgb(247 235 212 / 80%); }
.estimate-note a { white-space: nowrap; }
.story-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; padding-block: 88px; border-bottom: 1px solid rgb(0 45 42 / 20%); }
.story-intro > .eyebrow { padding-top: 12px; }
.story-intro h2 { margin-bottom: 25px; }
.story-intro p:not(.eyebrow) { max-width: 580px; font-size: 21px; }
.story-intro p + p { margin-top: 14px; }
.text-link { display: inline-block; margin-top: 22px; }
.play-section { background: #dce2c3; }
.play-layout, .study-layout, .lesson-highlight { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px 100px; align-items: center; }
.lesson-highlight { grid-template-columns: .85fr 1.15fr; max-width: 980px; margin-inline: auto; }
.study-layout { grid-template-columns: 1fr 1.1fr; align-items: start; }
.study-layout .feature-list { margin-top: 0; }
.feature-intro { max-width: 500px; font-size: 20px; margin-top: 24px; }
.feature-list { margin: 30px 0 0; }
.feature-list > div { border-top: 1px solid rgb(0 45 42 / 20%); padding-block: 18px; }
.feature-list dt { font: 600 26px/1.25 var(--heading); }
.feature-list dd { margin: 7px 0 0; font-size: 18px; }
.feature-tag { display: inline-block; margin-left: 6px; font: 600 12px/1.6 var(--body); letter-spacing: .02em; vertical-align: middle; }
.feature-note { margin-top: 12px; font-size: 15px; }
.feature-preview { width: min(100%, 360px); margin-inline: auto; }
.feature-preview img { width: 100%; border: 1px solid rgb(0 45 42 / 20%); box-shadow: 0 12px 30px rgb(0 45 42 / 12%); }
.feature-preview figcaption { text-align: center; margin-top: 15px; font-size: 14px; }
.catalogue-link { margin-top: 38px; text-align: center; }
.explore-section { padding-block: 82px 86px; }
.section-intro { max-width: 625px; margin: 0 auto 55px; text-align: center; }
.section-intro .eyebrow { margin-bottom: 15px; }
h2 { font-size: clamp(42px, 4.4vw, 62px); line-height: 1.07; letter-spacing: -.025em; }
.section-intro > p:last-child { max-width: 480px; margin: 22px auto 0; font-size: 20px; }
.preview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.app-preview { min-width: 0; }
.app-preview figcaption { min-height: 238px; padding-inline: 2px; }
.step-label { font-size: 13px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; }
h3 { margin-block: 10px; font-size: 26px; line-height: 1.14; }
.app-preview figcaption p { max-width: 320px; font-size: 17px; line-height: 1.45; }
.screen-mat { padding: 16px; }
.screen-mat-sage { background: #d9deb8; }
.screen-mat-coral { background: #e9aa8b; }
.screen-mat-teal { background: #b5d5c8; }
.screen-mat-sand { background: #e6d3ab; }
.screen-mat img { width: 100%; box-shadow: 0 6px 18px rgb(0 45 42 / 13%); transition: transform 260ms ease, box-shadow 260ms ease; }
.app-preview:hover .screen-mat img,
.app-preview:focus-within .screen-mat img { transform: translateY(-6px); box-shadow: 0 14px 30px rgb(0 45 42 / 20%); }
.preview-label { display: block; margin-top: 14px; text-align: center; font-size: 14px; }

.content-section { padding-block: 88px; }
.band-parchment { background: var(--parchment); }
.band-emerald { background: var(--emerald); color: var(--cream); }
.band-emerald .eyebrow { color: var(--sage); }
.band-emerald .section-intro > p:last-child { color: rgb(247 235 212 / 88%); }
.step-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.step-list li,
.audience-grid li { border-top: 1px solid rgb(0 45 42 / 18%); padding-top: 20px; }
.step-number { display: block; margin-bottom: 12px; font: 600 14px/1 var(--body); letter-spacing: .14em; color: rgb(0 45 42 / 55%); }
.step-list h3,
.audience-grid h3 { margin-block: 0 10px; font-size: 25px; }
.step-list p,
.audience-grid p { font-size: 17px; line-height: 1.5; }
.why-layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 30px 56px; align-items: start; }
.why-copy p { font-size: 19px; line-height: 1.6; color: rgb(247 235 212 / 88%); }
.why-copy p + p { margin-top: 20px; }
.audience-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px; margin: 0; padding: 0; list-style: none; }
.faq-list { max-width: 780px; margin-inline: auto; border-top: 1px solid rgb(0 45 42 / 18%); }
.faq-item { border-bottom: 1px solid rgb(0 45 42 / 18%); }
.faq-item summary { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding: 20px 2px; cursor: pointer; font: 600 22px/1.3 var(--heading); list-style: none; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; flex: none; font: 400 26px/1 var(--body); color: rgb(0 45 42 / 55%); transition: transform 220ms ease; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { max-width: 66ch; padding: 0 2px 22px; font-size: 18px; line-height: 1.55; }

.closing-section { position: relative; isolation: isolate; overflow: clip; background: var(--sage); padding-block: 78px; }
.closing-content { position: relative; text-align: center; }
.closing-content .eyebrow { margin-bottom: 17px; }
.closing-content > p:last-child { margin-top: 23px; font-size: 20px; }
.closing-botanical { position: absolute; z-index: -1; width: 340px; height: 340px; right: -60px; bottom: -74px; opacity: .65; transform: rotate(-22deg); }
.site-footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px 40px; padding-block: 30px; font-size: 16px; }
.footer-brand { font: 600 27px/1.2 var(--heading); }
.footer-brand-block { display: flex; flex-direction: column; gap: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { color: rgb(0 45 42 / 78%); text-decoration: none; }
.footer-nav a:hover,
.footer-nav a:focus-visible { color: var(--ink); text-decoration: underline; }
.footer-top { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; }
.footer-top span { transition: transform 200ms ease; }
.footer-top:hover span,
.footer-top:focus-visible span { transform: translateY(-3px); }

/* Reveals run only when motion.js marks the document and the reader has not
   asked for reduced motion. Without the script every section stays visible. */
.motion [data-reveal] { --reveal-shift: 18px; opacity: 0; transform: translateY(var(--reveal-shift)); transition: opacity 620ms cubic-bezier(.22, .61, .36, 1), transform 620ms cubic-bezier(.22, .61, .36, 1); }
.motion [data-reveal].is-revealed { opacity: 1; transform: none; }
.motion .app-preview[data-reveal] { --reveal-shift: 26px; }
.motion .hero-art[data-reveal] { --reveal-shift: 22px; }

@media (prefers-reduced-motion: no-preference) {
  .status-dot { animation: status-breathe 4.5s ease-in-out infinite; }
  @keyframes status-breathe {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .5; transform: scale(.82); }
  }
}

@media (max-width: 1150px) {
  .play-layout, .study-layout, .lesson-highlight { gap: 38px; }
  .page-width { width: calc(100% - 64px); }
  .hero { gap: 28px; padding-block: 65px; }
  .preview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .app-preview figcaption { min-height: 186px; }
  h3 { font-size: 30px; }
  .app-preview figcaption p { font-size: 18px; }
  .screen-mat { padding: 22px; }
  .content-section { padding-block: 72px; }
  .step-list,
  .audience-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px; }
  .why-layout { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 760px) {
  .play-layout, .study-layout, .lesson-highlight { grid-template-columns: 1fr; }
  .lesson-highlight .feature-list { margin-top: 0; }
  .feature-list dt { font-size: 25px; }
  .feature-list dd { font-size: 17px; }
  .page-width { width: calc(100% - 40px); }
  .site-header { padding-block: 17px; }
  .brand { gap: 8px; font-size: 27px; }
  .brand img { width: 24px; }
  .site-nav { display: none; }
  .launch-label { gap: 7px; font-size: 14px; }
  .hero { grid-template-columns: 1fr; gap: 25px; padding-block: 44px 32px; }
  .hero-copy { max-width: 500px; }
  .eyebrow { margin-bottom: 18px; font-size: 12px; }
  h1 { font-size: clamp(56px, 15vw, 80px); }
  .hero-description { max-width: 430px; margin-block: 24px; font-size: 20px; }
  .hero-art { width: min(340px, 88%); margin-inline: auto; }
  .hero-art p { font-size: 21px; }
  .learning-promise { grid-template-columns: 1fr; gap: 0; padding-top: 0; }
  .learning-promise p { display: grid; grid-template-columns: 145px 1fr; align-items: center; gap: 12px; padding-block: 20px; border-bottom: 1px solid rgb(247 235 212 / 16%); }
  .learning-promise strong { margin: 0; font-size: 36px; }
  .learning-promise span { font-size: 16px; }
  .estimate-marker { font-size: 18px; }
  .estimate-note { padding-block: 18px 26px; }
  .story-intro { grid-template-columns: 1fr; gap: 0; padding-block: 54px; }
  .story-intro > .eyebrow { padding-top: 0; }
  .story-intro p:not(.eyebrow) { font-size: 19px; }
  .explore-section { padding-block: 58px; }
  .section-intro { margin-bottom: 39px; }
  .section-intro > p:last-child { font-size: 19px; }
  .preview-grid { grid-template-columns: 1fr; gap: 42px; max-width: 410px; margin-inline: auto; }
  .app-preview figcaption { min-height: 0; margin-bottom: 22px; }
  .app-preview figcaption p { max-width: none; }
  .screen-mat { padding: 23px; }
  .screen-mat img { max-width: 330px; margin-inline: auto; }
  .preview-label { margin-top: 12px; }
  .content-section { padding-block: 56px; }
  .step-list,
  .audience-grid { grid-template-columns: 1fr; gap: 24px; }
  .step-list h3,
  .audience-grid h3 { font-size: 24px; }
  .why-copy p { font-size: 18px; }
  .faq-item summary { font-size: 20px; padding-block: 18px; }
  .faq-item p { font-size: 17px; }
  .closing-section { padding-block: 57px; }
  .closing-botanical { width: 230px; height: 230px; right: -104px; bottom: -88px; opacity: .45; }
  .closing-content > p:last-child { font-size: 18px; }
  .site-footer { gap: 16px 20px; padding-block: 24px; }
  .footer-nav { order: 3; width: 100%; gap: 8px 20px; }
  .footer-top { margin-left: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .primary-action { transition: none; }
  .status-dot { animation: none; }
  .screen-mat img,
  .primary-action span,
  .footer-top span,
  .faq-item summary::after { transition: none; }
  .app-preview:hover .screen-mat img,
  .app-preview:focus-within .screen-mat img,
  .primary-action:hover span,
  .primary-action:focus-visible span,
  .footer-top:hover span,
  .footer-top:focus-visible span { transform: none; }
}

@media (max-width: 380px) {
  .hero-details > span { display: none; }
  .hero-details > p { flex-basis: 100%; text-align: center; }
}
