/* Ofra website. Layout concept: pages of a picture book. White pages, chunky rounded shapes,
   one Forest band and one Pine night footer, the fawn as the recurring character.
   Single light theme on purpose: the brief asks for white backgrounds. */
:root {
  color-scheme: light;
  --forest: #0D5B3A;
  --mustard: #E8A317;
  --poppy: #D33A20;
  --night: #10241B;
  --paper: #FFFFFF;
  --ink: #10241B;
  --muted: #45584D;
  --line: #D9E4DD;
  --mist: #EEF5F1;
  --on-forest-muted: #CFE3D8;
  --on-night-muted: #B9CBC1;

  --font: "Figtree", "Ofra Ghana", ui-rounded, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: var(--font);
  --wordmark: "Ofra Wordmark", var(--font);

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: 1.625rem;
  --step-3: clamp(1.875rem, 1.4rem + 2vw, 2.5rem);
  --step-4: clamp(2.5rem, 1.6rem + 4.2vw, 4.25rem);

  --radius: 22px;
  --radius-sm: 12px;
  --wrap: 1160px;
}

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20C4, U+2C60-2C7F, U+A720-A7FF;
}
/* Figtree has no ɛ ɔ Ɛ Ɔ or ₵. A 4.5 KB variable Noto Sans subset supplies exactly those characters
   (brand decision, ofra-brand-identity round 3). */
@font-face {
  font-family: "Ofra Ghana";
  src: url("fonts/noto-sans-gh.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0186, U+0190, U+0254, U+025B, U+20B5;
}
/* The locked wordmark: Shantell Sans at wght 760, BNCE 25, INFM 70, subset to the letters O f r a. */
@font-face {
  font-family: "Ofra Wordmark";
  src: url("fonts/shantell-ofra-wordmark.woff2") format("woff2");
  font-weight: 760;
  font-display: block;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--poppy); }
:focus-visible { outline: 3px solid var(--poppy); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; letter-spacing: -0.02em; margin: 0; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--step-4); font-weight: 900; }
h2 { font-size: var(--step-3); font-weight: 850; }
h3 { font-size: var(--step-1); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--night); color: var(--paper); padding: 10px 14px; border-radius: 8px; z-index: 30; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { display: grid; gap: 14px; max-width: 46rem; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--muted); font-size: var(--step-1); line-height: 1.5; }
.eyebrow { font-size: var(--step--1); font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--forest); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: 999px;
  font: 800 var(--step-0)/1.1 var(--font); text-decoration: none; white-space: nowrap;
  border: 2.5px solid transparent; transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-poppy { background: var(--poppy); color: var(--paper); }
.btn-poppy:hover { color: var(--paper); background: #B92F18; }
.btn-line { border-color: var(--forest); color: var(--forest); background: var(--paper); }
.btn-line:hover { color: var(--forest); background: var(--mist); }
.btn-mustard { background: var(--mustard); color: var(--night); }
.btn-mustard:hover { color: var(--night); background: #F2B532; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--paper); }
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand img { width: 44px; height: auto; }
.wordmark { font: 760 1.875rem/1 var(--wordmark); letter-spacing: -0.01em; color: var(--forest); }
.nav-desktop { display: flex; align-items: center; gap: 28px; }
.nav-desktop a:not(.btn) { color: var(--ink); text-decoration: none; font-weight: 700; }
.nav-desktop a:not(.btn):hover { color: var(--forest); text-decoration: underline; text-decoration-thickness: 2px; }
.nav-desktop .btn { min-height: 44px; padding: 8px 18px; }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 800; border: 2px solid var(--forest); color: var(--forest); border-radius: 999px; padding: 8px 16px; min-height: 44px; display: inline-flex; align-items: center; }
.menu summary::-webkit-details-marker { display: none; }
.menu[open] summary { background: var(--forest); color: var(--paper); }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 18px 40px rgba(16, 36, 27, .14); padding: 8px; display: grid; min-width: 220px; }
.menu nav a { padding: 12px 14px; border-radius: 8px; color: var(--ink); font-weight: 700; text-decoration: none; }
.menu nav a:hover { background: var(--mist); }
@media (max-width: 900px) {
  .nav-desktop { display: none; }
  .menu { display: block; }
  }

