/* Badi Nestam website (badinestam.cloud) - mobile first.
   Brand: Document Design Parameters (cream paper, teal, saffron and coral, Inter, hand-drawn boxes and sticky notes). */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700.woff2) format("woff2"); }
@font-face { font-family: Inter; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800.woff2) format("woff2"); }
@font-face { font-family: "Gloria Hallelujah"; font-weight: 400; font-display: swap; src: url(/fonts/gloria-hallelujah-latin-400.woff2) format("woff2"); }
@font-face { font-family: "Noto Sans Telugu"; font-weight: 400; font-display: swap; src: url(/fonts/noto-sans-telugu-400.woff2) format("woff2"); unicode-range: U+0C00-0C7F, U+200C-200D; }
@font-face { font-family: "Noto Sans Telugu"; font-weight: 700 800; font-display: swap; src: url(/fonts/noto-sans-telugu-700.woff2) format("woff2"); unicode-range: U+0C00-0C7F, U+200C-200D; }

:root {
  --teal: #0E6B70; --teal-d: #0A4C50; --saffron: #F5A623; --coral: #EE6C4D; --coral-ink: #C04A2B; --leaf: #4E9A47; --leaf-ink: #2F6E2A;
  --ink: #13292C; --ink-soft: #4B5D60; --cream: #FFF7E8; --mist: #E6F2F1; --mint: #CFE6E3; --peach: #F7D3C6; --butter: #FCE4B3;
  --sage: #DDEBD3; --sand: #E3DED4; --white: #fff; --line: rgba(19, 41, 44, .13); --line-2: rgba(19, 41, 44, .22);
  --r: 14px; --wobble: 4px 10px 5px 11px / 11px 5px 10px 4px; --ease: cubic-bezier(.2, .7, .2, 1);
  --font: Inter, "Noto Sans Telugu", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Gloria Hallelujah", "Comic Sans MS", cursive; /* the name Badi Nestam and the tagline, always */
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
body.lang-te { font-size: 16.5px; line-height: 1.7; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-d); }
h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 7.4vw, 3.9rem); line-height: 1.04; letter-spacing: -.032em; }
h2 { font-size: clamp(1.7rem, 4.6vw, 2.5rem); line-height: 1.12; }
h3 { font-size: 1.08rem; line-height: 1.3; letter-spacing: -.01em; }
.lang-te h1 { font-size: clamp(2rem, 6.4vw, 3.3rem); line-height: 1.25; letter-spacing: 0; }
.lang-te h2 { line-height: 1.3; letter-spacing: 0; }
.lang-te h3 { letter-spacing: 0; }
p { margin: 0 0 .8em; }
ul, ol { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 99; background: var(--ink); color: var(--cream); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
.center { text-align: center; }
p.center { margin-top: 30px; }
h2 + .lead, h1 + .lead { margin-top: 14px; }
.split h2 + .lead { margin-top: 14px; }
.muted { color: var(--ink-soft); }
.small, .tiny { font-size: .86rem; } .tiny { font-size: .78rem; color: var(--ink-soft); }
.coral { color: var(--coral-ink); } .teal { color: var(--teal); }

/* ---------- labels, eyebrows */
.eyebrow { margin: 0 0 12px; font-size: .76rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--coral-ink); }
.eyebrow.dot { display: inline-flex; align-items: center; gap: 10px; color: var(--teal); }
.eyebrow.dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--coral); }
.lang-te .eyebrow { letter-spacing: .04em; font-size: .85rem; }
.label { margin: 14px 0 4px; font-size: .7rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.label.coral { color: var(--coral-ink); } .label.teal { color: var(--teal); }
.te-line { margin: 14px 0 0; font-family: "Noto Sans Telugu", var(--font); font-size: clamp(1.05rem, 2.6vw, 1.3rem); color: var(--teal); }
.lead { font-size: clamp(1.02rem, 2.2vw, 1.14rem); color: var(--ink-soft); max-width: 640px; }

/* ---------- buttons */
.btn { --bg: var(--white); --fg: var(--ink); display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px;
  border-radius: 999px; border: 1.5px solid var(--ink); background: var(--bg); color: var(--fg); font: 600 .95rem/1.2 var(--font); text-decoration: none;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; box-shadow: 0 3px 0 var(--ink); white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 0 var(--ink); color: var(--fg); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--ink); }
