@font-face {
  font-family: "Suports Sans";
  src: local("Avenir Next"), local("Avenir"), local("Segoe UI Variable"), local("Segoe UI");
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f4f1e8;
  --paper-strong: #ebe6d8;
  --ink: #152b2a;
  --ink-soft: #52615f;
  --line: rgba(21, 43, 42, 0.16);
  --blue: #2368df;
  --blue-deep: #16489d;
  --sun: #f5cc52;
  --mint: #9fd8c5;
  --white: #fffdf7;
  --header: rgba(244, 241, 232, 0.88);
  --shadow: 0 32px 80px rgba(18, 40, 39, 0.16);
  --radius: 1.4rem;
  --max: 1240px;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #101817;
  --paper-strong: #172321;
  --ink: #f1f2e9;
  --ink-soft: #aab8b5;
  --line: rgba(241, 242, 233, 0.16);
  --blue: #75a7ff;
  --blue-deep: #a8c6ff;
  --sun: #f0ca5c;
  --mint: #72baa2;
  --white: #1b2725;
  --header: rgba(16, 24, 23, 0.88);
  --shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Suports Sans", "Trebuchet MS", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
button, a { font: inherit; }
a { color: inherit; }
button { color: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 1rem;
  top: 1rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: .75rem 1rem;
  border-radius: .6rem;
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  min-height: 76px;
  padding: .75rem max(1.25rem, calc((100vw - var(--max)) / 2));
  border-bottom: 1px solid var(--line);
  background: var(--header);
  backdrop-filter: blur(14px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
  width: fit-content;
  text-decoration: none;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -.04em;
}
.brand-mark, .mini-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50% 50% 44% 56%;
  background: var(--ink);
  color: var(--paper);
  font-weight: 900;
  transform: rotate(-7deg);
}
.desktop-nav { display: flex; gap: 2rem; }
.desktop-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: .84rem;
  font-weight: 700;
  text-decoration: none;
}
.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.45rem;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .25s ease;
}
.desktop-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header-actions { justify-self: end; display: flex; gap: .5rem; }
.icon-button, .menu-button {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}
.icon-button:hover, .menu-button:hover { background: var(--paper-strong); }
.menu-button { display: none; align-items: center; gap: .55rem; padding: 0 1rem; }
.mobile-menu {
  position: absolute;
  inset: 76px 1rem auto;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: var(--paper);
  box-shadow: var(--shadow);
}
.mobile-menu a { display: block; padding: .9rem; text-decoration: none; font-weight: 700; }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.04fr .96fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 7rem);
  width: min(var(--max), calc(100% - 2.5rem));
  min-height: calc(100vh - 76px);
  margin: auto;
  padding: clamp(4rem, 9vw, 8.5rem) 0;
  overflow: hidden;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 0 0 1.35rem;
  color: var(--blue-deep);
  font-size: .74rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow > span { width: 1.8rem; height: 2px; background: currentColor; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -.065em;
  line-height: .98;
}
h1 { max-width: 800px; font-size: clamp(3.65rem, 7.3vw, 7.2rem); }
h1 em, h2 em { color: var(--blue); font-style: normal; }
.hero-lead {
  max-width: 35rem;
  margin: 2rem 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.28rem);
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  min-height: 50px;
  padding: .8rem 1.25rem;
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: var(--paper); box-shadow: 0 12px 25px rgba(21, 43, 42, .16); }
.launch-note { color: var(--ink-soft); font-size: .8rem; line-height: 1.3; text-transform: uppercase; letter-spacing: .08em; }
.launch-note strong { color: var(--ink); }