/* Hero */
.hero { padding-block: clamp(36px, 6vw, 80px) clamp(48px, 7vw, 96px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: 22px; min-width: 0; }
.hero h1 .mark { position: relative; white-space: nowrap; color: var(--forest); }
.hero h1 .mark::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: 0.04em; height: 0.26em; background: var(--mustard); border-radius: 999px; z-index: -1; }
.hero h1 { position: relative; z-index: 0; }
.hero .lede { font-size: var(--step-1); line-height: 1.5; color: var(--muted); max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-art { padding-top: 16px; }
  .hero .phone { margin-left: 64px; }
}
@media (max-width: 420px) {
  .hero .phone { margin-left: 76px; width: min(262px, 70vw); }
  .hero .hero-art .fawn { width: 104px; z-index: 0; }
}
.hero-art { position: relative; min-width: 0; display: flex; justify-content: center; padding: 8px 0 0; }
.sun { position: absolute; width: min(92%, 440px); aspect-ratio: 1; border-radius: 50%; background: var(--mustard); top: 4%; left: 50%; transform: translateX(-50%); max-width: 100%; }
.hero-art .fawn { position: absolute; width: clamp(110px, 16vw, 170px); left: max(0px, 2%); bottom: -6px; z-index: 2; filter: drop-shadow(0 10px 18px rgba(16, 36, 27, .18)); }

/* Phone mock-up */
.phone { position: relative; z-index: 1; width: min(300px, 78vw); background: var(--night); border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(16, 36, 27, .28); margin-left: clamp(40px, 10vw, 136px); }
.screen { background: var(--paper); border-radius: 34px; overflow: hidden; font-size: 0.8125rem; line-height: 1.35; }
.app-top { background: var(--forest); color: var(--paper); padding: 22px 16px 16px; display: grid; gap: 10px; }
.app-top .row { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 0.75rem; color: var(--on-forest-muted); }
.child { display: flex; align-items: center; gap: 10px; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--mustard); color: var(--night); display: grid; place-items: center; font-weight: 900; font-size: 1rem; flex: none; }
.child b { display: block; font-size: 1rem; color: var(--paper); }
.child span { color: var(--on-forest-muted); font-size: 0.75rem; }
.diary { list-style: none; margin: 0; padding: 10px 12px 14px; display: grid; gap: 8px; }
.diary li { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: start; padding: 9px 10px; border-radius: 14px; background: var(--mist); }
.diary time { font-weight: 800; color: var(--forest); font-variant-numeric: tabular-nums; font-size: 0.75rem; padding-top: 1px; }
.diary b { display: block; font-weight: 800; color: var(--ink); }
.diary span { color: var(--muted); font-size: 0.75rem; }
.diary .hl { background: #FFF4D6; box-shadow: inset 0 0 0 1.5px var(--mustard); }
.chip { display: inline-block; font-size: 0.6875rem; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--poppy); color: var(--paper); margin-top: 4px; }

