/* AptiNest website. Colours follow src/theme/colors.ts. */
@font-face { font-family: Inter; font-weight: 400; font-display: swap; src: url(/aptinest/fonts/Inter-Regular.ttf) format('truetype'); }
@font-face { font-family: Inter; font-weight: 600; font-display: swap; src: url(/aptinest/fonts/Inter-SemiBold.ttf) format('truetype'); }
@font-face { font-family: Inter; font-weight: 700; font-display: swap; src: url(/aptinest/fonts/Inter-Bold.ttf) format('truetype'); }

:root {
  --hero-start: #33507A;
  --hero-end: #1C2A42;
  --primary: #34507E;
  --gold: #F0C674;
  --gold-soft: #F5D48F;
  --on-hero-muted: #D1DCED;
  --bg: #F7F8FA;
  --surface: #FFFFFF;
  --text: #213149;
  --text-2: #505964;
  --border: #E6E9EE;
  --radius: 20px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Sections */
section { padding: 88px 0; scroll-margin-top: 64px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.015em; }
.section-head p { color: var(--text-2); font-size: 18px; margin: 0; }
.kicker { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; font-size: 13px; }

/* Vidya */
.vidya { background: var(--surface); }
.vidya .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.vidya h2 { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.15; margin: 8px 0 16px; }
.vidya p { color: var(--text-2); font-size: 18px; }
.ticks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks li::before { content: ''; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--primary) 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 / 14px no-repeat; }
.ticks b { color: var(--text); }
.vidya figure { margin: 0; }
.vidya figure img { border-radius: var(--radius); box-shadow: 0 24px 60px rgba(31, 57, 96, 0.22); }

