/* ===========================================================
   StreakOwl — shared stylesheet (2026-11 "Sunrise" light refresh)
   Design: warm white ground, a peach-to-lavender wash behind the
   hero, white cards tinted peach / lavender / mint, Nunito headings.
   Picked by the owner on 2026-11-04 from three light mockups
   (Sunrise / Notebook / Sky); replaces the dark "Aurora" ground.

   Ground is #FFFDFA, a warm white, deliberately not pure white, so
   white cards still read as surfaces on it. No black fills anywhere
   (owner rule): the deepest colour on a page is the ink, #2A1F1A.

   The legacy token names (--cream, --glass, --border, --*-lift …)
   are kept and remapped rather than renamed. Eleven pages carry
   their own <style> blocks that reference them; remapping moves all
   of those to the light ground in one edit instead of eleven.
   "--orange-lift" now means "the orange that reads as text on the
   light ground" (the CTA orange), not a lighter tint.
   =========================================================== */

:root {
  /* ---- brand hues. These match the app's tokens value for value:
         orange #FF6B35 is AppColors.primary, blue is maths, green-dark is
         science, yellow is the gold. Keep them in step. ---- */
  --orange: #FF6B35;
  --orange-dark: #e05a3a;
  --orange-soft: #FF8F5E;
  --yellow: #FFD93D;
  --green: #6BCB77;
  --green-dark: #34A853;
  --blue: #4C8BF5;

  /* The orange that white text can sit on. --orange cannot: white on #FF6B35
     measures 2.84:1 and on --orange-soft 2.25:1. This is 5.00:1 on white.
     Mirrors AppColors.primaryFill in the app, deliberately the same hex. */
  --orange-cta: #C2470B;

  /* The Schools accent. Was #7B3FE4 until 2026-09-06, which is the app's Hindi
     subject colour -- one hex carrying two unrelated meanings across the two
     surfaces. Moved off it rather than renamed, so the site and the app can
     both say "this hue means one thing". */
  --purple: #7B3FE4;

  /* ---- text-safe variants: the base hues are too light for small
         text on the warm white ground, these clear AA on it
         (orange 5.0:1 · purple 7.5:1 · green 5.2:1) ---- */
  --orange-lift: #C2470B;
  --purple-lift: #6A2FD0;
  --green-lift: #1E7A3A;

  /* ---- ground ---- */
  --ground: #FFFDFA;
  --ground-deep: #FFF4EC;

  /* ---- text. Contrast measured against --ground:
         ink 15.6:1 · gray 9.9:1 · gray-light 4.9:1 · faint 4.5:1 ---- */
  --ink: #2A1F1A;
  --gray: #4A3D35;
  --gray-light: #7A6A60;
  --faint: #7F7269;

  /* ---- surfaces. Legacy cream names, now peach tints; glass is white ---- */
  --cream: #FFF6EF;
  --cream-2: #FFEEE2;
  --cream-3: #FFE3D1;
  --glass: #FFFFFF;
  --glass-2: #FFF9F4;
  --border: #F0E3D8;
  --border-2: #E6D2C2;

  /* ---- depth. Warm, soft shadows: a cool grey shadow looks dirty
         on a peach-tinted page ---- */
  --shadow-xs: 0 1px 2px rgba(120, 60, 20, .06);
  --shadow-sm: 0 1px 2px rgba(120, 60, 20, .06), 0 4px 14px rgba(120, 60, 20, .07);
  --shadow-md: 0 2px 6px rgba(120, 60, 20, .08), 0 12px 32px rgba(120, 60, 20, .10);
  --shadow-lg: 0 4px 10px rgba(120, 60, 20, .08), 0 24px 60px rgba(120, 60, 20, .14);
  --shadow-orange: 0 6px 18px rgba(194, 71, 11, .28);
  --glow-orange: 0 0 60px rgba(255, 107, 53, .14);
  --glow-violet: 0 0 60px rgba(123, 63, 228, .10);
  --card-shadow: var(--shadow-sm); /* legacy alias */

  --radius: 18px;
  --radius-lg: 24px;
  --maxw: 1200px;

  /* fluid type scale — the hero carries this direction, so h1
     runs noticeably larger than the light design did */
  --fs-h1: clamp(44px, 6.6vw, 82px);
  --fs-h2: clamp(30px, 4vw, 48px);
  --fs-h3: clamp(20px, 2.4vw, 27px);
  --fs-lead: clamp(16px, 1.6vw, 19px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--gray);
  background: var(--ground);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* The sunrise wash. Fixed rather than scrolling: it is ambience, and a
   fixed layer is one composite for the whole document instead of
   a repaint per section. Peach top-left, lavender top-right, a little
   gold and mint low down: the same four hues as the app's mesh.
   Alpha stays low so body text keeps its measured contrast. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(46% 42% at 12% 2%, rgba(255, 143, 94, .22) 0%, rgba(255, 143, 94, 0) 62%),
    radial-gradient(42% 40% at 86% 6%, rgba(199, 155, 255, .20) 0%, rgba(199, 155, 255, 0) 64%),
    radial-gradient(56% 42% at 48% 100%, rgba(255, 217, 61, .12) 0%, rgba(255, 217, 61, 0) 60%),
    radial-gradient(32% 32% at 96% 84%, rgba(107, 203, 119, .12) 0%, rgba(107, 203, 119, 0) 66%);
}

::selection { background: rgba(255, 107, 53, .28); color: var(--ink); }

h1, h2, h3, h4, .font-head {
  font-family: 'Nunito', sans-serif;
  color: var(--ink);
  letter-spacing: -.5px;
  line-height: 1.12;
  text-wrap: balance;
}
/* The display sizes carry this direction, so they get tighter
   tracking than the body copy — at 82px the default spacing
   reads loose. */
h1 { letter-spacing: -.028em; }
h2 { letter-spacing: -.024em; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; }

:focus-visible {
  outline: 3px solid var(--orange-lift);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1), box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(.98); }
.btn-primary {
  /* Flat, not a gradient. A ramp from --orange-soft to --orange carries white
     text at between 2.25:1 and 2.84:1, so there was no point along it that
     passed AA -- and a gradient cannot be fixed by darkening one end. */
  background: var(--orange-cta);
  color: #fff;
  box-shadow: var(--shadow-orange), inset 0 1px 0 rgba(255,255,255,.28);
}
.btn-primary:hover {
  /* Hover goes deeper, never lighter: lighter is how the contrast was lost. */
  background: #A93C08;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 107, 53, .38), inset 0 1px 0 rgba(255,255,255,.22);
}
.btn-outline {
  background: #fff;
  color: var(--ink);
  border-color: var(--border-2);
  box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
  border-color: var(--orange-soft);
  color: var(--orange-lift);
  background: var(--glass-2);
  transform: translateY(-2px);
}
.btn-ghost-orange {
  background: transparent;
  color: var(--orange-lift);
  border-color: rgba(194, 71, 11, .5);
}
.btn-ghost-orange:hover { background: var(--orange-cta); color: #fff; border-color: var(--orange); }
.btn-sm { padding: 10px 22px; font-size: 14px; border-radius: 12px; }
.btn-lg { padding: 17px 38px; font-size: 16px; border-radius: 16px; }

/* ---------- Navbar ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 250, .78);
  backdrop-filter: blur(20px) saturate(1.3);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.nav.scrolled {
  background: rgba(255, 253, 250, .92);
  border-bottom-color: var(--border);
  box-shadow: 0 4px 30px rgba(120, 60, 20, .08);
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  /* The owl mascot (img/owl.png, transparent) sits directly on the page: no tile behind it. */
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(255, 107, 53, .3));
  transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.brand-mark img { width: auto; height: 100%; display: block; }
.brand:hover .brand-mark { transform: rotate(-6deg) scale(1.06); }
.brand-name { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -.4px; }
/* "BUILT ON OWL PLATFORM": spaced capitals between two hairlines that fade
   outwards (owner's reference lockup, 2026-09-17). Same in nav and footer. */
