:root {
  color-scheme: light;
  --paper: #f4efe5;
  --paper-soft: #fbf8f1;
  --ink: #18201d;
  --muted: #67706a;
  --blue: #315f7d;
  --blue-dark: #183a51;
  --sage: #9aaa8d;
  --gold: #be8f45;
  --rule: rgba(24, 32, 29, .14);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 32px 80px rgba(28, 38, 34, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  padding: .75rem 1rem;
  transform: translateY(-180%);
  background: var(--ink);
  color: white;
}
.skip-link:focus { transform: none; }

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(100% - 3rem, 1240px);
  margin: 0 auto;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--rule);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  width: fit-content;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  text-decoration: none;
}
.brand img { border-radius: 10px; box-shadow: 0 4px 14px rgba(24, 58, 81, .22); }
nav { display: flex; gap: 2rem; }
nav a, .header-cta, .footer-links a {
  color: var(--muted);
  font-size: .84rem;
  font-weight: 650;
  letter-spacing: .02em;
  text-decoration: none;
}
nav a:hover, .footer-links a:hover { color: var(--ink); }
.header-cta { justify-self: end; color: var(--blue-dark); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: clamp(2rem, 5vw, 6rem);
  align-items: center;
  width: min(100% - 3rem, 1240px);
  min-height: 780px;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 7.5rem) 0 5rem;
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow, .section-kicker {
  margin: 0 0 1.4rem;
  color: var(--blue);
  font-size: .72rem;
  font-weight: 750;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.status-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: .45rem;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 0 5px rgba(154, 170, 141, .17);
}
h1, h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -.04em;
  line-height: .98;
}
h1 { max-width: 800px; font-size: clamp(4rem, 8vw, 7.75rem); }
h1 em { color: var(--blue); font-weight: 400; }
.hero-lede {
  max-width: 630px;
  margin: 2rem 0 0;
  color: #47524c;
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}
.hero-actions { display: flex; align-items: center; gap: 1.5rem; margin-top: 2.1rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  min-height: 52px;
  padding: 0 1.35rem;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 750;
  text-decoration: none;
}
.button-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px rgba(24, 32, 29, .18); }
.button-primary:hover { background: var(--blue-dark); transform: translateY(-1px); }
.text-link { color: var(--blue-dark); font-size: .9rem; font-weight: 700; text-decoration: none; }
.availability { margin: 1.25rem 0 0; color: var(--muted); font-size: .74rem; letter-spacing: .07em; text-transform: uppercase; }