/* Features */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; margin-bottom: 16px; }
.card h3 { margin: 0 0 8px; font-size: 19px; }
.card p { margin: 0; color: var(--text-2); }
.t-indigo { background: #EEF1F9; } .t-teal { background: #DDF3EF; } .t-amber { background: #FBF0D9; }
.t-rose { background: #FBE4EA; } .t-violet { background: #EBEAF7; } .t-sky { background: #E0F0FB; }

/* Exams */
.exams { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 860px; margin: 0 auto; padding: 0; list-style: none; }
.exams li { background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 8px 18px; font-weight: 600; }

/* Subjects */
.subjects-head { margin-top: 64px; }
.subjects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.subjects h3 { margin: 0 0 8px; font-size: 19px; }
.subjects p { margin: 0; color: var(--text-2); }

/* Coming soon */
.soon-goal { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 12px; max-width: 760px; margin: 0 auto 32px; padding: 18px 24px; border-radius: var(--radius); background: linear-gradient(135deg, var(--hero-start), var(--hero-end)); color: #fff; text-align: center; }
.soon-goal b { font-size: 22px; color: var(--gold-soft); }
.soon-goal span { color: var(--on-hero-muted); font-size: 17px; }
.soon { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.soon .card { padding: 22px 24px; position: relative; }
.soon .tag { position: absolute; top: 18px; right: 18px; background: #FBF0D9; color: #8A6212; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.soon .tag.new { background: #DDF5E8; color: #1B6B43; }
.soon h3 { margin: 0 0 6px; font-size: 17px; padding-right: 56px; }
.soon p { margin: 0; color: var(--text-2); font-size: 15px; }

/* How it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps li { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--primary); color: #fff; font-size: 18px; margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 19px; }
.steps p { margin: 0; color: var(--text-2); }

/* Trust and FAQ */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust .card { text-align: center; }
.trust .num { font-size: 36px; font-weight: 700; color: var(--primary); }
details { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 18px 22px; margin: 0 auto 12px; max-width: 820px; }
summary { font-weight: 600; cursor: pointer; font-size: 17px; }
details p { color: var(--text-2); margin: 12px 0 0; }

/* CTA + footer */
.cta { text-align: center; }
.cta .box { background: linear-gradient(135deg, var(--hero-start), var(--hero-end)); color: #fff; border-radius: 28px; padding: 56px 24px; }
.cta h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 12px; }
.cta p { color: var(--on-hero-muted); margin: 0 0 28px; font-size: 18px; }
.cta .badges { justify-content: center; margin: 0; }
footer { background: var(--hero-end); color: var(--on-hero-muted); padding: 40px 0; font-size: 15px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
footer a { color: #fff; text-decoration: none; }
footer nav { display: flex; flex-wrap: wrap; gap: 20px; }

/* Document pages (privacy, deletion, support) */
.doc-hero { background: linear-gradient(180deg, var(--hero-start), var(--hero-end)); color: #fff; padding: 56px 0 48px; }
.doc-hero h1 { margin: 0 0 8px; font-size: clamp(30px, 4vw, 44px); }
.doc-hero p { margin: 0; color: var(--on-hero-muted); }
.doc { max-width: 780px; margin: 0 auto; padding: 48px 24px 80px; }
.doc h2 { font-size: 24px; margin: 40px 0 12px; }
.doc table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: 12px; overflow: hidden; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.doc th { background: #EEF1F9; }
.doc .table-scroll { overflow-x: auto; }
.doc ol li, .doc ul li { margin-bottom: 6px; }
.note { background: #FBF0D9; border-left: 4px solid var(--gold); padding: 14px 18px; border-radius: 10px; }

@media (max-width: 900px) {
  .vidya .wrap, .steps { grid-template-columns: 1fr; }
  .grid, .soon { grid-template-columns: 1fr 1fr; }
  .trust { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  section { padding: 64px 0; }
  .grid, .tablet, .subjects, .soon { grid-template-columns: 1fr; }
}
/* Motion and tech polish */
.kicker { display: inline-block; padding: 5px 12px; border-radius: 999px; background: #EEF1F9; }
.card, .steps li { transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.grid .card:hover, .soon .card:hover, .subjects .card:hover, .steps li:hover, .trust .card:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(31, 57, 96, 0.12); border-color: rgba(92, 120, 176, 0.35); }
.card .ic { transition: transform 0.35s; }
.card:hover .ic { transform: rotate(-8deg) scale(1.08); }
.exams li { transition: background 0.2s, color 0.2s, border-color 0.2s; }
.exams li:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.cta .box { position: relative; overflow: hidden; }
.cta .box::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 80% at 90% 10%, rgba(245, 212, 143, 0.25), transparent 70%); }
.cta .box > * { position: relative; }
.rv { opacity: 0; transform: translateY(24px); transition: opacity 0.8s cubic-bezier(.2, .8, .2, 1), transform 0.8s cubic-bezier(.2, .8, .2, 1); }
.rv.in { opacity: 1; transform: none; }




/* ---------- Light tech theme (2026-11) ---------- */
:root {
  --ink: #192F50;
  --grad: linear-gradient(100deg, #26395C 0%, #33507A 45%, #3A6688 100%);
  /* Vidya's name: its own calm steel-blue to muted-teal, so it stands out from the ink (all stops >= 4.5:1 on white). */
  --vidya: linear-gradient(100deg, #2F5F96 0%, #2C6E9B 45%, #1F7A74 100%);
  --glass: rgba(255, 255, 255, 0.72);
}
.shots-sec .kicker { background: #EEF1F9; }

/* Header: frosted white bar */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(251, 252, 254, 0.78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid rgba(31, 57, 96, 0.07); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; }
.brand img.full { width: auto; height: 34px; border-radius: 0; }
.nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav ul a { display: block; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 14px; border-radius: 999px; transition: background 0.2s, color 0.2s; }
.nav ul a:hover { color: var(--primary); background: #EEF1F9; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 999px; transition: transform 0.2s, box-shadow 0.2s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(25, 47, 80, 0.25); }
.nav-cta svg { width: 16px; height: 16px; }

/* Hero: light canvas, grid, colour glows */
.hero { position: relative; overflow: hidden; color: var(--ink); background: #F8FAFC; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(92, 120, 176, 0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(92, 120, 176, 0.07) 1px, transparent 1px); background-size: 44px 44px; -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 78%); mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, #000 25%, transparent 78%); }
.hero .blob { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; opacity: 0.55; animation: drift 14s ease-in-out infinite; }
.hero .b1 { width: 520px; height: 520px; right: -120px; top: -160px; background: #B5C7EE; }
.hero .b2 { width: 420px; height: 420px; right: 18%; bottom: -220px; background: #CFE0F3; animation-delay: -5s; }
.hero .b3 { width: 360px; height: 360px; left: -160px; top: 30%; background: #F3E6C8; animation-delay: -9s; opacity: 0.45; }
.hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--glass); border: 1px solid rgba(92, 120, 176, 0.18); color: var(--primary); padding: 6px 14px 6px 6px; border-radius: 999px; font-weight: 600; font-size: 14px; box-shadow: 0 4px 16px rgba(92, 120, 176, 0.08); }
.eyebrow i { font-style: normal; background: var(--grad); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; letter-spacing: 0.02em; }
p .vname, li .vname { font-weight: 700; }
.hero h1 { font-size: clamp(40px, 5.6vw, 68px); line-height: 1.04; margin: 22px 0 18px; letter-spacing: -0.035em; color: var(--ink); }
.hero h1 em, .vname { font-style: normal; background: var(--vidya); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s ease-in-out infinite; }
.hero p.lead { font-size: 19px; color: var(--text-2); max-width: 33em; margin: 0 0 30px; }
.badges { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.store-btn { display: inline-flex; align-items: center; gap: 10px; background: var(--ink); color: #fff; text-decoration: none; padding: 12px 22px 12px 18px; border-radius: 14px; font-weight: 700; font-size: 17px; transition: transform 0.2s, box-shadow 0.2s; }
.store-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(25, 47, 80, 0.28); }
.store-btn small { display: block; font-weight: 600; font-size: 11px; color: rgba(255, 255, 255, 0.7); line-height: 1.1; letter-spacing: 0.04em; }
.store-btn span { line-height: 1.15; }
.store-btn svg { width: 26px; height: 26px; flex: none; }
.store-btn.ghost { background: var(--glass); color: var(--ink); border: 1px solid rgba(31, 57, 96, 0.14); }
.store-btn.ghost small { color: var(--text-2); }
.facts { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.facts li { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--text-2); background: var(--glass); border: 1px solid rgba(31, 57, 96, 0.08); padding: 6px 12px; border-radius: 999px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1FB57A; box-shadow: 0 0 0 3px rgba(31, 181, 122, 0.18); }

/* Hero visual: two phones + Vidya chat card */
.hero-visual { position: relative; height: 620px; }
.phone { position: absolute; width: 290px; padding: 10px; border-radius: 48px; background: linear-gradient(145deg, #2D3C52, #142339); box-shadow: 0 40px 80px rgba(27, 51, 101, 0.28), 0 0 0 1px rgba(255, 255, 255, 0.08) inset; }
.phone img { display: block; width: 100%; height: auto; border-radius: 38px; }
.phone.front { left: 50%; top: 0; transform: translateX(-38%); z-index: 2; animation: float 7s ease-in-out infinite; }
.phone.back { left: 50%; top: 56px; transform: translateX(-100%) rotate(-7deg) scale(0.86); transform-origin: bottom right; z-index: 1; opacity: 0.95; filter: saturate(0.9); }
.chat { position: absolute; z-index: 3; left: -6px; bottom: 34px; width: 300px; padding: 14px; border-radius: 20px; background: rgba(255, 255, 255, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: 0 24px 60px rgba(27, 51, 101, 0.2); font-size: 13.5px; line-height: 1.45; }
.chat-h { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.chat-h i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: #fff; font-size: 13px; }
.chat-h i.vi { background: none; border-radius: 50%; }
.vmark { display: inline-block; vertical-align: middle; border-radius: 50%; }
/* Vidya's halo: the ring light turns slowly where she is "live" (hero chat header, Vidya section); still elsewhere. */
.chat-h .vm-l, #vidya .vm-l { transform-origin: 50px 50px; transform-box: view-box; animation: vmspin 9s linear infinite; }
@keyframes vmspin { to { transform: rotate(360deg); } }
.chat-h small { margin-left: auto; font-weight: 600; color: #1FB57A; font-size: 12px; display: inline-flex; align-items: center; gap: 5px; }
.chat-h small::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; animation: pulse 1.6s ease-in-out infinite; }
.msg { padding: 8px 11px; border-radius: 14px; margin-top: 6px; }
.msg.q { background: #EEF1F9; color: var(--ink); margin-left: 34px; border-bottom-right-radius: 4px; }
.msg.a { background: #fff; border: 1px solid var(--border); color: var(--text-2); margin-right: 18px; border-bottom-left-radius: 4px; min-height: 64px; }
.msg.a b { color: var(--ink); }
.caret { display: inline-block; width: 2px; height: 1em; background: var(--primary); vertical-align: -2px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.hero-chip { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 9px 13px; border-radius: 14px; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.9); color: var(--ink); font-weight: 600; font-size: 14px; white-space: nowrap; box-shadow: 0 16px 40px rgba(27, 51, 101, 0.16); animation: float 6s ease-in-out infinite; }
.hero-chip i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #EEF1F9; font-size: 14px; }
.hc1 { right: -4px; top: 70px; animation-delay: 1.2s; }
.hc2 { right: 10px; top: 330px; animation-delay: 2.6s; }

/* Numbers band: white glass cards on light */
.stats { padding: 0 0 24px; background: linear-gradient(180deg, #F8FAFC, var(--bg)); }
.stats .wrap { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.stats .wrap > div { background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 22px 10px 20px; text-align: center; box-shadow: 0 6px 20px rgba(31, 57, 96, 0.04); }
.stats b, .stats span { font-size: 32px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats p { margin: 2px 0 0; color: var(--text-2); font-size: 14px; font-weight: 600; }

/* Screens: soft lavender band instead of dark */
.shots-sec { background: linear-gradient(180deg, #F0F3FA 0%, #F7F8FA 100%); }
.shots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 260px); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 24px 24px; max-width: var(--max); margin: 0 auto; }
.shots img { scroll-snap-align: center; border-radius: 22px; box-shadow: 0 18px 40px rgba(27, 51, 101, 0.18); transition: transform 0.35s; }
.shots img:hover { transform: translateY(-8px); }
.tablet { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 48px auto 0; padding: 0 24px; }
.tablet img { border-radius: 22px; box-shadow: 0 18px 40px rgba(27, 51, 101, 0.18); }
.tablet-note { text-align: center; color: var(--text-2); margin: 16px 0 0; }

/* Gradient accents elsewhere */
.section-head h2, .vidya h2, .cta h2 { letter-spacing: -0.025em; }
.trust .num { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps b { background: var(--grad); }
.soon-goal { background: var(--grad); }
.soon-goal b { color: #fff; }
.soon-goal span { color: rgba(255, 255, 255, 0.85); }
.cta .box { background: radial-gradient(60% 120% at 100% 0%, rgba(58, 102, 136, 0.55), transparent 60%), linear-gradient(135deg, #26395C, #33507A 55%, #3A6688); }
.cta .store-btn { background: #fff; color: var(--ink); }
.cta .store-btn small { color: var(--text-2); }
.cta .store-btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.cta .store-btn.ghost small { color: rgba(255, 255, 255, 0.75); }
.doc-hero { background: radial-gradient(50% 120% at 100% 0%, rgba(181, 199, 238, 0.45), transparent 70%), #F2F5FB; color: var(--ink); }
.doc-hero p { color: var(--text-2); }

@keyframes shimmer { 50% { background-position: 100% 0; } }
@keyframes float { 50% { translate: 0 -10px; } }
@keyframes drift { 50% { transform: translate(-40px, 30px) scale(1.08); } }
@keyframes pulse { 50% { opacity: 0.35; } }
@keyframes blink { 50% { opacity: 0; } }

@media (max-width: 1000px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 48px; padding-bottom: 32px; }
  .hero-visual { height: 600px; max-width: 520px; width: 100%; margin: 0 auto; }
  .stats .wrap { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .nav ul { display: none; }
}
@media (max-width: 600px) {
  .hero-visual { height: 520px; }
  .phone { width: 236px; border-radius: 40px; padding: 8px; }
  .phone img { border-radius: 32px; }
  .phone.back { display: none; }
  .phone.front { transform: translateX(-50%); }
  .chat { width: 250px; left: 0; bottom: 12px; font-size: 12.5px; }
  .hero-chip { font-size: 12px; padding: 7px 10px; }
  .hc1 { right: 0; top: 40px; } .hc2 { display: none; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stats b, .stats span { font-size: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .blob, .hero h1 em, .vname, .hero-chip, .phone.front, .caret, .chat-h small::before, .vm-l { animation: none; }
  .rv { opacity: 1; transform: none; }
}
/* Vidya section: real iPad capture in a light frame with glow */
.vidya figure { position: relative; }
.vidya figure::before { content: ""; position: absolute; inset: 8% -6% -4% 8%; border-radius: 40px; background: var(--grad); filter: blur(60px); opacity: 0.35; }
.tab-frame { position: relative; padding: 12px; border-radius: 34px; background: linear-gradient(145deg, #2D3C52, #142339); box-shadow: 0 30px 70px rgba(27, 51, 101, 0.25); }
.vidya figure .tab-frame img { border-radius: 24px; box-shadow: none; }

/* Chat topic tag */
.chat-tag { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--primary); background: #EEF1F9; padding: 2px 9px; border-radius: 999px; }
.msg.q { transition: opacity 0.3s; }

/* Tracks: one card per learner goal, each with an app-style mock */
.tracks { padding-top: 72px; }
.track-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.track { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; padding: 16px 16px 24px; transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s; }
.track:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(31, 57, 96, 0.12); border-color: rgba(92, 120, 176, 0.3); }
.track h3 { margin: 20px 8px 6px; font-size: 20px; letter-spacing: -0.01em; }
.track > p { margin: 0 8px 14px; color: var(--text-2); font-size: 15.5px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0 8px; padding: 0; }
.chips li { font-size: 12.5px; font-weight: 600; color: var(--primary); background: #F2F5FB; border: 1px solid #E5EAF5; padding: 3px 10px; border-radius: 999px; }
.mock { border-radius: 18px; padding: 16px; height: 232px; overflow: hidden; font-size: 13px; position: relative; }
/* exam mock */
.mock-exam { background: linear-gradient(160deg, #F5F7FC, #ECEFF8); border: 1px solid #E5EAF5; }
.mx-top { display: flex; justify-content: space-between; font-weight: 700; color: var(--ink); font-size: 12px; }
.mx-timer { color: #B4501A; background: #FDEEE3; padding: 1px 8px; border-radius: 999px; }
.mx-q { margin: 10px 0 8px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.mx-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; }
.mx-opts li { background: #fff; border: 1px solid var(--border); border-radius: 9px; padding: 4px 10px; color: var(--text-2); font-size: 12.5px; }
.mx-opts li.ok { border-color: #1FB57A; background: #E7F8F0; color: #0E7A50; font-weight: 700; }
.mx-pal { display: flex; gap: 5px; margin-top: 10px; }
.mx-pal i { width: 16px; height: 16px; border-radius: 5px; background: #fff; border: 1px solid var(--border); }
.mx-pal i.d { background: #1FB57A; border-color: #1FB57A; } .mx-pal i.r { background: #F0A33A; border-color: #F0A33A; } .mx-pal i.c { background: var(--primary); border-color: var(--primary); }
/* code mock */
.mock-code { background: #192F4B; color: #DBE4EF; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.mc-bar { display: flex; align-items: center; gap: 6px; font-family: Inter, system-ui, sans-serif; font-size: 11.5px; color: #99A9BD; margin-bottom: 10px; }
.mc-bar i { width: 9px; height: 9px; border-radius: 50%; background: #FF5F57; } .mc-bar i + i { background: #FEBC2E; } .mc-bar i + i + i { background: #28C840; }
.mc-bar span { margin-left: 6px; }
.mock-code pre { margin: 0; padding: 0; border: 0; background: none; color: inherit; max-width: 100%; font-size: 12.5px; line-height: 1.65; white-space: pre; overflow: hidden; }
.mock-code code { font: inherit; background: none; padding: 0; color: inherit; }
.mock-code .k { color: #B0A3D9; } .mock-code .n { color: #F78C6C; } .mock-code .s { color: #C3E88D; }
.mc-out { position: absolute; left: 12px; right: 12px; bottom: 12px; display: grid; gap: 2px; padding: 8px 12px; border-radius: 10px; background: rgba(31, 181, 122, 0.12); border: 1px solid rgba(31, 181, 122, 0.35); font-family: Inter, system-ui, sans-serif; font-size: 12px; color: #B3C4D6; }
.mc-out .ok { color: #4BE0A0; font-weight: 700; font-family: ui-monospace, Menlo, monospace; }
/* AI mock */
.mock-ai { background: radial-gradient(80% 90% at 100% 0%, rgba(58, 102, 136, 0.16), transparent 60%), linear-gradient(160deg, #F4F6FB, #EAF0F8); border: 1px solid #E1EBF2; }
.ma-h { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.ma-ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: var(--grad); color: #fff; font-size: 13px; }
.ma-pill { margin-left: auto; font-size: 11px; font-weight: 700; color: #0E7490; background: #DDF4FA; padding: 2px 9px; border-radius: 999px; }
.ma-flow { display: flex; align-items: center; gap: 4px; margin: 14px 0 10px; flex-wrap: wrap; }
.ma-flow span { background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px 8px; font-size: 11.5px; font-weight: 600; color: var(--ink); }
.ma-flow span.hl { background: var(--grad); color: #fff; border-color: transparent; }
.ma-flow em { font-style: normal; color: #99A9BD; font-size: 12px; }
.ma-t { margin: 0 0 12px; color: var(--text-2); line-height: 1.45; font-size: 12.5px; }
.ma-t b { color: var(--ink); }
.ma-bar { height: 7px; border-radius: 99px; background: rgba(92, 120, 176, 0.12); overflow: hidden; }
.ma-bar span { display: block; height: 100%; border-radius: 99px; background: var(--grad); }
.ma-s { display: block; margin-top: 6px; color: var(--text-2); font-size: 11.5px; }
@media (max-width: 1000px) { .track-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .track-grid { grid-template-columns: minmax(0, 1fr); } }

/* Made-for row */
.made-for { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; list-style: none; margin: -16px auto 36px; padding: 0; max-width: 940px; }
.made-for li { display: inline-flex; align-items: center; gap: 8px; background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 7px 14px 7px 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); box-shadow: 0 4px 14px rgba(31, 57, 96, 0.04); }
.made-for i { font-style: normal; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #F2F5FB; font-size: 13px; }

/* Goals grouped */
.goals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.goal { background: var(--surface); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.goal h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; }
.goal h3 i { font-style: normal; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #F2F5FB; font-size: 17px; }
.goal .exams { justify-content: flex-start; gap: 8px; max-width: none; }
.goal .exams li { font-size: 14px; padding: 6px 12px; background: #F9FAFC; }
@media (max-width: 900px) { .goals { grid-template-columns: minmax(0, 1fr); } }

/* CTA: question of the day */
.cta { text-align: left; }
.cta .box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding: 52px; border-radius: 32px; }
.cta .box::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px); background-size: 40px 40px; -webkit-mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 80% at 30% 50%, #000 20%, transparent 75%); }
.cta-kicker { display: inline-block; font-weight: 700; font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: #FFE2A8; background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.2); padding: 5px 12px; border-radius: 999px; }
.cta h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; margin: 16px 0 12px; }
.cta .cta-copy > p { color: rgba(255, 255, 255, 0.82); margin: 0 0 18px; font-size: 17px; }
.cta-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 8px; }
.cta-points li { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: 15.5px; }
.cta-points li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(75, 224, 160, 0.2); color: #4BE0A0; font-size: 12px; font-weight: 700; }
.cta .badges { justify-content: flex-start; }
.qd { background: #fff; color: var(--ink); border-radius: 24px; padding: 20px; box-shadow: 0 30px 70px rgba(14, 35, 78, 0.4); text-align: left; }
.qd-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: none; }
.qd-tabs::-webkit-scrollbar { display: none; }
.qd button { font: inherit; text-transform: none; letter-spacing: normal; line-height: 1.3; cursor: pointer; box-shadow: none; }
.qd .qd-tab { flex: none; background: #F2F5FB; color: var(--primary); border: 1px solid transparent; border-radius: 999px; padding: 6px 13px; font-size: 13px; font-weight: 700; }
.qd .qd-tab:hover { border-color: rgba(92, 120, 176, 0.35); background: #F2F5FB; color: var(--primary); }
.qd .qd-tab.on { background: var(--grad); color: #fff; }
.qd .qd-q { color: var(--ink); font-size: 17.5px; font-weight: 700; line-height: 1.4; margin: 0 0 14px; min-height: 2.8em; }
.qd-opts { display: grid; gap: 8px; }
.qd .qd-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; background: #F9FAFC; color: var(--ink); border: 1.5px solid var(--border); border-radius: 14px; padding: 10px 12px; font-size: 15px; font-weight: 600; transition: border-color 0.2s, background 0.2s, transform 0.2s; }
.qd .qd-opt b { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: #fff; border: 1px solid var(--border); color: var(--text-2); font-size: 13px; }
.qd .qd-opt:hover { border-color: var(--primary); background: #F5F7FC; color: var(--ink); transform: translateX(3px); }
.qd.done .qd-opt { cursor: default; transform: none; }
.qd .qd-opt.right { border-color: #1FB57A; background: #E7F8F0; color: #0E7A50; }
.qd .qd-opt.right b { background: #1FB57A; border-color: #1FB57A; color: #fff; }
.qd .qd-opt.wrong { border-color: #E5484D; background: #FDECEC; color: #B4232A; }
.qd .qd-opt.wrong b { background: #E5484D; border-color: #E5484D; color: #fff; }
.qd-ex { margin-top: 12px; padding: 12px 14px; border-radius: 14px; font-size: 14.5px; line-height: 1.5; color: var(--text-2); animation: pop 0.35s ease; }
.qd-ex.ok { background: #E7F8F0; } .qd-ex.no { background: #FFF4E5; }
.qd-ex.ok b { color: #0E7A50; } .qd-ex.no b { color: #B4501A; }
.qd-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; color: var(--text-2); font-weight: 600; }
.qd .qd-next { background: var(--ink); color: #fff; border: 0; border-radius: 999px; padding: 8px 14px; font-size: 13.5px; font-weight: 700; }
.qd .qd-next:hover { background: var(--primary); color: #fff; }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
@media (max-width: 900px) { .cta .box { grid-template-columns: minmax(0, 1fr); padding: 32px 22px; gap: 28px; } }
@media (max-width: 480px) { .qd-foot span { display: none; } .qd-foot { justify-content: flex-end; } }

/* Vidya section: two phones side by side */
.vidya figure.duo { display: flex; justify-content: center; align-items: flex-start; gap: 22px; padding: 8px 0 40px; }
.dphone { position: relative; width: min(46%, 270px); padding: 9px; border-radius: 44px; background: linear-gradient(145deg, #2D3C52, #142339); box-shadow: 0 30px 70px rgba(27, 51, 101, 0.25); }
.vidya figure .dphone img { display: block; width: 100%; height: auto; border-radius: 35px; box-shadow: none; }
.dphone.second { margin-top: 48px; }
@media (max-width: 560px) { .dphone { border-radius: 34px; padding: 7px; } .vidya figure .dphone img { border-radius: 27px; } .dphone.second { margin-top: 28px; } }

/* "I'm a…" picker */
.who { max-width: 860px; margin: 0 auto 36px; }
.who-tabs { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.who-lbl { font-weight: 700; color: var(--text-2); margin-right: 4px; }
.who-tabs button { font: inherit; font-size: 15px; font-weight: 600; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s; }
.who-tabs button:hover { transform: translateY(-1px); border-color: rgba(92, 120, 176, 0.4); }
.who-tabs button[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.who-panel { margin-top: 16px; padding: 20px 24px; border-radius: 20px; background: #17263C; color: #ECF2FA; box-shadow: 0 24px 50px rgba(31, 57, 96, 0.18); }
.who-cmd { font: 13px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #8DE1B7; }
.who-panel h3 { margin: 6px 0 10px; font-size: 21px; color: #fff; }
.who-panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.who-panel li { position: relative; padding-left: 22px; color: #D1DCED; font-size: 15.5px; }
.who-panel li::before { content: "›"; position: absolute; left: 4px; color: #F5D48F; font-weight: 700; }
.track { transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s, opacity 0.3s; }
/* The track the visitor picked stands out (outline, lift, "Best for you" tag), only after they pick it; the others stay fully readable, never faded. */
.track { position: relative; display: flex; flex-direction: column; }
.track-grid.picked .track.on { border-color: #2F5F96; box-shadow: 0 0 0 1px #2F5F96, 0 24px 50px rgba(31, 57, 96, 0.14); transform: translateY(-4px); }
.track-grid.picked .track.on::before { content: "✓ Best for you"; position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 2; padding: 3px 12px; border-radius: 999px; background: #2F5F96; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: 0.02em; }

/* What's new as a terminal */
.term { max-width: 900px; margin: 0 auto; border-radius: 18px; overflow: hidden; background: #17263C; box-shadow: 0 30px 70px rgba(31, 57, 96, 0.25); font: 14px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #D1DCED; }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: #293B57; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.term-bar i:nth-child(2) { background: #FEBC2E; } .term-bar i:nth-child(3) { background: #28C840; }
.term-bar span { margin-left: 8px; font-size: 12px; color: #94A2B6; }
.term-body { padding: 18px 22px 22px; }
.term-cmd, .term-next { margin: 0; color: #fff; }
.term .pr { color: #8DE1B7; margin-right: 8px; }
.term-list { list-style: none; margin: 12px 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 28px; }
.term-list li { display: flex; gap: 10px; min-width: 0; }
.term-list b { color: #28C840; }
.term-list .k { color: #F5D48F; flex: 0 0 9.5em; }
.term-list .d { color: #D1DCED; min-width: 0; }
.term-next { color: #94A2B6; margin-top: 4px; }
.caret2 { display: inline-block; width: 8px; height: 1.1em; margin-left: 6px; vertical-align: text-bottom; background: #8DE1B7; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 760px) { .term-list { grid-template-columns: 1fr; } .term-list li { flex-direction: column; gap: 0; padding-left: 18px; position: relative; } .term-list b { position: absolute; left: 0; } .term-list .k { flex: none; } .term { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { .caret2 { animation: none; } }

/* ---------- Final UI refresh (2026-11-05): tile tints, number band, spotlights, "Everything" cards ---------- */
.tint-steel { --tb: #E2EAF7; --tf: #34507E; }
.tint-teal { --tb: #D9F0EB; --tf: #1F6B63; }
.tint-sand { --tb: #FAEDD5; --tf: #7D5512; }
.tint-rose { --tb: #F8E1E7; --tf: #9A3F5A; }
.tint-sky { --tb: #DCEDFA; --tf: #22618F; }
.tint-sage { --tb: #DDF0E2; --tf: #2F6B45; }
.tint-lavender { --tb: #ECE5FA; --tf: #5B4A99; }

/* Number band: steel gradient with a soft dot texture fading from the top right */
.stats { position: relative; overflow: hidden; padding: 40px 0 44px; background: var(--grad); }
.stats::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.4; background-image: radial-gradient(rgba(255, 255, 255, 0.55) 1.5px, transparent 2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 130% at 100% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 130% at 100% 0%, #000 0%, transparent 70%); }
.stats .wrap { position: relative; }
.stats .wrap > div { background: rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.2); box-shadow: none; transition: transform 0.3s, background 0.3s; }
.stats .wrap > div:hover { transform: translateY(-4px); background: rgba(255, 255, 255, 0.16); }
.stats b { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #fff; }
.stats span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gold); }
.stats p { color: var(--on-hero-muted); }

/* Spotlight rows: text on one side, two phones on a tinted, textured panel on the other */
.sp { position: relative; padding: 72px 0; }
.sp .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.sp.rev .sp-vis { order: -1; }
.sp-text .kicker { background: var(--tb); color: var(--tf); }
.sp-text h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 14px 0 12px; letter-spacing: -0.02em; }
.sp-text p { color: var(--text-2); font-size: 18px; margin: 0 0 18px; }
.sp-ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.sp-ticks li { position: relative; padding-left: 34px; color: var(--text-2); }
.sp-ticks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--tb); color: var(--tf); font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.sp-ticks b { color: var(--text); }
.sp-link { font-weight: 700; text-decoration: none; color: var(--tf); border-bottom: 2px solid var(--tb); transition: border-color 0.2s; }
.sp-link:hover { border-color: var(--tf); }
.sp-vis { position: relative; margin: 0; height: 540px; overflow: hidden; border-radius: 32px; background: var(--tb); display: flex; justify-content: center; align-items: flex-start; gap: 20px; padding: 40px 20px 0; }
.sp-vis::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.3; -webkit-mask-image: radial-gradient(ellipse 80% 90% at 100% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 80% 90% at 100% 0%, #000 0%, transparent 72%); }
.sp.rev .sp-vis::before { -webkit-mask-image: radial-gradient(ellipse 80% 90% at 0% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 80% 90% at 0% 0%, #000 0%, transparent 72%); }
.tx-dots::before { background-image: radial-gradient(var(--tf) 1.6px, transparent 2.2px); background-size: 24px 24px; }
.tx-grid::before { background-image: linear-gradient(var(--tf) 1px, transparent 1px), linear-gradient(90deg, var(--tf) 1px, transparent 1px); background-size: 36px 36px; opacity: 0.16; }
.tx-plus::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='34' height='34'%3E%3Cpath d='M17 12v10M12 17h10' stroke='%235B4A99' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 34px 34px; opacity: 0.35; }
.sp-phone { position: relative; width: min(46%, 250px); flex: none; padding: 8px; border-radius: 38px; background: linear-gradient(145deg, #2D3C52, #142339); box-shadow: 0 28px 56px rgba(27, 51, 101, 0.28); transition: transform 0.35s, box-shadow 0.35s; }
.sp-phone.b { margin-top: 56px; }
.sp-phone img { width: 100%; height: auto; border-radius: 30px; }
.sp-phone:hover { transform: translateY(-8px); box-shadow: 0 36px 66px rgba(27, 51, 101, 0.34); }
@media (max-width: 900px) {
  .sp .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .sp.rev .sp-vis { order: 0; }
}
@media (max-width: 560px) {
  .sp { padding: 48px 0; }
  .sp-vis { height: 430px; gap: 12px; padding: 28px 12px 0; border-radius: 26px; }
  .sp-phone { padding: 6px; border-radius: 28px; width: 46%; }
  .sp-phone img { border-radius: 22px; }
  .sp-phone.b { margin-top: 36px; }
}

/* "Everything in AptiNest": one tinted card per feature group */
.all { background: linear-gradient(180deg, var(--bg), #EEF2F9); }
.fx-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; list-style: none; margin: -20px 0 32px; padding: 0; color: var(--text-2); font-size: 14px; }
.fx-legend li { display: flex; align-items: center; gap: 8px; }
.fx-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.fx-card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: 24px; transition: transform 0.3s, box-shadow 0.3s; }
.fx-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(31, 57, 96, 0.12); }
.fx-head { position: relative; display: flex; gap: 14px; align-items: center; padding: 22px 24px 18px; background: var(--tb); color: var(--tf); overflow: hidden; }
.fx-head::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.22; background-image: radial-gradient(var(--tf) 1.4px, transparent 2px); background-size: 20px 20px; -webkit-mask-image: radial-gradient(ellipse 60% 140% at 100% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 60% 140% at 100% 0%, #000 0%, transparent 70%); }
.fx-gic { position: relative; z-index: 1; flex: none; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, 0.72); display: grid; place-items: center; font-size: 24px; }
.fx-head div { position: relative; z-index: 1; min-width: 0; }
.fx-head h3 { margin: 0; font-size: 20px; color: var(--tf); }
.fx-head p { margin: 2px 0 0; font-size: 14px; color: var(--tf); }
.fx-list { list-style: none; margin: 0; padding: 8px 12px 12px; }
.fx-list li { display: flex; gap: 12px; align-items: flex-start; padding: 11px 12px; border-radius: 14px; transition: background 0.2s; }
.fx-list li:hover { background: #F4F7FB; }
.fx-ic { flex: none; width: 36px; height: 36px; border-radius: 11px; background: var(--tb); display: grid; place-items: center; font-size: 18px; transition: transform 0.3s; }
.fx-list li:hover .fx-ic { transform: rotate(-8deg) scale(1.08); }
.fx-tx { display: block; min-width: 0; }
.fx-ttl { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: center; font-weight: 700; font-size: 15.5px; color: var(--text); }
.fx-sub { display: block; margin-top: 2px; font-size: 14.5px; line-height: 1.45; color: var(--text-2); }
.fx-tag { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.fx-tag.free { background: #D9F0EB; color: #1F6B63; }
.fx-tag.signin { background: #E2EAF7; color: #34507E; }
.fx-tag.plus { background: #FAEDD5; color: #7D5512; }
.fx-more { text-align: center; margin: 32px 0 0; }
/* Compact group tiles on the home page (the full list is on /features). */
.fx-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fx-tile { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 20px; background: var(--tb); color: var(--tf); text-decoration: none; overflow: hidden; transition: transform 0.25s, box-shadow 0.25s; }
.fx-tile::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.18; background-image: radial-gradient(var(--tf) 1.4px, transparent 2px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 0%, transparent 70%); mask-image: radial-gradient(ellipse 70% 90% at 100% 0%, #000 0%, transparent 70%); }
.fx-tile:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(31, 57, 96, 0.12); }
.fx-tile .fx-gic { margin-bottom: 6px; }
.fx-tile h3 { margin: 0; font-size: 17px; color: var(--tf); }
.fx-tile p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--tf); opacity: 0.9; }
.fx-count { margin-top: auto; padding-top: 8px; font-size: 13px; font-weight: 600; color: var(--tf); }
@media (max-width: 960px) { .fx-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .fx-tiles { gap: 12px; } .fx-tile { padding: 16px; } }
@media (max-width: 760px) { .fx-grid { grid-template-columns: minmax(0, 1fr); } .fx-legend { margin-top: -28px; } }
@media (prefers-reduced-motion: reduce) {
  .sp-phone, .fx-card, .fx-ic, .stats .wrap > div { transition: none; }
  .sp-phone:hover, .fx-card:hover, .fx-list li:hover .fx-ic, .stats .wrap > div:hover { transform: none; }
}

/* "Learn like a game": a small animated board (quests tick off, perfect day, XP bar fills). Calm colours only. */
.play-vis { align-items: center; height: auto; min-height: 540px; padding: 32px 24px; }
.pb { position: relative; z-index: 1; width: min(100%, 400px); display: grid; gap: 14px; }
.pb-top { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pb-streak, .pb-league, .pb-card, .pb-vidya { background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: 0 14px 30px rgba(31, 57, 96, 0.10); }
.pb-streak, .pb-league { padding: 16px; display: grid; gap: 2px; }
.pb-streak b, .pb-league b { font-size: 22px; color: var(--ink); line-height: 1.1; }
.pb-league b { font-size: 17px; }
.pb-streak small, .pb-league small, .pb-head small { color: var(--text-2); font-size: 13px; }
.pb-fire, .pb-medal { font-size: 24px; display: inline-block; animation: bob 3s ease-in-out infinite; }
.pb-medal { animation-delay: 1.2s; }
.pb-card { padding: 16px 18px; }
.pb-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.pb-head b { color: var(--ink); }
.pb-quests { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 8px; }
.pb-quests li { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--text); }
.pb-quests li span:nth-child(2) { flex: 1; }
.pb-quests em { font-style: normal; font-size: 12px; color: var(--text-2); background: #EEF2F8; padding: 2px 8px; border-radius: 999px; }
.tick { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--border); position: relative; flex: none; }
.tick::after { content: "✓"; position: absolute; inset: -2px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; color: #fff; background: #13774A; transform: scale(0); }
.q1 .tick::after { animation: tick 9s infinite; animation-delay: 0s; }
.q2 .tick::after { animation: tick 9s infinite; animation-delay: 1.4s; }
.q3 .tick::after { animation: tick3 9s infinite; animation-delay: 2.8s; }
.pb-perfect { margin: 10px 0 0; font-weight: 700; color: #8F5E05; opacity: 0; animation: perfect 9s infinite; animation-delay: 2.8s; }
.pb-bar { margin-top: 10px; height: 10px; border-radius: 999px; background: #EEF2F8; overflow: hidden; }
.pb-bar span { display: block; height: 100%; width: 28%; border-radius: inherit; background: linear-gradient(90deg, #C98A0B, #F2B01E); animation: xp 9s ease-in-out infinite; }
.pb-vidya { padding: 12px 16px; font-size: 14px; color: var(--text); }
.pb-vidya span { color: #2F5F96; font-weight: 700; }
.pb-vs { padding-bottom: 12px; }
.vs-row { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.vs-p { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); }
.av { font-style: normal; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 700; background: #E2EAF7; color: #34507E; }
.av.b { background: #D9F0EB; color: #1F6B63; }
.sc { position: relative; display: inline-block; width: 1.1em; height: 1.3em; overflow: hidden; font-size: 22px; color: var(--ink); text-align: center; }
.sc span { position: absolute; inset: 0; }
.sc span + span { opacity: 0; }
.sc-you span:first-child { animation: scoreOut 9s infinite; animation-delay: 4.2s; }
.sc-you span + span { animation: scoreIn 9s infinite; animation-delay: 4.2s; }
.vs-mid { font-size: 12px; font-weight: 800; letter-spacing: 0.08em; color: #9A3F5A; background: #F8E1E7; padding: 4px 8px; border-radius: 999px; }
.vs-win { margin: 8px 0 0; font-weight: 700; color: #13774A; opacity: 0; animation: perfect 9s infinite; animation-delay: 4.4s; }
@keyframes scoreOut { 0%, 2% { opacity: 1; transform: none; } 6%, 50% { opacity: 0; transform: translateY(-100%); } 56%, 100% { opacity: 1; transform: none; } }
@keyframes scoreIn { 0%, 2% { opacity: 0; transform: translateY(100%); } 6%, 50% { opacity: 1; transform: none; } 56%, 100% { opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-4px) rotate(-6deg); } }
@keyframes tick { 0%, 4% { transform: scale(0); } 8%, 92% { transform: scale(1); } 100% { transform: scale(0); } }
@keyframes tick3 { 0%, 4% { transform: scale(0); } 8%, 61% { transform: scale(1); } 66%, 100% { transform: scale(0); } }
@keyframes perfect { 0%, 6% { opacity: 0; transform: translateY(4px); } 10%, 58% { opacity: 1; transform: none; } 64%, 100% { opacity: 0; } }
@keyframes xp { 0%, 30% { width: 28%; } 55%, 85% { width: 72%; } 100% { width: 28%; } }
@media (prefers-reduced-motion: reduce) {
  .pb-fire, .pb-medal, .pb-bar span, .pb-perfect, .tick::after, .sc span, .vs-win { animation: none; }
  .sc-you span:first-child { opacity: 0; }
  .sc-you span + span, .vs-win { opacity: 1; }
  .tick::after, .pb-perfect { transform: none; opacity: 1; }
}
@media (max-width: 480px) { .pb-top { gap: 10px; } .pb-streak b { font-size: 20px; } }

/* "Learn from people who've been there": three short cards. */
.mentors { padding: 24px 0 72px; }
.mt-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.mt-card { position: relative; padding: 24px; border-radius: 22px; background: var(--surface); border: 1px solid var(--border); transition: transform 0.25s, box-shadow 0.25s; }
.mt-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(31, 57, 96, 0.10); }
.mt-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 24px; background: var(--tb); margin-bottom: 14px; }
.mt-card h3 { margin: 0 0 6px; font-size: 18px; color: var(--ink); }
.mt-card p { margin: 0; color: var(--text-2); font-size: 15px; line-height: 1.55; }
@media (max-width: 900px) { .mt-grid { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .mt-card { transition: none; } }

/* "What's free" list under the trust numbers. */
.free-list { list-style: none; margin: 28px auto 0; padding: 0; max-width: 880px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px 18px; }
.free-list li { position: relative; padding-left: 28px; color: var(--text); font-size: 15px; }
.free-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: #D9F0EB; color: #1F6B63; }
.free-note { text-align: center; color: var(--text-2); font-size: 14px; margin: 18px 0 0; }
@media (max-width: 900px) { .free-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .free-list { grid-template-columns: minmax(0, 1fr); } }
/* Sticky "Get the app" bar on phones, after the hero and until the final call to action. */
.getbar { display: none; }
@media (max-width: 760px) {
  .getbar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 50; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 16px; border-radius: 18px; background: rgba(25, 47, 80, 0.96); color: #fff; box-shadow: 0 14px 34px rgba(12, 16, 48, 0.28); transform: translateY(140%); transition: transform 0.3s ease; }
  .getbar.on { transform: none; }
  .gb-t { flex: 1; display: grid; line-height: 1.2; }
  .gb-t b { font-size: 15px; }
  .gb-t small { font-size: 12px; opacity: 0.85; }
  .gb-btn { flex: none; padding: 10px 16px; border-radius: 12px; background: #fff; color: #192F50; font-weight: 700; font-size: 14px; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) { .getbar { transition: none; } }

/* "Get the app" on desktop (and iOS until the App Store link exists): the store buttons glow once. */
.badges.flash { animation: flash 1.6s ease-out; border-radius: 16px; }
@keyframes flash { 0%, 40% { box-shadow: 0 0 0 6px rgba(47, 95, 150, 0.28); } 100% { box-shadow: 0 0 0 0 rgba(47, 95, 150, 0); } }
@media (prefers-reduced-motion: reduce) { .badges.flash { animation: none; outline: 3px solid rgba(47, 95, 150, 0.4); outline-offset: 4px; } }

/* Feature tiles open their group in place: the panel spans the whole row under the tapped tile. */
.fx-tile[aria-expanded="true"] { box-shadow: 0 0 0 2px var(--tf) inset; }
.fx-panel { grid-column: 1 / -1; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; padding: 8px; box-shadow: 0 14px 30px rgba(31, 57, 96, 0.08); animation: fxOpen 0.25s ease-out; }
.fx-panel .fx-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px 12px; padding: 4px; }
@media (max-width: 760px) { .fx-panel .fx-list { grid-template-columns: minmax(0, 1fr); } }
@keyframes fxOpen { from { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .fx-panel { animation: none; } .fx-btn i { transition: none; } }

/* Tiles look tappable: a button-style "Show tools" at the bottom, pointer cursor, hover lift. */
.fx-tile { cursor: pointer; }
.fx-foot { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.fx-foot .fx-count { margin: 0; padding: 0; }
.fx-btn { display: inline-flex; align-items: center; gap: 4px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.8); border: 1px solid rgba(255, 255, 255, 0.95); color: var(--tf); font-size: 13px; box-shadow: 0 2px 6px rgba(31, 57, 96, 0.08); transition: background 0.2s; }
.fx-btn b { font-weight: 700; }
.fx-btn .c { display: none; }
.fx-btn i { font-style: normal; display: inline-block; transition: transform 0.2s; }
.fx-tile:hover .fx-btn { background: #fff; }
.fx-tile[aria-expanded="true"] .fx-btn .o { display: none; }
.fx-tile[aria-expanded="true"] .fx-btn .c { display: inline; }
.fx-tile[aria-expanded="true"] .fx-btn i { transform: rotate(180deg); }
.fx-tile:focus-visible { outline: 3px solid #2F5F96; outline-offset: 3px; }

/* Story links are buttons that open the group's tools in place. */
.sp-text .sp-link { display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--tf); background: var(--surface); color: var(--tf); font-size: 15px; cursor: pointer; }
.sp-text .sp-link:hover { background: var(--tb); border-color: var(--tf); }
.sp-link i { font-style: normal; display: inline-block; transition: transform 0.2s; }
.sp-link .c { display: none; }
.sp-link[aria-expanded="true"] .o { display: none; }
.sp-link[aria-expanded="true"] .c { display: inline; }
.sp-link[aria-expanded="true"] i { transform: rotate(180deg); }
.sp-more { margin-top: 14px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; padding: 6px; animation: fxOpen 0.25s ease-out; }
.sp-more .fx-list { padding: 4px; }
.sp-more .fx-ic { background: var(--tb); }
@media (prefers-reduced-motion: reduce) { .sp-more { animation: none; } .sp-link i { transition: none; } }

/* Until the visitor picks, the options invite a tap: a soft glow moves across them, hover lifts. */
.who.ask .who-tabs button { animation: invite 4.8s ease-in-out infinite; }
.who.ask .who-tabs button:nth-of-type(2) { animation-delay: 1.2s; }
.who.ask .who-tabs button:nth-of-type(3) { animation-delay: 2.4s; }
.who.ask .who-tabs button:nth-of-type(4) { animation-delay: 3.6s; }
.who-tabs button:hover { transform: translateY(-3px); background: #EEF3FA; border-color: #2F5F96; box-shadow: 0 8px 18px rgba(31, 57, 96, 0.14); }
@keyframes invite { 0%, 22%, 100% { box-shadow: 0 0 0 0 rgba(47, 95, 150, 0); border-color: var(--border); } 10% { box-shadow: 0 0 0 5px rgba(47, 95, 150, 0.16); border-color: #2F5F96; } }
@media (prefers-reduced-motion: reduce) { .who.ask .who-tabs button { animation: none; border-color: #2F5F96; } }

/* Picked "I'm a" option: always solid steel blue with white text, also while hovered. */
.who-tabs button[aria-selected="true"], .who-tabs button[aria-selected="true"]:hover { background: #2F5F96; border-color: #2F5F96; color: #fff; box-shadow: 0 8px 18px rgba(47, 95, 150, 0.25); }

/* "Free, all of it": one calm card with tick chips. */
.free-box { margin: 28px auto 0; max-width: 960px; padding: 24px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); box-shadow: 0 14px 30px rgba(31, 57, 96, 0.06); }
.free-h { margin: 0 0 14px; text-align: center; font-weight: 700; font-size: 18px; color: var(--ink); }
.free-box .free-list { margin: 0; max-width: none; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.free-box .free-list li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #F2F8F6; color: var(--ink); font-size: 14.5px; font-weight: 600; line-height: 1.3; }
.free-box .free-list li::before { position: static; flex: none; width: 22px; height: 22px; background: #13774A; color: #fff; }
.free-box .free-note { margin-top: 16px; }
@media (max-width: 900px) { .free-box .free-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .free-box { padding: 16px; } .free-box .free-list { grid-template-columns: minmax(0, 1fr); } }

/* FAQ: clean cards with a round +/− button instead of the browser's triangle, one readable column. */
.faq-list { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq-list details { margin: 0; max-width: none; padding: 0; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-list details[open] { border-color: #2F5F96; box-shadow: 0 12px 28px rgba(31, 57, 96, 0.10); }
.faq-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; font-size: 16px; color: var(--ink); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #EEF3FA; color: #2F5F96; font-size: 20px; font-weight: 600; transition: transform 0.2s, background 0.2s; }
.faq-list details[open] summary::after { content: "−"; background: #2F5F96; color: #fff; }
.faq-list summary:hover::after { background: #DCE6F4; }
.faq-list details[open] summary:hover::after { background: #2F5F96; }
.faq-list details p { margin: 0; padding: 0 20px 18px; line-height: 1.6; }
@media (prefers-reduced-motion: reduce) { .faq-list details, .faq-list summary::after { transition: none; } }

/* Terminal feel for the "I'm a" panel: blinking cursor while it waits, lines print in one by one. */
.who-caret { display: none !important; inline-size: 0; width: 9px; height: 1.05em; margin-left: 4px; vertical-align: -3px; background: #4BE0A0; animation: blink 1s steps(1) infinite; }
.who:not(.ask) .who-caret { display: none; }
.who-panel .pop { animation: pop 0.3s ease-out both; }
@media (prefers-reduced-motion: reduce) { .who-caret { animation: none; } .who-panel .pop { animation: none; } }

/* "I'm a" answer as a chat with Vidya: friendly for everyone, no terminal. */
.who-panel.talk { background: var(--surface); color: var(--text); border: 1px solid var(--border); box-shadow: 0 18px 40px rgba(31, 57, 96, 0.10); display: grid; gap: 12px; min-height: 120px; }
.tk { display: flex; align-items: flex-end; gap: 10px; }
.tk.me { justify-content: flex-end; }
.tav { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--vidya, #2F5F96); color: #fff; font-size: 15px; }
.tk .bub { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15.5px; line-height: 1.5; }
.tk.vid .bub { background: #EEF3FA; color: var(--ink); border-bottom-left-radius: 6px; }
.tk.me .bub { background: #2F5F96; color: #fff; border-bottom-right-radius: 6px; }
.tk.vid .bub b { display: block; font-size: 17px; margin-bottom: 4px; }
.tk.vid .bub ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.tk.vid .bub li { position: relative; padding-left: 26px; color: var(--text); }
.tk.vid .bub li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; background: #D9F0EB; color: #1F6B63; }
.dots { display: inline-flex; gap: 4px; padding: 4px 2px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #8DA2C0; animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: 0.15s; } .dots i:nth-child(3) { animation-delay: 0.3s; }
.who-panel.talk .pop { animation: pop 0.3s ease-out both; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (max-width: 480px) { .tk .bub { max-width: 88%; font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .dots i, .who-panel.talk .pop { animation: none; } }

/* Chat spacing: avatar beside the start of each message, even gaps, room before the cards. */
.who { margin-bottom: 56px; }
.who-panel.talk { padding: 22px 24px; gap: 14px; }
#who-thread { display: grid; gap: 14px; }
#who-thread:empty { display: none; }
.tk { align-items: flex-start; }
.tk .tav { margin-top: 2px; }
.tk .bub { padding: 12px 16px; }
.tk.vid .bub b { margin-bottom: 6px; line-height: 1.3; }
.tk.vid .bub ul { margin-top: 8px; gap: 8px; }
.tk.me .bub { padding: 10px 16px; }
@media (max-width: 480px) { .who-panel.talk { padding: 16px; } .tk .tav { width: 28px; height: 28px; font-size: 13px; } }

/* Line icons (same lucide set as the app) replace emoji everywhere; each sits in a soft tinted square. */
.lic { display: inline-block; flex: none; vertical-align: -0.2em; }
.who-tabs button { display: inline-flex; align-items: center; gap: 8px; }
.who-tabs button .lic { color: #2F5F96; }
.who-tabs button[aria-selected="true"] .lic { color: #fff; }
.hero-chip i { color: #2F5F96; }
.fx-gic, .fx-ic, .mt-ic { color: var(--tf); }
.fx-gic .lic { width: 24px; height: 24px; }
.pb-fire { color: #C2410C; } .pb-medal { color: #B7791F; }
.pb-fire .lic, .pb-medal .lic { width: 24px; height: 24px; }
.pb-perfect .lic, .vs-win .lic, .cta-kicker .lic, .qd-foot .lic { vertical-align: -0.18em; }
.qd-foot .lic { color: #C2410C; }
.pb-vidya span { color: #2F5F96; }
.mt-ic { position: relative; }


/* Textures like the app: ONLY on the dark steel blocks, soft white marks fading out from the top-right corner,
   a different variant per block (numbers band = grid with dots, final block = plus marks). Light cards stay clean. */
/* Light cards keep a soft corner texture, in rotating variants so neighbours differ (like the app's family). */
.tx-diag::before { background-image: repeating-linear-gradient(135deg, var(--tf) 0 1px, transparent 1px 12px); }
.fx-tile:nth-of-type(4n+2)::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 7v6M7 10h6' stroke='%23000' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E"); background-size: 20px 20px; opacity: 0.12; }
.fx-tile:nth-of-type(4n+3)::after { background-image: radial-gradient(var(--tf) 1.3px, transparent 1.7px), linear-gradient(var(--tf) 1px, transparent 1px), linear-gradient(90deg, var(--tf) 1px, transparent 1px); background-size: 22px 22px; background-position: -11px -11px, 0 0, 0 0; opacity: 0.12; }
.fx-tile:nth-of-type(4n+4)::after { background-image: repeating-linear-gradient(135deg, var(--tf) 0 1px, transparent 1px 10px); background-size: auto; opacity: 0.12; }
.stats::before { opacity: 1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.6px, transparent 2px), linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 26px 26px; background-position: -13px -13px, 0 0, 0 0;
  -webkit-mask-image: radial-gradient(ellipse 60% 120% at 100% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 60% 120% at 100% 0%, #000 0%, transparent 72%); }
.cta .box::after { opacity: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22'%3E%3Cpath d='M11 8v6M8 11h6' stroke='%23fff' stroke-opacity='.18' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 55% 85% at 100% 0%, #000 0%, transparent 72%); mask-image: radial-gradient(ellipse 55% 85% at 100% 0%, #000 0%, transparent 72%); }

/* "Never the same quiz twice" band under the hero (chips are an inline SVG from scripts/site/brand_chips.py: same palette as the logo) */
.fresh { background: #1D2B40; color: #fff; padding: 44px 0; text-align: center; }
.fresh-chips { display: flex; justify-content: center; margin-bottom: 18px; }
.fresh-chips svg { display: block; max-width: 100%; height: auto; }
.fresh h2 { margin: 0; font-size: clamp(28px, 4.2vw, 44px); line-height: 1.1; color: #fff; }
.fresh p { margin: 12px 0 0; font-size: clamp(16px, 2vw, 20px); font-weight: 700; color: #F7D58C; }

/* ===== AI look (2026-11-10, owner: "futuristic, AI-driven feel") =====
   Same calm palette as the app's welcome screen (navy #2B4466 → #16202F, steel blue, gold); the AI feel comes from
   light and motion, not new colours: a slow aurora, a faint "neural" node network, Vidya's halo glowing behind the
   phones, gold-to-blue light on her name, glass chips. The top of the page (hero → "never the same quiz" → numbers)
   reads as one night-sky band; everything below stays light for reading. Motion stops for prefers-reduced-motion. */
.nav { background: rgba(18, 27, 41, 0.94); border-bottom: 1px solid rgba(143, 180, 230, 0.16); }
.nav .logo, .nav ul a { color: #D9E3F2; }
.nav ul a:hover { color: #fff; background: rgba(143, 180, 230, 0.14); }
.nav-cta { background: linear-gradient(100deg, #E9C77F, #F5D48F); color: #16202F; }
.nav-cta:hover { box-shadow: 0 10px 28px rgba(233, 199, 127, 0.35); }

.hero { color: #fff; background: radial-gradient(120% 90% at 78% 10%, #2B4466 0%, #1C2A42 45%, #121B29 100%); }
.hero::before { opacity: 0.6; background-image: radial-gradient(rgba(143, 180, 230, 0.18) 1px, transparent 1.4px); background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(80% 70% at 70% 30%, #000 30%, transparent 80%); }
.hero .blob { mix-blend-mode: screen; opacity: 0.32; filter: blur(80px); }
.hero .b1 { background: #4E79B8; }
.hero .b2 { background: #2C6E9B; opacity: 0.28; }
.hero .b3 { background: #E9C77F; opacity: 0.16; }
/* The node network: a few points joined by hairlines, drifting very slowly. */
.hero .ai-net, .ft-hero .ai-net { position: absolute; inset: -10% -5% auto auto; width: 70%; height: 120%; pointer-events: none; opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%238FB4E6' stroke-opacity='.32' stroke-width='1'%3E%3Cpath d='M60 120 L190 60 L330 140 L470 80 L560 190 M190 60 L240 230 L330 140 L420 300 L560 190 M60 120 L120 300 L240 230 L300 400 L420 300 L520 430 M120 300 L180 470 L300 400 L380 540 L520 430'/%3E%3C/g%3E%3Cg fill='%23CFE0F7'%3E%3Ccircle cx='60' cy='120' r='3'/%3E%3Ccircle cx='190' cy='60' r='2.5'/%3E%3Ccircle cx='330' cy='140' r='3.5'/%3E%3Ccircle cx='470' cy='80' r='2.5'/%3E%3Ccircle cx='560' cy='190' r='3'/%3E%3Ccircle cx='240' cy='230' r='2.5'/%3E%3Ccircle cx='420' cy='300' r='3'/%3E%3Ccircle cx='120' cy='300' r='2.5'/%3E%3Ccircle cx='300' cy='400' r='3'/%3E%3Ccircle cx='520' cy='430' r='2.5'/%3E%3Ccircle cx='180' cy='470' r='2.5'/%3E%3Ccircle cx='380' cy='540' r='3'/%3E%3C/g%3E%3Cg fill='%23E9C77F'%3E%3Ccircle cx='330' cy='140' r='4'/%3E%3Ccircle cx='420' cy='300' r='3.5'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
  -webkit-mask-image: radial-gradient(closest-side, #000 55%, transparent); mask-image: radial-gradient(closest-side, #000 55%, transparent);
  animation: netdrift 26s ease-in-out infinite; }
@keyframes netdrift { 50% { transform: translate(-24px, 18px) rotate(-2deg); opacity: 0.75; } }
/* Vidya's halo behind the phones: gold and steel light turning round a soft core. */
.hero .ai-orb { position: absolute; z-index: 0; left: 50%; top: 44%; width: 600px; height: 600px; margin: -300px 0 0 -260px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(233, 199, 127, 0.55), rgba(143, 180, 230, 0.15), rgba(111, 191, 170, 0.4), rgba(143, 180, 230, 0.15), rgba(233, 199, 127, 0.55));
  -webkit-mask: radial-gradient(closest-side, transparent 62%, #000 64%, #000 70%, transparent 72%); mask: radial-gradient(closest-side, transparent 62%, #000 64%, #000 70%, transparent 72%);
  filter: blur(4px); opacity: 0.9; animation: vmspin 18s linear infinite; }
.hero .ai-orb::after { content: ""; position: absolute; inset: 18%; border-radius: 50%; background: radial-gradient(closest-side, rgba(143, 180, 230, 0.28), transparent); }
.hero-visual { isolation: isolate; }
.phone { box-shadow: 0 40px 90px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(143, 180, 230, 0.22) inset, 0 0 60px rgba(78, 121, 184, 0.25); }

.eyebrow { background: rgba(143, 180, 230, 0.1); border-color: rgba(143, 180, 230, 0.28); color: #D9E3F2; }
.eyebrow i { background: linear-gradient(100deg, #E9C77F, #F5D48F); color: #16202F; position: relative; }
.eyebrow i::after { content: ""; position: absolute; inset: -3px; border-radius: inherit; border: 1px solid rgba(233, 199, 127, 0.6); animation: ping 2.4s ease-out infinite; }
@keyframes ping { 0% { opacity: 0.9; transform: scale(1); } 80%, 100% { opacity: 0; transform: scale(1.35); } }
.hero h1 { color: #fff; text-shadow: 0 2px 30px rgba(18, 27, 41, 0.4); }
.hero h1 em { background: linear-gradient(100deg, #F5D48F 0%, #E9C77F 30%, #8FB4E6 65%, #F5D48F 100%); background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 18px rgba(233, 199, 127, 0.25)); }
.hero p.lead { color: #C9D5E8; }
.hero p.lead .vname { background: linear-gradient(100deg, #F5D48F, #8FB4E6); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Desktop: scan to install (the code opens https://advanzip.com/aptinest). */
.hero-qr { display: none; align-items: center; gap: 14px; margin: 0 0 22px; color: #C9D5E8; }
.hero-qr .qr { display: block; line-height: 0; background: #fff; border-radius: 12px; padding: 4px; flex: none; }
.hero-qr p { margin: 0; font-size: 14px; line-height: 1.4; }
.hero-qr p b { display: block; color: #fff; }
@media (min-width: 960px) and (hover: hover) { .hero-qr { display: flex; } }
.hero .store-btn { background: #fff; color: #16202F; }
.hero .store-btn small { color: #5B6B82; }
.hero .store-btn:hover { box-shadow: 0 14px 34px rgba(143, 180, 230, 0.3); }
.hero .store-btn.ghost { background: rgba(143, 180, 230, 0.08); color: #fff; border-color: rgba(143, 180, 230, 0.3); }
.hero .store-btn.ghost small { color: #AFC0DA; }
.hero .facts li { background: rgba(143, 180, 230, 0.08); border-color: rgba(143, 180, 230, 0.2); color: #D1DCED; }
.chat, .hero-chip { box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(143, 180, 230, 0.25), 0 0 40px rgba(78, 121, 184, 0.2); }

/* The dark band continues into "Never the same quiz twice" and the numbers. */
.fresh { background: linear-gradient(180deg, #121B29, #1A273B); }
.stats { background: linear-gradient(180deg, #1A273B 0%, #22344F 100%); }
.stats::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 199, 127, 0.6), transparent); }
.stats .wrap > div { position: relative; background: rgba(143, 180, 230, 0.07); border-color: rgba(143, 180, 230, 0.2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.stats .wrap > div::before { content: ""; position: absolute; left: 18%; right: 18%; top: -1px; height: 1px; background: linear-gradient(90deg, transparent, rgba(233, 199, 127, 0.8), transparent); }
.stats .wrap > div:hover { background: rgba(143, 180, 230, 0.13); box-shadow: 0 0 30px rgba(78, 121, 184, 0.25); }

/* Below the band: a touch of the same light on the cards and kickers. */
.kicker { box-shadow: 0 0 0 1px rgba(143, 180, 230, 0.25), 0 0 18px rgba(143, 180, 230, 0.15); }
.sp-phone { transition: box-shadow 0.3s, transform 0.3s; }
.sp-phone:hover { box-shadow: 0 30px 70px rgba(27, 51, 101, 0.25), 0 0 40px rgba(78, 121, 184, 0.22); }

@media (max-width: 760px) {
  .hero .ai-orb { width: 380px; height: 380px; margin: -190px 0 0 -190px; }
  .hero .ai-net, .ft-hero .ai-net { width: 100%; opacity: 0.4; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .ai-net, .ft-hero .ai-net, .hero .ai-orb, .eyebrow i::after { animation: none; }
}