.btn-primary { --bg: var(--teal); --fg: #fff; }
.btn-primary:hover { --bg: var(--teal-d); }
.btn-ghost { --bg: transparent; }
.btn-ghost:hover { --bg: var(--white); }
.btn-lg { min-height: 52px; padding: 13px 24px; font-size: 1.02rem; }
.btn-sm { min-height: 38px; padding: 7px 14px; font-size: .88rem; box-shadow: 0 2px 0 var(--ink); }
.btn[disabled] { opacity: .6; pointer-events: none; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* ---------- the logo (symbol + words, as on the brand sheet) */
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); min-width: 0; }
.logo img { width: 40px; height: 40px; flex: none; }
.logo-words { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-family: var(--hand); font-weight: 400; font-size: 1.5rem; line-height: 1.05; color: var(--teal); white-space: nowrap; letter-spacing: 0; }
.logo-tag { margin-top: 2px; font-family: var(--hand); font-size: .66rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); white-space: nowrap; }
.logo.on-dark .logo-name { color: var(--cream); } .logo.on-dark .logo-tag { color: #8FD3CB; }
/* "Badi Nestam" wherever it appears: the brand's handwriting in teal (cream on dark bands) */
.bn-word, .hand { font-family: var(--hand); font-weight: 400; letter-spacing: 0; color: var(--teal); white-space: nowrap; }
h1 .bn-word, h2 .bn-word, h3 .bn-word { font-size: 1.08em; }
.deep .bn-word, .foot .bn-word, .talk .bn-word { color: var(--cream); }
.answer .bn-word { color: var(--teal); }
.hand-tag { font-family: var(--hand); letter-spacing: .06em; text-transform: uppercase; }

/* ---------- header */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255, 247, 232, .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s; }
.nav.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -18px rgba(19, 41, 44, .5); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.burger { display: inline-grid; place-items: center; gap: 6px; width: 46px; height: 46px; margin-right: -6px; border: 0; background: none; cursor: pointer; padding: 12px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.links { position: fixed; inset: 68px 0 auto 0; max-height: calc(100dvh - 68px); overflow: auto; display: flex; flex-direction: column; gap: 18px; padding: 18px 16px 28px;
  background: var(--cream); border-bottom: 1.5px solid var(--ink); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: .22s var(--ease); }
.links.open { transform: none; opacity: 1; visibility: visible; }
.links-main { display: flex; flex-direction: column; }
.links-main a { padding: 14px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; font-weight: 600; font-size: 1.1rem; }
.links-main a[aria-current="page"] { color: var(--teal); }
.links-end { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.links-end .btn { flex: 1 1 140px; min-height: 48px; }
.lang { display: inline-flex; border: 1.5px solid var(--ink); border-radius: 999px; overflow: hidden; text-decoration: none; font-weight: 700; font-size: .82rem; flex: none; }
.lang span { padding: 7px 11px; color: var(--ink); }
.lang span.on { background: var(--ink); color: var(--cream); }
@media (min-width: 980px) {
  .burger { display: none; }
  .links { position: static; flex-direction: row; align-items: center; gap: 22px; padding: 0; max-height: none; overflow: visible; background: none; border: 0; transform: none; opacity: 1; visibility: visible; flex: 1; justify-content: space-between; margin-left: 28px; }
  .links-main { flex-direction: row; gap: 4px; }
  .links-main a { border: 0; padding: 8px 12px; font-size: .95rem; border-radius: 999px; position: relative; }
  .links-main a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; background: var(--coral); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
  .links-main a:hover::after, .links-main a[aria-current="page"]::after { transform: scaleX(1); }
  .links-end .btn { flex: none; min-height: 40px; }
}

/* ---------- sections */
.sec { padding: 64px 0; }
.cream { background: var(--cream); } .mist { background: var(--mist); }
.sec:not(.cream):not(.mist):not(.deep) { background: #FFFCF5; }
.deep { background: var(--teal-d); color: #E6F2F1; }
.deep h2, .deep h3 { color: var(--cream); } .deep .lead, .deep p { color: #CFE6E3; } .deep .eyebrow { color: var(--saffron); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.sec-head.left { text-align: left; margin-left: 0; }
.sec-head p { color: var(--ink-soft); font-size: 1.05rem; margin-top: 12px; }
.deep .sec-head p { color: #CFE6E3; }
.note { text-align: center; color: var(--ink-soft); font-size: .88rem; margin: 22px auto 0; max-width: 720px; }
.note.left { text-align: left; margin-left: 0; }
@media (min-width: 760px) { .sec { padding: 96px 0; } .wrap { padding: 0 24px; } }

/* ---------- hero */
.hero { padding: 36px 0 56px; overflow: hidden; }
.hero-in { display: grid; gap: 44px; }
.hero h1 { margin-top: 4px; }
.hero .lead { margin-top: 18px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 24px; color: var(--ink-soft); font-size: .92rem; font-weight: 600; }
.ticks li { display: inline-flex; align-items: center; gap: 6px; }
.ticks i { color: var(--leaf); font-size: 1.1rem; }
.swash { position: relative; white-space: nowrap; }
.swash svg { position: absolute; left: -2%; width: 104%; bottom: -.16em; height: .3em; overflow: visible; }
.swash path { fill: none; stroke: var(--coral); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 260; stroke-dashoffset: 0; }
.js .swash path { stroke-dashoffset: 260; animation: draw 1s .35s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-img { border-radius: 18px; border: 1.5px solid var(--ink); }
.hero-note { position: absolute; left: 0; bottom: 8px; max-width: 230px; }
@media (min-width: 980px) {
  .hero { padding: 64px 0 96px; }
  .hero-in { grid-template-columns: 1.15fr .85fr; align-items: center; gap: 56px; }
  .hero-note { left: -36px; bottom: 40px; }
}

/* the drawn phone */
.phone { position: relative; width: min(290px, 78vw); padding: 14px 12px 12px; background: var(--white); border: 1.5px solid var(--ink); border-radius: 34px;
  box-shadow: 8px 8px 0 var(--mint); transform: rotate(2deg); }
.ph-notch { width: 70px; height: 6px; margin: 0 auto 12px; border-radius: 6px; background: var(--ink); opacity: .85; }
.ph-top { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 16px; background: var(--teal); color: #fff; font-size: .82rem; }
.ph-top img { width: 26px; height: 26px; border-radius: 7px; }
.ph-top .hand { color: #fff; font-size: 1.05rem; }
.ph-hi { display: flex; align-items: center; justify-content: space-between; margin: 10px 2px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .1em; }
.ph-hi b { display: grid; place-items: center; min-width: 24px; height: 24px; border-radius: 12px; background: var(--saffron); color: var(--ink); font-size: .78rem; letter-spacing: 0; }
.pr { display: flex; align-items: center; gap: 10px; padding: 9px 10px; margin-bottom: 7px; border: 1px solid var(--line); border-radius: 12px; font-size: .8rem; }
.pr i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--mist); color: var(--teal); flex: none; }
.pr div { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.pr span { color: var(--ink-soft); font-size: .76rem; }
.pr.ok i { background: var(--sage); color: var(--leaf-ink); } .pr.warn i { background: var(--butter); color: #6B4A0B; }
.ph-nav { display: flex; justify-content: space-around; padding: 10px 0 2px; color: var(--ink-soft); font-size: 1.05rem; } .ph-nav i:first-child { color: var(--teal); }

/* ---------- hand-drawn boxes and sticky notes */
.sketch { position: relative; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--wobble); box-shadow: 5px 5px 0 var(--sand); }
.sticky { position: relative; padding: 24px 20px 20px; border-radius: 3px; background: var(--butter); color: var(--ink); box-shadow: 0 10px 18px -14px rgba(19, 41, 44, .55);
  border: 1px solid rgba(19, 41, 44, .15); font-size: 1rem; line-height: 1.45; transition: transform .3s var(--ease); }
.sticky.mint { background: var(--mint); } .sticky.peach { background: var(--peach); } .sticky.sage { background: var(--sage); } .sticky.butter { background: var(--butter); }
.sticky b { display: block; font-size: 1.2rem; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; }
.sticky p { margin: 6px 0 0; }
.tape { position: absolute; top: -10px; left: 50%; width: 78px; height: 20px; margin-left: -39px; background: rgba(238, 108, 77, .38); transform: rotate(-3deg); border-radius: 2px; }
.sticky.mint .tape { background: rgba(14, 107, 112, .25); } .sticky.peach .tape { background: rgba(245, 166, 35, .45); }
.tilt-r { transform: rotate(1.6deg); } .tilt-l { transform: rotate(-1.4deg); }
.sticky:hover { transform: rotate(0) translateY(-3px); }
.notes { display: grid; gap: 28px 20px; margin-top: 8px; }
.notes .sticky { min-height: 130px; font-size: 1.06rem; }
.answer { margin-top: 36px; font-size: clamp(1.15rem, 3vw, 1.5rem); font-weight: 800; color: var(--coral-ink); letter-spacing: -.01em; }
@media (min-width: 640px) { .notes { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .notes { grid-template-columns: repeat(6, 1fr); } .notes .sticky { grid-column: span 2; } .notes .sticky:nth-child(4) { grid-column: 2 / span 2; } }

/* ---------- numbers */
.stats { border-block: 1.5px solid var(--ink); background: var(--white); }
.stats-in { display: grid; grid-template-columns: repeat(2, 1fr); }
.stat { padding: 22px 12px; text-align: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat b { display: block; font-size: clamp(2rem, 6vw, 2.8rem); font-weight: 800; color: var(--teal); letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; color: var(--ink-soft); font-size: .88rem; line-height: 1.35; }
@media (min-width: 760px) { .stats-in { grid-template-columns: repeat(4, 1fr); } .stat { border-bottom: 0; padding: 30px 16px; } .stat:nth-child(2n) { border-right: 1px solid var(--line); } .stat:last-child { border-right: 0; } }

/* ---------- cards */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); } .grid { gap: 20px; } }
.card { position: relative; background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); padding: 22px; }
.mod, .role { transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s; }
.mod:hover, .role:hover { transform: translateY(-3px); border-color: var(--ink); box-shadow: 5px 5px 0 var(--mint); }
.ic { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 14px; border-radius: 12px; background: var(--mist); color: var(--teal); font-size: 1.25rem; }
.mod p { color: var(--ink-soft); margin: 6px 0 12px; }
.mod ul li { position: relative; padding: 5px 0 5px 18px; font-size: .92rem; border-top: 1px dashed var(--line); }
.mod ul li::before { content: ""; position: absolute; left: 2px; top: 14px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.role ul li { display: flex; gap: 8px; padding: 6px 0; font-size: .94rem; } .role ul i { color: var(--leaf); }
.feats { gap: 26px 24px; }
.feat { display: flex; gap: 16px; align-items: flex-start; }
.feat .ic { flex: none; margin: 0; border-radius: 50%; background: var(--white); border: 1.5px solid var(--ink); box-shadow: 3px 3px 0 var(--mint); }
.deep .feat .ic { background: var(--teal); color: var(--cream); border-color: var(--cream); box-shadow: 3px 3px 0 rgba(255, 255, 255, .12); }
.feat h3 { margin-bottom: 4px; } .feat p { color: var(--ink-soft); margin: 0; font-size: .95rem; }

/* ---------- how a school starts */
.steps { display: grid; gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 22px 20px 20px 74px; background: var(--white); border: 1.5px solid var(--ink); border-radius: var(--wobble); box-shadow: 4px 4px 0 var(--mint); }
.steps .num { position: absolute; left: 18px; top: 20px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--saffron); border: 1.5px solid var(--ink); font-weight: 800; font-size: .9rem; }
.steps p { margin: 6px 0 0; color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 980px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: 22px; }
  .steps li { padding: 70px 20px 22px; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; top: 40px; right: -24px; width: 26px; border-top: 2px dashed var(--ink); }
}

/* ---------- split rows, checks */
.split { display: grid; gap: 40px; align-items: center; }
.split.top { align-items: start; }
.split > *, .hero-in > * { min-width: 0; }
@media (min-width: 980px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.checks li { display: flex; gap: 10px; padding: 6px 0; } .checks i { color: var(--leaf); font-size: 1.1rem; }
.deep .checks i { color: var(--saffron); }
.store { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; }

/* the browser with a school website */
.browser { overflow: hidden; padding: 0; box-shadow: 8px 8px 0 var(--butter); }
.browser .bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1.5px solid var(--ink); background: var(--cream); }
.browser .bar i { width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid var(--ink); }
.browser .bar span { margin-left: 8px; padding: 3px 10px; border-radius: 999px; background: var(--white); border: 1px solid var(--line-2); font-size: .74rem; color: var(--ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-mock { background: #fff; }
.sm-nav { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font-size: .78rem; }
.sm-nav span { padding: 4px 10px; border-radius: 999px; background: var(--teal); color: #fff; font-weight: 600; }
.sm-hero { padding: 26px 18px; background: linear-gradient(160deg, #2b3e40, #0A4C50); color: #fff; }
.sm-hero span { display: inline-block; padding: 3px 8px; border-radius: 6px; background: rgba(255, 255, 255, .15); font-size: .68rem; }
.sm-hero b { display: block; margin: 10px 0 12px; font-size: 1.25rem; line-height: 1.2; }
.sm-hero em { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--saffron); color: var(--ink); font-style: normal; font-size: .74rem; font-weight: 700; }
.sm-stats { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 12px 4px; font-size: .72rem; color: var(--ink-soft); }
.sm-stats b { display: block; color: var(--ink); font-size: 1rem; }

/* ---------- plans */
.plans { display: grid; gap: 30px; margin-top: 8px; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; } }
.plan { display: flex; flex-direction: column; overflow: visible; }
.plan.pop { border-width: 2.3px; box-shadow: 7px 7px 0 var(--peach); }
.plan-top { padding: 24px 22px 18px; border-radius: 4px 10px 0 0; }
.plan.mint .plan-top { background: var(--mint); } .plan.peach .plan-top { background: var(--peach); } .plan.butter .plan-top { background: var(--butter); }
.plan h3 { font-size: .8rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.plan.mint h3 { color: var(--teal-d); } .plan.peach h3 { color: var(--coral-ink); } .plan.butter h3 { color: var(--ink); }
.lang-te .plan h3 { letter-spacing: .02em; font-size: .95rem; }
.price { display: flex; align-items: flex-start; gap: 2px; margin-top: 10px; line-height: 1; }
.price .cur { font-size: 1.35rem; font-weight: 800; margin-top: 6px; }
.price b { font-size: clamp(3.2rem, 11vw, 4rem); font-weight: 800; letter-spacing: -.045em; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.per { margin: 8px 0 0; font-size: .86rem; color: var(--ink-soft); }
.plan-body { padding: 18px 22px 24px; border-top: 1.5px solid var(--ink); flex: 1; }
.pitch { font-size: 1.12rem; font-weight: 800; line-height: 1.3; letter-spacing: -.01em; margin: 0; }
.plan.mint .pitch { color: var(--teal); } .plan.peach .pitch { color: var(--coral-ink); }
.plan-body ul li { padding: 4px 0; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: .8rem; font-weight: 700; }
.pill.mint { background: var(--mint); color: var(--teal-d); } .pill.peach { background: var(--peach); color: #8A3018; } .pill.butter { background: var(--butter); color: #6B4A0B; }
.pill.sage { background: var(--sage); color: var(--leaf-ink); }
.badge-pop { position: absolute; top: -15px; left: 50%; z-index: 2; padding: 6px 12px; background: var(--saffron); border: 1.5px solid var(--ink); box-shadow: 2px 2px 0 var(--ink);
  font-size: .7rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; transform: translateX(-50%) rotate(-2.5deg); white-space: nowrap; }
.lang-te .badge-pop { letter-spacing: .02em; font-size: .8rem; }

/* pricing page */
.page-hero { padding: 40px 0 64px; }
.page-hero h1 { max-width: 860px; }
.seg { display: inline-flex; flex-wrap: wrap; margin: 28px 0 40px; padding: 4px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); }
.seg button { min-height: 42px; padding: 8px 16px; border: 0; border-radius: 999px; background: none; color: var(--ink); font: 600 .92rem var(--font); cursor: pointer; }
.seg button em { font-style: normal; margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--sage); color: var(--leaf-ink); font-size: .76rem; }
.seg button[aria-checked="true"] { background: var(--ink); color: var(--cream); }
.seg button[aria-checked="true"] em { background: var(--saffron); color: var(--ink); }
.perks { display: grid; gap: 18px; margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line-2); }
@media (min-width: 760px) { .perks { grid-template-columns: repeat(3, 1fr); } }
.perk { display: flex; gap: 14px; align-items: flex-start; } .perk p { margin: 2px 0 0; color: var(--ink-soft); font-size: .92rem; }
.perk .ic { flex: none; margin: 0; border-radius: 50%; }
.ic.mint { background: var(--mint); } .ic.peach { background: var(--peach); color: var(--coral-ink); } .ic.sage { background: var(--sage); color: var(--leaf-ink); }

.calc-wrap h2 { margin-bottom: 10px; }
.calc { display: grid; gap: 18px; padding: 22px; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 var(--mint); }
.calc label { display: grid; gap: 8px; font-weight: 600; }
.calc-n { display: grid; grid-template-columns: 1fr 108px; gap: 12px; align-items: center; }
.calc input[type="range"] { width: 100%; accent-color: var(--teal); height: 32px; }
.calc input[type="number"], .form input, .form select, .form textarea, .filters input, .filters select {
  width: 100%; min-height: 46px; padding: 10px 12px; border: 1.5px solid var(--line-2); border-radius: 12px; background: var(--white); color: var(--ink); font: 500 1rem var(--font); }
.calc input[type="number"]:focus, .form input:focus, .form select:focus, .form textarea:focus, .filters input:focus, .filters select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(14, 107, 112, .18); }
.calc fieldset { border: 0; padding: 0; margin: 0; } .calc legend { font-weight: 600; margin-bottom: 8px; }
.calc-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.calc-plans label { display: block; }
.calc-plans input { position: absolute; opacity: 0; pointer-events: none; }
.calc-plans span { display: block; padding: 10px 6px; border: 1.5px solid var(--line-2); border-radius: 12px; text-align: center; font-weight: 700; font-size: .9rem; cursor: pointer; transition: .15s; }
.calc-plans input:checked + span { border-color: var(--ink); background: var(--ink); color: var(--cream); }
.calc-plans input:focus-visible + span { outline: 3px solid var(--saffron); outline-offset: 2px; }
.calc-out { display: grid; gap: 0; margin: 0; border-top: 1px dashed var(--line-2); }
.calc-out div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line-2); }
.calc-out dt { color: var(--ink-soft); } .calc-out dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.calc-out .total dd { font-size: 1.5rem; font-weight: 800; color: var(--teal); }
.calc-note { margin: 0; font-size: .88rem; color: var(--leaf-ink); min-height: 1.2em; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 0; margin-top: 26px; }
table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.compare { min-width: 640px; }
.compare th, .compare td { padding: 13px 14px; border-bottom: 1px solid var(--line); text-align: center; }
.compare tbody tr:nth-child(even) { background: #F7FAF9; }
.compare thead th { vertical-align: bottom; border-bottom: 1.5px solid var(--ink); }
.compare thead th:first-child, .compare tbody th { text-align: left; font-weight: 500; position: sticky; left: 0; background: inherit; z-index: 1; }
.compare thead th:first-child { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); background: var(--white); }
.compare tbody th { background: var(--white); } .compare tbody tr:nth-child(even) th { background: #F7FAF9; }
.compare thead b { display: block; margin-top: 8px; font-size: 1.4rem; font-weight: 800; letter-spacing: -.02em; }
.compare thead .per { display: block; margin-top: 2px; font-size: .74rem; }
.compare .pop { background: rgba(247, 211, 198, .32) !important; }
.compare .yes { color: var(--leaf); font-size: 1.15rem; } .compare .no { color: #A9B3B4; }
.compare b.coral { font-size: .84rem; }
.small-t th, .small-t td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: right; font-variant-numeric: tabular-nums; }
.small-t th:first-child { text-align: left; font-weight: 700; } .small-t thead th { border-bottom: 1.5px solid var(--ink); text-align: right; }
.small-t thead th:first-child { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.example { align-self: center; justify-self: center; max-width: 300px; margin-top: 8px; }
.example b { margin: 6px 0; font-size: 1.9rem; color: var(--teal-d); }
.bars { display: grid; gap: 14px; margin-top: 30px; }
.bar-row { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; align-items: center; }
.bar-row > span:first-child { font-weight: 700; } .bar-row .mint-t { color: var(--teal); } .bar-row .peach-t { color: var(--coral-ink); }
.bar-row .track { grid-column: 1 / -1; height: 28px; border-radius: 8px; background: rgba(19, 41, 44, .04); overflow: hidden; }
.bar-row .track i { display: block; height: 100%; width: var(--w); border-radius: 8px; transform-origin: left; }
.js .bar-row .track i { transform: scaleX(0); transition: transform 1s var(--ease); } .js .bars.in .bar-row .track i { transform: none; }
.track i.sand { background: var(--sand); } .track i.mint { background: var(--mint); } .track i.peach { background: var(--peach); } .track i.butter { background: var(--butter); }
.bar-row b { font-variant-numeric: tabular-nums; font-size: .92rem; } .save { justify-self: end; padding: 4px 10px; border-radius: 999px; background: var(--sage); color: var(--leaf-ink); font-weight: 700; font-size: .82rem; }
.bar-row > b { grid-row: 1; grid-column: 2; }
.bar-row .save { grid-column: 2; }
@media (min-width: 760px) {
  .bar-row { grid-template-columns: 150px 1fr 140px 100px; }
  .bar-row .track { grid-column: 2; } .bar-row > b { grid-row: auto; grid-column: 3; } .bar-row .save { grid-column: 4; }
}

/* ---------- schools */
.counter { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); margin: 0 auto 26px; }
.sec .counter { display: flex; justify-content: center; }
.counter b { color: var(--teal); font-size: 1.2rem; font-weight: 800; }
.counter.big { flex-wrap: wrap; margin-top: 18px; } .counter.big b { font-size: 2rem; } .counter .sep { color: var(--line-2); }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 0 rgba(78, 154, 71, .5); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(78, 154, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(78, 154, 71, 0); } }
.schools-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); }
.school { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo main go" "logo meta go"; gap: 4px 14px; align-items: center; padding: 14px 16px;
  background: var(--white); border: 1px solid var(--line-2); border-radius: var(--r); color: var(--ink); text-decoration: none; transition: transform .2s var(--ease), box-shadow .2s, border-color .2s; }
.school:hover { color: var(--ink); border-color: var(--ink); transform: translateY(-2px); box-shadow: 4px 4px 0 var(--mint); }
.school-logo { grid-area: logo; } .school-main { grid-area: main; display: flex; flex-direction: column; min-width: 0; }
.school-main b { line-height: 1.3; } .school-main .muted { font-size: .86rem; }
.school-meta { grid-area: meta; display: flex; flex-wrap: wrap; gap: 6px; }
.school-go { grid-area: go; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1.5px solid var(--ink); transition: background .2s; }
.school:hover .school-go { background: var(--saffron); }
.school-logo img, .mono { width: 48px; height: 48px; border-radius: 12px; object-fit: contain; }
.school-logo img { border: 1px solid var(--line); background: #fff; padding: 3px; }
.mono { display: grid; place-items: center; background: var(--c, var(--teal)); color: #fff; font-weight: 800; letter-spacing: .02em; font-size: .95rem; }
.chip { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--mist); color: var(--teal-d); font-size: .74rem; font-weight: 600; }
.chip.ghost { background: none; border: 1px solid var(--line-2); color: var(--ink-soft); }
.tag-sample { display: inline-block; padding: 2px 9px; border-radius: 999px; background: var(--butter); color: #6B4A0B; font-size: .74rem; font-weight: 700; }
.school.new { animation: pop .8s var(--ease); }
@keyframes pop { from { transform: scale(.96); box-shadow: 0 0 0 4px var(--saffron); } }
.filters { display: grid; gap: 10px; margin-bottom: 22px; }
@media (min-width: 760px) { .filters { grid-template-columns: 1fr 200px 200px; } }
.search { position: relative; } .search i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--ink-soft); }
.search input { padding-left: 40px; }
.notice { display: flex; gap: 10px; align-items: flex-start; padding: 12px 16px; margin-bottom: 18px; border-radius: 12px; background: var(--butter); color: #6B4A0B; font-size: .92rem; }
.join { display: grid; gap: 14px; align-items: center; margin-top: 40px; padding: 24px; background: var(--butter); }
.join b { font-size: 1.3rem; font-weight: 800; } .join p { margin: 4px 0 0; color: var(--ink-soft); } .join .ctas { margin: 0; }
@media (min-width: 760px) { .join { grid-template-columns: 1fr auto; padding: 28px 32px; } }

/* ---------- FAQ */
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 2px; font-weight: 700; font-size: 1.04rem; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--ink); transition: transform .25s var(--ease), background .2s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--saffron); }
.faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 680px; }

/* ---------- talk to us + the form */
.talk { position: relative; overflow: hidden; }
.talk::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; background: rgba(78, 154, 71, .18); pointer-events: none; }
.people { display: grid; gap: 12px; margin: 26px 0 16px; position: relative; z-index: 1; }
.person { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; background: var(--cream); color: var(--ink); box-shadow: 0 4px 0 var(--saffron); text-decoration: none; }
.person > i { font-size: 1.3rem; color: var(--ink-soft); }
.person div { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.person span { font-weight: 700; font-size: .92rem; color: var(--ink); }
.person a, .person b { font-size: 1.3rem; font-weight: 800; color: var(--teal); text-decoration: none; letter-spacing: -.01em; word-break: break-word; }
.person.mail b { font-size: 1.02rem; }
.person .wa { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #E7F6EA; color: #1E8E3E; font-size: 1.25rem; }
.form { display: grid; gap: 14px; padding: 22px; color: var(--ink); position: relative; z-index: 1; border: 1.5px solid var(--ink); box-shadow: 6px 6px 0 rgba(0, 0, 0, .25); }
.form label { display: grid; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink); }
.row2 { display: grid; gap: 14px; } @media (min-width: 560px) { .row2 { grid-template-columns: 1fr 1fr; } }
.form .hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; font-weight: 600; min-height: 1.2em; } .form-msg.ok { color: var(--leaf-ink); } .form-msg.err { color: var(--coral-ink); }
.form.done label, .form.done button { display: none; }
.form .tiny { color: var(--ink-soft); margin: 0; } .form .tiny a { color: var(--teal); }