.brand-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.brand-sub {
  --owl-tagline: #B04208;
  display: flex; align-items: center; gap: 6px; margin-top: 4px;
  font-size: 9px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase;
  color: var(--owl-tagline); white-space: nowrap;
}
.brand-sub::before, .brand-sub::after { content: ""; flex: 0 0 18px; height: 1px; }
.brand-sub::before { background: linear-gradient(90deg, rgba(176, 66, 8, 0), var(--owl-tagline)); }
/* letter-spacing also trails the last letter; pull the right hairline back in */
.brand-sub::after { background: linear-gradient(90deg, var(--owl-tagline), rgba(176, 66, 8, 0)); margin-left: -.2em; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-weight: 600; font-size: 14px; color: var(--gray);
  padding: 8px 12px; border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--orange-lift); background: rgba(255, 107, 53, .08); }
.nav-links a.active { color: var(--orange-lift); background: rgba(255, 107, 53, .14); }
.nav-cta { display: flex; align-items: center; gap: 10px; }

/* "Who it's for" (home layout Option A, 2026-11-04): the four audience pages
   fold into one dropdown so the header holds four links instead of eight.
   Opens on hover and keyboard focus; menu.js also toggles it on click for
   touch screens. In the phone sheet the four pages appear as plain rows,
   since menu.js collects every <a> inside .nav-links. */
.nav-dd { position: relative; }
.nav-dd-btn {
  display: inline-flex; align-items: center; gap: 5px;
  font: 600 14px/1.5 'DM Sans', sans-serif; color: var(--gray);
  padding: 8px 12px; border-radius: 10px; border: 0; background: transparent; cursor: pointer;
  white-space: nowrap; transition: color .15s ease, background .15s ease;
}
.nav-dd-btn::after { content: "▾"; font-size: 12px; opacity: .7; }
.nav-dd-btn:hover, .nav-dd.open .nav-dd-btn, .nav-dd:focus-within .nav-dd-btn { color: var(--orange-lift); background: rgba(255, 107, 53, .08); }
.nav-dd-btn.active { color: var(--orange-lift); background: rgba(255, 107, 53, .14); }
.nav-dd-menu {
  display: none; position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px;
  padding: 8px; border-radius: 14px; background: #fff; border: 1px solid var(--border-2);
  box-shadow: var(--shadow-md); z-index: 101;
}
.nav-dd-menu a { display: block; }
.nav-dd:hover .nav-dd-menu, .nav-dd:focus-within .nav-dd-menu, .nav-dd.open .nav-dd-menu { display: block; }
/* The social icons sit right of the links on a desktop; in the phone sheet
   menu.js draws them as a "Follow" row instead. */
.nav-social { display: flex; align-items: center; gap: 4px; margin-right: 4px; }
.soc-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%; color: var(--gray);
  transition: color .15s ease, background .15s ease;
}
.soc-ic svg { width: 18px; height: 18px; fill: currentColor; }
.soc-ic:hover { background: rgba(255, 107, 53, .10); color: var(--orange-lift); }
@media (max-width: 1060px) { .nav-social { display: none; } }

/* ---------- Sections ---------- */
section { position: relative; }
.section-pad { padding: 96px 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 999px;
  background: var(--cream-2);
  border: 1px solid var(--border-2);
  color: var(--orange-lift);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .2px;
  margin-bottom: 20px;
}
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-head h2 { font-size: var(--fs-h2); font-weight: 900; }
.section-head p { color: var(--gray-light); font-size: var(--fs-lead); margin-top: 14px; }

/* ---------- Cards ---------- */
/* White cards on the warm white ground; the hairline border and a
   soft warm shadow are what make them read as surfaces. */
.card {
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.card:hover { background: var(--glass-2); box-shadow: var(--shadow-md); border-color: var(--border-2); }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.feature-card {
  position: relative;
  background: var(--glass);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, background .22s ease;
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--yellow));
  opacity: 0;
  transition: opacity .22s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
  background: var(--glass-2);
  box-shadow: var(--shadow-lg), var(--glow-orange);
  border-color: rgba(194, 71, 11, .30);
}
.feature-card:hover::after { opacity: 1; }
.feature-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  background: linear-gradient(135deg, var(--cream-3), var(--cream));
  border: 1px solid var(--border-2);
  border-radius: 16px;
  margin-bottom: 18px;
  transition: transform .22s cubic-bezier(.34,1.56,.64,1);
}
.feature-card:hover .feature-icon { transform: scale(1.08) rotate(-4deg); }
.feature-card h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feature-card p { color: var(--gray-light); font-size: 15px; }

/* ---------- Footer ---------- */
/* A peach slab under a hairline: the page ends on the same tint the
   hero opened with. Five columns since 2026-11-04 (the fifth is Follow); six since 2026-11-26 (Products). */
.footer {
  background: var(--ground-deep);
  border-top: 1px solid var(--border);
  color: var(--gray-light);
  padding: 72px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.1fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
}
.footer .brand-name { color: var(--ink); }
/* The Follow column: icon + handle per row, so the handle itself is readable
   and copyable, not just an icon. Handles: docs/operations/SOCIAL_HANDLES.md. */