.hero-visual { position: relative; min-height: 620px; }
.phone {
  position: relative;
  overflow: hidden;
  margin: 0;
  border: 9px solid #17201d;
  border-radius: 54px;
  background: #fff;
  box-shadow: var(--shadow);
}
.phone img { width: 100%; height: auto; }
.phone-hero { position: absolute; z-index: 2; top: 0; left: 50%; width: min(370px, 76vw); transform: translateX(-50%) rotate(2deg); }
.phone::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  width: 92px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #17201d;
}
.halo { position: absolute; border-radius: 50%; filter: blur(1px); }
.halo-one { top: 2%; left: -18%; width: 490px; height: 490px; background: rgba(154, 170, 141, .34); }
.halo-two { right: -30%; bottom: -2%; width: 420px; height: 420px; background: rgba(190, 143, 69, .15); }
.floating-note {
  position: absolute;
  z-index: 4;
  display: flex;
  flex-direction: column;
  min-width: 170px;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 16px;
  background: rgba(251, 248, 241, .88);
  box-shadow: 0 18px 40px rgba(24, 32, 29, .13);
  backdrop-filter: blur(12px);
}
.note-top { top: 19%; right: -7%; }
.note-bottom { left: -5%; bottom: 12%; }
.note-label { margin-bottom: .3rem; color: var(--muted); font-size: .64rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.floating-note strong { font-family: var(--serif); font-size: 1.05rem; }

.section-pad { padding: clamp(5.5rem, 10vw, 9rem) max(1.5rem, calc((100vw - 1240px) / 2)); }
.confession { text-align: center; background: var(--paper-soft); border-block: 1px solid var(--rule); }
.confession h2, .section-heading h2, .feature-copy h2, .privacy h2, .final-cta h2 { font-size: clamp(3rem, 6vw, 6rem); }
.confession > p:last-child {
  max-width: 720px;
  margin: 2rem auto 0;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.23rem;
  line-height: 1.65;
}

.classroom-scene {
  padding: clamp(1.25rem, 3vw, 2.75rem) max(1.25rem, calc((100vw - 1320px) / 2)) clamp(5rem, 9vw, 8rem);
  background: var(--paper-soft);
}
.classroom-frame { max-width: 1320px; margin: 0 auto; }
.classroom-frame > img {
  width: 100%;
  border-radius: 34px;
  box-shadow: 0 28px 72px rgba(35, 42, 37, .18);
}
.classroom-frame figcaption {
  display: grid;
  grid-template-columns: 1.25fr .5fr;
  gap: clamp(2rem, 8vw, 7rem);
  align-items: end;
  padding: 2.5rem .4rem 0;
}
.classroom-frame h2 { font-size: clamp(2.8rem, 5vw, 5.25rem); }
.classroom-frame h2 em { color: var(--blue); font-weight: 400; }
.classroom-frame figcaption > p {
  margin: 0 0 .35rem;
  color: var(--muted);
  font-family: var(--serif);
  font-size: 1.14rem;
  line-height: 1.6;
}

.how { background: #e4eadd; }
.section-heading { max-width: 780px; }
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin: 5rem 0 0;
  padding: 0;
  border-top: 1px solid rgba(24, 32, 29, .2);
  list-style: none;
}
.steps li { min-height: 260px; padding: 1.5rem 2.5rem 0 0; }
.steps li + li { padding-left: 2.5rem; border-left: 1px solid rgba(24, 32, 29, .2); }
.step-number { display: block; margin-bottom: 3rem; color: var(--blue); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
h3 { margin: 0 0 .75rem; font-family: var(--serif); font-size: 1.45rem; font-weight: 500; }
.steps p, .feature-list p { margin: 0; color: #566059; font-size: .96rem; line-height: 1.65; }

.product { display: grid; grid-template-columns: .8fr 1fr; gap: clamp(4rem, 9vw, 8rem); align-items: center; overflow: hidden; background: var(--paper-soft); }
.product-visual { position: relative; min-height: 680px; }
.phone-secondary { position: absolute; right: 8%; width: min(350px, 73vw); transform: rotate(-2deg); }
.margin-note {
  position: absolute;
  top: 38%;
  left: -18%;
  width: 180px;
  margin: 0;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  line-height: 1.45;
  transform: rotate(-7deg);
}
.feature-intro { max-width: 630px; margin: 2rem 0 3rem; color: var(--muted); font-family: var(--serif); font-size: 1.2rem; line-height: 1.65; }
.feature-list { border-top: 1px solid var(--rule); }
.feature-list article { display: grid; grid-template-columns: 52px 1fr; gap: 1.25rem; padding: 1.45rem 0; border-bottom: 1px solid var(--rule); }
.feature-list article > span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #e4eadd; color: var(--blue-dark); font-family: var(--serif); }

.privacy { display: grid; grid-template-columns: 1fr .8fr; gap: 6rem; align-items: end; background: var(--blue-dark); color: #f6f3eb; }
.section-kicker-light { color: #b9cbb0; }
.privacy-copy { max-width: 520px; }
.privacy-copy p { margin: 0 0 1.7rem; color: #d2dadd; font-family: var(--serif); font-size: 1.2rem; line-height: 1.65; }
.privacy-copy a { color: #fff; font-size: .88rem; font-weight: 750; text-underline-offset: 5px; }

.questions { display: grid; grid-template-columns: .7fr 1fr; gap: 7rem; background: var(--paper); }
.questions-heading h2 { font-size: clamp(3rem, 5vw, 5rem); }
.faq-list { border-top: 1px solid var(--rule); }
details { border-bottom: 1px solid var(--rule); }
summary {
  position: relative;
  padding: 1.5rem 2.5rem 1.5rem 0;
  cursor: pointer;
  font-family: var(--serif);
  font-size: 1.25rem;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: .25rem; color: var(--blue); font-family: var(--sans); }
details[open] summary::after { content: "−"; }
details p { margin: -.4rem 2rem 1.5rem 0; color: var(--muted); line-height: 1.7; }

.final-cta { text-align: center; background: var(--paper-soft); border-top: 1px solid var(--rule); }
.final-cta img { margin: 0 auto 2rem; border-radius: 24px; box-shadow: 0 16px 34px rgba(24, 58, 81, .2); }
.final-cta > p:not(.section-kicker) { margin: 1.7rem 0; color: var(--muted); font-family: var(--serif); font-size: 1.15rem; }
.button-disabled { background: #dfe4db; color: #536058; }

footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2.25rem max(1.5rem, calc((100vw - 1240px) / 2));
  background: var(--ink);
  color: #eef0ec;
}
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { color: #b8c0ba; }
footer > p { grid-column: 1 / -1; max-width: 850px; margin: 1rem 0 0; color: #8f9992; font-size: .75rem; line-height: 1.6; }
.footer-brand img { box-shadow: none; }

@media (max-width: 920px) {
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .hero { grid-template-columns: 1fr; min-height: 0; text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 650px; margin-top: 2rem; }
  .steps { grid-template-columns: 1fr; }
  .steps li { min-height: 0; padding: 1.5rem 0 2.5rem; }
  .steps li + li { padding-left: 0; border-top: 1px solid rgba(24, 32, 29, .2); border-left: 0; }
  .step-number { margin-bottom: 1.5rem; }
  .product { grid-template-columns: 1fr; }
  .product-visual { order: 2; min-height: 650px; }
  .phone-secondary { left: 50%; right: auto; transform: translateX(-50%) rotate(-2deg); }
  .margin-note { left: 2%; }
  .privacy, .questions { grid-template-columns: 1fr; gap: 3rem; }
  .classroom-frame figcaption { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .site-header { width: min(100% - 2rem, 1240px); }
  .brand { font-size: 1rem; }
  .brand img { width: 36px; height: 36px; }
  .header-cta { font-size: .72rem; }
  .hero { width: min(100% - 2rem, 1240px); padding-top: 4rem; }
  h1 { font-size: clamp(3.6rem, 17vw, 5rem); }
  .hero-actions { flex-direction: column; }
  .hero-visual { min-height: 560px; }
  .phone { border-width: 7px; border-radius: 45px; }
  .phone-hero { width: 300px; }
  .floating-note { min-width: 142px; padding: .8rem; }
  .note-top { top: 13%; right: -4%; }
  .note-bottom { left: -4%; bottom: 13%; }
  .halo-one { left: -50%; }
  .section-pad { padding-inline: 1.25rem; }
  .confession h2, .section-heading h2, .feature-copy h2, .privacy h2, .final-cta h2 { font-size: clamp(2.8rem, 13vw, 4rem); }
  .classroom-frame > img { border-radius: 20px; }
  .classroom-frame figcaption { padding-top: 1.75rem; }
  .classroom-frame h2 { font-size: clamp(2.6rem, 12vw, 3.5rem); }
  .margin-note { display: none; }
  .product-visual { min-height: 590px; }
  .phone-secondary { width: 300px; }
  footer { grid-template-columns: 1fr; }
  footer > p { grid-column: 1; }
}

@media (prefers-reduced-motion: no-preference) {
  .button-primary { transition: transform .2s ease, background-color .2s ease; }
  .phone-hero { animation: settle 1s cubic-bezier(.2,.7,.2,1) both; }
  @keyframes settle { from { opacity: 0; transform: translateX(-50%) translateY(24px) rotate(4deg); } }
}

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