/* A day, told as it happens */
.day { background: var(--mist); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; position: relative; }
/* One dashed segment per stop, from its dot to the next one, so the line ends at the last stop. */
.timeline li:not(:last-child)::before { content: ""; position: absolute; left: 29px; width: calc(100% + 14px); top: 27px; height: 4px; border-radius: 4px; background: repeating-linear-gradient(90deg, var(--forest) 0 14px, transparent 14px 24px); opacity: .35; }
.timeline li { position: relative; display: grid; gap: 10px; align-content: start; min-width: 0; }
.dot { width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 4px solid var(--forest); font-weight: 900; font-size: 0.8125rem; color: var(--forest); font-variant-numeric: tabular-nums; position: relative; }
.timeline li:nth-child(3n+2) .dot { border-color: var(--mustard); color: var(--night); }
.timeline li:nth-child(3n) .dot { border-color: var(--poppy); color: var(--poppy); }
.timeline h3 { font-size: var(--step-0); }
.timeline p { color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.timeline .who { font-size: var(--step--1); font-weight: 800; color: var(--forest); }
@media (max-width: 980px) {
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 0; }
  .timeline li:not(:last-child)::before { left: 27px; top: 29px; bottom: -29px; width: 4px; height: auto; background: repeating-linear-gradient(180deg, var(--forest) 0 14px, transparent 14px 24px); }
  .timeline li { grid-template-columns: 58px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding-bottom: 22px; }
  .timeline li > :not(.dot) { grid-column: 2; }
  .timeline .dot { grid-row: 1 / span 3; }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; min-width: 0; }
.feature p { color: var(--muted); }
.icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; }
.icon svg { width: 30px; height: 30px; }
.i-forest { background: var(--forest); color: var(--paper); }
.i-mustard { background: var(--mustard); color: var(--night); }
.i-poppy { background: var(--poppy); color: var(--paper); }
.cedi { font: 900 1.6rem/1 var(--font); }
@media (max-width: 900px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .features { grid-template-columns: minmax(0, 1fr); } }

/* How it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 36px); counter-reset: step; }
.steps li { display: grid; gap: 12px; align-content: start; min-width: 0; counter-increment: step; }
.steps li::before { content: counter(step); width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--mustard); color: var(--night); font: 900 1.75rem/1 var(--display); }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* Parents and schools */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.panel { border-radius: calc(var(--radius) + 8px); padding: clamp(26px, 4vw, 44px); display: grid; gap: 18px; align-content: start; min-width: 0; position: relative; overflow: hidden; }
.panel h2 { font-size: var(--step-3); }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.panel li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.panel li svg { width: 26px; height: 26px; margin-top: 1px; }
.panel-parents { background: var(--forest); color: var(--paper); }
.panel-parents h2, .panel-parents .eyebrow { color: var(--paper); }
.panel-parents .eyebrow { color: var(--mustard); }
.panel-parents li span { color: var(--paper); }
.panel-parents li svg { color: var(--mustard); }
.panel-schools { background: var(--mustard); color: var(--night); }
.panel-schools .eyebrow { color: var(--night); }
.panel-schools li svg { color: var(--forest); }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0, 1fr); } }

/* Care band */
.care { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.care-list { display: grid; gap: 14px; }
.care-item { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1.5px solid var(--line); }
.care-item:last-child { border-bottom: 0; }
.care-item .icon { width: 48px; height: 48px; border-radius: 14px; }
.care-item .icon svg { width: 24px; height: 24px; }
.care-item p { color: var(--muted); }
.care .section-head { margin-bottom: 0; }
@media (max-width: 820px) { .care { grid-template-columns: minmax(0, 1fr); } }

/* Call to action */
.cta { background: var(--forest); color: var(--paper); overflow: hidden; }
.cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center; }
.cta h2 { color: var(--paper); font-size: var(--step-4); }
.cta p { color: var(--on-forest-muted); font-size: var(--step-1); max-width: 36rem; }
.cta-copy { display: grid; gap: 20px; padding-block: clamp(56px, 8vw, 96px); min-width: 0; }
.cta .fawn { width: clamp(180px, 24vw, 300px); margin-bottom: -8px; align-self: end; }
.contact-line { font-size: var(--step--1); color: var(--on-forest-muted); }
.contact-line a { color: var(--paper); font-weight: 700; }
@media (max-width: 720px) { .cta .wrap { grid-template-columns: minmax(0, 1fr); } .cta .fawn { justify-self: end; width: 180px; margin-top: -24px; } .cta-copy { padding-bottom: 0; } }