/* ---------- blog and articles */
.post { padding: 0; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .2s var(--ease), box-shadow .2s; }
.post:hover { color: var(--ink); transform: translateY(-3px); box-shadow: 4px 4px 0 var(--mint); }
.post img, .ph-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.ph-cover { display: grid; place-items: center; background: var(--mist); color: var(--teal); font-size: 2rem; }
.post-in { padding: 18px; } .post-in p { color: var(--ink-soft); font-size: .94rem; margin: 6px 0 0; }
.tag { display: block; margin-bottom: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral-ink); }
.article h1 { margin: 8px 0 18px; font-size: clamp(2rem, 5vw, 2.8rem); }
.back { display: inline-flex; gap: 6px; margin-bottom: 18px; font-weight: 600; text-decoration: none; }
.cover { border-radius: 16px; margin: 10px 0 24px; border: 1px solid var(--line); }
.prose { font-size: 1.05rem; } .prose h2 { font-size: 1.5rem; margin: 32px 0 10px; } .prose h3 { margin: 24px 0 8px; }
.prose ul, .prose ol { padding-left: 22px; margin: 0 0 1em; list-style: revert; } .prose li { margin: 4px 0; }
.prose img { border-radius: 12px; margin: 14px 0; } .prose pre { overflow: auto; padding: 14px; border-radius: 12px; background: var(--ink); color: var(--cream); }
.prose code { font-size: .9em; } .prose .table { overflow-x: auto; } .prose table { border: 1px solid var(--line); } .prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.cta-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 40px; background: var(--butter); border-color: var(--ink); }
.article .sec-head h1 { margin: 0; }
.wide { margin-top: 10px; }

