/* ==========================================================================
   SafeSpace Personal Wellness — main stylesheet
   1. Tokens (light / dark)   2. Base   3. Layout   4. Components
   5. Site chrome             6. Sections   7. Product mockups   8. Utilities
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --plum: #1F1C3D;
  --violet: #8270FC;
  --pink: #EE8DB6;
  --mauve: #C2508A;
  --lavender: #CFC8FF;

  --bg: #F9F8FE;
  --bg-2: #F3F0FB;
  --panel: #EDE9F5;
  --surface: #FFFFFF;
  --border: #E2DCF0;
  --border-strong: #CFC6EA;
  --text: #1F1C3D;
  --text-soft: #4E4A6B;
  --text-faint: #625D80;
  --link: #5B3FE0;
  --eyebrow: #5B3FE0;
  --accent: #5B3FE0;

  --btn-bg: #1F1C3D;
  --btn-fg: #FFFFFF;
  --btn-bg-hover: #4A2A58;

  --deep: #1F1C3D;          /* dark feature panels */
  --deep-2: #2B2850;
  --deep-text: #F3F1FF;
  --deep-soft: #CFCBE6;

  --grad: linear-gradient(135deg, #8270FC 0%, #EE8DB6 100%);
  --grad-soft: linear-gradient(135deg, rgba(130,112,252,.16), rgba(238,141,182,.16));
  --glow-a: rgba(130,112,252,.38);
  --glow-b: rgba(238,141,182,.34);

  --shadow-sm: 0 1px 2px rgba(31,28,61,.06), 0 2px 8px -2px rgba(31,28,61,.08);
  --shadow: 0 1px 2px rgba(31,28,61,.05), 0 18px 40px -18px rgba(31,28,61,.28);
  --shadow-lg: 0 2px 6px rgba(31,28,61,.05), 0 40px 80px -30px rgba(31,28,61,.38);

  --ok: #2F7D5B;
  --warn: #9A5B00;
  --alert: #B23A5B;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --font-head: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-body: "Nunito Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-hi: "Noto Sans Devanagari", "Nirmala UI", "Mangal", sans-serif;

  --container: 1200px;
  --gutter: clamp(20px, 5vw, 40px);
  --section: clamp(72px, 9vw, 128px);
  --header-h: 72px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #15132B; --bg-2: #191730; --panel: #1F1C3D; --surface: #1C1A36;
    --border: #332D5A; --border-strong: #4B4380;
    --text: #F3F1FF; --text-soft: #CFCBE6; --text-faint: #A39EC4;
    --link: #ABA3FC; --eyebrow: #B9AEFF; --accent: #ABA3FC;
    --btn-bg: #CFC8FF; --btn-fg: #15132B; --btn-bg-hover: #E2DDFF;
    --deep: #25223A; --deep-2: #2B2850; --deep-text: #F3F1FF; --deep-soft: #CFCBE6;
    --grad-soft: linear-gradient(135deg, rgba(130,112,252,.14), rgba(238,141,182,.12));
    --glow-a: rgba(130,112,252,.26); --glow-b: rgba(238,141,182,.18);
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 18px 40px -18px rgba(0,0,0,.6);
    --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.7);
    --ok: #7FD3AA; --warn: #F2C27A; --alert: #F29BB3;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #15132B; --bg-2: #191730; --panel: #1F1C3D; --surface: #1C1A36;
  --border: #332D5A; --border-strong: #4B4380;
  --text: #F3F1FF; --text-soft: #CFCBE6; --text-faint: #A39EC4;
  --link: #ABA3FC; --eyebrow: #B9AEFF; --accent: #ABA3FC;
  --btn-bg: #CFC8FF; --btn-fg: #15132B; --btn-bg-hover: #E2DDFF;
  --deep: #25223A; --deep-2: #2B2850; --deep-text: #F3F1FF; --deep-soft: #CFCBE6;
  --grad-soft: linear-gradient(135deg, rgba(130,112,252,.14), rgba(238,141,182,.12));
  --glow-a: rgba(130,112,252,.26); --glow-b: rgba(238,141,182,.18);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
  --shadow: 0 18px 40px -18px rgba(0,0,0,.6);
  --shadow-lg: 0 40px 80px -30px rgba(0,0,0,.7);
  --ok: #7FD3AA; --warn: #F2C27A; --alert: #F29BB3;
  color-scheme: dark;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
:lang(hi) { font-family: var(--font-hi); }
img, svg, video { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-ui); font-weight: 600; color: var(--text); margin: 0 0 .5em; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 1.55rem + 3.5vw, 4.4rem); line-height: 1.06; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.85rem, 1.35rem + 2vw, 3rem); line-height: 1.12; }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); line-height: 1.3; letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; line-height: 1.35; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
strong { font-weight: 700; }
ul, ol { padding-left: 1.2em; }
hr { border: 0; border-top: 1px solid var(--border); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--lavender); color: #15132B; }
.visually-hidden { 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: 200; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }
main:focus { outline: none; }
.icon { width: 1.25em; height: 1.25em; flex: none; display: inline-block; vertical-align: middle; }