/* Footer */
.site-footer { background: var(--night); color: var(--on-night-muted); padding-block: 48px calc(32px + env(safe-area-inset-bottom, 0px)); font-size: 0.9375rem; }
.site-footer .wrap { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
.site-footer .wordmark { color: var(--paper); }
.site-footer h3 { color: var(--paper); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--paper); text-decoration: none; }
.site-footer a:hover { color: var(--mustard); text-decoration: underline; }
.footer-brand { display: grid; gap: 12px; align-content: start; }
.footer-base { grid-column: 1 / -1; border-top: 1px solid rgba(255, 255, 255, .14); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: var(--step--1); }
@media (max-width: 680px) { .site-footer .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand { grid-column: 1 / -1; } }

/* Inner pages: privacy and support */
.page-hero { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; }
.page-hero h1 { font-size: var(--step-4); }
.page-hero p { color: var(--muted); font-size: var(--step-1); max-width: 40rem; margin-top: 14px; }
.page-hero img { width: clamp(90px, 14vw, 150px); }
@media (max-width: 600px) { .page-hero .wrap { grid-template-columns: minmax(0, 1fr) 84px; } .page-hero img { width: 84px; } }
.draft-banner { background: #FFF4D6; border: 2px solid var(--mustard); border-radius: var(--radius-sm); padding: 16px 18px; display: grid; gap: 6px; color: var(--night); }
.draft-banner b { font-weight: 900; }
.prose-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; padding-block: clamp(36px, 5vw, 56px) clamp(56px, 8vw, 96px); }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 96px); display: grid; gap: 4px; font-size: 0.9375rem; }
.toc b { font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.toc a { color: var(--ink); text-decoration: none; padding: 4px 0; }
.toc a:hover { color: var(--forest); text-decoration: underline; }
.prose { max-width: 44rem; display: grid; gap: 18px; min-width: 0; }
.prose h2 { font-size: var(--step-2); margin-top: 22px; scroll-margin-top: 100px; }
.prose h3 { margin-top: 6px; }
.prose ul { margin: 0; padding-left: 1.25rem; display: grid; gap: 8px; }
.prose li::marker { color: var(--forest); }
.prose .fill { background: #FFF4D6; border-bottom: 2px dotted var(--mustard); padding: 0 4px; border-radius: 4px; font-weight: 700; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius-sm); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.9375rem; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--mist); font-weight: 800; }
tr:last-child td { border-bottom: 0; }
@media (max-width: 860px) { .prose-layout { grid-template-columns: minmax(0, 1fr); } .toc { position: static; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 16px; } }

.help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.help-card { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.help-card p { color: var(--muted); }
.help-card .addr { font-weight: 800; color: var(--forest); font-size: var(--step-1); overflow-wrap: anywhere; }
.help-card.primary { background: var(--forest); border-color: var(--forest); color: var(--paper); }
.help-card.primary h2, .help-card.primary h3 { color: var(--paper); }
.help-card.primary p { color: var(--on-forest-muted); }
.help-card.primary .addr { color: var(--mustard); }
@media (max-width: 860px) { .help-grid { grid-template-columns: minmax(0, 1fr); } }
.faq { display: grid; gap: 10px; }
.faq details { border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 0 18px; }
.faq details[open] { border-color: var(--forest); }
.faq summary { cursor: pointer; list-style: none; font-weight: 800; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.5rem; line-height: 1; color: var(--forest); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 18px; color: var(--muted); display: grid; gap: 10px; }
.two-col { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 820px) { .two-col { grid-template-columns: minmax(0, 1fr); } }
.callout { border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); display: grid; gap: 12px; background: var(--mist); }
.callout.poppy { background: var(--paper); border: 2px solid var(--poppy); }
.callout ol { margin: 0; padding-left: 1.25rem; display: grid; gap: 8px; }
