/* EduPlix.Ai marketing site — school theme.

   The page is an exercise book: ivory paper with faint blue rules and a red
   margin. Around it, the things a school is made of — a green chalkboard in a
   wooden frame, a yellow ruler, pencil-yellow buttons, highlighter under the
   words that matter, crayon-coloured icons, index cards taped to the page.

   Type: Baloo 2 for headings (with Baloo Tammudu 2, its Telugu sibling, so
   both scripts share one voice), Nunito for reading, Caveat for handwriting. */

:root {
  --paper: #fffdf6;
  --paper-2: #fbf6e9;
  --rule: rgba(29, 111, 220, .09);
  --margin: rgba(230, 57, 70, .35);
  --navy: #14213d;
  --ink: #1f2a44;
  --muted: #56607a;
  --muted-2: #8a90a3;

  --pencil: #ffc72c;
  --pencil-2: #f4b400;
  --pencil-ink: #3b2a00;
  --board: #24493f;
  --board-2: #1b3a32;
  --wood: #9a6a3a;
  --chalk: #f4f1e8;

  --c-blue: #1d6fdc;
  --c-red: #e63946;
  --c-green: #2a9d6f;
  --c-orange: #f77f00;
  --c-purple: #7b3fe4;
  --c-teal: #0f9fb0;

  --ok: #1f8a4c;
  --bad: #d62839;
  --line: rgba(20, 33, 61, .10);
  --r-lg: 22px;
  --r-md: 16px;
  --shadow: 0 2px 0 rgba(20, 33, 61, .06), 0 14px 34px rgba(20, 33, 61, .08);
  --shadow-lg: 0 3px 0 rgba(20, 33, 61, .06), 0 30px 70px rgba(20, 33, 61, .14);
  --ease: cubic-bezier(.22, 1, .36, 1);

  --head: "Baloo 2", "Baloo Tammudu 2", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --te: "Baloo Tammudu 2", "Noto Sans Telugu", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* Ruled exercise-book paper. */
  background:
    repeating-linear-gradient(180deg, transparent 0 31px, var(--rule) 31px 32px),
    var(--paper);
}
img { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; }
b, strong { font-weight: 700; color: var(--navy); }
h1, h2, h3 { font-family: var(--head); color: var(--navy); margin: 0 0 .3em; line-height: 1.08; letter-spacing: -.01em; }
h1 { font-size: clamp(2.5rem, 4.9vw, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
/* Highlighter pen under the words that matter. */
h1 em, h2 em {
  font-style: normal; color: var(--navy); padding: 0 .08em;
  background: linear-gradient(100deg, transparent 2%, rgba(255, 199, 44, .75) 4%, rgba(255, 199, 44, .6) 96%, transparent 98%) 0 88% / 100% .42em no-repeat;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
p { margin: 0 0 1em; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.wrap--narrow { max-width: 800px; }

.te { font-family: var(--te); font-weight: 600; color: var(--c-blue); font-size: 1.3rem; line-height: 1.55; margin: 0 0 1em; }
.te--h1 { font-size: clamp(1.25rem, 2.3vw, 1.65rem); }
.te--s { font-size: .9rem; font-weight: 500; color: var(--c-orange); margin: -.1em 0 .5em; }

.eyebrow { display: inline-block; font-family: var(--hand); font-size: 1.6rem; font-weight: 700; color: var(--c-red); margin: 0 0 .1em; transform: rotate(-2deg); }
.eyebrow--c { display: block; text-align: center; }
.sub { color: var(--muted); font-size: 1.1rem; max-width: 42em; }
.note { color: var(--muted-2); font-size: .9rem; }
.ico { width: 15px; height: 15px; }
svg { fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ------------------------------------------------------------------ buttons */
.btn {
  position: relative; display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  padding: .7em 1.45em; border-radius: 14px; white-space: nowrap;
  font-family: var(--head); font-weight: 700; font-size: 1.02rem; line-height: 1.2;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn small { display: block; margin-top: 3px; font-family: var(--te); font-size: .8rem; font-weight: 500; line-height: 1.5; opacity: .85; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(2px); }
.btn--lg { padding: .85em 1.8em; font-size: 1.1rem; }
/* Pencil yellow with a pressed-down edge, like a real button. */
.btn--sun { background: var(--pencil); color: var(--pencil-ink); box-shadow: 0 5px 0 var(--pencil-2), 0 12px 24px rgba(244, 180, 0, .3); }
.btn--sun:active { box-shadow: 0 1px 0 var(--pencil-2); }
.btn--line { color: var(--navy); background: #fff; border: 2px solid var(--navy); box-shadow: 0 5px 0 var(--navy); }
.btn--line:active { box-shadow: 0 1px 0 var(--navy); }
.actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 16px; }
.actions--c { justify-content: center; }

/* ------------------------------------------------------------ top bar / nav */
.topbar { background: var(--navy); font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; height: 36px; }
.topbar a { color: #c9d2e8; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--pencil); }

.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 253, 246, .94); backdrop-filter: blur(10px); border-bottom: 2px dashed var(--line); }
.nav__in { display: flex; align-items: center; gap: 30px; height: 66px; }
.nav__brand img { height: 28px; width: auto; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { font-family: var(--head); font-weight: 600; font-size: 1.02rem; color: var(--navy); }
.nav__links a:hover { color: var(--c-blue); }
.nav__cta { padding: .5em 1.1em; font-size: .95rem; }

/* --------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 100px; }
/* The red margin line of the exercise book. */
.hero::before { content: ""; position: absolute; top: 0; bottom: 0; left: max(28px, calc(50% - 640px)); width: 2px; background: var(--margin); }

.doodles { position: absolute; inset: 0; pointer-events: none; }
.d { position: absolute; opacity: .55; stroke-width: 2.2; }
.d text { font-family: var(--hand); font-size: 38px; font-weight: 700; fill: currentColor; stroke: none; }
.d--pencil { width: 58px; top: 7%; left: 44%; color: var(--c-orange); transform: rotate(-10deg); }
.d--star { width: 44px; top: 12%; right: 5%; color: var(--pencil-2); }
.d--abc { width: 84px; bottom: 9%; left: 4%; color: var(--c-red); transform: rotate(-8deg); }
.d--sum { width: 104px; top: 5%; right: 24%; color: var(--c-green); transform: rotate(6deg); }
.d--book { width: 52px; bottom: 7%; left: 40%; color: var(--c-blue); }
.d--apple { width: 46px; bottom: 16%; right: 3%; color: var(--c-red); }
.d--plane { width: 50px; top: 44%; left: 46%; color: var(--c-purple); transform: rotate(8deg); }
.d--squig { width: 120px; top: 3%; left: 10%; color: var(--c-teal); }

.hero__in { position: relative; display: grid; grid-template-columns: 1fr 1.02fr; gap: 56px; align-items: center; }
.badge {
  display: inline-block; margin-bottom: 20px; padding: 6px 16px; border-radius: 999px;
  background: #fff; border: 2px solid var(--navy); box-shadow: 3px 3px 0 var(--navy);
  font-family: var(--head); font-weight: 700; font-size: .92rem; color: var(--navy);
}
.lead { color: var(--muted); font-size: 1.15rem; max-width: 34em; }

.scribble {
  position: absolute; z-index: 2; top: -42px; right: 6%; font-family: var(--hand); font-weight: 700;
  font-size: 1.5rem; color: var(--c-red); transform: rotate(-4deg); white-space: nowrap;
}
.scribble svg { position: absolute; right: -10px; top: 26px; width: 50px; height: 36px; stroke-width: 2.2; transform: rotate(40deg); }

/* The dashboard, drawn: a clean white window. */
.mock { background: #fff; border: 2px solid var(--navy); border-radius: var(--r-lg); overflow: hidden; font-size: .8rem; line-height: 1.45; box-shadow: 6px 6px 0 var(--navy); }
.mock__bar { display: flex; align-items: center; gap: 7px; padding: 10px 14px; border-bottom: 2px solid var(--navy); background: var(--paper-2); }
.mock__bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--c-red); }
.mock__bar span:nth-child(2) { background: var(--pencil); }
.mock__bar span:nth-child(3) { background: var(--c-green); }
.mock__bar b { margin-left: 10px; font-weight: 600; color: var(--muted); font-size: .76rem; }
.mock__body { padding: 16px 18px; }
.mock__head { font-family: var(--head); font-size: 1.3rem; font-weight: 800; color: var(--navy); margin-bottom: 10px; }
.mock__head i { font-family: var(--body); font-style: normal; font-size: .72rem; font-weight: 700; color: #8a5a00; background: #fff1c2; padding: 3px 10px; border-radius: 99px; margin-left: 8px; vertical-align: middle; }
.mock__kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 12px; }
.mock__kpis div { border: 1.5px solid var(--line); border-radius: 12px; padding: 8px 10px; }
.mock__kpis small { display: block; font-size: .62rem; font-weight: 700; color: var(--muted-2); text-transform: uppercase; letter-spacing: .5px; }
.mock__kpis strong { font-family: var(--head); font-size: 1.05rem; font-weight: 800; }
.ok { color: var(--ok) !important; }
.bad { color: var(--bad) !important; }
.mock__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.mock__list li { position: relative; padding: 9px 11px 9px 32px; border-radius: 12px; background: #fff7dc; border: 1.5px solid #f3d98a; }
.mock__list li::before { content: "!"; position: absolute; left: 10px; top: 9px; width: 16px; height: 16px; border-radius: 50%; background: var(--c-orange); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; }
.mock__list a { display: inline-block; margin: 5px 0 0 4px; padding: 2px 10px; border-radius: 99px; font-size: .72rem; font-weight: 700; color: var(--c-blue); background: #e7f0ff; }

/* ------------------------------------------------------------------- photos
   Photos sit like prints pasted in a scrapbook: a white border and a strip
   of tape across the top. */
.photo, .hero__photo {
  width: 100%; height: auto; object-fit: cover; border-radius: 10px;
  border: 8px solid #fff; box-shadow: var(--shadow-lg);
}
.photo--tall { aspect-ratio: 4 / 5; }
.hero__shot { position: relative; padding-bottom: 170px; }
.hero__photo { aspect-ratio: 16 / 10; transform: rotate(1.2deg); }
.hero__shot::before, .stack::before {
  content: ""; position: absolute; z-index: 3; top: -12px; left: 50%; width: 120px; height: 30px;
  transform: translateX(-50%) rotate(-3deg); background: rgba(255, 223, 128, .75);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .08);
}
.hero__shot .mock { position: absolute; left: -44px; width: 74%; bottom: 0; font-size: .72rem; }
.hero__shot .mock__head { font-size: 1.15rem; }
/* One alert at a time; the script rotates which. */
.hero__shot .mock__list li { display: none; }
.hero__shot .mock__list li.on { display: block; animation: alert-in .6s var(--ease); }
.hero__shot .mock__list li:first-child:not(.on) { display: none; }
.hero__shot .mock__kpis div { padding: 7px 8px; min-width: 0; }
.hero__shot .mock__kpis strong { font-size: .88rem; white-space: nowrap; }
.hero__shot .mock__kpis small { font-size: .52rem; }

.stack { position: relative; }
.stack .photo { width: 92%; margin-left: auto; transform: rotate(-1deg); }
/* Overlaps only the bottom strip of the photo, never a face. */
.stack__over { position: relative; width: 78%; margin-top: -60px; }
.stack--phone { padding-bottom: 150px; }
.stack--phone .photo { width: 80%; margin: 0 0 0 auto; transform: rotate(1.5deg); }
.stack--phone .phone { position: absolute; width: 220px; left: -10px; bottom: 0; margin: 0; font-size: .92em; }
.stack--phone .phone__in { min-height: 0; padding: 44px 12px 16px; }
.stack--phone .phone__card:nth-of-type(n+2) { display: none; }

.split--steps { grid-template-columns: 1fr 1.15fr; gap: 50px; }
.split--steps .steps { grid-template-columns: repeat(2, 1fr); }
.split--steps > .photo { transform: rotate(-1.5deg); }
.roles--left { justify-content: flex-start; margin-top: 24px; }
.split--rev > .photo--tall { transform: rotate(-1.5deg); }

/* --------------------------------------------------------------- chalkboard */
.statement { padding: 84px 0; background: var(--paper-2); border-top: 2px dashed var(--line); }
.board {
  position: relative; max-width: 1040px; text-align: center; padding: 56px 40px 50px;
  border-radius: 10px; color: var(--chalk);
  background:
    radial-gradient(60% 80% at 30% 20%, rgba(255, 255, 255, .06), transparent 60%),
    radial-gradient(50% 70% at 80% 90%, rgba(255, 255, 255, .04), transparent 60%),
    var(--board);
  border: 14px solid var(--wood);
  box-shadow: inset 0 0 0 2px rgba(0, 0, 0, .25), inset 0 0 60px rgba(0, 0, 0, .35), 0 24px 50px rgba(20, 33, 61, .25);
}
/* The chalk ledge, with a stick of chalk and a duster. */
.board::after {
  content: ""; position: absolute; left: 12%; right: 12%; bottom: -30px; height: 12px; border-radius: 3px;
  background: #7a5230; box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}
.board::before {
  content: ""; position: absolute; right: 18%; bottom: -24px; width: 44px; height: 8px; border-radius: 3px;
  background: #fff; box-shadow: -120px -2px 0 6px #c9c2b2;
}
.crown { font-family: var(--hand); font-size: 1.8rem; color: var(--pencil); margin-bottom: 6px; }
.statement__en { font-family: var(--hand); font-size: clamp(2rem, 3.8vw, 3rem); font-weight: 700; line-height: 1.2; max-width: 20em; margin: 0 auto .5em; text-shadow: 0 0 1px rgba(255, 255, 255, .5); }
.statement__en s { color: rgba(244, 241, 232, .5); text-decoration-thickness: 3px; }
.statement__en em { font-style: normal; color: var(--pencil); }
.statement__te { font-family: var(--te); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.7rem); color: #bfe8d6; line-height: 1.55; }
.statement__meta { margin-top: 18px; font-size: .98rem; color: rgba(244, 241, 232, .75); }
.statement__meta b { color: #fff; }

/* A wooden-yellow ruler, ticks along the top edge. */
.marquee {
  overflow: hidden; padding: 20px 0 14px; background: var(--pencil);
  border-top: 2px solid var(--pencil-2); border-bottom: 2px solid var(--pencil-2);
  background-image:
    repeating-linear-gradient(90deg, rgba(59, 42, 0, .55) 0 2px, transparent 2px 40px),
    repeating-linear-gradient(90deg, rgba(59, 42, 0, .35) 0 1px, transparent 1px 8px);
  background-size: 100% 14px, 100% 7px; background-repeat: no-repeat; background-position: 0 0, 0 0;
}
.marquee__track { display: flex; width: max-content; animation: slide 45s linear infinite; }
.marquee span { font-family: var(--head); font-size: 1.35rem; font-weight: 700; color: var(--pencil-ink); padding: 0 24px; white-space: nowrap; }
.marquee span::after { content: "✎"; margin-left: 48px; opacity: .6; }
@keyframes slide { to { transform: translateX(-50%); } }

/* ----------------------------------------------------------------- sections */
.section { position: relative; padding: 100px 0; }
.section--panel { background-color: rgba(251, 246, 233, .75); border-top: 2px dashed var(--line); border-bottom: 2px dashed var(--line); }
.head { text-align: center; max-width: 800px; margin: 0 auto 52px; }
.head .sub { margin: 0 auto; }

.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative; padding: 26px 24px; border-radius: var(--r-lg); background: #fff;
  border: 2px solid var(--line); box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-6px) rotate(-.6deg); border-color: var(--navy); box-shadow: 6px 8px 0 var(--navy); }
.card p { color: var(--muted); font-size: .95rem; margin: 0; }

/* Crayon-box icon tiles. */
.ic { width: 56px; height: 56px; border-radius: 16px; margin-bottom: 16px; display: grid; place-items: center; color: #fff; background: var(--c-blue); box-shadow: 0 4px 0 rgba(0, 0, 0, .18); }
.ic svg { width: 28px; height: 28px; stroke-width: 2; }
.grid .card:nth-child(6n+2) .ic { background: var(--c-orange); }
.grid .card:nth-child(6n+3) .ic { background: var(--c-green); }
.grid .card:nth-child(6n+4) .ic { background: var(--c-red); }
.grid .card:nth-child(6n+5) .ic { background: var(--c-purple); }
.grid .card:nth-child(6n+6) .ic { background: var(--c-teal); }
.soon { display: inline-block; margin-top: 8px; padding: 2px 10px; border-radius: 99px; font-size: .76rem; font-weight: 700; color: var(--c-purple); background: #efe6ff; }

.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.split--rev { grid-template-columns: 1fr 1.1fr; }
.ticks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 36px; color: var(--muted); }
/* A teacher's red tick. */
.ticks li::before { content: "✓"; position: absolute; left: 2px; top: -6px; font-family: var(--hand); font-size: 1.9rem; font-weight: 700; color: var(--c-red); }

.panel { padding: 28px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--navy); box-shadow: 6px 6px 0 var(--navy); }
.panel__head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; font-family: var(--head); font-size: 1.4rem; font-weight: 800; color: var(--navy); }
.panel__head span { font-family: var(--body); font-size: .88rem; font-weight: 500; color: var(--muted); align-self: center; }
.bar { display: grid; grid-template-columns: 1fr auto; gap: 7px 12px; margin-bottom: 20px; color: var(--muted); font-size: .96rem; }
.bar b { text-align: right; }
.bar i { grid-column: 1 / -1; position: relative; height: 10px; border-radius: 99px; background: #eef1f7; overflow: hidden; }
.bar i::after { content: ""; position: absolute; inset: 0; width: var(--w); border-radius: 99px; background: var(--c-blue); }
.bar--bad i::after { background: var(--c-red); }
.bar--bad b { color: var(--bad); }
.panel__foot { color: var(--muted-2); font-size: .88rem; margin: 2px 0 0; }

.roles { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.roles span { padding: 8px 16px; border-radius: 12px; background: #fff; border: 2px solid var(--line); font-family: var(--head); font-weight: 600; color: var(--navy); }
.roles span:nth-child(3n+1) { border-color: rgba(29, 111, 220, .4); }
.roles span:nth-child(3n+2) { border-color: rgba(247, 127, 0, .45); }
.roles span:nth-child(3n+3) { border-color: rgba(42, 157, 111, .45); }

/* Parent-app band: school-uniform navy. */
#parents { background: var(--navy); color: #e9edf7; border: 0; }
#parents h2 { color: #fff; }
#parents h2 em { color: #fff; background-image: linear-gradient(100deg, transparent 2%, rgba(255, 199, 44, .55) 4%, rgba(255, 199, 44, .45) 96%, transparent 98%); }
#parents .eyebrow { color: var(--pencil); }
#parents .te { color: #9cc3ff; }
#parents .ticks li { color: #d3dbee; }
#parents .ticks li::before { color: var(--pencil); }
#parents .note { color: #8f9bbd; }

.phone { width: 300px; margin: 0 auto; padding: 11px; border-radius: 48px; background: #1a1d24; box-shadow: 0 40px 80px rgba(0, 0, 0, .45), inset 0 0 0 2px rgba(255, 255, 255, .14); }
.phone__in { position: relative; min-height: 490px; padding: 46px 14px 18px; border-radius: 38px; overflow: hidden; color: var(--ink);
  background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(29, 111, 220, .08) 27px 28px), var(--paper); }
.island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 84px; height: 24px; border-radius: 99px; background: #000; }
.phone__head { font-family: var(--head); font-size: 1.5rem; font-weight: 800; color: var(--navy); margin: 0 4px 12px; }
.phone__row { display: flex; justify-content: space-between; margin-bottom: 8px; padding: 11px 13px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); font-size: .86rem; }
.phone__row span { color: var(--muted); }
.phone__card { margin-bottom: 8px; padding: 10px 13px; border-radius: 14px; background: #fff; border: 1.5px solid var(--line); border-left: 4px solid var(--pencil); font-size: .86rem; line-height: 1.45; }
.phone__card small { display: block; font-size: .7rem; font-weight: 800; color: var(--c-blue); text-transform: uppercase; letter-spacing: .5px; }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: s; }
.steps li { counter-increment: s; position: relative; padding: 26px 24px; border-radius: var(--r-lg); background: #fff; border: 2px solid var(--line); box-shadow: var(--shadow); }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px;
  border-radius: 50%; border: 3px solid var(--c-red); color: var(--c-red);
  font-family: var(--hand); font-size: 1.8rem; font-weight: 700; line-height: 1; transform: rotate(-6deg);
}
.steps b { display: block; margin-bottom: 4px; font-family: var(--head); font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.steps span { color: var(--muted); font-size: .94rem; }

/* ------------------------------------------------------------------ pricing
   Index cards taped to the page. */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plan {
  position: relative; display: flex; flex-direction: column; padding: 34px 24px 26px; border-radius: 6px;
  background: repeating-linear-gradient(180deg, transparent 0 27px, rgba(29, 111, 220, .08) 27px 28px) 0 64px / 100% calc(100% - 64px) no-repeat, #fff;
  border-top: 4px solid var(--c-red); box-shadow: var(--shadow);
}
.plan::before { content: ""; position: absolute; top: -14px; left: 50%; width: 90px; height: 26px; transform: translateX(-50%) rotate(2deg); background: rgba(255, 223, 128, .75); box-shadow: 0 2px 4px rgba(0, 0, 0, .08); }
.plan:nth-child(odd) { rotate: -.8deg; }
.plan:nth-child(even) { rotate: .8deg; }
.plan--pop { border-top-color: var(--pencil-2); box-shadow: 6px 8px 0 var(--navy); outline: 2px solid var(--navy); }
.tag { position: absolute; top: 14px; right: -8px; padding: 3px 12px; border-radius: 4px; background: var(--c-red); color: #fff; font-family: var(--head); font-size: .8rem; font-weight: 700; transform: rotate(4deg); }
.plan h3 { font-size: 1.5rem; }
.price { margin: 0; color: var(--muted); }
.price b { font-family: var(--head); font-size: 2.7rem; font-weight: 800; color: var(--navy); }
.floor { font-size: .86rem; color: var(--muted-2); min-height: 2.9em; }
.plan ul { list-style: none; padding: 0; margin: 8px 0 24px; display: grid; gap: 6px; flex: 1; }
.plan li { position: relative; padding-left: 24px; color: var(--muted); font-size: .94rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: -4px; font-family: var(--hand); font-size: 1.4rem; font-weight: 700; color: var(--c-green); }
.fine { text-align: center; color: var(--muted-2); font-size: .88rem; margin-top: 30px; }

/* ---------------------------------------------------------------------- faq */
details { margin-bottom: 12px; padding: 16px 22px; border-radius: var(--r-md); background: #fff; border: 2px solid var(--line); }
details[open] { border-color: var(--navy); box-shadow: 4px 4px 0 var(--navy); }
summary { position: relative; padding-right: 30px; cursor: pointer; list-style: none; font-family: var(--head); font-size: 1.18rem; font-weight: 700; color: var(--navy); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 2px; top: -3px; font-size: 1.6rem; color: var(--c-red); }
details[open] summary::after { content: "–"; }
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------------------------------------------------------------------- cta */
.cta { text-align: center; color: #fff; background: linear-gradient(180deg, rgba(20, 33, 61, .9), rgba(20, 33, 61, .94)), url("/img/campus.jpg") center / cover no-repeat, var(--navy); border: 0; }
.cta__in { max-width: 800px; }
.cta .crown { color: var(--pencil); }
.cta h2 { color: #fff; }
.cta h2 em { color: #fff; background-image: linear-gradient(100deg, transparent 2%, rgba(255, 199, 44, .55) 4%, rgba(255, 199, 44, .45) 96%, transparent 98%); }
.cta .te { color: #9cc3ff; }
.cta .sub { margin: 0 auto; color: #d3dbee; }
.cta .btn--line { background: transparent; color: #fff; border-color: #fff; box-shadow: 0 5px 0 rgba(255, 255, 255, .5); }
.cta__mail { margin-top: 18px; color: #aeb9d6; }
.cta__mail a { color: var(--pencil); }

/* ------------------------------------------------------------------- footer */
.foot { padding: 40px 0 46px; background: var(--paper-2); border-top: 2px dashed var(--line); color: var(--muted); font-size: .9rem; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.foot img { height: 22px; width: auto; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot a { color: var(--muted); font-weight: 600; }
.foot a:hover { color: var(--navy); }
.foot__copy { width: 100%; font-size: .8rem; color: var(--muted-2); }

/* ---------------------------------------------------- floating / phone dock */
.wa-float { position: fixed; right: 22px; bottom: 24px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: #25d366; box-shadow: 0 4px 0 #1a9e4b, 0 12px 26px rgba(37, 211, 102, .35); }
.wa-float svg { width: 30px; height: 30px; stroke-width: 1.8; }
.dock { display: none; }

/* ------------------------------------------------------------------ effects
   Reveals use the individual `translate` property, not `transform`, so the
   deliberate tilt on photos and index cards survives the animation. */
.js-reveal .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s var(--ease) var(--d, 0s), translate .8s var(--ease) var(--d, 0s); }
.js-reveal .reveal.in { opacity: 1; translate: none; }

/* Hero, on load: the lines arrive in order. */
/* `backwards`, not `forwards`: the resting style is fully visible, so if the
   animation is skipped or throttled the text is shown, never stuck hidden. */
.js-reveal .hero__copy > * { animation: rise .8s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 110ms + 100ms); }
@keyframes rise { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: none; } }

/* The photo is pressed onto the page, then the dashboard slides up over it. */
.js-reveal .hero__photo { animation: stick 1s var(--ease) .25s backwards; }
@keyframes stick { from { opacity: 0; transform: rotate(7deg) scale(.9); } to { opacity: 1; transform: rotate(1.2deg); } }
.js-reveal .hero__shot::before { animation: tape .5s var(--ease) .9s both; }
@keyframes tape { from { opacity: 0; scale: 1.4; } to { opacity: 1; scale: 1; } }
.js-reveal .hero__shot .mock { animation: rise .9s var(--ease) .7s backwards; }
/* The handwritten note writes itself out, left to right. */
.js-reveal .scribble { clip-path: inset(-20% 100% -60% 0); animation: write 1.4s steps(22, end) 1.3s forwards; }
@keyframes write { to { clip-path: inset(-20% -20% -60% 0); } }
@keyframes alert-in { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: none; } }
.mock__head i { animation: nudge 3.4s ease-in-out infinite; }
@keyframes nudge { 0%, 88%, 100% { scale: 1; } 92% { scale: 1.12; } 96% { scale: .96; } }

/* Doodles float, each at its own pace. */
.doodles { transition: transform .6s var(--ease); }
.d { animation: bob 6s ease-in-out infinite; }
.d--star { animation-duration: 4.5s; } .d--abc { animation-duration: 7s; animation-delay: -2s; }
.d--sum { animation-duration: 5.5s; animation-delay: -1s; } .d--book { animation-duration: 6.5s; animation-delay: -3s; }
.d--apple { animation-duration: 5s; animation-delay: -4s; } .d--plane { animation: fly 9s ease-in-out infinite; }
.d--squig { animation-duration: 8s; }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@keyframes fly { 0%, 100% { translate: 0 0; } 25% { translate: 16px -14px; } 50% { translate: 30px 0; } 75% { translate: 14px 12px; } }

/* Highlighter strokes draw across the words that matter. */
.js-reveal h1 em, .js-reveal h2 em { background-size: 0% .42em; transition: background-size 1.1s var(--ease) .45s; }
.js-reveal .reveal.in h1 em, .js-reveal .reveal.in h2 em { background-size: 100% .42em; }

/* Chalk: the board's words are written out, then the Telugu line follows. */
.js-reveal .board .statement__en { clip-path: inset(0 100% 0 0); transition: clip-path 1.8s var(--ease) .3s; }
.js-reveal .board .statement__te, .js-reveal .board .statement__meta { opacity: 0; transition: opacity .8s ease 1.6s; }
.js-reveal .board.in .statement__en { clip-path: inset(0 -5% 0 0); }
.js-reveal .board.in .statement__te, .js-reveal .board.in .statement__meta { opacity: 1; }
.board .crown { display: inline-block; animation: twinkle 2.6s ease-in-out infinite; }
@keyframes twinkle { 0%, 100% { rotate: 0deg; scale: 1; } 50% { rotate: 20deg; scale: 1.25; } }

/* Bars grow to their value; ticks and phone rows arrive in turn. */
.js-reveal .bar i::after { width: 0; transition: width 1.3s var(--ease) .35s; }
.js-reveal .reveal.in .bar i::after { width: var(--w); }
.js-reveal .ticks li, .js-reveal .phone__row, .js-reveal .phone__card { opacity: 0; translate: -14px 0; transition: opacity .6s var(--ease), translate .6s var(--ease); }
.js-reveal .reveal.in .ticks li, .js-reveal .reveal.in .phone__row, .js-reveal .reveal.in .phone__card { opacity: 1; translate: none; }
.js-reveal .reveal.in :is(.ticks li, .phone__row, .phone__card):nth-child(2) { transition-delay: .12s; }
.js-reveal .reveal.in :is(.ticks li, .phone__row, .phone__card):nth-child(3) { transition-delay: .24s; }
.js-reveal .reveal.in :is(.ticks li, .phone__row, .phone__card):nth-child(4) { transition-delay: .36s; }
.js-reveal .reveal.in :is(.ticks li, .phone__row, .phone__card):nth-child(5) { transition-delay: .48s; }
.js-reveal .reveal.in :is(.ticks li, .phone__row, .phone__card):nth-child(6) { transition-delay: .60s; }

/* Hover: cards lean toward the pointer, photos straighten, buttons shine. */
.card { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.card:hover { transform: perspective(800px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.card:hover .ic { animation: hop .5s var(--ease); }
@keyframes hop { 40% { translate: 0 -6px; rotate: -8deg; } }
.photo, .hero__photo { transition: transform .7s var(--ease), box-shadow .7s var(--ease); }
.photo:hover, .hero__photo:hover { transform: rotate(0deg) scale(1.02); box-shadow: 0 40px 80px rgba(20, 33, 61, .2); }
.btn { overflow: hidden; }
.btn--sun::after {
  content: ""; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out infinite;
}
.btn--sun:hover::after { animation-duration: 1.1s; }
@keyframes shine { 0%, 70% { left: -60%; } 100% { left: 130%; } }
.plan { transition: rotate .5s var(--ease), translate .8s var(--ease) var(--d, 0s), opacity .8s var(--ease) var(--d, 0s), box-shadow .5s; }
.plan:hover { rotate: 0deg; box-shadow: 6px 10px 0 var(--navy); }
.marquee:hover .marquee__track { animation-play-state: paused; }
summary { transition: color .25s; }
summary:hover { color: var(--c-blue); }
details[open] p { animation: rise .5s var(--ease); }

/* Pencil-yellow reading progress along the bottom of the bar. */
.nav { transition: box-shadow .3s, background .3s; }
.nav.scrolled { box-shadow: 0 8px 24px rgba(20, 33, 61, .08); }
.progress { position: absolute; left: 0; right: 0; bottom: -2px; height: 3px; background: linear-gradient(90deg, var(--pencil), var(--c-orange)); transform: scaleX(0); transform-origin: 0 50%; }

/* WhatsApp: a ring that ripples outward now and then. */
.wa-float::before, .wa-float::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ripple 2.8s ease-out infinite; }
.wa-float::after { animation-delay: 1.4s; }
@keyframes ripple { from { opacity: .7; scale: 1; } to { opacity: 0; scale: 1.8; } }

/* --------------------------------------------------------------- responsive */
@media (max-width: 1020px) {
  .hero__in, .split, .split--rev { grid-template-columns: 1fr; gap: 48px; }
  .grid, .plans, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: 1fr; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .plans { row-gap: 34px; }
  .hero__shot .mock { left: 20px; width: 70%; }
  .split--steps { grid-template-columns: 1fr; }
  .d--pencil, .d--plane, .d--book { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 88px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 40px 0 64px; }
  .hero::before { left: 8px; }
  .section { padding: 70px 0; }
  .grid, .plans, .steps { grid-template-columns: 1fr; }
  .mock__kpis { grid-template-columns: repeat(2, 1fr); }
  .nav__cta { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .phone { width: 100%; max-width: 290px; }
  .foot nav { margin-left: 0; }
  .wa-float { bottom: 94px; right: 16px; width: 52px; height: 52px; }
  .hero__shot { padding-bottom: 0; }
  .hero__shot .mock { position: relative; left: auto; right: auto; width: auto; margin: -60px 10px 0; }
  .mock__head i { display: inline-block; margin: 4px 0 0; }
  .scribble { top: -34px; right: 4%; font-size: 1.25rem; }
  .stack__over { width: auto; margin: -40px 12px 0; }
  .stack .photo, .stack--phone .photo { width: 100%; }
  .stack--phone { padding-bottom: 0; }
  .stack--phone .phone { position: relative; width: 240px; left: auto; margin: -120px auto 0; }
  .split--steps .steps { grid-template-columns: 1fr; }
  .board { margin: 0 12px; padding: 40px 18px 36px; border-width: 10px; }
  .badge { font-size: .78rem; border-radius: 14px; padding: 6px 12px; }
  .d--sum, .d--squig { display: none; }

  .dock {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
    position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30;
    padding: 8px; border-radius: 20px; background: #fff; border: 2px solid var(--navy); box-shadow: 0 5px 0 var(--navy), 0 14px 30px rgba(20, 33, 61, .2);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 54px; border-radius: 14px; color: var(--navy); font-family: var(--head); font-size: .85rem; font-weight: 700; }
  .dock svg { width: 22px; height: 22px; color: var(--c-blue); }
  .dock__wa { background: #e8f9ee; }
  .dock__wa svg { color: #1a9e4b; }
  .dock__sun { background: var(--pencil); color: var(--pencil-ink) !important; }
  .dock__sun svg { color: var(--pencil-ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ------------------------------------------------------------ legal pages
   The privacy policy: the same paper and type, set for long reading. */
.legal { padding: 56px 0 90px; }
.legal h1 { font-size: clamp(2.3rem, 5vw, 3.2rem); margin-bottom: .1em; }
.legal h2 { font-size: 1.7rem; margin: 2.2em 0 .5em; }
.legal section { scroll-margin-top: 90px; }
.legal p, .legal li { color: var(--ink); }
.legal__meta { color: var(--muted); font-size: .92rem; }
.legal__toc {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 8px; padding: 16px;
  background: #fff; border: 2px solid var(--line); border-radius: var(--r-md);
}
.legal__toc a {
  font-size: .88rem; font-weight: 600; padding: 4px 12px; border-radius: 99px;
  background: var(--paper-2); color: var(--navy);
}
.legal__toc a:hover { background: var(--pencil); }
.legal .ticks { margin-bottom: 1em; }
.legal .ticks li::before { top: -8px; }
.legal__table { overflow-x: auto; margin: 0 0 1.2em; border: 2px solid var(--line); border-radius: var(--r-md); background: #fff; }
.legal__table table { width: 100%; border-collapse: collapse; font-size: .94rem; }
.legal__table th { text-align: left; background: var(--paper-2); font-family: var(--head); font-weight: 700; color: var(--navy); padding: 10px 14px; }
.legal__table td { padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.legal__table td:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.legal__steps { padding-left: 1.3em; }
.legal__steps li { margin-bottom: .5em; }
.legal__contact { background: #fff; border: 2px solid var(--navy); box-shadow: 5px 5px 0 var(--navy); border-radius: var(--r-md); padding: 18px 22px; margin: 16px 0 20px; }
.legal__contact p { margin: 0 0 .3em; }
@media (max-width: 640px) {
  body.legal-page { padding-bottom: 0; }
  .legal__table td:first-child { white-space: normal; }
}