/* 3. LAYOUT ---------------------------------------------------------------- */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }
.container--narrow { max-width: calc(820px + var(--gutter) * 2); }
.container--mid { max-width: calc(1000px + var(--gutter) * 2); }
.section { padding-block: var(--section); position: relative; }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--panel { background: var(--panel); }
.section--soft { background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%); }
.section--rounded { border-radius: var(--radius-xl); margin-inline: clamp(8px, 2vw, 24px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--text-soft); font-size: 1.125rem; }
.grid { display: grid; gap: clamp(16px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.split { display: grid; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .split--wide-right { grid-template-columns: .9fr 1.1fr; }
  .split--top { align-items: start; }
}
.stack > * + * { margin-top: 1rem; }

/* 4. COMPONENTS ------------------------------------------------------------ */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 600; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--eyebrow); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--grad); }
.eyebrow--light { color: #C9C0FF; }
.eyebrow--plain::before { display: none; }
.lead { font-size: clamp(1.125rem, 1.05rem + .35vw, 1.3rem); line-height: 1.6; color: var(--text-soft); }
.muted { color: var(--text-soft); }
.small { font-size: .9375rem; }
.tiny { font-size: .8125rem; }
.gradient-text { background: linear-gradient(135deg, #5B3FE0 0%, #C2508A 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
:root[data-theme="dark"] .gradient-text { background: linear-gradient(135deg,#B5A9FF,#F4A9C8); -webkit-background-clip: text; background-clip: text; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gradient-text { background: linear-gradient(135deg,#B5A9FF,#F4A9C8); -webkit-background-clip: text; background-clip: text; } }
.hl { font-style: normal; background: linear-gradient(transparent 62%, rgba(238,141,182,.35) 62%); padding-inline: 2px; }

/* Buttons */
.btn { --b-pad: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: var(--b-pad); min-height: 48px; border-radius: 999px; border: 1.5px solid transparent; font-family: var(--font-ui); font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none; cursor: pointer; transition: transform .18s ease, background-color .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease; white-space: nowrap; }
.btn:hover { text-decoration: none; }
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .18s ease; }
.btn:hover .icon { transform: translateX(2px); }
.btn--primary { background: var(--btn-bg); color: var(--btn-fg); box-shadow: 0 10px 24px -12px rgba(31,28,61,.55); }
.btn--primary:hover { background: var(--btn-bg-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { border-color: var(--text); background: var(--surface); }
.btn--soft { background: var(--panel); color: var(--text); border-color: var(--border); }
.btn--soft:hover { border-color: var(--border-strong); }
.btn--light { background: #FFFFFF; color: #1F1C3D; }
.btn--light:hover { background: #F3F0FF; transform: translateY(-1px); }
.btn--outline-light { background: transparent; color: #F3F1FF; border-color: rgba(246,237,248,.45); }
.btn--outline-light:hover { border-color: #F3F1FF; background: rgba(255,255,255,.06); }
.btn--help { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--sm { --b-pad: 10px 18px; min-height: 42px; font-size: .9375rem; }
.btn--lg { --b-pad: 17px 30px; min-height: 56px; font-size: 1.0625rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--link); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-ui); font-weight: 600; font-size: .975rem; text-decoration: none; }
.text-link .icon { width: 1em; height: 1em; transition: transform .18s; }
.text-link:hover .icon { transform: translateX(3px); }

.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: border-color .18s; }
.icon-btn:hover { border-color: var(--border-strong); }

/* Pills / badges */
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .875rem; font-weight: 600; color: var(--text-soft); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--grad); flex: none; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-family: var(--font-ui); font-size: .75rem; font-weight: 600; letter-spacing: .02em; background: var(--panel); color: var(--text-soft); border: 1px solid var(--border); white-space: nowrap; }
.badge--sample { background: #FFF3D6; color: #6B4300; border-color: #F1D59A; }
.badge--soon { background: var(--grad-soft); color: var(--text); border-color: var(--border-strong); }
.badge--ai { background: rgba(130,112,252,.16); color: #4B3BC4; border-color: rgba(130,112,252,.35); }
:root[data-theme="dark"] .badge--ai { color: #D5CFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge--ai { color: #D5CFFF; } }

/* Cards (used sparingly) */
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(22px, 3vw, 32px); }
.card--soft { background: var(--panel); border-color: transparent; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }

.icon-tile { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; background: var(--grad-soft); color: var(--accent); border: 1px solid var(--border); margin-bottom: 18px; }
.icon-tile .icon { width: 24px; height: 24px; }

/* Check list */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; }
.checks li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--grad-soft) center/14px no-repeat; border: 1px solid var(--border-strong); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%235B3FE0' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

/* Notices */
.notice { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--panel); border: 1px solid var(--border); color: var(--text); }
.notice .icon { color: var(--accent); margin-top: 2px; }
.notice p:last-child { margin: 0; }
.notice--important { background: var(--surface); border: 1.5px solid var(--border-strong); box-shadow: var(--shadow-sm); }
.notice--legal { background: #FFF6E2; border-color: #EFD39A; color: #4A3200; }
.notice--legal a { color: #5A3C00; }
:root[data-theme="dark"] .notice--legal { background: #33260F; border-color: #6B5221; color: #F6E3BC; }
:root[data-theme="dark"] .notice--legal a { color: #F6E3BC; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .notice--legal { background: #33260F; border-color: #6B5221; color: #F6E3BC; } :root:not([data-theme="light"]) .notice--legal a { color: #F6E3BC; } }

/* Founder review notes: visible only in preview builds, stripped from production */
.dev-note { display: block; margin: 12px 0; padding: 10px 14px; border-radius: 10px; border: 1.5px dashed #C88A00; background: #FFF8E6; color: #5A3C00; font: 600 .8125rem/1.45 var(--font-ui); }
.dev-note::before { content: "Founder review: "; font-weight: 800; }
small.dev-note, span.dev-note { display: inline-block; }

/* FAQ (native details/summary: keyboard and screen-reader friendly without JS) */
.faq { display: grid; gap: 12px; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .18s, box-shadow .18s; }
.faq-item[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px; font-family: var(--font-ui); font-weight: 600; font-size: 1.0625rem; line-height: 1.4; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--panel) center/14px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%235B3FE0' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 22px 20px; color: var(--text-soft); }
.faq-a p:last-child { margin-bottom: 0; }

/* Forms */
.form { display: grid; gap: 18px; }
.form-row { display: grid; gap: 18px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 7px; }
.field label, .field legend { font-family: var(--font-ui); font-weight: 600; font-size: .9375rem; }
.field .req { color: var(--alert); }
.field .hint { font-size: .875rem; color: var(--text-faint); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px; border: 1.5px solid var(--border-strong); background: var(--surface); color: var(--text); font: inherit; font-size: 1rem; transition: border-color .18s, box-shadow .18s; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 4px rgba(91,63,224,.18); }
.field [aria-invalid="true"] { border-color: var(--alert); }
.field .error { color: var(--alert); font-size: .875rem; font-weight: 600; }
.check-field { display: flex; gap: 12px; align-items: flex-start; font-size: .9375rem; }
.check-field input { width: 22px; height: 22px; margin-top: 2px; accent-color: #5B3FE0; flex: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 16px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.form-status--ok { background: rgba(47,125,91,.1); border: 1px solid rgba(47,125,91,.35); color: var(--ok); }
.form-status--error { background: rgba(178,58,91,.08); border: 1px solid rgba(178,58,91,.35); color: var(--alert); }

/* Switch (cookie dialog) */
.switch { appearance: none; -webkit-appearance: none; width: 52px; height: 30px; border-radius: 999px; background: var(--border-strong); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch:checked { background: #5B3FE0; }
.switch:checked::after { transform: translateX(22px); }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .9875rem; }
.table th, .table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--border); vertical-align: top; }
.table thead th { font-family: var(--font-ui); font-weight: 600; font-size: .9375rem; background: var(--panel); position: sticky; top: 0; }
.table tbody th { font-weight: 600; color: var(--text); width: 40%; }
.table tr:last-child th, .table tr:last-child td { border-bottom: 0; }
.table .yes { color: var(--ok); font-weight: 700; }
.table .icon { width: 20px; height: 20px; }

/* 5. SITE CHROME ----------------------------------------------------------- */
.help-strip { background: var(--deep); color: var(--deep-text); font-size: .875rem; line-height: 1.45; position: relative; z-index: 60; }
.help-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 6px 20px; padding-block: 9px; flex-wrap: wrap; }
.help-strip p { margin: 0; display: flex; flex-wrap: wrap; gap: 2px 10px; }
.help-strip strong { color: #fff; }
.help-strip a { color: #D7D0FF; font-weight: 700; }
.help-strip .help-num { color: #fff; text-decoration-color: rgba(255,255,255,.5); }
.help-strip__note { opacity: .82; }
.help-strip__more { white-space: nowrap; text-decoration: none; }
.help-strip__more:hover { text-decoration: underline; }
@media (max-width: 640px) { .help-strip { font-size: .8125rem; } .help-strip__note { display: none; } .help-strip__inner { padding-block: 8px; } }

.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s, background-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--border); }
@supports not (background: color-mix(in srgb, red 50%, blue)) { .site-header { background: var(--bg); } }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); margin-right: auto; flex: none; }
.brand .logo-mark { width: 40px; height: 40px; filter: drop-shadow(0 6px 14px rgba(130,112,252,.35)); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-ui); font-weight: 600; font-size: 1.3rem; letter-spacing: -0.02em; }
.brand__tag { font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-faint); font-weight: 700; margin-top: 3px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a { display: block; padding: 10px 14px; border-radius: 999px; color: var(--text); text-decoration: none; font-family: var(--font-ui); font-weight: 500; font-size: .9375rem; transition: background-color .18s; }
.nav__list a:hover { background: var(--panel); }
.nav__list a[aria-current="page"] { background: var(--panel); box-shadow: inset 0 0 0 1px var(--border); }
.site-header__actions { display: flex; align-items: center; gap: 10px; }
.help-pill { display: inline-flex; align-items: center; gap: 7px; padding: 9px 14px; border-radius: 999px; font-family: var(--font-ui); font-weight: 600; font-size: .875rem; color: var(--text); text-decoration: none; border: 1px solid var(--border-strong); background: var(--surface); white-space: nowrap; }
.help-pill .icon { width: 16px; height: 16px; color: var(--mauve); }
.help-pill:hover, .help-pill[aria-current="page"] { border-color: var(--text); }
.theme-toggle .icon { width: 20px; height: 20px; }
.theme-toggle .icon--moon { display: none; }
:root[data-theme="dark"] .theme-toggle .icon--sun { display: none; }
:root[data-theme="dark"] .theme-toggle .icon--moon { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-toggle .icon--sun { display: none; } :root:not([data-theme="light"]) .theme-toggle .icon--moon { display: block; } }
.menu-toggle { display: none; }
.menu-toggle .icon--close { display: none; }
.menu-toggle[aria-expanded="true"] .icon--menu { display: none; }
.menu-toggle[aria-expanded="true"] .icon--close { display: block; }
.mobile-menu { border-top: 1px solid var(--border); background: var(--bg); max-height: calc(100dvh - var(--header-h)); overflow-y: auto; padding-bottom: max(24px, env(safe-area-inset-bottom)); }
.mobile-menu__list { list-style: none; margin: 0; padding: 12px 0; }
.mobile-menu__list a { display: flex; align-items: center; min-height: 54px; padding: 0 4px; font-family: var(--font-ui); font-weight: 500; font-size: 1.25rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.mobile-menu__list a[aria-current="page"] { color: var(--link); }
.mobile-menu__actions { display: grid; gap: 10px; padding-top: 12px; }
@media (max-width: 1080px) { .nav { display: none; } .menu-toggle { display: inline-grid; } }
@media (max-width: 560px) { .header-cta { display: none; } .help-pill span { display: none; } .help-pill { padding: 0; width: 44px; height: 44px; justify-content: center; } .help-pill .icon { width: 20px; height: 20px; } .brand__name { font-size: 1.15rem; } .site-header__actions { gap: 6px; } }
@media (max-width: 360px) { .brand__tag { display: none; } }

.site-footer { background: var(--panel); padding: clamp(56px, 7vw, 88px) 0 calc(28px + env(safe-area-inset-bottom)); margin-top: 0; border-top: 1px solid var(--border); }
.site-footer__top { display: grid; gap: 48px; }
@media (min-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1.6fr; } }
.site-footer__tagline { font-family: var(--font-ui); font-weight: 600; font-size: 1.125rem; margin: 18px 0 8px; letter-spacing: -0.01em; }
.site-footer__desc { color: var(--text-soft); font-size: .9375rem; max-width: 380px; }
.site-footer__contact { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; }
.site-footer__contact a { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; text-decoration: none; min-height: 32px; }
.site-footer__contact a:hover { color: var(--link); }
.site-footer__nav { display: grid; gap: 32px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .site-footer__nav { grid-template-columns: repeat(4, 1fr); } }
.site-footer__heading { font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; }
.site-footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.site-footer__nav a, .site-footer__nav .link-btn { color: var(--text); text-decoration: none; font-size: .9688rem; display: inline-block; padding: 5px 0; }
.site-footer__nav a:hover, .site-footer__nav .link-btn:hover { color: var(--link); text-decoration: underline; }
.site-footer__disclaimer { display: flex; gap: 14px; align-items: flex-start; margin-top: 48px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--border); font-size: .9375rem; }
.site-footer__disclaimer p { margin: 0; }
.site-footer__disclaimer .icon { color: var(--accent); margin-top: 2px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .875rem; color: var(--text-faint); }
.site-footer__bottom p { margin: 0; }
.site-footer__social { display: flex; gap: 16px; list-style: none; margin: 0; padding: 0; }
.site-footer__social:empty { display: none; }

/* Cookie consent */
.cookie-banner { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: flex; justify-content: center; pointer-events: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner__inner { pointer-events: auto; max-width: 980px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; padding: 18px 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); font-size: .9375rem; }
.cookie-banner__inner p { margin: 0; flex: 1 1 380px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-dialog { border: 1px solid var(--border-strong); border-radius: var(--radius-lg); padding: 0; max-width: min(560px, calc(100vw - 32px)); background: var(--surface); color: var(--text); box-shadow: var(--shadow-lg); }
.cookie-dialog::backdrop { background: rgba(21,19,43,.55); backdrop-filter: blur(3px); }
.cookie-dialog__form { padding: clamp(22px, 4vw, 32px); }
.cookie-dialog h2 { font-size: 1.5rem; }
.cookie-dialog h3 { font-size: 1.0625rem; margin-bottom: 4px; }
.cookie-option { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding: 18px 0; border-top: 1px solid var(--border); }
.cookie-option p { margin: 0; color: var(--text-soft); font-size: .9375rem; }
.cookie-option__state { font-weight: 700; font-size: .875rem; color: var(--ok); white-space: nowrap; }
.cookie-dialog__actions { display: flex; justify-content: flex-end; gap: 10px; padding-top: 18px; border-top: 1px solid var(--border); }

/* CTA band */
.cta-band { padding-block: clamp(48px, 7vw, 96px); }
.cta-band__card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--radius-xl); background: #1F1C3D; color: #F3F1FF; padding: clamp(36px, 6vw, 72px); display: grid; gap: 28px; align-items: end; }
@media (min-width: 900px) { .cta-band__card { grid-template-columns: 1.4fr 1fr; } .cta-band__actions { justify-content: flex-end; } }
:root[data-theme="dark"] .cta-band__card { background: #25223A; border: 1px solid #3A3566; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cta-band__card { background: #25223A; border: 1px solid #3A3566; } }
.cta-band__glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 360px at 88% 0%, rgba(238,141,182,.45), transparent 60%), radial-gradient(520px 380px at 0% 110%, rgba(130,112,252,.45), transparent 60%); }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem); }
.cta-band p { color: #DAD6F0; font-size: 1.0625rem; margin: 0; max-width: 560px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* 6. SECTIONS -------------------------------------------------------------- */
/* Ambient glow helper */
.glow-bg { position: relative; isolation: isolate; }
.glow-bg::before { content: ""; position: absolute; inset: -10% -10% auto; height: 120%; z-index: -1; pointer-events: none; background: radial-gradient(42% 46% at 82% 18%, var(--glow-b), transparent 70%), radial-gradient(40% 50% at 12% 6%, var(--glow-a), transparent 70%); }

/* Page hero (inner pages) */
.page-hero { padding-block: clamp(56px, 8vw, 112px) clamp(40px, 6vw, 80px); position: relative; isolation: isolate; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 70% at 85% 0%, var(--glow-b), transparent 70%), radial-gradient(40% 60% at 10% 10%, var(--glow-a), transparent 70%); opacity: .85; }
.page-hero h1 { max-width: 16ch; }
.page-hero .lead { max-width: 640px; }
.page-hero--center { text-align: center; }
.page-hero--center h1, .page-hero--center .lead { margin-inline: auto; }
.page-hero--center .btn-row { justify-content: center; }
.breadcrumbs { font-size: .875rem; margin-bottom: 22px; color: var(--text-faint); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; opacity: .6; }
.breadcrumbs a { color: var(--text-soft); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* Home hero */
.hero { position: relative; isolation: isolate; padding-block: clamp(40px, 7vw, 96px) clamp(56px, 8vw, 112px); overflow: hidden; }
.hero::before { content: ""; position: absolute; z-index: -2; inset: 0; background: radial-gradient(46% 58% at 78% 30%, var(--glow-b), transparent 70%), radial-gradient(40% 55% at 58% 70%, var(--glow-a), transparent 70%), radial-gradient(30% 40% at 0% 0%, var(--glow-a), transparent 70%); }
.hero__grid { display: grid; gap: clamp(40px, 6vw, 72px); align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { max-width: 13.5ch; margin-bottom: 24px; }
.hero .lead { max-width: 560px; margin-bottom: 32px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 560px; }
.hero__orb { position: absolute; width: min(460px, 90%); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 34% 28%, #F4EEFF 0%, #EE8DB6 40%, #8270FC 82%); opacity: .55; filter: blur(2px); z-index: -1; }
.hero__orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle at 30% 22%, rgba(255,255,255,.75), transparent 28%); }
:root[data-theme="dark"] .hero__orb { opacity: .35; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero__orb { opacity: .35; } }
.float-card { position: absolute; z-index: 2; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: .875rem; line-height: 1.35; max-width: 230px; }
.float-card strong { display: block; font-family: var(--font-ui); font-size: .875rem; }
.float-card span { color: var(--text-soft); }
.float-card .icon-dot { flex: none; width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; }
.float-card .icon-dot .icon { width: 18px; height: 18px; }
.float-card--a { top: 14%; left: -2%; }
.float-card--b { bottom: 16%; right: -4%; }
@media (max-width: 979px) { .hero__visual { min-height: 0; padding-block: 20px; } .float-card--a { left: 0; top: 8%; } .float-card--b { right: 0; bottom: 10%; } }
@media (max-width: 520px) { .float-card { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .float-card--a { animation: drift 7s ease-in-out infinite; }
  .float-card--b { animation: drift 8s ease-in-out -3s infinite; }
  .hero__orb { animation: breathe 10s ease-in-out infinite; }
}
@keyframes drift { 50% { transform: translateY(-10px); } }
@keyframes breathe { 50% { transform: scale(1.04); } }

/* Pillars */
.pillars { display: grid; gap: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
@media (min-width: 860px) { .pillars { grid-template-columns: repeat(3, 1fr); } .pillar + .pillar { border-left: 1px solid var(--border); } }
@media (max-width: 859px) { .pillar + .pillar { border-top: 1px solid var(--border); } }
.pillar { padding: clamp(28px, 4vw, 44px) clamp(4px, 3vw, 40px); }
.pillar:first-child { padding-left: 0; }
@media (max-width: 859px) { .pillar { padding-inline: 0; } }
.pillar__num { font-family: var(--font-ui); font-weight: 600; font-size: .875rem; color: var(--eyebrow); letter-spacing: .06em; margin-bottom: 14px; display: block; }
.pillar h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }
.pillar p { color: var(--text-soft); margin: 0; }

/* Bento feature grid */
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(4, 1fr); } .bento__tile--wide { grid-column: span 2; } .bento__tile--tall { grid-row: span 2; } }
.bento__tile { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; min-height: 220px; transition: border-color .2s, transform .2s, box-shadow .2s; }
.bento__tile:hover { border-color: var(--border-strong); box-shadow: var(--shadow); }
.bento__tile h3 { margin-bottom: 8px; }
.bento__tile p { color: var(--text-soft); margin: 0; font-size: 1rem; }
.bento__tile .icon-tile { margin-bottom: 20px; }
.bento__tile--feature { background: var(--grad-soft), var(--surface); }
.bento__tile--deep { background: var(--deep); border-color: transparent; color: var(--deep-text); }
.bento__tile--deep h3 { color: #fff; }
.bento__tile--deep p { color: var(--deep-soft); }
.bento__tile--deep .icon-tile { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #C9C0FF; }
.bento__tile .text-link { margin-top: auto; padding-top: 18px; }
.bento__tile--deep .text-link { color: #C9C0FF; }

/* AI moments */
.moments { display: grid; gap: 0; counter-reset: m; }
@media (min-width: 760px) { .moments { grid-template-columns: repeat(2, 1fr); column-gap: clamp(32px, 5vw, 72px); } }
@media (min-width: 1100px) { .moments { grid-template-columns: repeat(3, 1fr); } }
.moment { padding: 26px 0; border-top: 1px solid var(--border); display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.moment__icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border); color: var(--accent); }
.moment__when { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 1.0625rem; margin-bottom: 4px; }
.moment p { margin: 0; color: var(--text-soft); font-size: 1rem; }
.callout-line { margin-top: clamp(36px, 5vw, 56px); display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
@media (min-width: 860px) { .callout-line { grid-template-columns: auto 1fr; gap: 32px; } }
.callout-line__big { font-family: var(--font-ui); font-weight: 600; font-size: clamp(1.4rem, 1.1rem + 1.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.2; margin: 0; }
.callout-line p:last-child { margin: 0; color: var(--text-soft); }

/* Journey: support before crisis */
.journey { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; position: relative; }
@media (min-width: 900px) {
  .journey { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  .journey::before { content: ""; position: absolute; top: 31px; left: 10%; right: 10%; height: 2px; background: linear-gradient(90deg, var(--violet), var(--pink)); opacity: .55; }
}
.journey__step { position: relative; text-align: left; padding: 0 0 28px 84px; }
@media (min-width: 900px) { .journey__step { text-align: center; padding: 0; } }
@media (max-width: 899px) { .journey__step::before { content: ""; position: absolute; left: 31px; top: 64px; bottom: 0; width: 2px; background: linear-gradient(180deg, var(--violet), var(--pink)); opacity: .45; } .journey__step:last-child::before { display: none; } }
.journey__dot { position: absolute; left: 0; top: 0; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-sm); font-family: var(--font-ui); font-weight: 600; font-size: 1.1rem; color: var(--text); z-index: 1; }
@media (min-width: 900px) { .journey__dot { position: relative; margin: 0 auto 20px; } }
.journey__step:last-child .journey__dot { background: var(--grad); color: #fff; border-color: transparent; }
.journey__step h3 { font-size: 1.125rem; margin-bottom: 6px; }
.journey__step p { color: var(--text-soft); font-size: .975rem; margin: 0; }

/* Product showcase tabs */
.showcase { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 980px) { .showcase { grid-template-columns: .95fr 1.05fr; } }
.tablist { display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 979px) { .tablist { flex-direction: row; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; } }
.tab { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; text-align: left; padding: 16px 18px; border-radius: var(--radius); border: 1px solid transparent; background: transparent; color: var(--text); font: inherit; cursor: pointer; transition: background-color .18s, border-color .18s; }
.tab:hover { background: var(--surface); }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.tab__icon { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--panel); color: var(--accent); }
.tab[aria-selected="true"] .tab__icon { background: var(--grad); color: #fff; }
.tab__title { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 1.0625rem; }
.tab__desc { display: block; color: var(--text-soft); font-size: .9375rem; margin-top: 2px; }
@media (max-width: 979px) { .tab { flex: 0 0 auto; grid-template-columns: 32px auto; align-items: center; padding: 10px 16px 10px 10px; border-radius: 999px; border-color: var(--border); scroll-snap-align: start; } .tab__icon { width: 32px; height: 32px; border-radius: 50%; } .tab__icon .icon { width: 16px; height: 16px; } .tab__desc { display: none; } .tab__title { font-size: .9375rem; } }
.tabpanels { position: relative; display: grid; place-items: center; min-height: 640px; }
.tabpanels::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow-b), transparent 65%); z-index: 0; }
.js .tabpanel[hidden] { display: none; }
.tabpanel { position: relative; z-index: 1; }
.tabpanel__caption { text-align: center; margin-top: 16px; font-size: .875rem; color: var(--text-faint); }
@media (max-width: 979px) { .tabpanels { min-height: 0; } }

/* Dark feature panel (AURA etc.) */
.deep { background: var(--deep); color: var(--deep-text); border-radius: var(--radius-xl); margin-inline: clamp(8px, 2vw, 24px); position: relative; isolation: isolate; overflow: hidden; }
.deep::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(50% 60% at 100% 0%, rgba(238,141,182,.28), transparent 70%), radial-gradient(45% 60% at 0% 100%, rgba(130,112,252,.3), transparent 70%); }
.deep h2, .deep h3 { color: #fff; }
.deep p, .deep li { color: var(--deep-soft); }
.deep a:not(.btn) { color: #C9C0FF; }
.deep .eyebrow { color: #C9C0FF; }
.deep .lead { color: #DAD6F0; }
.deep :focus-visible { outline-color: #C9C0FF; }

/* AURA */
.aura { display: grid; gap: 14px; }
@media (min-width: 760px) { .aura { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .aura { grid-template-columns: repeat(4, 1fr); } }
.aura__stage { position: relative; padding: 28px 24px 26px; border-radius: var(--radius-lg); background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); }
.aura__letter { font-family: var(--font-ui); font-weight: 600; font-size: clamp(3.6rem, 3rem + 2vw, 4.8rem); line-height: 1; letter-spacing: -0.04em; background: linear-gradient(160deg, #CFC8FF 10%, #8270FC 90%); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 14px; }
.aura__name { font-family: var(--font-ui); font-weight: 600; font-size: 1.2rem; color: #fff; display: block; margin-bottom: 6px; }
.aura__stage p { margin: 0; font-size: 1rem; }
.aura__step { position: absolute; top: 24px; right: 22px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; color: #BDB7DE; }
.aura-foot { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; font-size: .9688rem; }
.aura-foot .pill { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: #F3F1FF; }

/* Proof of Care flow */
.poc { display: grid; gap: 12px; align-items: stretch; }
@media (min-width: 900px) { .poc { grid-template-columns: 1fr 72px 1fr 72px 1fr; } }
.poc__stage { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; position: relative; }
.poc__stage--end { background: var(--grad-soft), var(--surface); border-color: var(--border-strong); }
.poc__label { font-family: var(--font-ui); font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--eyebrow); }
.poc__stage h3 { margin: 10px 0 8px; font-size: 1.4rem; }
.poc__stage p { color: var(--text-soft); margin: 0; font-size: 1rem; }
.poc__arrow { display: grid; place-items: center; position: relative; min-height: 40px; }
.poc__arrow::before { content: ""; position: absolute; background: linear-gradient(90deg, var(--violet), var(--pink)); }
@media (min-width: 900px) { .poc__arrow::before { left: 6px; right: 6px; top: 50%; height: 2px; } }
@media (max-width: 899px) { .poc__arrow::before { top: 0; bottom: 0; left: 50%; width: 2px; } }
.poc__arrow span { position: relative; width: 14px; height: 14px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 0 6px var(--bg); }
@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 900px) { .poc__arrow span { animation: travel-x 3.2s ease-in-out infinite; } }
  @media (max-width: 899px) { .poc__arrow span { animation: travel-y 3.2s ease-in-out infinite; } }
  .poc__arrow:nth-of-type(4) span { animation-delay: 1.2s; }
}
@keyframes travel-x { 0%, 100% { transform: translateX(-18px); opacity: .4; } 50% { transform: translateX(18px); opacity: 1; } }
@keyframes travel-y { 0%, 100% { transform: translateY(-10px); opacity: .4; } 50% { transform: translateY(10px); opacity: 1; } }
.poc__record { margin-top: 16px; display: grid; gap: 8px; font-size: .875rem; }
.poc__record div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 12px; border-radius: 10px; background: var(--surface); border: 1px solid var(--border); }
.poc__record dt { color: var(--text-soft); margin: 0; }
.poc__record dd { margin: 0; font-weight: 700; text-align: right; }

/* Plans */
.plans { display: grid; gap: 20px; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); }
.plan--pro { border: 1.5px solid transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box; box-shadow: var(--shadow); }
.plan__name { font-family: var(--font-ui); font-weight: 600; font-size: 1.9rem; letter-spacing: -0.02em; margin: 0 0 6px; }
.plan__for { color: var(--text-soft); margin-bottom: 24px; }
.plan .checks { margin-bottom: 28px; }
.plan .btn { margin-top: auto; }
.plan__ribbon { position: absolute; top: 24px; right: 24px; }
.tiers { display: grid; gap: 16px; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }
.tier { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; display: flex; flex-direction: column; }
.tier__level { display: flex; gap: 5px; margin-bottom: 16px; }
.tier__level span { width: 26px; height: 6px; border-radius: 3px; background: var(--border); }
.tier__level span.on { background: var(--grad); }
.tier h3 { font-size: 1.5rem; margin-bottom: 4px; }
.tier__sub { color: var(--text-soft); font-size: .975rem; margin-bottom: 18px; }
.standard-band { margin-top: 24px; display: flex; gap: 16px; align-items: flex-start; padding: 20px 24px; border-radius: var(--radius); background: var(--deep); color: var(--deep-text); }
.standard-band .icon { color: #C9C0FF; width: 26px; height: 26px; margin-top: 2px; }
.standard-band p { margin: 0; color: var(--deep-soft); }
.standard-band strong { color: #fff; }

/* Steps (rollout) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; padding: 26px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-family: var(--font-ui); font-weight: 600; font-size: 2.2rem; line-height: 1; letter-spacing: -0.03em; margin-bottom: 18px; background: linear-gradient(135deg, #5B3FE0, #C2508A); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps h3 { font-size: 1.15rem; }
.steps p { color: var(--text-soft); font-size: .975rem; margin: 0; }

/* Audience switcher blocks (schools / colleges / coaching) */
.audiences { display: grid; gap: 16px; }
@media (min-width: 900px) { .audiences { grid-template-columns: repeat(3, 1fr); } }
.audience { border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--border); background: var(--surface); }
.audience__tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-ui); font-weight: 600; margin-bottom: 14px; }
.audience__tag .icon-tile { width: 42px; height: 42px; margin: 0; border-radius: 13px; }
.audience h3 { font-size: 1.35rem; }
.audience ul { color: var(--text-soft); margin: 0; padding-left: 1.1em; display: grid; gap: 6px; font-size: .9875rem; }

/* Team */
.team { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.person { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.person__avatar { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-ui); font-weight: 600; font-size: 1.2rem; color: #fff; background: var(--grad); margin-bottom: 16px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.35); }
.person__name { font-family: var(--font-ui); font-weight: 600; font-size: 1.0625rem; margin: 0; }
.person__role { color: var(--text-soft); font-size: .9375rem; margin: 2px 0 0; }

/* Founder note */
.letter { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(28px, 5vw, 64px); box-shadow: var(--shadow); }
.letter::before { content: "“"; position: absolute; top: -6px; left: clamp(20px, 4vw, 48px); font-family: var(--font-ui); font-size: 7rem; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.letter p { font-size: clamp(1.0625rem, 1rem + .3vw, 1.2rem); line-height: 1.7; }
.letter__sign { display: flex; align-items: center; gap: 14px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.letter__sign strong { display: block; font-family: var(--font-ui); }
.letter__sign span { color: var(--text-soft); font-size: .9375rem; }

/* Values */
.values { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.values li { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid var(--border); align-items: baseline; }
.values li:last-child { border-bottom: 1px solid var(--border); }
.values__n { font-family: var(--font-ui); font-weight: 600; color: var(--eyebrow); }
.values strong { font-family: var(--font-ui); font-weight: 600; font-size: 1.2rem; display: block; margin-bottom: 4px; }
.values p { margin: 0; color: var(--text-soft); }

/* Statistic blocks with citations */
.stat { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); display: flex; flex-direction: column; }
.stat__num { font-family: var(--font-ui); font-weight: 600; font-size: clamp(2.4rem, 2rem + 1.6vw, 3.4rem); line-height: 1; letter-spacing: -0.03em; margin-bottom: 14px; }
.stat p { color: var(--text-soft); }
.stat cite { margin-top: auto; font-style: normal; font-size: .8125rem; color: var(--text-faint); padding-top: 14px; border-top: 1px solid var(--border); }
.sources { font-size: .9375rem; color: var(--text-soft); }
.sources li { margin-bottom: 8px; }

/* Long-form / legal prose */
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(1.45rem, 1.25rem + .8vw, 1.9rem); margin-top: 2.2em; }
.prose h3 { margin-top: 1.8em; }
.prose p, .prose li { color: var(--text-soft); }
.prose li { margin-bottom: .4em; }
.toc { position: sticky; top: calc(var(--header-h) + 20px); font-size: .9375rem; }
.toc ol { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; border-left: 2px solid var(--border); }
.toc a { display: block; padding: 6px 0 6px 16px; color: var(--text-soft); text-decoration: none; margin-left: -2px; border-left: 2px solid transparent; }
.toc a:hover { color: var(--text); border-left-color: var(--violet); }
.with-toc { display: grid; gap: 40px; }
@media (min-width: 1000px) { .with-toc { grid-template-columns: 240px 1fr; gap: 64px; } }
@media (max-width: 999px) { .toc { position: static; } }

/* Help page */
.help-hero { padding-block: clamp(48px, 7vw, 96px); }
.help-cards { display: grid; gap: 16px; }
@media (min-width: 800px) { .help-cards { grid-template-columns: 1fr 1fr; } }
.help-card { border-radius: var(--radius-xl); padding: clamp(28px, 4vw, 44px); border: 1.5px solid var(--border-strong); background: var(--surface); display: flex; flex-direction: column; gap: 6px; }
.help-card--urgent { background: var(--deep); color: var(--deep-text); border-color: transparent; }
.help-card--urgent h2, .help-card--urgent .help-card__num { color: #fff; }
.help-card--urgent p { color: var(--deep-soft); }
.help-card h2 { font-size: 1.35rem; margin: 0; }
.help-card__num { font-family: var(--font-ui); font-weight: 600; font-size: clamp(3.2rem, 2.6rem + 3vw, 5rem); line-height: 1; letter-spacing: -0.03em; margin: 10px 0 8px; color: var(--text); text-decoration: none; display: inline-block; }
.help-card .btn { margin-top: 18px; align-self: flex-start; }
.help-card--urgent .btn { background: #fff; color: #1F1C3D; }

/* Contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 980px) { .contact-grid { grid-template-columns: 1.15fr .85fr; } }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.contact-aside { display: grid; gap: 16px; }
.contact-method { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); text-decoration: none; color: var(--text); }
a.contact-method:hover { border-color: var(--border-strong); }
.contact-method .icon-tile { margin: 0; flex: none; }
.contact-method strong { font-family: var(--font-ui); display: block; }
.contact-method span { color: var(--text-soft); font-size: .9375rem; word-break: break-word; }

/* Reveal on scroll (only when JS is running) */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
  .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* 7. PRODUCT MOCKUPS ------------------------------------------------------- */
/* Phone frame. Screens stay light in both themes, like a real product shot. */
.phone { --ui-bg: #F9F8FE; --ui-surface: #FFFFFF; --ui-text: #1F1C3D; --ui-soft: #5E5A7C; --ui-border: #E4DFF2;
  position: relative; width: min(310px, 82vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 11px; background: #15132B; box-shadow: var(--shadow-lg), inset 0 0 0 2px #2E2A4E; flex: none; }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 88px; height: 24px; border-radius: 20px; background: #15132B; z-index: 3; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; overflow: hidden; background: var(--ui-bg); color: var(--ui-text); font-family: var(--font-body); font-size: 13px; line-height: 1.45; display: flex; flex-direction: column; }
.phone--sm { width: min(260px, 70vw); }
.ui-status { display: flex; justify-content: space-between; padding: 14px 24px 0; font-size: 11px; font-weight: 700; color: var(--ui-text); height: 40px; }
.ui-status i { display: inline-block; width: 16px; height: 8px; border-radius: 2px; border: 1.5px solid currentColor; margin-left: 4px; position: relative; }
.ui-status i::after { content: ""; position: absolute; inset: 1px 3px 1px 1px; background: currentColor; border-radius: 1px; }
.ui-top { display: flex; align-items: center; gap: 10px; padding: 10px 18px 12px; border-bottom: 1px solid var(--ui-border); }
.ui-top__title { font-family: var(--font-ui); font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.ui-top__sub { font-size: 11px; color: var(--ui-soft); }
.ui-avatar { width: 34px; height: 34px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #F4EEFF, #EE8DB6 45%, #8270FC); flex: none; box-shadow: inset 0 0 0 2px rgba(255,255,255,.6); }
.ui-body { flex: 1; padding: 14px 14px 10px; display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.ui-chip-ai { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(130,112,252,.16); color: #4B3BC4; font-size: 10px; font-weight: 700; }
.bubble { max-width: 84%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; line-height: 1.45; }
.bubble--ai { background: var(--ui-surface); border: 1px solid var(--ui-border); border-bottom-left-radius: 5px; align-self: flex-start; }
.bubble--me { background: #1F1C3D; color: #fff; border-bottom-right-radius: 5px; align-self: flex-end; }
.ui-suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.ui-suggest span { padding: 6px 10px; border-radius: 999px; background: #EDE9F5; border: 1px solid var(--ui-border); font-size: 11px; font-weight: 700; color: #3A3566; }
.ui-input { margin: 0 12px 16px; display: flex; align-items: center; gap: 8px; padding: 8px 8px 8px 14px; border-radius: 999px; background: var(--ui-surface); border: 1px solid var(--ui-border); color: var(--ui-soft); font-size: 12px; }
.ui-input b { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,#8270FC,#EE8DB6); }
.ui-note { font-size: 10px; color: var(--ui-soft); text-align: center; padding: 0 16px 6px; }
.ui-h { font-family: var(--font-ui); font-weight: 600; font-size: 18px; letter-spacing: -0.02em; line-height: 1.2; margin: 2px 0 2px; color: var(--ui-text); }
.ui-p { color: var(--ui-soft); font-size: 12px; margin: 0; }
.ui-card { background: var(--ui-surface); border: 1px solid var(--ui-border); border-radius: 16px; padding: 12px; }
.ui-groups { display: flex; gap: 6px; }
.ui-groups span { flex: 1; text-align: center; padding: 7px 0; border-radius: 10px; font-size: 11px; font-weight: 800; background: #EDE9F5; color: #3A3566; }
.ui-groups span.on { background: #1F1C3D; color: #fff; }
.ui-scale { display: flex; justify-content: space-between; gap: 5px; margin-top: 8px; }
.ui-scale span { flex: 1; height: 30px; border-radius: 9px; background: #EDE9F5; display: grid; place-items: center; font-size: 14px; }
.ui-scale span.on { background: linear-gradient(135deg,#8270FC,#EE8DB6); }
.ui-q { font-weight: 700; font-size: 12.5px; }
.ui-progress { height: 6px; border-radius: 4px; background: #E9E5F4; overflow: hidden; }
.ui-progress b { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg,#8270FC,#EE8DB6); border-radius: inherit; }
.ui-btn { display: block; text-align: center; padding: 11px; border-radius: 999px; background: #1F1C3D; color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: 12.5px; margin-top: auto; }
.ui-entry { border-left: 3px solid #EE8DB6; padding: 2px 0 2px 10px; }
.ui-entry small { display: block; color: var(--ui-soft); font-size: 10.5px; font-weight: 700; }
.ui-entry p { margin: 2px 0 0; font-size: 12px; }
.ui-mood { display: inline-block; font-size: 10px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #EFE7FB; color: #4B3BC4; margin-top: 4px; }
.ui-habit { display: flex; align-items: center; gap: 10px; }
.ui-ring { --p: 60; width: 34px; height: 34px; border-radius: 50%; flex: none; background: conic-gradient(#C2508A calc(var(--p) * 1%), #E9E5F4 0); display: grid; place-items: center; }
.ui-ring::after { content: ""; width: 24px; height: 24px; border-radius: 50%; background: var(--ui-surface); }
.ui-habit b { font-size: 12.5px; display: block; }
.ui-habit small { color: var(--ui-soft); font-size: 10.5px; }
.ui-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; margin-top: 8px; }
.ui-week span { aspect-ratio: 1; border-radius: 7px; background: #E9E5F4; }
.ui-week span.on { background: linear-gradient(135deg,#8270FC,#EE8DB6); }
.ui-field { padding: 10px 12px; border-radius: 12px; background: var(--ui-surface); border: 1px solid var(--ui-border); font-size: 12px; color: var(--ui-soft); }
.ui-field b { display: block; color: var(--ui-text); font-size: 11px; margin-bottom: 2px; }
.ui-toggle { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 700; }
.ui-toggle i { width: 34px; height: 20px; border-radius: 999px; background: #5B3FE0; position: relative; }
.ui-toggle i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }
.ui-session { display: grid; grid-template-columns: 42px 1fr; gap: 10px; align-items: center; }
.ui-session__date { text-align: center; border-radius: 12px; background: #EDE9F5; padding: 5px 0; font-family: var(--font-ui); font-weight: 600; line-height: 1.1; font-size: 15px; }
.ui-session__date small { display: block; font-size: 9px; font-weight: 700; color: var(--ui-soft); letter-spacing: .06em; }
.ui-session b { font-size: 12.5px; display: block; line-height: 1.3; }
.ui-session small { font-size: 10.5px; color: var(--ui-soft); }
.ui-tag { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: #C2508A; }
.ui-tabbar { display: flex; justify-content: space-around; padding: 8px 10px 18px; border-top: 1px solid var(--ui-border); background: var(--ui-surface); }
.ui-tabbar span { width: 22px; height: 22px; border-radius: 7px; background: #E9E5F4; }
.ui-tabbar span.on { background: linear-gradient(135deg,#8270FC,#EE8DB6); }
.mock-label { position: absolute; z-index: 4; bottom: -14px; left: 50%; transform: translateX(-50%); }

/* Dashboard mock */
.dash { --d-bg: #F9F8FE; --d-surface: #FFFFFF; --d-text: #1F1C3D; --d-soft: #5E5A7C; --d-border: #E4DFF2;
  border-radius: var(--radius-lg); background: var(--d-bg); color: var(--d-text); border: 1px solid var(--border); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 13px; line-height: 1.45; }
:root[data-theme="dark"] .dash { --d-bg: #1C1A36; --d-surface: #25223A; --d-text: #F3F1FF; --d-soft: #BDB7DE; --d-border: #3A3566; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .dash { --d-bg: #1C1A36; --d-surface: #25223A; --d-text: #F3F1FF; --d-soft: #BDB7DE; --d-border: #3A3566; } }
.dash__bar { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--d-border); background: var(--d-surface); flex-wrap: wrap; }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--d-border); }
.dash__title { font-family: var(--font-ui); font-weight: 600; font-size: 14px; }
.dash__bar .badge { margin-left: auto; }
.dash__body { padding: clamp(12px, 2vw, 20px); display: grid; gap: 12px; }
.dash__kpis { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 760px) { .dash__kpis { grid-template-columns: repeat(4, 1fr); } }
.kpi { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 16px; padding: 14px 16px; }
.kpi__label { font-size: 11.5px; color: var(--d-soft); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.kpi__value { font-family: var(--font-ui); font-weight: 600; font-size: clamp(20px, 2.4vw, 28px); letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
.kpi__delta { font-size: 11px; color: var(--d-soft); }
.kpi--alert .kpi__value { color: #B23A5B; }
:root[data-theme="dark"] .kpi--alert .kpi__value { color: #F29BB3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kpi--alert .kpi__value { color: #F29BB3; } }
.dash__row { display: grid; gap: 12px; }
@media (min-width: 900px) { .dash__row { grid-template-columns: 1.6fr 1fr; } }
.panel { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 16px; padding: 16px; min-width: 0; }
.panel__h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.panel__h b { font-family: var(--font-ui); font-weight: 600; font-size: 13.5px; }
.panel__h span { font-size: 11px; color: var(--d-soft); }
.chart { width: 100%; height: auto; }
.chart .grid-line { stroke: var(--d-border); stroke-width: 1; }
.chart text { fill: var(--d-soft); font-size: 10px; font-family: var(--font-body); }
.cats { display: grid; gap: 10px; }
.cat { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; font-size: 12px; }
.cat span:last-child { color: var(--d-soft); font-weight: 700; }
.cat .bar { grid-column: 1 / -1; height: 7px; border-radius: 4px; background: var(--d-border); overflow: hidden; }
.cat .bar b { display: block; height: 100%; width: var(--w); border-radius: inherit; background: linear-gradient(90deg,#8270FC,#EE8DB6); }
.anon { width: 100%; border-collapse: collapse; font-size: 12px; }
.anon th, .anon td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--d-border); white-space: nowrap; }
.anon th { color: var(--d-soft); font-weight: 700; font-size: 11px; }
.anon tr:last-child td { border-bottom: 0; }
.anon code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11.5px; background: var(--d-bg); padding: 2px 6px; border-radius: 6px; border: 1px solid var(--d-border); }
.status { display: inline-flex; align-items: center; gap: 5px; font-weight: 700; font-size: 11px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status--ok { color: #2F7D5B; }
.status--watch { color: #9A5B00; }
.status--open { color: #5B3FE0; }
.status--urgent { color: #B23A5B; }
:root[data-theme="dark"] .status--ok { color: #7FD3AA; } :root[data-theme="dark"] .status--watch { color: #F2C27A; } :root[data-theme="dark"] .status--open { color: #ABA3FC; } :root[data-theme="dark"] .status--urgent { color: #F29BB3; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status--ok { color: #7FD3AA; } :root:not([data-theme="light"]) .status--watch { color: #F2C27A; } :root:not([data-theme="light"]) .status--open { color: #ABA3FC; } :root:not([data-theme="light"]) .status--urgent { color: #F29BB3; } }
.alerts { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.alerts li { display: grid; grid-template-columns: auto 1fr; gap: 2px 10px; padding: 10px; border-radius: 12px; background: var(--d-bg); border: 1px solid var(--d-border); font-size: 12px; }
.alerts .status { grid-row: span 2; align-self: start; margin-top: 2px; }
.alerts small { color: var(--d-soft); font-size: 11px; grid-column: 2; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.dash-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: .875rem; color: var(--text-soft); }

/* Feature rows (features page) */
.feature-row { display: grid; gap: clamp(32px, 5vw, 72px); align-items: center; padding-block: clamp(48px, 7vw, 96px); border-top: 1px solid var(--border); }
.feature-row:first-child { border-top: 0; }
@media (min-width: 960px) { .feature-row { grid-template-columns: 1fr 1fr; } .feature-row--flip .feature-row__visual { order: -1; } }
.feature-row__visual { display: grid; place-items: center; position: relative; padding-block: 20px; }
.feature-row__visual::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--glow-a), transparent 66%); }
.feature-row__visual > * { position: relative; }
.feature-row h2 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); }
.feature-nav { position: sticky; top: var(--header-h); z-index: 20; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.feature-nav ul { display: flex; gap: 6px; list-style: none; margin: 0; padding: 10px 0; overflow-x: auto; scrollbar-width: none; }
.feature-nav ul::-webkit-scrollbar { display: none; }
.feature-nav a { display: inline-block; padding: 8px 14px; border-radius: 999px; font-family: var(--font-ui); font-weight: 500; font-size: .875rem; color: var(--text); text-decoration: none; white-space: nowrap; border: 1px solid var(--border); background: var(--surface); }
.feature-nav a:hover, .feature-nav a.is-active { border-color: var(--text); }

/* Small mock panels used on the features page */
.mini { width: min(420px, 100%); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 22px; }
.mini__h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-family: var(--font-ui); font-weight: 600; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.timeline li { position: relative; padding: 0 0 18px 28px; font-size: .9375rem; }
.timeline li::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: -4px; width: 2px; background: var(--border); }
.timeline li:last-child::before { display: none; }
.timeline li::after { content: ""; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2px solid var(--violet); }
.timeline li.done::after { background: var(--grad); border-color: transparent; }
.timeline b { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .9375rem; }
.timeline span { color: var(--text-soft); font-size: .875rem; }

/* 8. UTILITIES ------------------------------------------------------------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; } .mt-4 { margin-top: 64px; }
.mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 40px; }
.maxw-sm { max-width: 560px; } .maxw-md { max-width: 720px; }
.divider { height: 1px; background: var(--border); border: 0; margin: 0; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
@media print {
  .help-strip, .site-header, .cookie-banner, .cta-band, .feature-nav { display: none !important; }
  body { background: #fff; color: #000; }
}

/* Layout refinements */
.aura { list-style: none; padding: 0; margin: 0; }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .bento__tile--full { grid-column: 1 / -1; } .bento__tile--full { flex-direction: row; align-items: center; gap: 28px; } .bento__tile--full .icon-tile { margin: 0; } .bento__tile--full .text-link { margin: 0 0 0 auto; padding: 0; white-space: nowrap; } .bento__tile--full > div { max-width: 640px; } }
.poc { align-items: center; }
.poc__stage { height: 100%; }
@media (min-width: 900px) { .poc { align-items: stretch; } .poc__stage { min-height: 0; } }
.float-card--a { top: 4%; left: -10%; }
@media (max-width: 430px) {
  .site-header__inner { gap: 10px; }
  .brand { gap: 8px; }
  .brand .logo-mark { width: 34px; height: 34px; }
  .brand__tag { display: none; }
  .site-header__actions { gap: 4px; }
  .icon-btn, .help-pill { width: 42px; height: 42px; }
}
.hero__trust { list-style: none; padding: 0; margin-left: 0; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) .eyebrow { font-family: var(--font-hi), var(--font-head); letter-spacing: 0; }

/* ---------- v2 refinements: lighter rhythm, fewer boxes ---------- */
:root { --section: clamp(64px, 8vw, 112px); }
.section-head { margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { font-size: 1.0625rem; }

/* Hero polish */
.hero h1 { font-size: clamp(2.5rem, 1.6rem + 4vw, 4.9rem); }
.hero__visual::before { content: ""; position: absolute; width: min(560px, 110%); aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--border); z-index: -1; }
.hero__visual::after { content: ""; position: absolute; width: min(680px, 130%); aspect-ratio: 1; border-radius: 50%; border: 1px dashed var(--border); opacity: .7; z-index: -1; }
.hero .phone { box-shadow: 0 50px 100px -30px rgba(31,28,61,.45), 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 2px #2E2A4E; }

/* Pillars as soft cards */
.pillars2 { display: grid; gap: 14px; }
@media (min-width: 860px) { .pillars2 { grid-template-columns: repeat(3, 1fr); } }
.pillar2 { display: flex; gap: 16px; align-items: flex-start; padding: 22px 22px 22px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.pillar2__icon { flex: none; width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--grad); color: #fff; box-shadow: 0 10px 20px -10px rgba(130,112,252,.8); }
.pillar2__icon .icon { width: 22px; height: 22px; }
.pillar2 h3 { font-size: 1.15rem; margin-bottom: 4px; }
.pillar2 p { margin: 0; color: var(--text-soft); font-size: .975rem; line-height: 1.55; }

/* Moments: tighter */
.moment { padding: 20px 0; }

/* Trust list (replaces card grid) */
.trust-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.trust-list li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 22px; }
.trust-list li + li { border-top: 1px solid var(--border); }
.trust-list__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-soft); border: 1px solid var(--border); color: var(--accent); }
.trust-list strong { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 1.02rem; }
.trust-list span { color: var(--text-soft); font-size: .95rem; }

/* Problem list (institutions) */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0 clamp(24px, 4vw, 56px); counter-reset: pr; }
@media (min-width: 760px) { .problem-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .problem-list { grid-template-columns: repeat(3, 1fr); } }
.problem-list li { counter-increment: pr; padding: 20px 0 20px 48px; border-top: 1px solid var(--border-strong); position: relative; }
.problem-list li::before { content: counter(pr, decimal-leading-zero); position: absolute; left: 0; top: 20px; font-family: var(--font-ui); font-weight: 600; font-size: .9rem; color: var(--eyebrow); }
.problem-list strong { display: block; font-family: var(--font-ui); font-weight: 600; font-size: 1.05rem; margin-bottom: 2px; }
.problem-list span { color: var(--text-soft); font-size: .975rem; }

/* Features: tighter rows + card grid */
.feature-row { padding-block: clamp(40px, 6vw, 80px); gap: clamp(28px, 5vw, 64px); }
.feature-cards { display: grid; gap: 16px; padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--border); }
@media (min-width: 860px) { .feature-cards { grid-template-columns: 1fr 1fr; } }
.fcard { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); scroll-margin-top: calc(var(--header-h) + 70px); }
.fcard h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin-bottom: 8px; }
.fcard p { color: var(--text-soft); margin: 0; }
.fcard .eyebrow { margin-bottom: 6px; }
.fcard .text-link { margin-top: 16px; }
.fcard--deep { background: var(--deep); border-color: transparent; }
.fcard--deep h2 { color: #fff; } .fcard--deep p { color: var(--deep-soft); } .fcard--deep p strong { color: #C9C0FF; }
.fcard--deep .eyebrow, .fcard--deep .text-link { color: #C9C0FF; }
.fcard--deep .icon-tile { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.14); color: #C9C0FF; }
.fcard--glow { background: var(--grad-soft), var(--surface); border-color: var(--border-strong); }
.feature-row { scroll-margin-top: calc(var(--header-h) + 60px); }

/* Mobile: smaller mock-ups, less scrolling */
@media (max-width: 640px) {
  .phone { width: min(250px, 68vw); border-radius: 38px; padding: 9px; }
  .phone__screen { border-radius: 30px; font-size: 12px; }
  .phone::before { width: 70px; height: 20px; top: 16px; }
  .hero__visual::before, .hero__visual::after { display: none; }
  .hero__orb { width: 300px; }
  .tabpanels { min-height: 0; }
  .feature-row__visual { padding-block: 0; }
  .section--rounded, .deep { margin-inline: 0; border-radius: var(--radius-lg); }
  .bento__tile { min-height: 0; padding: 22px; }
  .bento__tile .icon-tile { margin-bottom: 14px; }
  .journey__step { padding-bottom: 20px; }
  .aura__stage { padding: 22px; }
  .aura__letter { font-size: 3rem; margin-bottom: 8px; }
}

/* Footer credit */
.site-footer__credit a { color: var(--text); font-weight: 700; text-decoration: none; }
.site-footer__credit a:hover { color: var(--link); text-decoration: underline; }
.site-footer__credit span[aria-hidden] { opacity: .5; margin-inline: 4px; }
.hero h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); max-width: 14ch; }
.hero h1 .gradient-text { display: block; }
@media (min-width: 980px) { .float-card--a { left: -14%; top: 6%; } .float-card--b { right: -8%; } }
@media (min-width: 900px) { .poc { align-items: center; } .poc__stage { height: auto; } }


/* =====================================================================
   v3 — App design system (taken from the SafeSpace Android app):
   Playfair Display for display type, Roboto for UI, indigo night +
   violet accents, soft lavender surfaces, illustrated scenes.
   ===================================================================== */
:root {
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-ui: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: var(--font-ui);
  --font-head: var(--font-display);
  --accent: #5F33FA; --link: #5B3FE0; --eyebrow: #5B3FE0;
  --btn-bg: #5F33FA; --btn-bg-hover: #4B22E6; --btn-fg: #FFFFFF;
  --text: #1F1C3D; --text-soft: #4E4A6B; --text-faint: #625D80;
  --cream: #F7F3EE; --mint: #57C4A0; --mint-soft: #DDF3EA; --pink: #EE8DB6;
  --grad: linear-gradient(135deg, #8270FC 0%, #EE8DB6 100%);
  --grad-soft: linear-gradient(135deg, rgba(130,112,252,.12), rgba(238,141,182,.12));
  --deep: #1F1C3D; --deep-2: #25223A; --deep-text: #F3F1FF; --deep-soft: #CFCBE6;
  --radius: 22px; --radius-lg: 28px; --radius-xl: 40px;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) {
  --bg: #15132B; --bg-2: #191730; --panel: #1F1C3D; --surface: #1C1A36; --border: #332D5A; --border-strong: #4B4380;
  --text: #F3F1FF; --text-soft: #CFCBE6; --text-faint: #A39EC4; --accent: #ABA3FC; --link: #ABA3FC; --eyebrow: #ABA3FC;
  --btn-bg: #ABA3FC; --btn-fg: #15132B; --btn-bg-hover: #C4BEFF; --cream: #1F1C3D; --mint-soft: #1E3A33; --deep: #25223A;
} }
:root[data-theme="dark"] {
  --bg: #15132B; --bg-2: #191730; --panel: #1F1C3D; --surface: #1C1A36; --border: #332D5A; --border-strong: #4B4380;
  --text: #F3F1FF; --text-soft: #CFCBE6; --text-faint: #A39EC4; --accent: #ABA3FC; --link: #ABA3FC; --eyebrow: #ABA3FC;
  --btn-bg: #ABA3FC; --btn-fg: #15132B; --btn-bg-hover: #C4BEFF; --cream: #1F1C3D; --mint-soft: #1E3A33; --deep: #25223A;
}
body { font-family: var(--font-ui); font-size: 1.0625rem; line-height: 1.65; }
h1, h2, h3, .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em; }
h1 { line-height: 1.08; letter-spacing: -0.02em; }
h2 { line-height: 1.14; }
h3 { font-family: var(--font-ui); font-weight: 600; letter-spacing: 0; }
.prose h3, .letter h3 { font-family: var(--font-display); }
.gradient-text, :root[data-theme="dark"] .gradient-text { background: none; -webkit-text-fill-color: currentColor; color: var(--accent); font-style: italic; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .gradient-text { background: none; color: var(--accent); } }
.eyebrow { font-family: var(--font-ui); font-weight: 500; font-size: .78rem; letter-spacing: .14em; }
.eyebrow::before { width: 22px; }
.btn { font-family: var(--font-ui); font-weight: 500; letter-spacing: .01em; }
.btn--primary { box-shadow: 0 12px 26px -12px rgba(95,51,250,.7); }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.01em; }
.brand .logo-img { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 6px 16px -6px rgba(238,141,182,.7); flex: none; }
.aura__letter, .stat__num, .help-card__num, .plan__name, .callout-line__big, .tier h3, .steps li::before, .letter p:first-child, .site-footer__tagline { font-family: var(--font-display); }
.aura__letter { background: linear-gradient(160deg, #CFC8FF 10%, #8270FC 90%); -webkit-background-clip: text; background-clip: text; }
.stat__num { color: var(--accent); }
.steps li::before { background: none; color: var(--accent); -webkit-text-fill-color: currentColor; font-style: italic; }
.section--panel { background: var(--panel); }
.section--cream { background: var(--cream); }

/* Illustrated hero */
.hero2 { position: relative; padding-block: clamp(32px, 5vw, 72px) clamp(48px, 7vw, 96px); overflow: hidden; isolation: isolate; }
.hero2::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 85% 20%, rgba(130,112,252,.18), transparent 70%), radial-gradient(40% 50% at 0% 0%, rgba(238,141,182,.14), transparent 70%); }
.hero2__grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (min-width: 1000px) { .hero2__grid { grid-template-columns: 1fr 1.05fr; } }
.hero2 h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.6rem); margin-bottom: 22px; max-width: 12ch; }
.hero2 h1 em { font-style: italic; color: var(--accent); display: block; }
.hero2 .lead { max-width: 520px; margin-bottom: 30px; }
.hero2__art { position: relative; }
.art-frame { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 823 / 626; background: var(--panel); }
.art-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero2__art .float-card { position: absolute; }
.hero2__art .float-card--a { top: auto; bottom: -22px; left: -18px; animation: none; }
.hero2__art .float-card--b { top: 22px; right: -14px; bottom: auto; animation: none; }
@media (max-width: 640px) { .hero2__art .float-card { display: flex; max-width: 200px; font-size: .8rem; padding: 10px 12px; } .hero2__art .float-card--a { left: 8px; bottom: -18px; } .hero2__art .float-card--b { right: 8px; top: 10px; } .float-card .icon-dot { width: 30px; height: 30px; } }
.float-card { border-radius: 18px; backdrop-filter: blur(8px); background: color-mix(in srgb, var(--surface) 92%, transparent); }
.float-card .icon-dot { background: var(--accent); }
.float-card strong { font-family: var(--font-ui); }

/* Illustrated split rows */
.scene { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1440 / 1075; background: var(--panel); }
.scene img { width: 100%; height: 100%; object-fit: cover; }
.scene--wide { aspect-ratio: 16 / 7; }
.theme-art .art-dark { display: none; }
:root[data-theme="dark"] .theme-art .art-light { display: none; }
:root[data-theme="dark"] .theme-art .art-dark { display: block; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .theme-art .art-light { display: none; } :root:not([data-theme="light"]) .theme-art .art-dark { display: block; } }

/* Night band (AURA) uses the app's night illustration */
.night { position: relative; color: var(--deep-text); background: #15132B; border-radius: var(--radius-xl); margin-inline: clamp(8px, 2vw, 24px); overflow: hidden; isolation: isolate; }
.night::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../images/illus/mountains-night.webp") center/cover no-repeat; opacity: .55; }
.night::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(21,19,43,.55), rgba(21,19,43,.92)); }
.night h2, .night h3 { color: #fff; } .night p { color: #DAD6F0; } .night .eyebrow { color: #C9C0FF; }
.night .aura__stage { background: rgba(31,28,61,.6); backdrop-filter: blur(6px); border-color: rgba(171,163,252,.22); }
.night a:not(.btn) { color: #C9C0FF; }

/* CTA band: night scene */
.cta-band__card { background: #15132B url("../images/illus/waves-night.webp") center/cover no-repeat; }
.cta-band__glow { background: linear-gradient(90deg, rgba(21,19,43,.92) 30%, rgba(21,19,43,.35)); }
.cta-band h2 { font-family: var(--font-display); }
.btn--light { color: #1F1C3D; }

/* Moods strip (from the app's mood check-in) */
.moods { display: flex; flex-wrap: wrap; gap: 8px; }
.moods span { padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: .9rem; font-weight: 500; }

/* Feature cards with art */
.art-card { display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .25s, box-shadow .25s; }
.art-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.art-card__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--panel); }
.art-card__img img { width: 100%; height: 100%; object-fit: cover; }
.art-card__body { padding: 22px 24px 26px; }
.art-card__body h3 { font-family: var(--font-display); font-size: 1.4rem; margin-bottom: 6px; }
.art-card__body p { color: var(--text-soft); margin: 0; font-size: .98rem; }
.art-cards { display: grid; gap: 18px; }
@media (min-width: 760px) { .art-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .art-cards { grid-template-columns: repeat(3, 1fr); } }

/* Page hero with soft scenery */
.page-hero::after { content: ""; position: absolute; right: 0; bottom: 0; width: min(520px, 45%); height: 100%; z-index: -1; background: url("../images/illus/waves-day.webp") right bottom/cover no-repeat; opacity: .55; -webkit-mask-image: linear-gradient(90deg, transparent, #000 45%); mask-image: linear-gradient(90deg, transparent, #000 45%); }
:root[data-theme="dark"] .page-hero::after { background-image: url("../images/illus/waves-night.webp"); opacity: .6; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .page-hero::after { background-image: url("../images/illus/waves-night.webp"); opacity: .6; } }
@media (max-width: 760px) { .page-hero::after { display: none; } }

/* Phone mock-ups restyled to the app's look */
.phone { --ui-bg: #F9F8FE; --ui-surface: #FFFFFF; --ui-text: #1F1C3D; --ui-soft: #5E5A7C; --ui-border: #E4DFF2; background: #15132B; }
.phone__screen { font-family: var(--font-ui); }
.ui-h, .ui-top__title { font-family: var(--font-display); font-weight: 700; letter-spacing: 0; }
.ui-btn { background: #5F33FA; font-family: var(--font-ui); font-weight: 500; }
.bubble--me { background: #5F33FA; }
.ui-avatar { background: url("../images/logo-app.webp") center/cover; }
.ui-banner { border-radius: 16px; overflow: hidden; aspect-ratio: 16/8; }
.ui-banner img { width: 100%; height: 100%; object-fit: cover; }
.ui-mood-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.ui-mood-grid span { display: grid; place-items: center; gap: 2px; padding: 8px 2px; border-radius: 12px; background: #fff; border: 1px solid var(--ui-border); font-size: 9.5px; font-weight: 600; color: var(--ui-soft); }
.ui-mood-grid span b { font-size: 17px; line-height: 1; }
.ui-mood-grid span.on { background: #EFEBFF; border-color: #8270FC; color: #3A2BB0; }
.ui-tile { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 14px; background: #fff; border: 1px solid var(--ui-border); }
.ui-tile i { width: 32px; height: 32px; border-radius: 10px; flex: none; background: #EFEBFF; display: grid; place-items: center; font-style: normal; font-size: 15px; }
.ui-tile b { display: block; font-size: 12px; } .ui-tile small { color: var(--ui-soft); font-size: 10px; }
.ui-hello { font-family: var(--font-display); font-size: 19px; font-weight: 700; line-height: 1.15; }
.ui-hello em { color: #5F33FA; }
.ui-tabbar span.on, .ui-scale span.on, .ui-week span.on, .ui-progress b { background: linear-gradient(135deg,#8270FC,#5F33FA); }
.ui-ring { background: conic-gradient(#5F33FA calc(var(--p) * 1%), #ECE8FA 0); }

.real-shot { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Footer polish */
.site-footer { background: var(--panel); }
.site-footer__tagline { font-size: 1.3rem; font-weight: 600; }