.footer .follow li a { display: inline-flex; align-items: center; gap: 8px; }
.footer .follow svg { width: 16px; height: 16px; fill: currentColor; flex: none; }
.footer-social { display: flex; align-items: center; gap: 6px; }
.footer-social .soc-ic { width: 34px; height: 34px; background: #fff; border: 1px solid var(--border-2); color: var(--gray); }
.footer-social .soc-ic:hover { color: var(--orange-lift); border-color: var(--orange-soft); }
.footer-about p { margin-top: 14px; max-width: 280px; font-size: 14px; color: var(--faint); }
/* Google's official badge (img/google-play-badge.png): used unmodified, padding included, per Google's badge guidelines. */
.play-badge { display: inline-block; line-height: 0; }
.play-badge img { display: block; width: auto; max-width: 100%; }
.footer-about .play-badge { margin-top: 12px; margin-left: -10px; }
.play-badge-hero { margin-top: 14px; margin-left: -11px; }
.play-badge-cta { margin-top: 16px; }
.footer h4 { color: var(--ink); font-size: 13px; font-weight: 800; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 1px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 14px; color: var(--gray-light); transition: color .15s ease; }
.footer ul li a:hover { color: var(--orange-lift); }
.footer-bottom {
  margin-top: 48px; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  font-size: 13px; color: var(--faint);
}

/* ---------- FAQ accordion (shared) ---------- */
.faq-wrap { max-width: 780px; margin: 0 auto; }
.faq-item { background: var(--glass); border: 1px solid var(--border); border-radius: 16px; margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-xs); transition: box-shadow .2s ease, border-color .2s ease, background .2s ease; }
.faq-item:hover { background: var(--glass-2); box-shadow: var(--shadow-sm); }
.faq-item.open { background: var(--glass-2); border-color: rgba(194, 71, 11, .35); box-shadow: var(--shadow-md); }
.faq-q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 24px; cursor: pointer; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 16px; color: var(--ink); }
.faq-q .ic { flex: none; width: 28px; height: 28px; border-radius: 9px; background: rgba(255,107,53,.14); color: var(--orange-lift); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 700; transition: transform .25s cubic-bezier(.34,1.56,.64,1), background .2s ease, color .2s ease; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a p { padding: 0 24px 20px; color: var(--gray-light); font-size: 15px; }
/* The cap only exists so max-height can animate. It is in em, not px, so it
   grows with the text: at 360px a long answer was cut on a 375px phone, and
   more answers were cut once the reader raised the text size. */
.faq-item.open .faq-a { max-height: 80em; }
.faq-item.open .ic { transform: rotate(45deg); background: var(--orange-cta); color: #fff; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .65s cubic-bezier(.22,.61,.36,1), transform .65s cubic-bezier(.22,.61,.36,1);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: none; }
.d1 { --reveal-delay: .08s; }
.d2 { --reveal-delay: .16s; }
.d3 { --reveal-delay: .24s; }
.d4 { --reveal-delay: .32s; }
.d5 { --reveal-delay: .40s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* ---------- Utility ---------- */
.center { text-align: center; }
.tag-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700;
}
.tag-green { background: var(--green-dark); color: #fff; }
.tag-soft-orange { background: rgba(255,107,53,.14); color: var(--orange-lift); }
.text-orange { color: var(--orange-lift); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .nav-links { display: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section-pad { padding: 60px 0; }
}
@media (max-width: 480px) {
  .nav-cta .btn-outline { display: none; }
  /* the full-size tagline pushes Start Free off a 375px screen */
  .nav .brand-sub { font-size: 7px; letter-spacing: .12em; gap: 4px; }
  .nav .brand-sub::before, .nav .brand-sub::after { flex-basis: 8px; }
  .nav .brand-sub::after { margin-left: -.12em; }
  .footer-grid { grid-template-columns: 1fr; }
  /* A long label ("Create Parent Account — Free") wraps instead of pushing
     the page sideways once the reader raises the text size. */
  .btn-lg { white-space: normal; text-align: center; }
}

/* ---------- Final CTA band (home + app tour) ----------
   A peach band with ink text, not an orange slab: white text on --orange
   measures 2.84:1, and a deep-orange slab would be the one heavy block on
   an otherwise light page. The orange goes on the button instead. */
.cta-final {
  background:
    radial-gradient(600px 300px at 20% 0%, rgba(255,217,61,.35), transparent 60%),
    radial-gradient(500px 320px at 85% 100%, rgba(199,155,255,.32), transparent 60%),
    linear-gradient(135deg, #FFE9DA, #FFF4EC);
  overflow: hidden; position: relative;
}
.cta-final::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,107,53,.18) 1px, transparent 1.5px);
  background-size: 24px 24px;
  mask-image: radial-gradient(600px 400px at 50% 50%, #000, transparent 80%);
  -webkit-mask-image: radial-gradient(600px 400px at 50% 50%, #000, transparent 80%);
  pointer-events: none;
}
.cta-final .inner { text-align: center; padding: 88px 0; color: var(--ink); position: relative; z-index: 1; }
.cta-final h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; letter-spacing: -1.4px; }
.cta-final p { font-size: 18px; margin: 14px 0 32px; color: var(--gray); }

/* ---------- App screen mockups (shared: homepage gallery + app-screens page) ---------- */
.shots-strip {
  display: flex; gap: 30px; overflow-x: auto;
  padding: 12px 6px 28px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.shots-strip::-webkit-scrollbar { height: 8px; }
.shots-strip::-webkit-scrollbar { background: rgba(120,60,20,.05); border-radius: 8px; }
.shots-strip::-webkit-scrollbar-thumb { background: rgba(120,60,20,.20); border-radius: 8px; }
.shots-grid { display: flex; flex-wrap: wrap; gap: 36px; justify-content: center; }
/* A shot is as wide as its phone, and the caption wraps under it. Sized by
   the caption instead, a long one ("Every message screened; parents alerted
   if anything serious comes up") made its shot 409px wide: wider than a
   375px screen, and the phone sat off-centre above its own caption. */
.shot { flex: none; width: min-content; max-width: 100%; scroll-snap-align: center; }
.shot-phone {
  /* A phone screen is the app. The drawing's own light token values are
     pinned here so the page theme can change under it without moving
     anything inside the bezel. */
  --ink: #191511;
  --gray: #55504a;
  --gray-light: #6e675f;
  --cream: #FFF9F0;
  --cream-2: #FFF4E8;
  --cream-3: #FFE8D6;
  --border: #f0ece4;
  --border-2: #e0d8cc;

  width: 242px; min-height: 480px;
  background: #fff;
  color: var(--ink);
  /* The bezel is hardware, a dark phone edge, not a UI fill. */
  border: 7px solid #241C33;
  border-radius: 34px;
  padding: 26px 13px 14px;
  position: relative;
  box-shadow:
    var(--shadow-lg),
    0 0 70px rgba(255, 107, 53, .12);
  transition: transform .25s ease, box-shadow .25s ease;
}
.shot:hover .shot-phone {
  transform: translateY(-6px);
  box-shadow:
    0 30px 70px rgba(120, 60, 20, .22),
    0 0 90px rgba(255, 107, 53, .18);
}
.shot-phone::before {
  content: "";
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 68px; height: 16px; background: #241C33; border-radius: 10px;
}
/* real screenshot frames: image fills the phone, inherits the 34px rounding */
.shot-real { padding: 0; overflow: hidden; }
.shot-real::before { display: none; }
.shot-real img { display: block; width: 100%; height: auto; border-radius: inherit; }
.shot-cap { text-align: center; margin-top: 14px; font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 15px; color: var(--ink); }
.shot-cap small { display: block; color: var(--gray-light); font-weight: 600; font-size: 12px; font-family: 'DM Sans', sans-serif; margin-top: 2px; }

/* screen UI atoms */
.s-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.s-title { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 14px; }
.s-sub { font-size: 10px; color: #999; }
.s-chip { display: inline-flex; align-items: center; gap: 4px; background: var(--yellow); color: #5a5000; font-weight: 800; font-size: 10px; padding: 4px 9px; border-radius: 999px; }
.s-card { border-radius: 13px; padding: 11px 12px; margin-bottom: 9px; font-size: 11px; }
.s-card .t { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 13px; }
.s-card .l { font-size: 9px; font-weight: 700; letter-spacing: .5px; opacity: .85; }
.s-card .m { font-size: 10px; opacity: .85; margin-top: 2px; }
.s-orange { background: linear-gradient(135deg, var(--orange), var(--orange-soft)); color: #fff; box-shadow: 0 6px 16px -5px rgba(255,107,53,.45); }
.s-soft { background: #FFF0E6; }
.s-lav { background: #F8F6FF; }
.s-mint { background: #E8F8E8; }
.s-row { display: flex; align-items: center; gap: 8px; }
.s-av { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--cream-3); display: flex; align-items: center; justify-content: center; font-size: 14px; }
.s-bar { height: 6px; background: #f0e8dc; border-radius: 6px; overflow: hidden; margin-top: 6px; }
.s-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--green), #8edd98); border-radius: 6px; }
.s-name { font-weight: 700; font-size: 11px; }
.s-meta { font-size: 9px; color: #999; }
.s-xp { margin-left: auto; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 11px; color: var(--orange); white-space: nowrap; }
.s-rank { flex: none; width: 20px; font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 12px; color: var(--gray-light); text-align: center; }
.s-li { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 11px; margin-bottom: 6px; background: #faf7f2; }
.s-li.me { background: #FFF0E6; border: 1px solid rgba(255,107,53,.3); }
.s-bub { padding: 8px 11px; border-radius: 13px; font-size: 10.5px; margin-bottom: 8px; max-width: 90%; line-height: 1.45; }
.s-bub.q { background: #FFF0E6; margin-left: auto; border-bottom-right-radius: 4px; }
.s-bub.a { background: #F8F6FF; border-bottom-left-radius: 4px; }
.s-note { font-size: 9px; color: #999; text-align: center; margin: 6px 0; }
.s-vs { display: flex; align-items: center; justify-content: space-between; padding: 10px 6px; }
.s-vs .p { text-align: center; flex: 1; }
.s-vs .p .s-av { margin: 0 auto 4px; width: 38px; height: 38px; font-size: 19px; }
.s-vs .v { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 17px; color: var(--orange); }
.s-score { font-family: 'Nunito', sans-serif; font-weight: 900; font-size: 15px; }
.s-opt { border: 1.5px solid var(--border-2); border-radius: 10px; padding: 8px 10px; font-size: 10.5px; font-weight: 600; margin-bottom: 6px; }
.s-opt.right { border-color: var(--green-dark); background: #E8F8E8; color: #227a3a; font-weight: 700; }
.s-input { display: flex; gap: 6px; margin-top: 8px; }
.s-input .bx { flex: 1; border: 1px solid var(--border-2); border-radius: 10px; padding: 7px 10px; color: #aaa; font-size: 10px; }
.s-input .snd { background: var(--orange-cta); color: #fff; border-radius: 10px; width: 30px; display: flex; align-items: center; justify-content: center; font-size: 12px; }

@media (max-width: 640px) {
  .shot-phone { width: 218px; min-height: 440px; }
  .shots-grid { gap: 24px; }
}

/* ---------- Parents page: "use it in the browser" (mockup options B + C) ---------- */
.web-strip { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--border); max-width: 520px; }
.web-strip .addr { padding: 7px 12px; border-radius: 9px; background: var(--glass-2); border: 1px solid var(--border-2); color: var(--ink); font: 700 14px/1 ui-monospace, Consolas, monospace; text-decoration: none; }
.web-strip .addr:hover, .web-strip .addr:focus-visible { border-color: var(--orange-soft); }
.ph-copy .web-strip p { margin: 0; line-height: 1.4; color: var(--gray); font-size: 15px; }
.start-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 30px 0; text-align: left; }
.start-step { padding: 22px; border-radius: 16px; background: var(--glass); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }
.start-step .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font: 800 16px/1 'Nunito', sans-serif; }
.start-step h3 { font-size: 18px; margin: 4px 0 0; }
.start-step p { margin: 0; color: var(--gray-light); font-size: 15px; }
.start-note { margin-top: 14px; color: var(--faint); font-size: 14px; }
/* parents.html centres its hero below 880px; the strip follows it. */
@media (max-width: 880px) {
  .web-strip { margin-inline: auto; justify-content: center; text-align: center; }
}
@media (max-width: 760px) {
  .start-steps { grid-template-columns: 1fr; }
}

/* ===========================================================
   Tutor pages (Pick 38A, 2026-10-12)
   Built from mockups/website-new-features/a. Four parts:
   1. The nav's eighth link (Tutors). The only rules here that
      reach every page.
   2. tutors.html and teach.html, scoped under body.tutor-page.
   3. The home page's tutors band (.tutors-band, .tb-*).
   4. The "New in StreakOwl" section on parents.html (.np-new).
   Parts 2-4 are scoped, so no existing page or component moves.

   The drawings of the app (.dphone, .mini, .ckl, .console) are
   light inside, like .shot-phone: the app is light and these are
   pictures of it. They are drawn, not captured, and every one
   carries a caption saying it is an illustration.
   =========================================================== */

/* ---- 1. The nav with an eighth link. Without these, Start Free is pushed
   off the page at 1024px (measured in the preview: 34px of sideways scroll),
   and at 375px once the text is raised. Below 760px the links stay hidden as
   before; the footer carries Find a Tutor and Teach on StreakOwl there. ---- */
.nav-links { min-width: 0; }
.nav-links a { white-space: nowrap; }
/* 1240, not 1180, since the fourth link reads "For Tutors" (owner, 2026-10-13): at 1181px the
   roomier spacing ran Contact 3px under Start Free. */
@media (max-width: 1240px) { .nav-links { gap: 0; } .nav-links a, .nav-dd-btn { padding: 8px 9px; } }
@media (max-width: 1100px) { .nav-links a, .nav-dd-btn { padding: 8px 6px; font-size: 13px; } .nav-dd-menu a { padding: 8px 12px; } }
@media (max-width: 1000px) and (min-width: 761px) {
  .nav-links {
    flex: 1 1 auto; justify-content: flex-start; overflow-x: auto; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent);
    mask-image: linear-gradient(90deg, #000 86%, transparent);
  }
  .nav-links::-webkit-scrollbar { display: none; }
}
@media (max-width: 480px) {
  .nav-inner { padding-left: 16px; padding-right: 16px; gap: 10px; }
  .nav-cta .btn { white-space: normal; text-align: center; padding: 9px 14px; }
}

/* ---- 2. tutors.html and teach.html ---- */
.tutor-page [id] { scroll-margin-top: 110px; }
.tutor-page .band-alt { background: var(--cream); }

/* hero. Top and bottom padding only: the shorthand would wipe .container's
   24px side gutter (parents.html has that bug). */
.tutor-page .page-hero { background: linear-gradient(165deg, var(--cream), var(--cream-3)); }
.tutor-page .ph-inner { display: flex; gap: 64px; align-items: center; padding-top: 72px; padding-bottom: 80px; }
.tutor-page .ph-copy { flex: 1.15; min-width: 0; }
.tutor-page .ph-copy h1 { font-size: 46px; font-weight: 900; letter-spacing: -1.5px; }
.tutor-page .ph-copy > p { font-size: 18px; color: var(--gray-light); margin: 18px 0 24px; max-width: 540px; }
.tutor-page .ph-copy > .ph-small { margin: 16px 0 0; font-size: 14px; color: var(--faint); max-width: 520px; }
.tutor-page .ph-small a { color: var(--orange-lift); font-weight: 700; }
.tutor-page .ph-small b { color: var(--gray); font-weight: 700; }
.tutor-page .ph-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.tutor-page .ph-art { flex: .85; min-width: 0; display: flex; flex-direction: column; align-items: center; }

/* what is open and what is not, said plainly */
.tutor-page .gate { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 26px; padding: 14px 16px; border-radius: 14px; background: var(--glass); border: 1px solid var(--border); max-width: 560px; text-align: left; }
.tutor-page .gate p { margin: 0; font-size: 15px; color: var(--gray); line-height: 1.5; }
.tutor-page .st { flex: none; display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .2px; white-space: nowrap; }
.tutor-page .st-live { background: rgba(107, 203, 119, .20); color: var(--green-lift); }
.tutor-page .st-soon { background: rgba(255, 107, 53, .22); color: var(--orange-lift); }
.tutor-page .st-plan { background: rgba(123, 63, 228, .24); color: var(--purple-lift); }

.tutor-page .illus-cap { margin: 14px auto 0; font-size: 12px; color: var(--faint); text-align: center; max-width: 360px; }

/* ticked lists (also the parents.html section, part 4) */
.tutor-page .ticks, .np-new .ticks { list-style: none; margin-top: 18px; }
.tutor-page .ticks li, .np-new .ticks li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 11px; color: var(--gray); font-size: 15.5px; }
.tutor-page .ticks li::before, .np-new .ticks li::before {
  content: "\2713"; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 7px;
  background: rgba(107, 203, 119, .22); color: var(--green-lift);
  display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px;
}

/* drawn phone: light tokens inside the bezel, as in .shot-phone */
.tutor-page .dphone { width: 300px; max-width: 100%; background: #FBF8F4; color: #191511; border: 8px solid #241C33; border-radius: 38px; padding: 36px 14px 16px; position: relative; font-size: 12px; line-height: 1.4; text-align: left; box-shadow: 0 40px 90px -20px rgba(255, 107, 53, .30), 0 24px 50px -24px rgba(120, 60, 20, .30); }
.tutor-page .dphone::before { content: ""; position: absolute; top: 9px; left: 50%; transform: translateX(-50%); width: 80px; height: 18px; background: #241C33; border-radius: 10px; }
.tutor-page .dp-head { display: flex; align-items: center; gap: 10px; font: 800 15px/1 'Nunito', sans-serif; margin-bottom: 12px; }
.tutor-page .seg { display: flex; background: #fff; border: 1px solid #ece3d7; border-radius: 999px; padding: 3px; }
.tutor-page .seg span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 999px; font-weight: 700; font-size: 11px; color: #6e675f; }
.tutor-page .seg .on { background: var(--orange-cta); color: #fff; }
.tutor-page .lbl { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: #B04208; margin: 12px 0 6px; }
.tutor-page .lbl:first-child { margin-top: 0; }
.tutor-page .chips { display: flex; flex-wrap: wrap; gap: 5px; }
.tutor-page .days + .chips { margin-top: 8px; }
.tutor-page .chip { border: 1px solid #e3d8ca; border-radius: 999px; padding: 4px 10px; font-size: 11px; font-weight: 700; background: #fff; color: #55504a; }
.tutor-page .chip.on { border-color: var(--orange-cta); background: #FFF1E8; color: #B04208; }
.tutor-page .sort { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; border: 1px solid #e3d8ca; background: #fff; border-radius: 12px; padding: 6px 11px; font-weight: 700; font-size: 11px; color: #3a332c; }

/* an example tutor card: initials only, never a photo */
.tutor-page .tcard { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid #efe6da; border-radius: 16px; padding: 12px; margin-top: 10px; box-shadow: 0 6px 16px -10px rgba(60, 30, 10, .35); text-align: left; }
.tutor-page .tcard .av { flex: none; width: 38px; height: 38px; border-radius: 50%; background: #FFEDE3; color: #B04208; display: grid; place-items: center; font: 900 13px/1 'Nunito', sans-serif; }
.tutor-page .tcard .bd { flex: 1; min-width: 0; }
.tutor-page .tcard .nm { font: 800 14px/1.2 'Nunito', sans-serif; }
.tutor-page .tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 5px 0 4px; }
.tutor-page .tg { font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px; }
.tutor-page .tg.ok { background: #E6F6EA; color: #1E7A3A; }
.tutor-page .tg.new { background: #FFEDE3; color: #B04208; }
.tutor-page .tcard .meta { font-size: 11px; color: #6e675f; }
.tutor-page .tcard .pr { flex: none; text-align: right; font-size: 10px; color: #6e675f; }
.tutor-page .tcard .pr b { display: block; font: 800 12px/1.3 'Nunito', sans-serif; color: #191511; }
.tutor-page .tcard.sm { padding: 9px; margin-top: 8px; }
.tutor-page .tcard.sm .av { width: 30px; height: 30px; font-size: 11px; }
.tutor-page .tcard.sm .nm { font-size: 12.5px; }
.tutor-page .tcard.sm .tags { margin-bottom: 0; }

/* owl or tutor */
.tutor-page .twin .feature-card h3 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 22px; }
.tutor-page .twin .feature-card p { margin-top: 6px; }
.tutor-page .twin .ticks li { font-size: 15px; margin-bottom: 10px; }

/* three steps, each with a small drawing */
.tutor-page .steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tutor-page .stp { padding: 22px; border-radius: 18px; background: var(--glass); border: 1px solid var(--border); display: flex; flex-direction: column; }
.tutor-page .stp .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-cta); color: #fff; font: 800 16px/1 'Nunito', sans-serif; margin-bottom: 10px; }
.tutor-page .stp h3 { font-size: 19px; margin-bottom: 8px; }
.tutor-page .stp p { color: var(--gray-light); font-size: 15px; }
.tutor-page .mini { background: #FBF8F4; color: #191511; border: 1px solid var(--border); border-radius: 14px; padding: 12px; font-size: 12px; line-height: 1.45; margin-bottom: 18px; min-height: 128px; text-align: left; box-shadow: 0 10px 30px -18px rgba(120, 60, 20, .35); }
.tutor-page .days { display: flex; gap: 5px; overflow: hidden; }
.tutor-page .day { flex: 1; min-width: 0; text-align: center; border: 1px solid #e3d8ca; background: #fff; border-radius: 10px; padding: 5px 2px; font-weight: 800; font-size: 10.5px; color: #55504a; }
.tutor-page .day.on { background: var(--orange-cta); border-color: var(--orange-cta); color: #fff; }
.tutor-page .mode { display: flex; gap: 6px; margin-top: 8px; }
.tutor-page .mode span { flex: 1; border: 1px solid #e3d8ca; background: #fff; border-radius: 10px; padding: 6px 8px; font-size: 10.5px; font-weight: 700; color: #55504a; }
.tutor-page .mode span.on { border-color: var(--orange-cta); background: #FFF1E8; color: #B04208; }
.tutor-page .tl { list-style: none; position: relative; }
.tutor-page .tl li { position: relative; padding: 0 0 9px 20px; font-size: 11.5px; color: #6e675f; }
.tutor-page .tl li::before { content: ""; position: absolute; left: 3px; top: 5px; width: 9px; height: 9px; border-radius: 50%; background: #d8cfc3; }
.tutor-page .tl li::after { content: ""; position: absolute; left: 7px; top: 15px; bottom: -3px; width: 1px; background: #e0d6c8; }
.tutor-page .tl li:last-child::after { display: none; }
.tutor-page .tl li b { color: #191511; }
.tutor-page .tl li.done::before, .tutor-page .tl li.done::after { background: #1E7A3A; }
.tutor-page .tl li.now::before { background: var(--orange-cta); }

.tutor-page .note-box { display: flex; gap: 14px; align-items: flex-start; max-width: 860px; margin: 36px auto 0; padding: 18px 20px; border-radius: 16px; background: rgba(255, 217, 61, .08); border: 1px solid rgba(255, 217, 61, .30); color: var(--gray); font-size: 15px; }
.tutor-page .note-box .ic { flex: none; font-size: 22px; line-height: 1; }
.tutor-page .note-box b { color: var(--ink); }

/* two cards side by side: privacy and who can book; parent and tutor */
.tutor-page .pair .feature-card h3 { font-size: 21px; }
.tutor-page .pair .feature-card p + p { margin-top: 10px; }

/* where things stand */
.tutor-page .road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tutor-page .road-item { padding: 26px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--border); }
.tutor-page .road-item.dim { border-style: dashed; background: transparent; }
.tutor-page .road-item h3 { font-size: 19px; margin: 14px 0 8px; }
.tutor-page .road-item p { color: var(--gray-light); font-size: 15px; }

/* teach.html: six steps, two rows of three on a desktop */
.tutor-page .six { margin: 0; }
.tutor-page .six .start-step { padding: 24px; }
.tutor-page .start-step p b { color: var(--ink); }

/* a drawing framed as a browser window */
.tutor-page .browser { max-width: 1040px; margin: 44px auto 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-2); background: #fff; box-shadow: var(--shadow-lg), var(--glow-violet); }
.tutor-page .browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.tutor-page .browser .bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--border-2); }
.tutor-page .browser .bar span { margin-left: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font: 600 12px/1 ui-monospace, Consolas, monospace; color: var(--gray-light); background: var(--cream); padding: 6px 10px; border-radius: 7px; }

/* the "Get verified" checklist, drawn */
.tutor-page .ckl { background: #F6F2EC; color: #191511; padding: 26px 28px 28px; font-size: 13px; line-height: 1.45; text-align: left; }
.tutor-page .ckl-k { font-size: 11px; font-weight: 800; letter-spacing: .08em; color: #B04208; }
.tutor-page .ckl-h { font: 900 24px/1.15 'Nunito', sans-serif; margin-top: 4px; }
.tutor-page .ckl-status { margin-top: 14px; padding: 14px 16px; border-radius: 14px; background: #FFF1E8; border: 1px solid #f4d9c6; }
.tutor-page .ckl-status b { display: block; font: 800 15px/1.3 'Nunito', sans-serif; }
.tutor-page .ckl-status span { color: #55504a; font-size: 12.5px; }
.tutor-page .ckl-rows { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.tutor-page .ckl-row { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: center; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid #ece4d8; }
.tutor-page .ckl-row .ic { flex: none; font-size: 20px; line-height: 1; }
.tutor-page .ckl-row .tx { flex: 1 1 150px; min-width: 0; }
.tutor-page .ckl-row .tx b { display: block; font: 800 14px/1.25 'Nunito', sans-serif; }
.tutor-page .ckl-row .tx span { display: block; color: #6e675f; font-size: 12px; }
.tutor-page .ckl-tag { flex: none; padding: 3px 9px; border-radius: 999px; font-size: 10.5px; font-weight: 800; white-space: nowrap; }
.tutor-page .ckl-tag.done { background: #E6F6EA; color: #1E7A3A; }
.tutor-page .ckl-tag.todo { background: #FFEDE3; color: #B04208; }
.tutor-page .ckl-tag.wait { background: #FFF6D6; color: #7A5A00; }

/* the sign-up page, drawn inside .dphone */
.tutor-page .dp-brand { font: 900 14px/1 'Nunito', sans-serif; color: #B04208; }
.tutor-page .dp-h { font: 900 20px/1.15 'Nunito', sans-serif; margin: 8px 0 12px; }
.tutor-page .dp-lab { font-size: 10.5px; font-weight: 700; color: #3a332c; margin: 10px 0 4px; }
.tutor-page .dp-field { border: 1px solid #e3d8ca; background: #fff; border-radius: 10px; padding: 8px 10px; font-size: 11px; color: #9a9088; }
.tutor-page .dp-btn { margin-top: 14px; border-radius: 12px; background: var(--orange-cta); color: #fff; text-align: center; font-weight: 800; font-size: 12px; padding: 10px; }
.tutor-page .dp-note { margin-top: 12px; border-radius: 12px; background: #FFF1E8; padding: 10px; font-size: 10.5px; color: #55504a; }

/* the tutor console, drawn */
.tutor-page .split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; }
.tutor-page .split > * { min-width: 0; }
.tutor-page .split h2 { font-size: var(--fs-h2); font-weight: 900; margin-bottom: 14px; }
.tutor-page .split .lead { color: var(--gray-light); font-size: var(--fs-lead); }
.tutor-page .console { display: grid; grid-template-columns: 158px 1fr; background: #F6F2EC; color: #191511; border-radius: 18px; overflow: hidden; border: 7px solid #241C33; font-size: 12px; line-height: 1.45; text-align: left; box-shadow: var(--shadow-lg), 0 0 70px rgba(255, 107, 53, .14); }
.tutor-page .console .side { background: #fff; border-right: 1px solid #ece4d8; padding: 14px 10px; }
.tutor-page .console .brand-row { font: 900 14px/1 'Nunito', sans-serif; margin: 2px 6px 14px; display: flex; align-items: center; gap: 6px; }
.tutor-page .console .brand-row span { font: 800 9.5px/1 'DM Sans', sans-serif; color: #B04208; background: #FFEDE3; padding: 3px 6px; border-radius: 999px; }
.tutor-page .console .it { padding: 7px 10px; border-radius: 10px; font-weight: 700; color: #55504a; margin-bottom: 2px; display: flex; justify-content: space-between; }
.tutor-page .console .it.on { background: #FFEDE3; color: #B04208; }
.tutor-page .console .main { padding: 18px 18px 20px; min-width: 0; }
.tutor-page .console .h { font: 900 19px/1.1 'Nunito', sans-serif; }
.tutor-page .console .sub { color: #6e675f; font-size: 11.5px; margin-top: 3px; }
.tutor-page .req { background: #fff; border: 1px solid #ece4d8; border-radius: 14px; padding: 13px 14px; margin-top: 12px; }
.tutor-page .req .k { font-size: 9.5px; font-weight: 800; letter-spacing: .08em; color: #B04208; }
.tutor-page .req .t { font: 800 14px/1.25 'Nunito', sans-serif; margin-top: 3px; }
.tutor-page .req .m { color: #6e675f; font-size: 11.5px; }
.tutor-page .req .row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.tutor-page .req .b { padding: 7px 12px; border-radius: 10px; font-weight: 800; font-size: 11px; border: 1px solid #e0d6c8; background: #fff; color: #3a332c; }
.tutor-page .req .b.pri { background: var(--orange-cta); border-color: var(--orange-cta); color: #fff; }

/* fees & rules */
.tutor-page .rule { padding: 24px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--border); }
.tutor-page .rule .k { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--orange-lift); }
.tutor-page .rule h3 { font-size: 19px; margin: 8px 0 6px; }
.tutor-page .rule p { color: var(--gray-light); font-size: 15px; }

/* the child-safety pledge */
.tutor-page .promise { background: linear-gradient(135deg, rgba(107, 203, 119, .16), rgba(76, 139, 245, .14)); border: 1px solid rgba(143, 224, 154, .26); border-radius: 22px; padding: 40px; max-width: 900px; margin: 0 auto; }
.tutor-page .promise h2 { font-size: clamp(26px, 3vw, 34px); font-weight: 900; text-align: center; }
.tutor-page .promise > p { color: var(--gray); text-align: center; margin: 10px auto 24px; max-width: 620px; }
.tutor-page .pledge { list-style: none; display: grid; gap: 12px; max-width: 700px; margin: 0 auto; }
.tutor-page .pledge li { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .7); border: 1px solid var(--border); color: var(--ink); font-size: 15.5px; }
.tutor-page .pledge li::before { content: "\1F91D"; flex: none; }

/* closing band. The shared .cta-final .inner padding shorthand wipes the
   side gutter on a phone. */
.tutor-page .cta-final .inner { padding-left: 24px; padding-right: 24px; }
.tutor-page .cta-final .btn-primary { color: #fff; }
.tutor-page .cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

@media (min-width: 961px) { .tutor-page .stp .mini { min-height: 186px; } }
@media (max-width: 960px) {
  .tutor-page .steps3, .tutor-page .road, .tutor-page .six { grid-template-columns: 1fr 1fr; }
  .tutor-page .split { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 880px) {
  .tutor-page .ph-inner { flex-direction: column; text-align: center; padding-top: 56px; padding-bottom: 64px; gap: 44px; }
  .tutor-page .ph-copy { width: 100%; }
  .tutor-page .ph-copy h1 { font-size: 34px; }
  .tutor-page .ph-copy > p, .tutor-page .gate { margin-left: auto; margin-right: auto; }
  .tutor-page .ph-actions { justify-content: center; }
}
@media (max-width: 760px) {
  .tutor-page .steps3, .tutor-page .road, .tutor-page .six, .tutor-page .ckl-rows { grid-template-columns: 1fr; }
  .tutor-page .promise { padding: 28px 18px; }
  .tutor-page .ckl { padding: 18px 16px 20px; }
}
@media (max-width: 560px) {
  .tutor-page .console { grid-template-columns: 1fr; }
  .tutor-page .console .side { display: none; }
}
@media (max-width: 480px) {
  .tutor-page .gate { flex-direction: column; }
  /* the wrapping itself is the shared .btn-lg rule in Responsive */
  .tutor-page .btn-lg { padding: 15px 24px; }
}

/* ---- 3. The home page's tutors band: one compact band pointing to
   tutors.html and teach.html ---- */
.tutors-band { padding: 0 0 96px; }
.tb { display: grid; grid-template-columns: .85fr 1fr 1fr; gap: 18px; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255, 107, 53, .12), rgba(123, 63, 228, .10)); border: 1px solid var(--border-2); }
.tb-lead { padding: 12px 10px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.tb-lead h2 { font-size: clamp(22px, 2.3vw, 28px); font-weight: 900; margin: 10px 0 6px; }
.tb-lead p { color: var(--gray-light); font-size: 15px; }
.tb-card { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: var(--glass); border: 1px solid var(--border); transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.tb-card:hover { transform: translateY(-3px); background: var(--glass-2); border-color: rgba(194, 71, 11, .35); }
.tb-card > div { min-width: 0; }
.tb-card .ic { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: linear-gradient(135deg, var(--cream-3), var(--cream)); border: 1px solid var(--border-2); }
.tb-card .k { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--orange-lift); }
.tb-card h3 { font-size: 19px; margin: 6px 0 4px; }
.tb-card p { color: var(--gray-light); font-size: 14.5px; }
.tb-card .go { display: inline-block; margin-top: 8px; font-weight: 800; font-size: 14px; color: var(--orange-lift); }
.tb-st { display: inline-flex; padding: 3px 9px; border-radius: 999px; font-size: 11px; letter-spacing: .02em; text-transform: none; background: rgba(255, 107, 53, .22); color: var(--orange-lift); }
.tb-st.live { background: rgba(107, 203, 119, .20); color: var(--green-lift); }
@media (max-width: 960px) { .tb { grid-template-columns: 1fr 1fr; } .tb-lead { grid-column: 1 / -1; } }
@media (max-width: 640px) { .tb { grid-template-columns: 1fr; padding: 14px; } .tutors-band { padding-bottom: 60px; } }

/* ---- 4. parents.html: "New in StreakOwl". The margin keeps the next
   section's eyebrow off the colour change, since that section starts
   with padding-top: 0. ---- */
.np-new { background: var(--cream); margin-bottom: 80px; }
.np-plan { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; padding: 36px; border-radius: var(--radius-lg); background: var(--glass); border: 1px solid var(--border); }
.np-plan > * { min-width: 0; }
.np-copy h3 { font-size: clamp(24px, 2.6vw, 32px); font-weight: 900; margin: 14px 0 10px; }
.np-copy > p { color: var(--gray-light); font-size: 16px; }
.np-copy > p b { color: var(--ink); }
.np-copy > .np-small { margin-top: 8px; font-size: 14px; }
.np-art { display: flex; flex-direction: column; align-items: center; gap: 14px; }
/* drawings of the app: light inside, like the phone frames */
.np-new .mini { width: 100%; background: #FBF8F4; color: #191511; border: 1px solid var(--border); border-radius: 16px; padding: 14px; font-size: 12.5px; line-height: 1.45; text-align: left; box-shadow: 0 18px 40px -20px rgba(120, 60, 20, .35); }
.np-new .mk { font-size: 10px; font-weight: 800; letter-spacing: .08em; color: #B04208; }
.np-new .mk.red { color: #8C1D18; }
.np-new .mk.green { color: #1E6B34; }
.np-new .mt { font: 900 18px/1.2 'Nunito', sans-serif; margin-top: 3px; }
.np-new .ms { color: #6e675f; font-size: 11.5px; }
.np-new .mini-plan { max-width: 400px; }
.np-new .pl-steps { list-style: none; margin-top: 10px; }
.np-new .pl-steps li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid #eee5d9; }
.np-new .pl-steps .ck { flex: none; width: 1.5em; height: 1.5em; border-radius: 50%; border: 1.5px solid #d6cbbd; display: grid; place-items: center; font-size: 11px; font-weight: 900; color: #fff; }
.np-new .pl-steps li.done .ck { background: #1E7A3A; border-color: #1E7A3A; }
.np-new .pl-steps em { display: block; font-style: normal; font-size: 10.5px; color: #7a6f63; }
.np-new .focus-wrap { width: 100%; max-width: 320px; align-self: flex-end; }
.np-new .fw-cap { font-size: 12px; color: var(--gray-light); margin: 0 0 6px 4px; }
.np-new .focus { border-left: 4px solid var(--orange-cta); }
.np-new .focus .mt { font-size: 16px; }
.np-new .illus-cap { font-size: 12px; color: var(--faint); text-align: center; }
.np-kids { margin-top: 24px; }
.np-kids .feature-card { display: flex; flex-direction: column; }
.np-kids .mini { margin-bottom: 20px; min-height: 150px; }
.np-new .mq { font-weight: 700; margin-top: 4px; }
.np-new .ans { display: flex; gap: 10px; align-items: baseline; padding: 6px 9px; border-radius: 9px; margin-top: 6px; }
.np-new .ans .lab { flex: none; min-width: 3.6em; font-weight: 900; font-size: 10px; letter-spacing: .08em; }
.np-new .ans.you { background: #FDECEA; color: #8C1D18; }
.np-new .ans.right { background: #E6F6EA; color: #1E6B34; }
.np-new .bub { margin-top: 6px; background: #F2ECFF; border-radius: 14px 14px 14px 4px; padding: 9px 11px; color: #2c2140; }
.np-new .btns { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 9px; }
.np-new .btns span { padding: 6px 12px; border-radius: 10px; font-weight: 800; font-size: 11px; border: 1px solid #e0d6c8; background: #fff; color: #3a332c; }
.np-new .btns span.pri { background: var(--orange-cta); border-color: var(--orange-cta); color: #fff; }
.np-new .note-lead { font-weight: 800; margin-top: 4px; }
.np-new .note-ul { list-style: none; margin-top: 6px; }
.np-new .note-ul li { position: relative; padding-left: 14px; margin-top: 3px; }
.np-new .note-ul li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #2E8B57; }
.np-more { text-align: center; margin-top: 36px; color: var(--gray-light); }
.np-more a { color: var(--orange-lift); font-weight: 700; }
@media (max-width: 960px) { .np-plan { grid-template-columns: 1fr; gap: 32px; } .np-new .focus-wrap { align-self: center; } }
@media (max-width: 760px) { .np-plan { padding: 22px 18px; } }

/* ---------- Phone menu (Pick 39A, 2026-10-12; mockups/website-phone-menu/) ----------
   menu.js adds .has-menu to <html> and builds the sheet from .nav-links. Below 1060px the
   header's links go into the sheet; without the script the old 760px rule stands. 1060, not
   1000, since "For Tutors" (2026-10-13): at 1001px Contact ran 10px under Start Free. */
.menu-btn {
  display: none; width: 44px; height: 44px; padding: 0; flex: none; cursor: pointer;
  align-items: center; justify-content: center; border-radius: 12px; color: var(--ink);
  border: 1px solid var(--border-2); background: #fff;
}
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .icon-close, .menu-open .menu-btn .icon-menu { display: none; }
.menu-open .menu-btn .icon-close { display: block; }
.menu-btn:focus-visible, .menu-sheet a:focus-visible { outline: 2px solid var(--orange-lift); outline-offset: 2px; }
.menu-sheet {
  display: none; position: fixed; left: 0; right: 0; top: var(--nav-h, 66px); bottom: 0; z-index: 99;
  background: var(--ground-deep); overflow-y: auto; overscroll-behavior: contain; padding: 8px 20px 28px;
}
.menu-open .menu-sheet { display: block; }
.menu-sheet a.row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px;
  font-weight: 700; font-size: 18px; color: var(--ink); border-bottom: 1px solid var(--border);
}
.menu-sheet a.row::after { content: "›"; color: var(--faint); font-size: 22px; }
.menu-sheet a.row.active { color: var(--orange-lift); }
.menu-sheet .chip {
  font-size: 11px; font-weight: 800; letter-spacing: .04em; color: var(--orange-lift);
  background: rgba(255, 107, 53, .18); border-radius: 999px; padding: 3px 9px; margin-left: 10px; vertical-align: 2px;
}
/* "Follow" row in the sheet: the nav's social icons, drawn by menu.js. */
.menu-sheet .follow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 16px 0 4px; color: var(--gray-light); font-size: 14px; font-weight: 600; }
.menu-sheet .follow .soc-ic { background: #fff; border: 1px solid var(--border-2); }
.menu-sheet .actions { display: grid; gap: 10px; margin-top: 22px; }
.menu-sheet .actions .btn { justify-content: center; width: 100%; }
/* Start Free keeps one line beside the menu button. */
.has-menu .nav-cta .btn { white-space: nowrap; }
@media (max-width: 1060px) {
  .has-menu .nav-links { display: none; }
  .has-menu .menu-btn { display: inline-flex; }
}
@media (max-width: 480px) {
  .has-menu .nav-inner { padding: 12px 16px; gap: 8px; }
  .has-menu .nav-cta { gap: 8px; }
  .has-menu .nav-cta .btn { padding-left: 14px; padding-right: 14px; }
  .has-menu .brand { gap: 8px; }
  .has-menu .nav .brand-name { font-size: 19px; }
}
@media (max-width: 400px) {
  .has-menu .nav-cta .arr { display: none; }
}
/* menu.js sets .nav-tight when the header can't hold the brand, Start Free and the menu
   button on one line; Start Free is then the sheet's first button only. */
.nav-tight .nav-cta .btn-primary { display: none; }

/* ---------- Products (multi-product site, Option B picked 2026-11-26) ----------
   Header dropdown, footer column, home umbrella tiles, products.html rows, the product
   pages and the Notify me form. Everything that holds text is sized in rem/em and wraps
   (flex-wrap / minmax(0, ...)), never a fixed px box, so a reader's larger text size
   grows the box with the text. Tags are 6px, controls 8px. Markup comes from
   website/templates/products/ via scripts/product_pages.py; colour names below are the
   ones products.json may use (the generator reads them from here). */
.prod-ico {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  font-size: 1.25rem; line-height: 1; width: 2.2em; height: 2.2em; border-radius: .55em;
  background: var(--cream-2); border: 1px solid var(--border-2);
}
.prod-ico.lg { font-size: 1.7rem; }
.prod-ico.xl { font-size: 2.1rem; }
.prod-ico.c-orange { background: rgba(255, 107, 53, .16); border-color: rgba(255, 107, 53, .38); }
.prod-ico.c-purple { background: rgba(123, 63, 228, .12); border-color: rgba(123, 63, 228, .30); }
.prod-ico.c-blue { background: rgba(76, 139, 245, .14); border-color: rgba(76, 139, 245, .34); }
.prod-ico.c-green { background: rgba(107, 203, 119, .20); border-color: rgba(52, 168, 83, .36); }
.prod-ico.c-grey { background: var(--cream); border-color: var(--border-2); }

.prod-badge {
  display: inline-flex; align-items: center; gap: .4em; padding: .2em .65em; border-radius: 6px;
  font-size: .75rem; font-weight: 800; line-height: 1.5; white-space: nowrap;
}
.prod-badge.live { background: rgba(52, 168, 83, .14); color: var(--green-lift); }
.prod-badge.live::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: var(--green-dark); }
.prod-badge.soon { background: rgba(123, 63, 228, .10); color: var(--purple-lift); }

/* Header dropdown. The Products button turns orange-active on products.html and the product pages. */
.nav-dd-products .nav-dd-menu { min-width: 22rem; max-width: calc(100vw - 2rem); }
.nav-dd-menu a.prod-item { display: flex; align-items: center; gap: .75rem; padding: .6rem .75rem; border-radius: 10px; }
.prod-item .prod-ico { font-size: 1.05rem; }
.prod-txt { display: flex; flex-direction: column; min-width: 0; flex: 1; line-height: 1.3; }
.prod-txt b { font-family: 'Nunito', sans-serif; font-weight: 800; font-size: .95rem; color: var(--ink); }
.prod-txt small { font-size: .8rem; font-weight: 600; color: var(--gray-light); }
.nav-dd-menu a.nav-all {
  margin-top: .35rem; padding: .65rem .75rem; border-top: 1px solid var(--border);
  border-radius: 0 0 10px 10px; color: var(--orange-lift); font-weight: 700;
}
.foot-soon { margin-left: .4em; font-size: .72rem; font-weight: 700; color: var(--purple-lift); }

/* Home umbrella (index.html, products:home block). The CBSE tile leads and is wider. */
.umb { background: var(--cream); padding: 64px 0 80px; overflow: hidden; }
.container.umb-head { max-width: 52rem; text-align: center; }
.umb-head h1 { font-size: clamp(2.2rem, 5.2vw, 4rem); font-weight: 900; }
.umb-lede { font-size: 1.15rem; color: var(--gray-light); margin: 1rem auto 0; max-width: 40rem; }
.prod-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 2.5rem; align-items: stretch; }
.prod-tile {
  display: flex; flex-direction: column; gap: .75rem; min-width: 0; padding: 1.75rem;
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.prod-tile.lead { grid-column: span 2; padding: 2.25rem; border-color: rgba(194, 71, 11, .28); box-shadow: var(--shadow-lg), var(--glow-orange); }
.prod-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .75rem; }
.prod-tile h2 { font-size: 1.4rem; font-weight: 900; }
.prod-tile.lead h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.prod-desc { color: var(--gray); font-size: 1rem; }
.prod-aud { color: var(--orange-lift); font-weight: 700; font-size: .9rem; }
.prod-fine { color: var(--gray-light); font-size: .95rem; }
.prod-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.prod-chips span {
  padding: .25em .75em; border-radius: 6px; background: var(--cream-2); border: 1px solid var(--border-2);
  font-size: .85rem; font-weight: 700; color: var(--gray);
}
.prod-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-top: auto; }
.prod-tile .notify-form { margin-top: auto; }
.prod-more { color: var(--orange-lift); font-weight: 700; }
.prod-more:hover { text-decoration: underline; }
.umb-more { text-align: center; margin-top: 1.75rem; }
.umb-more a { color: var(--orange-lift); font-weight: 700; font-size: 1.05rem; }
.umb-more a:hover { text-decoration: underline; }

/* products.html and <id>.html */
.prod-hero { background: linear-gradient(165deg, var(--cream), var(--cream-3)); }
.prod-hero-in { padding-top: 56px; padding-bottom: 48px; }
.prod-hero h1 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 900; letter-spacing: -.028em; }
.prod-hero .umb-lede { margin-left: 0; margin-right: 0; }
.prod-hero .prod-ico { margin-bottom: 1rem; }
.prod-hero .prod-aud { margin-top: .75rem; }
.section-pad.prod-list { padding-top: 40px; }
.prod-row {
  display: grid; grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 2rem; align-items: center;
  padding: 1.75rem; margin-bottom: 1.25rem; scroll-margin-top: 96px;
  background: var(--glass); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm);
}
.prod-main h2 { font-size: 1.6rem; font-weight: 900; margin: .5rem 0 .25rem; }
.prod-feats { list-style: none; display: grid; gap: .45rem; }
.prod-feats li { position: relative; padding-left: 1.4em; font-weight: 600; color: var(--gray); }
.prod-feats li::before { content: "✓"; position: absolute; left: 0; color: var(--green-lift); font-weight: 800; }
.prod-act .prod-actions { margin-top: 0; }
.prod-ask {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.25rem 1.5rem; border: 1.5px dashed var(--border-2); border-radius: var(--radius); background: var(--glass-2);
}
.prod-ask div { display: flex; flex-direction: column; min-width: 0; }
.prod-ask b { color: var(--ink); }
.prod-ask span { color: var(--gray-light); }
.prod-one { max-width: 44rem; display: grid; gap: 1.25rem; }
.prod-one .prod-desc { font-size: 1.1rem; }
.prod-back a { color: var(--orange-lift); font-weight: 700; }
@media (max-width: 960px) {
  .prod-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prod-row { grid-template-columns: auto minmax(0, 1fr); }
  .prod-row .prod-feat, .prod-row .prod-act { grid-column: 2; }
}
@media (max-width: 640px) {
  .umb { padding: 44px 0 56px; }
  .prod-tiles { grid-template-columns: minmax(0, 1fr); }
  .prod-tile.lead { grid-column: auto; padding: 1.5rem; }
  .prod-row { grid-template-columns: minmax(0, 1fr); padding: 1.25rem; }
  .prod-row .prod-feat, .prod-row .prod-act { grid-column: auto; }
}

/* Notify me (mailto only, no backend; notify.js). The field and button wrap onto their own
   lines when there is no room, and always below 480px. */
.notify-form { display: grid; gap: .6rem; max-width: 30rem; }
.notify-label { font-weight: 700; font-size: .9rem; color: var(--ink); }
.notify-row { display: flex; flex-wrap: wrap; gap: .6rem; }
.notify-input {
  flex: 1 1 12rem; min-width: 0; font: inherit; font-size: 1rem; padding: .7em .9em;
  border: 1.5px solid var(--border-2); border-radius: 8px; background: #fff; color: var(--ink);
}
.notify-input[aria-invalid="true"] { border-color: var(--orange-cta); }
.notify-btn { flex: 0 0 auto; border-radius: 8px; padding: .7em 1.4em; white-space: normal; }
.notify-consent { display: flex; align-items: flex-start; gap: .6rem; font-size: .85rem; line-height: 1.45; color: var(--gray-light); }
.notify-consent input { flex: none; width: 1.15em; height: 1.15em; margin-top: .15em; accent-color: var(--orange-cta); }
.notify-consent a { color: var(--orange-lift); text-decoration: underline; }
.notify-msg { font-size: .9rem; font-weight: 600; line-height: 1.45; }
.notify-msg:empty { display: none; }
.notify-msg.err { color: #B42318; }
.notify-msg.ok { color: var(--green-lift); }
.notify-fine { font-size: .85rem; color: var(--gray-light); }
@media (max-width: 480px) {
  .notify-row { flex-direction: column; }
  .notify-input { flex-basis: auto; }
  .notify-btn { width: 100%; }
}

/* Phone/tablet sheet: each header dropdown becomes a group (menu.js). */
.menu-sheet .grp { border-bottom: 1px solid var(--border); }
.menu-sheet .grp-btn {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 3em;
  padding: 0; margin: 0; background: none; border: 0; cursor: pointer; text-align: left;
  font: 700 18px/1.25 'DM Sans', sans-serif; color: var(--ink);
}
.menu-sheet .grp-btn::after { content: "▾"; color: var(--faint); font-size: 16px; }
.menu-sheet .grp.open .grp-btn::after { content: "▴"; }
.menu-sheet .grp-btn.active { color: var(--orange-lift); }
.menu-sheet .grp-btn:focus-visible { outline: 2px solid var(--orange-lift); outline-offset: 2px; }
.menu-sheet .grp-body { display: none; padding: 0 0 8px 14px; }
.menu-sheet .grp.open .grp-body { display: block; }
.menu-sheet .grp-body a.row { font-size: 16px; min-height: 2.9em; border-bottom: 0; }
.menu-sheet .chip.chip-prod { border-radius: 6px; font-size: 11px; color: var(--purple-lift); background: rgba(123, 63, 228, .10); }
.menu-sheet .chip.chip-prod.live { color: var(--green-lift); background: rgba(52, 168, 83, .14); }