/* ---------- footer and the phone bar */
.foot { background: var(--ink); color: #CFE6E3; padding: 56px 0 18px; }
.foot-in { display: grid; gap: 30px; }
.foot-in > div > b { display: block; margin-bottom: 12px; color: var(--cream); font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; }
.foot-in > div > a { display: block; padding: 5px 0; color: #CFE6E3; text-decoration: none; } .foot a:hover { color: #fff; }
.foot .logo { display: inline-flex; padding: 0; } .foot-brand p { margin-top: 14px; max-width: 340px; font-size: .94rem; }
.foot .te-line { color: #8FD3CB; } .foot .muted { color: #9FB4B4; font-size: .84rem; display: block; margin-top: 6px; }
.copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; margin-top: 40px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: #9FB4B4; }
@media (min-width: 760px) { .foot-in { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }
.phonebar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 1px; background: var(--line-2);
  border-top: 1.5px solid var(--ink); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .3s var(--ease); }
.phonebar.show { transform: none; }
.phonebar a { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 54px; background: var(--cream); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.phonebar a.go { background: var(--teal); color: #fff; }
@media (max-width: 759px) { body { padding-bottom: 56px; } }
@media (min-width: 760px) { .phonebar { display: none; } }

/* ---------- motion (only with JavaScript, never for people who ask for less) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
.js .reveal.tilt-r { transform: translateY(16px) rotate(1.6deg); } .js .reveal.tilt-l { transform: translateY(16px) rotate(-1.4deg); }
.js .reveal.in { opacity: 1; transform: none; } .js .reveal.in.tilt-r { transform: rotate(1.6deg); } .js .reveal.in.tilt-l { transform: rotate(-1.4deg); }
.js .reveal.in.sticky:hover { transform: rotate(0) translateY(-3px); }
.js .hero-copy > * { animation: rise .7s var(--ease) both; } .js .hero-copy > *:nth-child(2) { animation-delay: .06s; } .js .hero-copy > *:nth-child(3) { animation-delay: .12s; }
.js .hero-copy > *:nth-child(4) { animation-delay: .18s; } .js .hero-copy > *:nth-child(5) { animation-delay: .24s; } .js .hero-copy > *:nth-child(6) { animation-delay: .3s; }
.js .hero-art .phone { animation: phone-in .9s .15s var(--ease) both; } .js .hero-note { animation: note-in .7s .6s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes phone-in { from { opacity: 0; transform: translateY(30px) rotate(5deg); } }
@keyframes note-in { from { opacity: 0; transform: translateY(18px) rotate(-6deg); } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; } .js .swash path { stroke-dashoffset: 0; } .js .bar-row .track i { transform: none; }
}
@media print { .nav, .phonebar, .form, .foot { display: none; } body { background: #fff; } }
[hidden] { display: none !important; }
@media (max-width: 639px) {
  .mod ul { display: none; } .mod { padding: 18px; } .mod .ic { margin-bottom: 10px; } .mod p { margin-bottom: 0; }
  .eyebrow.dot { align-items: flex-start; } .eyebrow.dot::before { margin-top: 4px; flex: none; }
}

.lang-te .hero .te-line, .lang-te .page-hero .te-line { display: none; }
.lang-te .foot-in > div > b, .lang-te .label, .lang-te .tag { letter-spacing: .02em; }
/* the name inside white cards on a teal band (the demo form) stays teal */
.talk .form .bn-word, .deep .card .bn-word, .deep .person .bn-word { color: var(--teal); }
@media (min-width: 980px) { .nav .logo-name { font-size: 1.75rem; } .nav .logo-tag { font-size: .72rem; } .nav .logo img { width: 46px; height: 46px; } }