.hero-visual { position: relative; display: grid; place-items: center; min-height: 640px; }
.phone-shell {
  position: relative;
  z-index: 4;
  width: min(330px, 76vw);
  padding: .65rem;
  border: 2px solid var(--ink);
  border-radius: 3.1rem;
  background: #112827;
  box-shadow: var(--shadow);
  transform: rotate(3deg);
}
.phone-top {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  padding: .35rem .75rem .6rem;
  color: #f9f8ef;
  font-size: .62rem;
  text-align: center;
}
.phone-island { height: 1.25rem; border-radius: 999px; background: #081211; }
.phone-screen { min-height: 565px; padding: 1.15rem; border-radius: 2.35rem; background: #edf0e6; color: #16302d; overflow: hidden; }
.mini-brand { display: flex; align-items: center; gap: .5rem; font-size: .78rem; font-weight: 850; }
.mini-mark { width: 25px; height: 25px; background: #17302e; color: #f5f0e4; font-size: .75rem; }
.phone-greeting { margin: 1.6rem 0 1.2rem; font-size: 1.48rem; font-weight: 850; letter-spacing: -.05em; line-height: 1.05; }
.lesson-card { padding: 1rem; border-radius: 1.35rem; background: #fffdf7; box-shadow: 0 15px 28px rgba(39, 60, 58, .11); }
.lesson-meta { display: flex; justify-content: space-between; font-size: .55rem; font-weight: 900; letter-spacing: .09em; color: #50706b; }
.lesson-art { position: relative; height: 130px; margin: .9rem 0; border-radius: 1rem; background: #f3ca4f; overflow: hidden; transition: background .35s ease; }
.lesson-art span { position: absolute; display: block; border: 2px solid #17302e; border-radius: 50%; }
.lesson-art span:nth-child(1) { width: 88px; height: 88px; left: 25px; top: 22px; }
.lesson-art span:nth-child(2) { width: 50px; height: 50px; right: 28px; top: 17px; background: #77b9f8; }
.lesson-art span:nth-child(3) { width: 74px; height: 24px; right: 20px; bottom: 20px; border-radius: 999px; background: #f9eee0; transform: rotate(-12deg); }
.lesson-card h2 { margin: 0; font-size: 1.1rem; letter-spacing: -.04em; }
.lesson-card p { margin: .5rem 0 .85rem; color: #64726f; font-size: .72rem; }
.lesson-progress { height: 4px; border-radius: 99px; background: #e1e4dd; overflow: hidden; }
.lesson-progress span { display: block; width: 42%; height: 100%; border-radius: inherit; background: #276ee3; transition: width .35s ease; }
.lesson-card button { width: 100%; min-height: 38px; margin-top: 1rem; border: 0; border-radius: .75rem; background: #17302e; color: #fff; font-size: .7rem; font-weight: 800; }
.phone-streak { display: flex; justify-content: space-between; margin-top: 1rem; padding: .85rem; border: 1px solid #d7dbd3; border-radius: 1rem; font-size: .65rem; }
.orbit { position: absolute; border: 1px solid var(--line); border-radius: 50%; }
.orbit-one { width: 520px; height: 520px; }
.orbit-two { width: 420px; height: 420px; background: var(--sun); opacity: .45; }
.floating-note { position: absolute; z-index: 5; display: flex; align-items: center; gap: .65rem; padding: .65rem 1rem; border: 1px solid var(--ink); border-radius: 999px; background: var(--white); font-size: .7rem; font-weight: 850; box-shadow: 6px 7px 0 var(--ink); }
.floating-note span { color: var(--blue); }
.note-one { left: 0; top: 24%; transform: rotate(-7deg); }
.note-two { right: 0; bottom: 19%; transform: rotate(7deg); }

.manifesto {
  display: grid;
  grid-template-columns: .3fr 1.1fr .8fr;
  gap: clamp(2rem, 6vw, 6rem);
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(6rem, 12vw, 11rem) 0;
  border-top: 1px solid var(--line);
}
.section-number { color: var(--ink-soft); font-size: .78rem; font-weight: 900; }
.manifesto h2 { max-width: 720px; font-size: clamp(2.8rem, 5vw, 5.2rem); }
.manifesto-text { align-self: end; }
.manifesto-text > p:first-child { margin: 0; font-size: 1.2rem; font-weight: 600; }
.quiet { margin-top: 1.4rem; color: var(--ink-soft); font-size: .84rem; }

.experience { padding: clamp(5rem, 9vw, 8rem) max(1.25rem, calc((100vw - var(--max)) / 2)); background: var(--ink); color: var(--paper); }
.experience .eyebrow { color: var(--sun); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 4.5rem; }
.section-heading h2 { font-size: clamp(2.8rem, 5vw, 5.2rem); }
.section-heading > p { max-width: 28rem; margin: 0; color: color-mix(in srgb, var(--paper), transparent 38%); }
.experience-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 7vw, 7rem); }
.experience-steps { border-top: 1px solid rgba(244, 241, 232, .2); }
.experience-step {
  display: grid;
  grid-template-columns: 3rem 1fr auto;
  gap: 1rem;
  align-items: start;
  width: 100%;
  padding: 1.6rem 0;
  border: 0;
  border-bottom: 1px solid rgba(244, 241, 232, .2);
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}
.experience-step strong { display: block; margin-bottom: .35rem; font-size: 1.5rem; letter-spacing: -.04em; }
.experience-step small { display: block; max-width: 30rem; color: rgba(244, 241, 232, .58); font-size: .84rem; line-height: 1.5; }
.step-number { padding-top: .25rem; color: var(--sun); font-size: .72rem; font-weight: 900; }
.step-arrow { opacity: 0; transform: translate(-8px, 8px); transition: .2s ease; }
.experience-step:hover .step-arrow, .experience-step.is-active .step-arrow { opacity: 1; transform: translate(0, 0); }
.experience-step.is-active strong { color: var(--sun); }
.demo-panel { min-height: 420px; padding: 2rem; border-radius: 2rem; background: var(--sun); color: #142b29; }
.demo-topline { display: flex; justify-content: space-between; font-size: .66rem; font-weight: 900; letter-spacing: .1em; }
.demo-symbol { display: grid; place-items: center; width: 145px; height: 145px; margin: 3rem auto; border: 2px solid #142b29; border-radius: 50% 50% 44% 56%; font-family: Georgia, serif; font-size: 5rem; font-style: italic; transform: rotate(-8deg); }
.demo-panel h3 { margin: 0; font-size: 2rem; letter-spacing: -.055em; }
.demo-panel p { max-width: 30rem; margin-bottom: 0; color: rgba(20, 43, 41, .72); }

.closing {
  display: grid;
  grid-template-columns: .32fr 1fr auto;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  width: min(var(--max), calc(100% - 2.5rem));
  margin: auto;
  padding: clamp(6rem, 12vw, 11rem) 0;
}
.closing-badge { display: grid; place-items: center; width: 126px; height: 126px; border-radius: 50%; background: var(--blue); color: white; transform: rotate(8deg); }
.closing-badge span { font-family: Georgia, serif; font-size: 4.5rem; font-style: italic; }
.closing h2 { font-size: clamp(2.8rem, 5vw, 5rem); }
.closing p { max-width: 39rem; color: var(--ink-soft); }
.button-light { border: 1px solid var(--line); background: var(--white); white-space: nowrap; }

.site-footer { display: grid; grid-template-columns: .9fr 1.5fr auto; gap: 3rem; align-items: start; padding: 3rem max(1.25rem, calc((100vw - var(--max)) / 2)); border-top: 1px solid var(--line); background: var(--paper-strong); }
.footer-brand { display: flex; gap: .8rem; align-items: center; }
.footer-brand strong, .footer-brand span { display: block; }
.footer-brand div > span { color: var(--ink-soft); font-size: .75rem; }
.privacy-copy strong { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.privacy-copy p { max-width: 45rem; margin-bottom: 0; color: var(--ink-soft); font-size: .76rem; }
.copyright { margin: 0; color: var(--ink-soft); font-size: .72rem; text-align: right; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

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

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  .desktop-nav { display: none; }
  .menu-button { display: inline-flex; }
  .hero { grid-template-columns: 1fr; padding-top: 5rem; }
  .hero-copy { position: relative; z-index: 8; }
  .hero-visual { min-height: 620px; }
  .manifesto { grid-template-columns: .2fr 1fr; }
  .manifesto-text { grid-column: 2; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 1.5rem; }
  .experience-layout { grid-template-columns: 1fr; }
  .closing { grid-template-columns: .3fr 1fr; }
  .closing .button { grid-column: 2; width: fit-content; }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .copyright { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  h1 { font-size: clamp(3.2rem, 15vw, 5rem); }
  .hero { width: min(100% - 2rem, var(--max)); padding-bottom: 4rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-visual { min-height: 550px; margin-top: -1rem; }
  .phone-shell { width: 290px; }
  .phone-screen { min-height: 500px; }
  .phone-greeting { font-size: 1.2rem; }
  .lesson-art { height: 105px; }
  .orbit-one { width: 400px; height: 400px; }
  .orbit-two { width: 330px; height: 330px; }
  .note-one { left: -1rem; }
  .note-two { right: -1rem; }
  .manifesto { grid-template-columns: 1fr; padding: 6rem 0; }
  .manifesto-text { grid-column: 1; }
  .section-number { display: none; }
  .experience { padding-top: 5rem; padding-bottom: 5rem; }
  .experience-step { grid-template-columns: 2.2rem 1fr auto; }
  .demo-panel { min-height: 370px; }
  .closing { grid-template-columns: 1fr; padding: 6rem 0; }
  .closing-badge { width: 90px; height: 90px; }
  .closing-badge span { font-size: 3.25rem; }
  .closing .button { grid-column: 1; }
  .site-footer { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
