/* ==========================================================================
   Manage Setu — product landing page (landing/index.html, its own site)
   Independent of css/style.css, so the Coaching Sathi app is unaffected.
    1. Tokens         2. Base          3. Buttons & badges   4. Header
    5. Hero           6. Sections      7. Live product       8. Products
    9. Features      10. Steps        11. Showcases         12. Ecosystem
   13. Audience      15. FAQ          16. Footer
   17. Dialog        18. Motion       19. Responsive
   ========================================================================== */

/* 1. Tokens ------------------------------------------------------------- */
:root {
  /* Manage Setu brand — sampled from the logo: navy "Manage" → teal/green "Setu" */
  --brand: #0b3fb0;
  --brand-dark: #08307f;
  --brand-teal: #04806a;
  --brand-soft: #e9f0fc;
  --brand-tint: #f3f7fc;
  --brand-line: #cad8f2;
  --brand-grad: linear-gradient(100deg, #0b3fb0 0%, #0a5fb4 52%, #04806a 100%);

  /* Product colours: Coaching Sathi (green), School Sathi (blue) */
  --green: #087f6a;
  --green-dark: #066353;
  --green-soft: #e8f4f0;
  --green-tint: #f0f7f4;
  --green-line: #c7e3da;

  --blue: #315bcb;
  --blue-dark: #2549a8;
  --blue-soft: #ebf0fc;
  --blue-tint: #f3f6fd;
  --blue-line: #cbd7f4;

  --ink: #0d1a33;
  --text: #26324a;
  --muted: #5b687d;
  --bg: #ffffff;
  --bg-tint: #f5f8fc;
  --border: #e1e7f0;
  --border-soft: #edf1f7;
  --dark: #071a3a;
  --dark-2: #0c2450;

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;

  --shadow-card: 0 1px 2px rgba(13, 26, 51, 0.04), 0 1px 3px rgba(13, 26, 51, 0.03);
  --shadow-hover: 0 8px 24px rgba(13, 26, 51, 0.08);
  --shadow-shot: 0 2px 4px rgba(13, 26, 51, 0.04), 0 24px 48px -12px rgba(13, 26, 51, 0.2);

  --container: 1200px;
  --gutter: 32px;
  --header-h: 68px;
  --section-y: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* 2. Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv11", "ss01";
}
body.no-scroll { overflow: hidden; }

h1, h2, h3 { margin: 0; color: var(--ink); font-weight: 700; letter-spacing: -0.022em; line-height: 1.15; text-wrap: balance; }
.section-lead, .hero h1 .grad { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
a { color: var(--brand); text-decoration: none; }
a, a:hover, a:focus, a:focus-visible, a:active, a:visited { text-decoration: none !important; }
a:hover { color: var(--brand-dark); }
p a:not(.btn):hover, li a:not(.btn):hover, a:not(.btn):focus-visible { text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.nowrap { white-space: nowrap; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px;
  border-radius: var(--r-sm);
  background: var(--ink); color: #fff;
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 12px; color: #fff; }

/* 3. Buttons & badges ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 600 15px/1.2 var(--font);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
}
.btn .ico { width: 18px; height: 18px; }
.btn > .ico:last-of-type:not(:first-child) { transition: transform 0.18s var(--ease); }
.btn:hover > .ico:last-of-type:not(:first-child) { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.btn-lg { min-height: 48px; padding: 12px 22px; font-size: 16px; }
.btn-block { width: 100%; }

.btn-primary { background: var(--green); color: #fff; box-shadow: 0 1px 2px rgba(8, 127, 106, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.btn-primary:hover { background: var(--green-dark); color: #fff; }
/* Manage Setu main call to action: the logo's navy → teal gradient */
.btn-brand { background: var(--brand-grad); background-size: 140% 100%; background-position: 0 0; color: #fff; box-shadow: 0 1px 2px rgba(11, 63, 176, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.14); transition: background-position 0.3s var(--ease), box-shadow 0.2s; }
.btn-brand:hover { background-position: 100% 0; color: #fff; box-shadow: 0 6px 18px -6px rgba(11, 63, 176, 0.45); }
.btn-secondary { background: #fff; color: var(--ink); border-color: var(--border); box-shadow: var(--shadow-card); }
.btn-secondary:hover { border-color: #cbd8d3; background: var(--bg-tint); color: var(--ink); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-dark); color: #fff; }
.btn-light { background: #fff; color: var(--dark); }
.btn-light:hover { background: var(--brand-soft); color: var(--dark); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.5); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px 4px 8px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.badge .ico { width: 14px; height: 14px; stroke-width: 2.4; }
.badge-live { background: var(--green-soft); color: var(--green-dark); }
.badge-on-dark.badge-live { background: rgba(70, 200, 160, 0.14); color: #8fe3c8; }

.dot { display: inline-block; flex: none; width: 8px; height: 8px; border-radius: 50%; }
.dot-live { background: #14a37f; box-shadow: 0 0 0 3px rgba(20, 163, 127, 0.18); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; text-decoration: none;
}
.text-link .ico { width: 16px; height: 16px; transition: transform 0.18s var(--ease); }
.text-link:hover .ico { transform: translateX(3px); }

/* 4. Header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background-color 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); background: rgba(255, 255, 255, 0.94); }
.header-inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand:hover { color: var(--ink); }
/* Manage Setu: icon + text logo (assets/icon-96.png, assets/logo-managesetu.png) */
.brand-icon { width: 40px; height: 40px; flex: none; }
.brand-logo { width: auto; height: 30px; }

.primary-nav { margin-left: auto; }
.primary-nav ul { display: flex; align-items: center; gap: 2px; }
.primary-nav a:not(.btn) {
  display: block;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s, background-color 0.15s;
}
.primary-nav a:not(.btn):hover { color: var(--ink); background: var(--bg-tint); }
.nav-cta-mobile { display: none; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none;
  place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.menu-toggle .ico { width: 22px; height: 22px; }

/* 5. Hero ---------------------------------------------------------------- */
.hero {
  padding: 56px 0 64px;
  background:
    radial-gradient(ellipse 55% 65% at 100% 0%, rgba(1, 108, 242, 0.08), transparent 62%),
    radial-gradient(ellipse 45% 55% at 0% 100%, rgba(3, 173, 120, 0.07), transparent 62%),
    linear-gradient(180deg, var(--bg-tint) 0%, #fff 100%);
  border-bottom: 1px solid var(--border-soft);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
}
.hero h1 {
  font-size: clamp(2.25rem, 1.55rem + 2.6vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 1.06;
  max-width: 14ch;
}
.hero-lead { margin-top: 20px; max-width: 34rem; font-size: clamp(1.03rem, 0.98rem + 0.25vw, 1.15rem); color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-size: 14px; font-weight: 500; color: var(--text); }
.hero-points li { display: inline-flex; align-items: center; gap: 7px; }
.hero-points .ico { width: 16px; height: 16px; color: var(--brand-teal); stroke-width: 2.5; }

/* Browser frame used for real screenshots */
.browser {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-shot);
}
.browser-bar {
  display: flex; align-items: center; gap: 12px;
  height: 38px;
  padding: 0 14px;
  border-bottom: 1px solid var(--border-soft);
  background: #fafcfb;
}
.browser-dots { display: flex; gap: 6px; }
/* macOS window controls: close, minimise, zoom */
.browser-dots i { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.browser-dots i:nth-child(2) { background: #febc2e; }
.browser-dots i:nth-child(3) { background: #28c840; }
.browser-url {
  display: inline-flex; align-items: center; gap: 6px;
  margin-inline: auto;
  padding: 3px 12px;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--border-soft);
  font-size: 12px; color: var(--muted);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 70%;
}
.browser-url .ico { width: 11px; height: 11px; stroke-width: 2.2; }
.browser > img, .browser [role="tabpanel"] > img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }

/* Laptop: dark screen bezel with camera + aluminium base with thumb notch.
   Sizes are percentages of the laptop width, so it scales cleanly. */
.laptop { position: relative; filter: drop-shadow(0 24px 32px rgba(16, 32, 28, 0.16)); }
.laptop-lid {
  position: relative;
  margin: 0 6%;
  padding: 2.6% 2.4% 2.8%;
  border-radius: 18px 18px 0 0;
  background: #0e1011;
  box-shadow: 0 0 0 1.5px #c3c8cc, inset 0 0 0 1px #2e3236;
}
.laptop-lid::before { /* camera */
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 5px; height: 5px;
  margin-top: 1.2%;
  border-radius: 50%;
  background: #262a2d;
  box-shadow: inset 0 0 0 1px #3a3f43;
  transform: translate(-50%, -50%);
}
.laptop .browser { border: 0; border-radius: 3px; box-shadow: none; }
.laptop-base {
  position: relative;
  height: 0;
  padding-top: 2.6%;
  border-radius: 1px 1px 46% 46% / 1px 1px 100% 100%;
  background: linear-gradient(180deg, #eef0f2 0%, #d9dde0 40%, #b3b9be 100%);
}
.laptop-base::before { /* thumb notch */
  content: "";
  position: absolute; left: 50%; top: 0;
  width: 15%; height: 45%;
  border-radius: 0 0 10px 10px / 0 0 100% 100%;
  background: linear-gradient(180deg, #c2c7cb, #dadee1);
  transform: translateX(-50%);
}
.laptop-base::after { /* hinge shadow */
  content: "";
  position: absolute; left: 6%; right: 6%; top: 0;
  height: 1px;
  background: rgba(0, 0, 0, 0.25);
}

/* Phone: bezel, Dynamic Island, status bar and side buttons. Inner sizes use container units (cqw). */
.phone {
  position: relative;
  display: flow-root; /* keeps the screen's margin (bezel) inside the frame */
  border-radius: 15.5% / 7.2%;
  background: #121416;
  box-shadow: 0 0 0 1.5px #a3aaaf, inset 0 0 0 1px #2c3033, var(--shadow-shot);
}
.phone::before, .phone::after { content: ""; position: absolute; width: 3px; background: #a3aaaf; }
.phone::before { right: -3px; top: 25%; height: 11%; border-radius: 0 2px 2px 0; } /* power */
.phone::after { left: -3px; top: 20%; height: 7%; border-radius: 2px 0 0 2px; } /* volume */
.phone-screen {
  position: relative;
  /* Bezel. A margin % is measured against the phone's own width (padding % on .phone
     would use the parent's width, which made the absolutely positioned hero phone too thick). */
  margin: 3.4%;
  overflow: hidden;
  border-radius: 12.6% / 5.9%;
  background: #fff;
  container-type: inline-size;
}
.phone-screen::before { /* Dynamic Island */
  content: "";
  position: absolute; left: 50%; top: 2.8cqw; z-index: 1;
  width: 29cqw; height: 8.4cqw;
  border-radius: 99px;
  background: #000;
  transform: translateX(-50%);
}
.phone-status {
  display: flex; align-items: center; justify-content: space-between;
  height: 13.5cqw;
  padding: 1.2cqw 7cqw 0 10.5cqw;
  background: #fff;
  color: #0b0d0c;
  font: 600 4.8cqw/1 var(--font);
  letter-spacing: -0.01em;
}
.phone-status-icons { width: 18cqw; height: 3.1cqw; }
.phone img { display: block; width: 100%; aspect-ratio: 780 / 1688; }

.hero-media { position: relative; padding: 0 0 28px 40px; }
.hero-phone { position: absolute; left: 0; bottom: 0; z-index: 1; width: 25%; max-width: 168px; }
.hero-media figcaption, .media-note, .phones figcaption {
  margin-top: 14px; font-size: 13px; color: var(--muted); text-align: right;
}
.hero-media figcaption { position: absolute; right: 0; bottom: -6px; margin: 0; }

/* 6. Sections ------------------------------------------------------------ */
.section { padding: var(--section-y) 0; }
.proof { padding-top: calc(var(--section-y) - 8px); }
.section-tint { background: var(--bg-tint); border-block: 1px solid var(--border-soft); }
.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head h2, .showcase-copy h2, .proof h2 {
  font-size: clamp(1.75rem, 1.35rem + 1.5vw, 2.5rem);
  font-weight: 750;
  letter-spacing: -0.03em;
}
.section-lead { margin-top: 16px; font-size: 1.075rem; color: var(--muted); }
.section-head .section-lead { max-width: 560px; margin-inline: auto; }
.section-head-split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: end;
  gap: 32px 64px;
  max-width: none;
  text-align: left;
}
.section-head-split h2 { max-width: 24ch; }
.section-head-split .section-lead { margin: 0; max-width: 440px; }

.label {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 14px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand);
}
.label-green { color: var(--green); }
.label-blue { color: var(--blue); }
.label-light { color: #8fe3c8; }
.fine-print { margin-top: 16px; font-size: 13.5px; color: var(--muted); }

/* 7. Live product -------------------------------------------------------- */
.proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 56px;
  align-items: center;
}
.proof-copy .section-lead { max-width: 30rem; }
/* Facts as one card with dividers */
.facts {
  display: grid; grid-template-columns: 1fr;
  margin: 24px 0 28px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-card);
}
.facts li { display: flex; align-items: center; gap: 14px; padding: 12px 16px; }
.facts li + li { border-top: 1px solid var(--border-soft); }
.proof-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.fact-icon {
  display: grid; place-items: center; flex: none;
  width: 36px; height: 36px;
  border-radius: 9px;
  background: var(--green-soft);
  color: var(--green);
}
.fact-icon .ico { width: 18px; height: 18px; }
.facts b { display: block; font-size: 15px; color: var(--ink); line-height: 1.4; }
.facts span:not(.fact-icon) { display: block; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* Tabs centred over the laptop, soft green stage behind it */
.tour { position: relative; isolation: isolate; display: flex; flex-direction: column; }
.tour::before {
  content: "";
  position: absolute; inset: 14% 0 6%; z-index: -1;
  background: radial-gradient(ellipse 65% 60% at 50% 55%, rgba(8, 127, 106, 0.12), transparent 72%);
  pointer-events: none;
}
.tour-tabs {
  display: inline-flex; gap: 4px;
  align-self: center;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-tint);
}
.tour-tabs [role="tab"] {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, box-shadow 0.18s;
}
.tour-tabs [role="tab"] .ico { width: 18px; height: 18px; color: var(--muted); transition: color 0.18s; }
.tour-tabs [role="tab"] b { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tour-tabs [role="tab"]:hover { background: rgba(255, 255, 255, 0.6); }
.tour-tabs [role="tab"][aria-selected="true"] { background: #fff; border-color: var(--border); box-shadow: var(--shadow-card); }
.tour-tabs [role="tab"][aria-selected="true"] .ico { color: var(--green); }
.tour [role="tabpanel"]:focus-visible { outline-offset: -4px; }
.tour [role="tabpanel"]:not([hidden]) { animation: tour-in 0.22s ease-out; }
@keyframes tour-in { from { opacity: 0.35; } to { opacity: 1; } }
.tour-caption {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  margin-top: 14px;
  text-align: center;
}
.tour-caption [data-tour-caption] { font-size: 15px; font-weight: 500; color: var(--ink); }
.tour-note { font-size: 13px; color: var(--muted); }

/* 8. Products ------------------------------------------------------------ */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.product {
  display: flex; flex-direction: column;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.product:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.product-blue { background: linear-gradient(180deg, #fff 0%, var(--blue-tint) 100%); }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.product-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.product-icon .ico { width: 24px; height: 24px; }
.product-green .product-icon { background: var(--green-soft); color: var(--green); }
.product-blue .product-icon { background: var(--blue-soft); color: var(--blue); }
.product-for { font-size: 14px; font-weight: 600; }
.product-green .product-for { color: var(--green); }
.product-blue .product-for { color: var(--blue); }
.product h3 { margin-top: 4px; font-size: clamp(1.5rem, 1.3rem + 0.8vw, 1.875rem); font-weight: 750; letter-spacing: -0.03em; }
.product-desc { margin-top: 8px; color: var(--muted); }
.product-features {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 20px;
  margin: 20px 0 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border-soft);
}
.product-features li { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 500; color: var(--text); }
.product-features .ico {
  width: 20px; height: 20px; padding: 4px;
  border-radius: 50%;
  stroke-width: 3;
  background: var(--green-soft); color: var(--green);
}
.product-foot { margin-top: auto; }
.product-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); text-align: center; }

/* 9. Features — six cards, icon beside the text */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento-card {
  display: flex; flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s, transform 0.2s var(--ease), border-color 0.2s;
}
.bento-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); border-color: var(--brand-line); }
.bento-card h3 { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 1.075rem; font-weight: 650; letter-spacing: -0.01em; }
.bento-card p { margin-top: 6px; font-size: 15px; color: var(--muted); }
.feature-icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: var(--brand-soft);
  color: var(--brand);
}


.pro-tag {
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  background: #fff3d9;
  color: #8a5a00;
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  line-height: 1.4;
}
.features-head { margin-bottom: 28px; }
/* Compact cards: icon beside the text to keep the section short */
.bento-card { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; padding: 18px 20px; }
.bento-card .feature-icon { grid-row: span 2; margin: 0; }
.bento-card p { margin-top: 3px; font-size: 14.5px; line-height: 1.5; }
#features .fine-print { margin-top: 12px; }
.fine-print .pro-tag { margin-right: 6px; vertical-align: 1px; }

/* 10. Steps -------------------------------------------------------------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.steps::before {
  content: "";
  position: absolute; top: 22px; left: 22px; right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--brand-line) 0%, var(--border) 60%, transparent 100%);
}
.step { position: relative; padding-right: 8px; }
.step-num {
  position: relative;
  display: inline-grid; place-items: center;
  width: 44px; height: 44px;
  margin-bottom: 22px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 6px var(--bg-tint);
  font-size: 14px; font-weight: 700; color: var(--brand);
  font-variant-numeric: tabular-nums;
}
.step:first-child .step-num { background: var(--brand-grad); border-color: transparent; color: #fff; }
.step h3 { font-size: 1.2rem; font-weight: 650; letter-spacing: -0.015em; }
.step p { margin-top: 8px; max-width: 320px; color: var(--muted); font-size: 15.5px; }
.step-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.chip {
  padding: 4px 10px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fff;
  font-size: 13px; font-weight: 500; color: var(--text);
}
.chip-green { border-color: var(--green-line); background: var(--green-soft); color: var(--green-dark); }
.chip-blue { border-color: var(--blue-line); background: var(--blue-soft); color: var(--blue-dark); }

/* 11. Showcases ---------------------------------------------------------- */
.showcase-green { background: var(--green-tint); border-block: 1px solid #e0eee9; }
.showcase-blue { background: var(--blue-tint); border-bottom: 1px solid #e3e9f8; }
.showcase-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 56px;
}
.showcase-copy .section-lead { max-width: 30rem; }
.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 28px 0 32px; }
.checklist li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); }
.checklist .ico {
  width: 22px; height: 22px; padding: 4px;
  border-radius: 50%;
  background: var(--green); color: #fff;
  stroke-width: 3;
}
.checklist-blue .ico { background: var(--blue); }
.phones { position: relative; display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 22px; width: 100%; max-width: 420px; margin-left: auto; }
.phone-front { margin-top: 44px; }
.phones figcaption { grid-column: 1 / -1; margin-top: 0; }

/* School Sathi (blue) versions of the live-product parts */
.badge-live-blue { background: var(--blue-soft); color: var(--blue-dark); }
.dot-live-blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(49, 91, 203, 0.18); }
.label-blue { display: inline-flex; align-items: center; gap: 8px; }
.product-features-blue .ico { background: var(--blue-soft); color: var(--blue); }
.facts-blue .fact-icon { background: var(--blue-soft); color: var(--blue); }
.tour-blue::before { background: radial-gradient(ellipse 65% 60% at 50% 55%, rgba(49, 91, 203, 0.13), transparent 72%); }
.tour-blue .tour-tabs [role="tab"][aria-selected="true"] .ico { color: var(--blue); }

/* 12. Ecosystem ---------------------------------------------------------- */
.section-dark {
  background:
    radial-gradient(ellipse 50% 60% at 15% 0%, rgba(1, 108, 242, 0.16), transparent 65%),
    radial-gradient(ellipse 45% 55% at 90% 100%, rgba(3, 173, 120, 0.12), transparent 65%),
    var(--dark);
  color: #b8c6dc;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .section-lead { color: #a8b8d2; }
.eco { max-width: 880px; margin: 0 auto; text-align: center; }
.eco-root {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 20px 8px 8px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: var(--dark-2);
  color: #fff;
  font-size: 16px; font-weight: 600;
}
.eco-root .brand-icon { width: 34px; height: 34px; }
.eco-lines { position: relative; height: 56px; margin: 0 25%; }
.eco-lines::before {
  content: ""; position: absolute; left: 50%; top: 0; height: 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.eco-lines::after {
  content: ""; position: absolute; left: 0; right: 0; top: 28px; bottom: 0;
  border: 1px solid rgba(255, 255, 255, 0.22); border-bottom: 0;
  border-radius: 12px 12px 0 0;
}
.eco-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; text-align: left; }
.eco-card {
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r-lg);
  background: var(--dark-2);
}
.eco-green { box-shadow: inset 0 2px 0 #14a37f; }
.eco-blue { box-shadow: inset 0 2px 0 #6f8fe6; }
.eco-card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 20px; }
.eco-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; color: #fff; }
.eco-green .eco-icon { background: var(--green); }
.eco-blue .eco-icon { background: var(--blue); }
.eco-card h3 { font-size: 1.25rem; font-weight: 700; }
.eco-card p { margin-top: 8px; font-size: 15px; color: #a8b8d2; }
.founders { max-width: 880px; margin: 40px auto 0; text-align: center; }
.founders-made { margin: 0 0 14px; font-size: 14px; color: #a8b8d2; }
.founders-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin: 0; padding: 0; list-style: none; }
.founders-list li { display: flex; flex-direction: column; gap: 2px; min-width: 200px; padding: 14px 22px; border: 1px solid rgba(255, 255, 255, 0.1); border-radius: var(--r-md); background: var(--dark-2); }
.founders-list b { font-size: 16px; color: #fff; }
.founders-list span { font-size: 13px; color: #8fe3c8; }

/* 13. Audience ----------------------------------------------------------- */
.aud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.aud-group {
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: #fff;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.aud-product {
  padding: 14px 24px;
  border-bottom: 1px solid var(--border-soft);
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
}
.aud-green .aud-product { color: var(--green); background: var(--green-tint); }
.aud-blue .aud-product { color: var(--blue); background: var(--blue-tint); }
.aud-product span { font-weight: 600; letter-spacing: 0.02em; text-transform: none; }
.aud-roles { display: grid; grid-template-columns: 1fr 1fr; }
.aud-roles > div { padding: 24px; }
.aud-roles > div + div { border-left: 1px solid var(--border-soft); }
.aud-roles h3 { font-size: 1.1rem; font-weight: 650; letter-spacing: -0.01em; }
.aud-roles p { margin-top: 6px; font-size: 15px; color: var(--muted); }

/* 15. FAQ ---------------------------------------------------------------- */
/* Heading centred on top, questions below */
.faq-grid { max-width: 820px; }
.faq-head { margin-bottom: 32px; }
.faq { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px;
  padding: 18px 4px;
  font-size: 1.05rem; font-weight: 600; color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.15s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--brand); }
.faq-item summary .ico { width: 20px; height: 20px; color: var(--muted); transition: transform 0.22s var(--ease); }
.faq-item[open] summary .ico { transform: rotate(180deg); color: var(--brand); }
.faq-body { padding: 0 40px 22px 4px; color: var(--muted); font-size: 15.5px; }
.faq-item[open] .faq-body { animation: faq-in 0.22s var(--ease); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* 16. Footer ------------------------------------------------------------- */
.site-footer { padding: 48px 0 28px; border-top: 1px solid var(--border); background: var(--bg-tint); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.footer-brand p { margin-top: 16px; max-width: 280px; font-size: 15px; color: var(--muted); }
.footer-col h2 { margin-bottom: 14px; font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.footer-col ul { display: grid; gap: 2px; }
.footer-col a { display: inline-flex; align-items: center; gap: 8px; padding: 5px 0; font-size: 15px; color: var(--text); text-decoration: none; }
.footer-col a:hover { color: var(--brand); text-decoration: none; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 14px; color: var(--muted); }

/* 17. Dialog ------------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(9, 36, 30, 0.45); opacity: 0; transition: opacity 0.2s; }
.modal-card {
  position: relative;
  width: 100%; max-width: 440px;
  padding: 32px;
  border-radius: var(--r-xl);
  background: #fff;
  box-shadow: 0 24px 64px rgba(9, 36, 30, 0.24);
  opacity: 0;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.2s, transform 0.2s var(--ease);
}
.modal-card:focus { outline: none; }
.modal.is-open .modal-backdrop { opacity: 1; }
.modal.is-open .modal-card { opacity: 1; transform: none; }
.modal-x {
  position: absolute; right: 12px; top: 12px;
  display: grid; place-items: center;
  width: 40px; height: 40px;
  border: 0; border-radius: 10px;
  background: transparent; color: var(--muted);
  cursor: pointer;
}
.modal-x:hover { background: var(--bg-tint); color: var(--ink); }
.modal-card h2 { margin-top: 16px; font-size: 1.4rem; font-weight: 700; }
.modal-card > p { margin-top: 8px; color: var(--muted); }
.modal-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; }

/* 18. Motion ------------------------------------------------------------- */
.js .reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.3s ease-out, transform 0.3s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.product-grid .reveal:nth-child(2), .steps .reveal:nth-child(2),
.aud-grid .reveal:nth-child(2) { transition-delay: 0.06s; }
.steps .reveal:nth-child(3) { transition-delay: 0.12s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Short desktop screens (e.g. 1366×768): tighter rhythm so each section fits in one screen */
@media (min-width: 961px) and (max-height: 820px) {
  :root { --section-y: 56px; }
  .section-head, .features-head, .faq-head { margin-bottom: 24px; }
  .faq-item summary { min-height: 52px; padding: 13px 4px; }
  .hero { padding: 40px 0 48px; }
  .bento-card { padding: 16px 18px; }
  .product { padding: 24px; }
  .product-top { margin-bottom: 14px; }
  .product-features { margin: 16px 0 18px; padding-top: 16px; }
}

/* 19. Responsive --------------------------------------------------------- */
@media (max-width: 1140px) {
  :root { --section-y: 68px; }
  .hero-grid { gap: 40px; }
  .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

/* Tablet: collapse nav, stack the two-column layouts */
@media (max-width: 960px) {
  :root { --gutter: 24px; --header-h: 64px; --section-y: 60px; }
  .menu-toggle { display: grid; }
  .header-cta { display: none; }
  .header-inner { justify-content: space-between; }
  .primary-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    margin: 0;
    padding: 8px var(--gutter) 20px;
    border-bottom: 1px solid var(--border);
    background: #fff;
    box-shadow: 0 16px 32px rgba(16, 32, 28, 0.08);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s 0.2s;
  }
  .menu-open .primary-nav { visibility: visible; opacity: 1; transform: none; transition: opacity 0.2s, transform 0.2s var(--ease), visibility 0s; }
  .site-header.menu-open { background: #fff; border-bottom-color: var(--border); }
  .primary-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav li + li { border-top: 1px solid var(--border-soft); }
  .primary-nav a:not(.btn) { padding: 14px 4px; font-size: 16px; border-radius: 0; }
  .primary-nav a:not(.btn):hover { background: transparent; color: var(--brand); }
  .nav-cta-mobile { display: flex; width: 100%; min-height: 48px; margin-top: 12px; }

  .hero { padding: 40px 0 52px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { max-width: 16ch; }
  .hero-media { max-width: 720px; width: 100%; margin-inline: auto; }

  .proof-grid { grid-template-columns: 1fr; gap: 36px; }
  .tour-tabs { display: flex; align-self: stretch; }
  .tour-tabs [role="tab"] { flex: 1; justify-content: center; }

  .section-head-split { grid-template-columns: 1fr; gap: 0; }
  .section-head-split .section-lead { margin-top: 16px; max-width: 560px; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .showcase-grid { grid-template-columns: 1fr; gap: 48px; }
  .showcase-reverse .tour { order: 2; }
  .phones { margin-inline: auto; max-width: 460px; }


}

@media (max-width: 760px) {
  .product-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { top: 22px; bottom: 22px; left: 22px; right: auto; width: 1px; height: auto; background: var(--border); }
  .step { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; padding: 0 0 36px; }
  .step:last-child { padding-bottom: 0; }
  .step-num { grid-row: span 3; margin: 0; }
  .step h3 { padding-top: 9px; }
  .eco-lines { margin: 0 calc(25% - 12px); }
  .aud-grid { grid-template-columns: 1fr; }
}

/* Phones */
@media (max-width: 560px) {
  :root { --gutter: 16px; --section-y: 48px; }
  body { font-size: 15.5px; }
  .brand-icon { width: 34px; height: 34px; }
  .brand-logo { height: 26px; }

  .hero { padding: 28px 0 44px; }
  .hero h1 { letter-spacing: -0.032em; }
  .hero-lead { margin-top: 16px; }
  .hero-actions { flex-direction: column; margin-top: 28px; }
  .hero-actions .btn { width: 100%; }
  .hero-points { gap: 8px 16px; margin-top: 22px; font-size: 13.5px; }
  /* Phones: show the real mobile app instead of a shrunken desktop screenshot */
  .hero-media { padding: 0; }
  .hero-media .laptop { display: none; }
  .hero-phone { position: relative; left: auto; bottom: auto; width: 64%; max-width: 260px; margin: 0 auto; }
  .hero-media figcaption { position: static; margin-top: 14px; text-align: center; }
  .browser-bar { height: 30px; padding: 0 10px; }
  .browser-dots i { width: 8px; height: 8px; }
  .browser-url { font-size: 11px; padding: 2px 8px; }

  .section-head { margin-bottom: 28px; text-align: left; }
  .section-head .section-lead { margin-inline: 0; }
  .section-lead { font-size: 1rem; }

  .proof-copy .btn, .showcase-copy .btn { width: 100%; }
  .facts li { padding: 12px 14px; }
  .proof-actions { flex-direction: column; align-items: stretch; text-align: center; }
  .proof-actions .text-link { justify-content: center; }
  .tour-tabs [role="tab"] { padding: 8px 6px; gap: 6px; }
  .tour-tabs [role="tab"] b { font-size: 13.5px; }
  .tour-caption [data-tour-caption] { font-size: 14.5px; }
  /* Zoom past the app sidebar so the content stays legible */
  .tour [role="tabpanel"] { overflow: hidden; aspect-ratio: 4 / 3; }
  .tour [role="tabpanel"] > img { width: 128%; max-width: none; margin-left: -26%; aspect-ratio: 16 / 10; }
  .tour-blue [role="tabpanel"] > img { margin-left: -22%; }   /* School Sathi's sidebar is narrower: crop less */

  .product { padding: 24px 20px; border-radius: var(--r-lg); }
  .product-top { margin-bottom: 20px; }
  .product-features { grid-template-columns: 1fr; gap: 12px; margin: 22px 0 24px; padding-top: 20px; }

  .bento { grid-template-columns: 1fr; gap: 12px; }
  .bento-card p { margin-top: 4px; }

  .checklist { grid-template-columns: 1fr; gap: 12px; margin: 24px 0 28px; }
  .phones { gap: 14px; }
  .laptop-lid { border-radius: 10px 10px 0 0; }
  .phone-front { margin-top: 36px; }
  .phones figcaption { text-align: left; }

  .eco-lines { display: none; }
  .eco-grid { grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
  .eco-card { padding: 22px; }
  .eco-root { font-size: 15px; }

  .aud-roles { grid-template-columns: 1fr; }
  .aud-roles > div { padding: 20px; }
  .aud-roles > div + div { border-left: 0; border-top: 1px solid var(--border-soft); }
  .aud-product { padding: 12px 20px; }


  .faq-item summary { font-size: 1rem; padding: 16px 0; }
  .faq-body { padding: 0 0 20px; }


  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
  .footer-bottom { margin-top: 36px; }

  .modal { align-items: end; padding: 0; }
  .modal-card { max-width: none; padding: 28px 20px calc(20px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0; }
  .modal-actions { flex-direction: column-reverse; }
  .modal-actions .btn { width: 100%; }
}

@media (max-width: 374px) {
  .hero-points { flex-direction: column; }
}

/* 404 page */
.notfound { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 40px 18px; text-align: center; }
.notfound .brand { margin-bottom: 18px; }
.notfound .notfound-code { font-size: 76px; font-weight: 800; line-height: 1; letter-spacing: -0.04em; background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: 26px; }
.notfound p { color: var(--muted); }
.notfound-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }


/* 20. Legal & contact pages (privacy.html, terms.html, refund.html, contact.html) --- */
.legal-page { background: var(--bg-tint); }
.legal-top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, 0.95); border-bottom: 1px solid var(--border); backdrop-filter: saturate(1.4) blur(8px); }
.legal-top .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.legal-top nav { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap; font-size: 15px; font-weight: 500; }
.legal-top nav a:not(.btn) { color: var(--text); text-decoration: none; }
.legal-top nav a:not(.btn):hover, .legal-top nav a[aria-current="page"] { color: var(--brand); }
.legal-wrap { padding: 40px 0 64px; }
.legal-doc { max-width: 1000px; margin: 0 auto; padding: 44px 48px; background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-card); }
.legal-doc .label { margin-bottom: 8px; }
.legal-doc h1 { font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.legal-updated { margin-top: 8px; font-size: 14px; color: var(--muted); }
.legal-lead { margin-top: 14px; font-size: 16.5px; color: var(--text); }
.legal-doc h2 { margin: 34px 0 10px; font-size: 1.3rem; font-weight: 750; letter-spacing: -0.02em; }
.legal-doc h3 { margin: 22px 0 8px; font-size: 1.05rem; font-weight: 700; }
.legal-doc p, .legal-doc li { color: var(--text); font-size: 15.5px; line-height: 1.7; }
.legal-doc p + p { margin-top: 10px; }
.legal-doc ul { margin: 8px 0 0; padding-left: 20px; list-style: disc; }
.legal-doc li + li { margin-top: 6px; }
.legal-doc li::marker { color: var(--muted); }
.legal-doc a { text-decoration: none; }
.legal-doc code { padding: 0 5px; border: 1px solid var(--border); border-radius: 5px; background: var(--bg-tint); font-size: 13.5px; }
.biz-missing { padding: 0 3px; border-radius: 4px; background: #fff3d6; color: #5c3b00; }

/* "Which product?" jump links + product parts */
.legal-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 22px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-tint); font-size: 14px; color: var(--muted); }
.legal-jump a { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border: 1px solid var(--border); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; text-decoration: none !important; }
.legal-jump a:hover { border-color: var(--brand-line); color: var(--brand); }
.legal-jump .dot { width: 8px; height: 8px; }
.legal-part { margin-top: 40px; padding: 4px 0 4px 22px; border-left: 3px solid var(--brand-line); scroll-margin-top: 84px; }
.legal-part > h2:first-of-type { margin-top: 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.legal-part-green { border-left-color: var(--green); }
.legal-part-blue { border-left-color: var(--blue); }
.legal-part-green .legal-part-blue .legal-summary { margin-top: 18px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-tint); }
.legal-summary b { display: block; margin-bottom: 4px; color: var(--ink); }
.legal-note { margin-top: 30px; padding-top: 18px; border-top: 1px solid var(--border); font-size: 14px !important; color: var(--muted) !important; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 26px; }
.contact-card { display: grid; grid-template-columns: 22px minmax(0, 1fr); column-gap: 12px; row-gap: 4px; align-content: start; padding: 16px; border: 1px solid var(--border); border-radius: var(--r-md); background: var(--bg-tint); }
.contact-card > * { grid-column: 2; }
.contact-card .ico { grid-column: 1; grid-row: 1 / span 2; width: 22px; height: 22px; margin-top: 1px; color: var(--brand); }
.contact-card h2 { margin: 0 !important; font-size: 1rem !important; line-height: 1.4 !important; }
.contact-card p, .contact-card a { margin: 0 !important; font-size: 14.5px !important; line-height: 1.55 !important; overflow-wrap: anywhere; }
.contact-card p[data-biz="hours"] { font-size: 13px !important; color: var(--muted, #667085); }
.contact-card .biz-phones { display: flex; flex-direction: column; gap: 2px; }
.contact-card .biz-phones a { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.contact-card .biz-sep { display: none; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin-top: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.contact-form label em { color: #b42318; font-style: normal; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cdd6e3; border-radius: 10px; background: #fff; font: 400 15px/1.4 var(--font); color: var(--ink); }
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(11, 63, 176, 0.18); }
.contact-form .full { grid-column: 1 / -1; }
.contact-form .hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: 10px 14px; border-radius: 10px; background: #fdecec; color: #8a1f1f; font-size: 14px; }

.legal-bottom { padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #fff; font-size: 14px; color: var(--muted); }
.legal-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.legal-bottom nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-bottom a { color: var(--muted); }
.legal-bottom a:hover, .legal-bottom a[aria-current="page"] { color: var(--brand); }
.legal-bottom .sc-link { color: var(--muted); }

@media (max-width: 760px) {
  .legal-top .hide-sm { display: none; }
  .legal-wrap { padding: 20px 0 40px; }
  .legal-doc { padding: 26px 20px; border-radius: var(--r-lg); }
  .legal-part { padding-left: 14px; }
  .contact-grid, .contact-form { grid-template-columns: 1fr; }
}

/* Hero: both products — School Sathi on the computer, Coaching Sathi on the phone.
   Small screens hide the laptop and show both products' phones side by side. */
.hero-phone-school { display: none; }
/* Phone on the right of the laptop; caption on the left so they do not overlap */
.hero-media { padding: 0 40px 28px 0; }
.hero-phone { left: auto; right: 0; }
.hero-media figcaption { left: 0; right: auto; padding-right: 26%; text-align: left; }
@media (max-width: 560px) {
  .hero-media { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 16px; padding: 0; }
  .hero-media .hero-phone { display: block; position: relative; left: auto; right: auto; bottom: auto; width: 100%; max-width: 210px; margin: 0 auto; }
  .hero-media .hero-phone-school { order: 2; }
  .hero-media figcaption { order: 3; grid-column: 1 / -1; padding-right: 0; text-align: center; }
}

/* ---------- Form controls: dropdowns, date & time pickers — the same clean look in every browser ----------
   Native pickers are kept on purpose (the phone's own calendar / clock: familiar, accessible, no extra script);
   only their look is styled. A tap anywhere on a date / time field opens the picker (see the app script). */
select:not([multiple]):not([size]) {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2718%27%20height%3D%2718%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%235b687d%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 18px 18px;
  padding-right: 36px !important; cursor: pointer; text-overflow: ellipsis; white-space: nowrap;
}
select:not([multiple]):not([size]):hover:not(:disabled):not(:focus) { border-color: var(--brand); }
select::-ms-expand { display: none; }
select:disabled, input:disabled { cursor: not-allowed; opacity: 0.65; }
select option { font-weight: 400; }
input[type="date"], input[type="time"], input[type="month"], input[type="week"], input[type="datetime-local"] {
  cursor: pointer; font-variant-numeric: tabular-nums; min-width: 0; -webkit-appearance: none; appearance: none;
}
input[type="date"]:hover:not(:disabled):not(:focus), input[type="time"]:hover:not(:disabled):not(:focus), input[type="month"]:hover:not(:disabled):not(:focus),
input[type="datetime-local"]:hover:not(:disabled):not(:focus) { border-color: var(--brand); }
input[type="date"]::-webkit-calendar-picker-indicator, input[type="month"]::-webkit-calendar-picker-indicator, input[type="week"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator, input[type="time"]::-webkit-calendar-picker-indicator {
  cursor: pointer; opacity: 1; width: 20px; height: 20px; padding: 3px; margin-left: 6px; border-radius: 6px; color: transparent;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2718%27%20height%3D%2718%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%230b3fb0%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Crect%20x%3D%273%27%20y%3D%274%27%20width%3D%2718%27%20height%3D%2718%27%20rx%3D%273%27%2F%3E%3Cpath%20d%3D%27M16%202v4M8%202v4M3%2010h18%27%2F%3E%3C%2Fsvg%3E") center / 18px 18px no-repeat;
}
input[type="time"]::-webkit-calendar-picker-indicator { background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2718%27%20height%3D%2718%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%230b3fb0%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Ccircle%20cx%3D%2712%27%20cy%3D%2712%27%20r%3D%279%27%2F%3E%3Cpath%20d%3D%27M12%207v5l3%202%27%2F%3E%3C%2Fsvg%3E"); }
input::-webkit-calendar-picker-indicator:hover { background-color: rgba(11, 63, 176, 0.12); }
input[type="date"]::-webkit-datetime-edit, input[type="time"]::-webkit-datetime-edit, input[type="month"]::-webkit-datetime-edit { padding: 0; }
input[type="date"]::-webkit-datetime-edit-fields-wrapper, input[type="time"]::-webkit-datetime-edit-fields-wrapper { padding: 0; }
input[type="date"]::-webkit-datetime-edit-text, input[type="month"]::-webkit-datetime-edit-text { color: #8a94a6; padding: 0 2px; }
input[type="number"] { font-variant-numeric: tabular-nums; }
input[type="checkbox"], input[type="radio"] { accent-color: #0b3fb0; cursor: pointer; }
input[type="file"] { cursor: pointer; }
input[type="file"]::file-selector-button { margin-right: 10px; padding: 7px 12px; border: 1px solid #cfd6e2; border-radius: 8px; background: #f5f7fb; color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
input[type="file"]::file-selector-button:hover { background: rgba(11, 63, 176, 0.12); border-color: #0b3fb0; }

/* ---------- Dropdown list (the open list, not only the box) ----------
   Chrome / Edge 135+ let a <select> be styled completely ("customizable select"): rounded list, shadow, hover, a tick
   on the chosen option. Other browsers keep their own native list (still fully usable). Nothing changes for scripts:
   it is the same <select>, so every value / change handler keeps working. */
@supports (appearance: base-select) {
  select:not([multiple]):not([size]), select:not([multiple]):not([size])::picker(select) { appearance: base-select; }
  select:not([multiple]):not([size]) { background-image: none !important; padding-right: 12px !important; display: flex; align-items: center; gap: 8px; }
  select:not([multiple]):not([size])::picker-icon {
    content: ""; width: 18px; height: 18px; margin-left: auto; flex: none; background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2718%27%20height%3D%2718%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27%235b687d%27%20stroke-width%3D%272%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27m6%209%206%206%206-6%27%2F%3E%3C%2Fsvg%3E") center / 18px 18px no-repeat; transition: rotate 0.18s ease;
  }
  select:not([multiple]):not([size]):open::picker-icon { rotate: 180deg; }
  select:not([multiple]):not([size]):open { border-color: #0b3fb0; box-shadow: 0 0 0 3px #e9f0fc; }
  select::picker(select) {
    border: 1px solid #dde3ec; border-radius: 12px; padding: 6px; margin-block: 6px; background: #fff; color: #1d2436;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16), 0 2px 6px rgba(15, 23, 42, 0.06);
    max-height: min(340px, 60vh); overflow-y: auto; min-width: anchor-size(width);
    opacity: 0; translate: 0 -4px; transition: opacity 0.14s ease, translate 0.14s ease, overlay 0.14s allow-discrete, display 0.14s allow-discrete;
  }
  select:open::picker(select) { opacity: 1; translate: 0 0; }
  @starting-style { select:open::picker(select) { opacity: 0; translate: 0 -4px; } }
  select option {
    display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 8px; font-size: 14px; line-height: 1.35;
    color: #1d2436; cursor: pointer; white-space: normal; transition: background 0.1s;
  }
  select option:hover, select option:focus-visible { background: color-mix(in srgb, #e9f0fc 55%, #fff); color: #08307f; outline: none; }
  select option:checked { background: #e9f0fc; color: #08307f; font-weight: 600; }
  select option::checkmark { order: 1; margin-left: auto; content: "✓"; color: #0b3fb0; font-weight: 700; }
  select option:disabled { opacity: 0.45; cursor: not-allowed; }
  select optgroup { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: #6a7385; padding: 8px 12px 4px; }
}

/* ===================== Product pages (school-management-software, coaching-management-software, hi/…) =====================
   Search-friendly pages with the full feature list, prices and FAQ. .sp-school = School Sathi blue, .sp-coaching = green. */
.sp-school { --acc: var(--blue); --acc-dark: var(--blue-dark); --acc-soft: var(--blue-soft); --acc-tint: var(--blue-tint); --acc-line: var(--blue-line); }
.sp-coaching { --acc: var(--green); --acc-dark: var(--green-dark); --acc-soft: var(--green-soft); --acc-tint: var(--green-tint); --acc-line: var(--green-line); }
.sp-crumbs { padding-top: 18px; font-size: 13.5px; color: var(--muted); }
.sp-crumbs ol { display: flex; flex-wrap: wrap; gap: 4px 8px; list-style: none; margin: 0; padding: 0; }
.sp-crumbs li + li::before { content: "›"; margin-right: 8px; color: #9aa6b8; }
.sp-crumbs a { color: var(--muted); }
.sp-crumbs a:hover { color: var(--acc, var(--brand)); }
.sp-hero { padding: 28px 0 56px; background: linear-gradient(180deg, var(--acc-tint) 0%, #fff 100%); }
.sp-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 48px; align-items: center; }
.sp-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--acc-soft); color: var(--acc-dark); font-size: 13px; font-weight: 700; letter-spacing: 0.01em; }
.sp-hero h1 { margin: 16px 0 0; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.1rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.03em; color: var(--ink); }
.sp-hero h1 span { color: var(--acc); }
.sp-lead { margin-top: 18px; font-size: clamp(1.03rem, 0.98rem + 0.25vw, 1.15rem); color: var(--muted); max-width: 36rem; }
.sp-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn.sp-acc-btn { background: var(--acc); border-color: var(--acc); color: #fff; }
.btn.sp-acc-btn:hover { background: var(--acc-dark); color: #fff; }
.sp-points { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 22px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.sp-points li { display: inline-flex; align-items: center; gap: 8px; }
.sp-points li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); }
.sp-shot { margin: 0; border-radius: var(--r-lg); border: 1px solid var(--border); background: #fff; box-shadow: 0 24px 60px -24px rgba(13, 26, 51, 0.28); overflow: hidden; }
.sp-shot img { display: block; width: 100%; height: auto; }
.sp-shot figcaption { padding: 10px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--border-soft); }
.sp-section { padding: 64px 0; }
.sp-section.tint { background: var(--bg-tint); }
.sp-head { max-width: 760px; margin: 0 0 32px; }
.sp-head.center { margin: 0 auto 36px; text-align: center; }
.sp-head h2 { margin: 0; font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.15rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; color: var(--ink); }
.sp-head p { margin: 12px 0 0; color: var(--muted); font-size: 1.04rem; }
.sp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.sp-card { padding: 22px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); }
.sp-card h3 { margin: 0 0 8px; font-size: 1.08rem; font-weight: 700; color: var(--ink); line-height: 1.3; }
.sp-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.sp-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.sp-list { margin: 18px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.sp-list li { position: relative; padding-left: 30px; color: var(--text); line-height: 1.55; }
.sp-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sp-list b { color: var(--ink); }
.sp-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.sp-plan { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--border); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-card); }
.sp-plan.pop { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc), var(--shadow-card); }
.sp-plan h3 { margin: 0; font-size: 1.1rem; color: var(--ink); }
.sp-plan .sp-tag { margin: 4px 0 0; font-size: 14px; color: var(--muted); }
.sp-price { margin: 16px 0 4px; font-size: 2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.sp-price small { font-size: 0.95rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.sp-plan .sp-list { margin-top: 16px; gap: 9px; font-size: 14.5px; }
.sp-plan .sp-list li::before { width: 18px; height: 18px; background-size: 11px; }
.sp-note { margin-top: 16px; font-size: 14px; color: var(--muted); }
.sp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; counter-reset: sp; list-style: none; margin: 0; padding: 0; }
.sp-steps li { counter-increment: sp; padding: 22px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--border); }
.sp-steps li::before { content: counter(sp); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 50%; background: var(--acc); color: #fff; font-weight: 800; }
.sp-steps h3 { margin: 0 0 6px; font-size: 1.05rem; color: var(--ink); }
.sp-steps p { margin: 0; color: var(--muted); font-size: 15px; }
.sp-faq { max-width: 820px; }
.sp-faq .faq-item summary::after { content: "+"; margin-left: auto; font-size: 22px; font-weight: 500; color: var(--muted); }
.sp-faq .faq-item[open] summary::after { content: "−"; color: var(--acc); }
.sp-cta { padding: 56px 0; background: var(--dark); color: #fff; text-align: center; }
.sp-cta h2 { margin: 0; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); font-weight: 800; letter-spacing: -0.02em; color: #fff; }
.sp-cta p { margin: 12px auto 0; max-width: 600px; color: rgba(255, 255, 255, 0.78); }
.sp-cta .sp-actions { justify-content: center; }
.sp-related { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 18px; font-size: 15px; font-weight: 600; }
.sp-foot { padding: 40px 0 calc(28px + env(safe-area-inset-bottom)); border-top: 1px solid var(--border); background: #fff; font-size: 14.5px; color: var(--muted); }
.sp-foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.sp-foot h2 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink); }
.sp-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sp-foot a { color: var(--muted); }
.sp-foot a:hover { color: var(--brand); }
.sp-foot address { font-style: normal; line-height: 1.65; margin-top: 10px; }
.sp-foot-bottom { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--border-soft); }
@media (max-width: 960px) {
  .sp-hero-grid, .sp-split { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sp-steps { grid-template-columns: minmax(0, 1fr); }
  .sp-foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sp-grid { grid-template-columns: minmax(0, 1fr); }
  .sp-section { padding: 48px 0; }
  .sp-actions .btn { flex: 1 1 100%; }
  .sp-foot-grid { grid-template-columns: minmax(0, 1fr); }
}

/* 20. Dark footers (same navy as the About section) ---------------------- */
.site-footer, .sp-foot, .legal-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(ellipse 50% 70% at 10% 0%, rgba(1, 108, 242, 0.16), transparent 65%),
    radial-gradient(ellipse 40% 60% at 95% 100%, rgba(3, 173, 120, 0.1), transparent 65%),
    var(--dark);
  color: #a8b8d2;
}
.site-footer .brand-logo, .sp-foot .brand-logo { filter: brightness(0) invert(1); }
.footer-brand p, .footer-bottom, .sp-foot address { color: #a8b8d2; }
.footer-col h2, .sp-foot h2 { color: #fff; }
.footer-col a, .sp-foot a, .legal-bottom a, .legal-bottom .sc-link { color: #c6d3e8; }
.footer-col a:hover, .sp-foot a:hover, .legal-bottom a:hover, .legal-bottom a[aria-current="page"] { color: #8fe3c8; }
.footer-bottom, .sp-foot-bottom { border-top-color: rgba(255, 255, 255, 0.1); }
.site-footer a:focus-visible, .sp-foot a:focus-visible, .legal-bottom a:focus-visible { outline: 2px solid #8fe3c8; outline-offset: 2px; }
@media (max-width: 640px) {
  .footer-bottom, .sp-foot-bottom { text-align: center; }
  .legal-bottom .container { flex-direction: column; text-align: center; }
  .legal-bottom nav { justify-content: center; }
}
