/*
 * Perinexa website – design v4.1.
 * Every colour is one of the app's existing brand colours (perinexa1 client/src/styles/tokens.css, Brand & UI
 * Guidelines v1.0): Night Indigo, Perinexa Indigo, Lavender, Nexa Teal, Deep Teal, Mist and the status colours.
 * No gradients and no new colours (owner, 16 Nov 2026). The names below (violet-*, rose-*, grad-*) are kept only so
 * the rest of this file did not need rewriting; each one points at a brand colour.
 * Exception: the skin and hair colours of the drawn illustration.
 */
@font-face { font-family: 'Jost'; font-weight: 400; font-display: swap; src: url('../fonts/Jost-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 500; font-display: swap; src: url('../fonts/Jost-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Jost'; font-weight: 600; font-display: swap; src: url('../fonts/Jost-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Mukta'; font-weight: 400; font-display: swap; src: url('../fonts/Mukta-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Mukta'; font-weight: 600; font-display: swap; src: url('../fonts/Mukta-SemiBold.woff2') format('woff2'); }

:root {
  --indigo-800: #221F6E;  /* Night Indigo */
  --indigo-700: #302A78;  /* Perinexa Indigo */
  --indigo-600: #3A3490;  /* Indigo Hover */
  --indigo-200: #C9C7EE;  /* Lavender */
  --indigo-100: #EDECFB;  /* Lavender Wash */
  --indigo-900: var(--indigo-800);
  --violet-600: var(--indigo-700);
  --violet-500: var(--indigo-600);
  --violet-100: var(--indigo-100);
  --lav-50: #F5F6FD;      /* Mist Light */
  --rose-700: #0A7064;    /* Deep Teal */
  --rose-500: #15B8A6;    /* Nexa Teal */
  --rose-200: #C9C7EE;    /* Lavender */
  --rose-100: #D6F5F1;    /* Teal Wash */
  --teal-500: #15B8A6;
  --teal-700: #0A7064;
  --teal-100: #D6F5F1;
  --amber-700: #8F4E07;
  --amber-100: #FDEFD6;
  --sky-700: #125E88;
  --sky-100: #DCEFF9;
  --mist-100: #E9EBF8;
  --mist-50: #F5F6FD;
  --surface: #FFFFFF;
  --card-border: #E4E6F4;
  --ink: #211F5C;
  --slate-600: #5E6784;
  --border: #D9DEEA;
  --on-solid: #FFFFFF;
  --on-dark-muted: #C9C7EE; /* Lavender: secondary text on Night Indigo */
  --line-on-dark: rgba(255, 255, 255, 0.16);
  --fill-on-dark: rgba(255, 255, 255, 0.10);
  --skin: #F4C7A8;
  --skin-shade: #E5A983;
  --hair: #2E2160;
  --status-stable-fg: #0A6A52; --status-stable-bg: #D3F4EA;
  --status-due-fg: #125E88;    --status-due-bg: #DCEFF9;
  --status-watch-fg: #8F4E07;  --status-watch-bg: #FDEFD6;
  --status-high-fg: #B3261E;   --status-high-bg: #FDE3E0;
  --status-admitted-fg: #5B2DB0; --status-admitted-bg: #ECE4FB;
  --status-inactive-fg: #4B5371; --status-inactive-bg: #ECEEF4;

  --grad-brand: var(--indigo-800);  /* solid Night Indigo, no gradient */
  --grad-soft: var(--mist-100);     /* Mist canvas */
  --grad-rose: var(--mist-100);

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-xl: 24px; --radius-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(34, 31, 110, 0.04), 0 4px 12px rgba(34, 31, 110, 0.05);
  --shadow-card: 0 1px 2px rgba(34, 31, 110, 0.04), 0 8px 24px rgba(34, 31, 110, 0.06);
  --shadow-hover: 0 16px 40px rgba(34, 31, 110, 0.14);
  --shadow-pop: 0 16px 40px rgba(34, 31, 110, 0.14);
  --font-sans: 'Jost', 'Mukta', system-ui, sans-serif;
  --font-deva: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  --wrap: 1200px;
  --gutter: 20px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--surface); color: var(--ink); font-family: var(--font-sans); font-size: 16.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-600); }
h1, h2, h3, h4 { color: var(--indigo-800); font-weight: 600; margin: 0; letter-spacing: -0.02em; }
h1 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.1; }
h2 { font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; }
h3 { font-size: 18.5px; line-height: 1.3; letter-spacing: -0.01em; }
p { margin: 0; }
p + p { margin-top: 0.8em; }
:focus-visible { outline: 3px solid var(--violet-500); outline-offset: 3px; border-radius: 8px; }
.measure { max-width: 58ch; }
.muted { color: var(--slate-600); }
.small { font-size: 14px; line-height: 1.5; }
.deva { font-family: var(--font-deva); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 768px) { :root { --gutter: 32px; } }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 72px 0; } }
.bg-soft { background: var(--lav-50); }
.bg-mist { background: var(--lav-50); }
.accent { color: var(--teal-700); }

.kicker { display: inline-flex; align-items: center; gap: 8px; min-height: 30px; padding: 3px 12px; border-radius: var(--radius-pill); background: var(--violet-100); color: var(--violet-600); font-size: 13px; font-weight: 600; }
.kicker.rose { background: var(--rose-100); color: var(--rose-700); }
.kicker svg { width: 15px; height: 15px; }
.lead { font-size: 18px; line-height: 1.6; color: var(--slate-600); margin-top: 16px; }
.section-head { max-width: 640px; }
.section-head h2 { margin-top: 12px; }
.section-head p { margin-top: 10px; color: var(--slate-600); }
.section-head.center { margin: 0 auto; text-align: center; }
.head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px 32px; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--indigo-800); color: var(--on-solid); padding: 8px 16px; border-radius: var(--radius-md); }
.skip:focus { left: 16px; }

/* ---------- Buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border-radius: var(--radius-pill); font: 600 15.5px/1 var(--font-sans); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease, border-color .2s ease, color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { min-height: 44px; padding: 0 18px; font-size: 14.5px; }
.btn-primary { background: var(--grad-brand); color: var(--on-solid); box-shadow: var(--shadow-card); }
.btn-primary:hover { background: var(--indigo-600); box-shadow: var(--shadow-hover); }
.btn-rose { background: var(--teal-500); color: var(--indigo-800); }
.btn-rose:hover { background: var(--teal-100); }
.btn-secondary { background: var(--surface); color: var(--indigo-700); border-color: var(--border); }
.btn-secondary:hover { border-color: var(--violet-500); color: var(--violet-600); box-shadow: var(--shadow-soft); }
.btn-white { background: var(--surface); color: var(--indigo-800); }
.btn-white:hover { background: var(--mist-100); }
.btn-ghost-light { color: var(--on-solid); border-color: var(--line-on-dark); background: var(--fill-on-dark); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.18); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
@media (max-width: 520px) { .btn-row .btn { width: 100%; } }
.btn .icon { transition: transform .2s ease; }
.btn:hover .icon.arrow-r { transform: translateX(3px); }
.icon { flex-shrink: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; color: var(--violet-600); transition: gap .2s ease; }
.link-arrow:hover { gap: 10px; }

/* ---------- Top bar + gradient header ---------- */
.topbar { background: var(--indigo-700); color: var(--on-dark-muted); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; justify-content: center; gap: 6px 22px; min-height: 34px; flex-wrap: wrap; }
@media (min-width: 900px) { .topbar .wrap { justify-content: space-between; } }
.topbar a { color: var(--on-solid); text-decoration: none; display: inline-flex; align-items: center; gap: 7px; transition: color .2s ease; }
.topbar a:hover { color: var(--rose-200); }
.topbar svg { color: var(--rose-200); }
.topbar .contact { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.topbar .note { display: none; }
@media (min-width: 900px) { .topbar .note { display: inline-flex; align-items: center; gap: 8px; } }
.topbar .note b { background: var(--teal-500); color: var(--indigo-800); border-radius: var(--radius-pill); padding: 1px 9px; font-size: 11.5px; font-weight: 600; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--grad-brand); box-shadow: 0 6px 24px rgba(36, 29, 122, 0.18); }
.site-header .wrap { height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.brand img { height: 36px; width: auto; }
.brand .tagline { display: none; padding-left: 14px; border-left: 1px solid var(--line-on-dark); color: var(--on-dark-muted); font-size: 12.5px; line-height: 1.3; }
@media (min-width: 1180px) { .brand .tagline { display: block; } }
.nav { display: none; align-items: center; gap: 2px; }
.nav > a { position: relative; color: var(--on-solid); text-decoration: none; font-weight: 500; font-size: 15px; padding: 10px 13px; border-radius: var(--radius-pill); transition: background-color .2s ease; }
.nav > a:hover { background: var(--fill-on-dark); }
.nav > a[aria-current="page"] { background: rgba(255, 255, 255, 0.18); }
.nav > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 0; height: 2px; background: var(--rose-200); border-radius: 2px; transition: width .2s ease, left .2s ease; }
.nav > a:hover::after { width: 18px; left: calc(50% - 9px); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.nav-actions .desk { display: none; }
.menu-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: var(--radius-md); border: 1px solid var(--line-on-dark); background: var(--fill-on-dark); color: var(--on-solid); cursor: pointer; }
.mobile-nav { padding: 6px var(--gutter) 18px; background: var(--indigo-800); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { display: block; padding: 12px 0; color: var(--on-solid); text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-on-dark); }
.mobile-nav a[aria-current="page"] { color: var(--rose-200); }
@media (min-width: 1000px) { .nav { display: flex; } .nav-actions .desk { display: inline-flex; } .menu-btn, .mobile-nav { display: none !important; } }

/* ---------- Hero intro slider ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.hero .deco { position: absolute; pointer-events: none; border-radius: 50%; }
.hero .deco-1 { width: 420px; height: 420px; right: -120px; top: -140px; background: var(--violet-100); }
.hero .deco-2 { width: 260px; height: 260px; left: -120px; bottom: -120px; background: var(--rose-100); }
.hero .wrap { position: relative; padding-top: 28px; padding-bottom: 84px; }
@media (min-width: 1000px) { .hero .wrap { padding-top: 32px; padding-bottom: 88px; } }
.slider { position: relative; }
.slides { position: relative; display: grid; }
.slide { grid-area: 1 / 1; align-self: center; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease, visibility 0s linear .6s; }
.slide.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .6s ease, transform .6s ease, visibility 0s; }
.hero-slide { display: grid; gap: 32px; align-items: center; }
@media (min-width: 1000px) { .hero-slide { grid-template-columns: 1fr 1fr; gap: 48px; } }
.hero-slide h1 { margin-top: 14px; }
.hero-visual { position: relative; display: grid; place-items: center; }
.hero .lead { font-size: 17px; margin-top: 12px; }
.hero .btn-row { margin-top: 22px; }
.hero-visual > .app-window, .hero-visual > .paper, .collage .app-window { max-height: 330px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 82%, transparent); mask-image: linear-gradient(180deg, #000 82%, transparent); }
.hero-visual > .app-window, .hero-visual > .paper { width: 100%; max-width: 540px; }
/* collage: Today screen with a phone showing the visit reminder */
.collage { position: relative; width: 100%; max-width: 540px; padding: 0 0 26px 0; }
.collage .app-window { width: 88%; }
.phone { position: absolute; right: 0; bottom: 0; width: 196px; border-radius: 28px; background: var(--indigo-800); padding: 9px; box-shadow: var(--shadow-pop); }
.phone-screen { border-radius: 21px; background: var(--mist-50); padding: 12px 10px 14px; min-height: 250px; display: grid; gap: 8px; align-content: start; }
.phone-notch { width: 56px; height: 5px; border-radius: 5px; background: var(--border); margin: 0 auto 4px; }
.phone-head { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 600; color: var(--indigo-800); padding-bottom: 7px; border-bottom: 1px solid var(--card-border); }
.phone-head .ic { width: 26px; height: 26px; }
.phone-head small { display: block; font-weight: 400; color: var(--slate-600); font-size: 10px; }
.bubble { background: var(--surface); border: 1px solid var(--card-border); border-radius: 12px 12px 12px 4px; padding: 8px 9px; font-size: 11.5px; line-height: 1.4; color: var(--ink); box-shadow: var(--shadow-soft); }
.bubble.deva { font-size: 12px; }
.bubble time { display: block; margin-top: 3px; font-size: 9.5px; color: var(--slate-600); text-align: right; }
@media (max-width: 560px) { .phone { width: 160px; } .phone-screen { min-height: 210px; } .collage .app-window { width: 100%; } }
.art-wrap { position: relative; width: 100%; max-width: 360px; }
.art-wrap svg.art { width: 100%; height: auto; display: block; }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-card); padding: 10px 14px; font-size: 13px; color: var(--ink); animation: floatY 6s ease-in-out infinite; }
.float-card b { display: block; font-size: 13.5px; color: var(--indigo-800); line-height: 1.25; }
.float-card small { color: var(--slate-600); font-size: 12px; }
.float-card .ic { width: 34px; height: 34px; }
.fc-1 { left: -4%; top: 30%; }
.fc-2 { right: 36%; top: -16px; animation-delay: -2s; }
.fc-3 { left: 6%; bottom: 4%; animation-delay: -4s; }
@media (max-width: 560px) { .fc-1 { left: 0; } .fc-2 { right: 0; } .fc-3 { display: none; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.slider-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 16px; }
@media (min-width: 1000px) { .hero .slider-ui { justify-content: flex-start; } }
.dots { display: flex; gap: 6px; }
.dot { position: relative; width: 10px; height: 10px; border-radius: var(--radius-pill); border: 0; padding: 0; background: var(--indigo-200); cursor: pointer; transition: width .3s ease, background-color .3s ease; }
.dot::after { content: ""; position: absolute; inset: -17px -6px; }
.dot[aria-current="true"] { width: 30px; background: var(--violet-500); }
.arrow { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--border); background: var(--surface); color: var(--indigo-700); cursor: pointer; box-shadow: var(--shadow-soft); transition: transform .2s ease, color .2s ease, border-color .2s ease; }
.arrow:hover { transform: scale(1.06); color: var(--violet-600); border-color: var(--violet-500); }
[data-prev] svg { transform: rotate(180deg); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; font-size: 14px; color: var(--slate-600); }
.hero-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust svg { color: var(--teal-700); }

/* ---------- Pastel icon circle ---------- */
.ic { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--violet-100); color: var(--violet-600); flex-shrink: 0; transition: transform .25s ease; }
.ic.rose { background: var(--rose-100); color: var(--rose-700); }
.ic.teal { background: var(--teal-100); color: var(--teal-700); }
.ic.sky { background: var(--sky-100); color: var(--sky-700); }
.ic.amber { background: var(--amber-100); color: var(--amber-700); }
.ic.red { background: var(--status-high-bg); color: var(--status-high-fg); }
.tile { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--violet-100); color: var(--violet-600); flex-shrink: 0; transition: transform .25s ease; }
.tile.teal { background: var(--teal-100); color: var(--teal-700); }
.tile.red { background: var(--status-high-bg); color: var(--status-high-fg); }
.tile.amber { background: var(--amber-100); color: var(--amber-700); }
.tile.blue { background: var(--sky-100); color: var(--sky-700); }
.tile.violet { background: var(--rose-100); color: var(--rose-700); }

/* ---------- Stat cards (overlap the hero) ---------- */
.stats { position: relative; z-index: 3; margin-top: -60px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.stat-card { position: relative; overflow: hidden; display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-card); transition: transform .25s ease, box-shadow .25s ease; }
.stat-card::after { content: ""; position: absolute; right: -30px; bottom: -40px; width: 110px; height: 80px; border-radius: 50%; background: var(--lav-50); transition: transform .3s ease; }
.stat-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.stat-card:hover::after { transform: scale(1.3); }
.stat-card:hover .ic { transform: scale(1.08) rotate(-4deg); }
.stat-card b { position: relative; z-index: 1; display: block; font-size: 28px; line-height: 1.05; color: var(--indigo-800); font-weight: 600; }
.stat-card span.t { position: relative; z-index: 1; font-size: 13.5px; color: var(--slate-600); }
.stat-card b.word { font-size: 18px; line-height: 1.3; }

/* ---------- Generic cards ---------- */
.grid-3 { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 768px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
.grid-2 { display: grid; gap: 18px; margin-top: 32px; }
@media (min-width: 768px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
.card { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 24px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--teal-500); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card:hover .tile, .card:hover .ic { transform: scale(1.08) rotate(-4deg); }
.card h3 { margin-top: 16px; }
.card p { margin-top: 8px; color: var(--slate-600); font-size: 15.5px; }

/* ---------- Quick features (like quick actions) ---------- */
.quick { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 28px; }
@media (min-width: 700px) { .quick { grid-template-columns: repeat(4, 1fr); } }
.q-item { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 22px 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-soft); text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease; }
.q-item b { font-size: 15.5px; color: var(--indigo-800); }
.q-item span.d { font-size: 13px; color: var(--slate-600); line-height: 1.4; }
.q-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); background: var(--lav-50); }
.q-item:hover .ic { transform: scale(1.12); }
.q-item .go { position: absolute; top: 12px; right: 12px; color: var(--violet-500); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; }
.q-item:hover .go { opacity: 1; transform: none; }

/* ---------- Product tour ---------- */
.tour-tabs { display: flex; gap: 6px; flex-wrap: wrap; padding: 6px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--card-border); box-shadow: var(--shadow-soft); width: fit-content; max-width: 100%; }
.tab { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: var(--radius-pill); border: 0; background: transparent; color: var(--indigo-700); font: 600 14.5px var(--font-sans); cursor: pointer; transition: background-color .2s ease, color .2s ease; }
.tab:hover { background: var(--violet-100); }
.tab[aria-selected="true"] { background: var(--grad-brand); color: var(--on-solid); }
.tour { margin-top: 22px; }
.tour-panel { display: grid; gap: 26px; align-items: center; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 22px; animation: fadeIn .45s ease; }
.tour-panel[hidden] { display: none; }
@media (min-width: 1000px) { .tour-panel { grid-template-columns: 0.85fr 1.15fr; gap: 40px; padding: 32px 36px; } }
.tour-panel h3 { font-size: clamp(22px, 2.2vw, 27px); line-height: 1.2; margin-top: 12px; }
.tour-panel p { margin-top: 10px; color: var(--slate-600); }
.tour-visual { position: relative; padding: 18px; border-radius: 22px; background: var(--grad-rose); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.checks { list-style: none; padding: 0; margin: 14px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-top: 8px; color: var(--ink); font-size: 15.5px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--violet-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23302A78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.source { margin-top: 14px; font-size: 13.5px; color: var(--slate-600); }
.mock-note { margin-top: 12px; font-size: 12.5px; color: var(--slate-600); }

/* ---------- Promo banner ---------- */
.promo { position: relative; overflow: hidden; display: grid; gap: 20px; align-items: center; border-radius: var(--radius-xl); background: var(--grad-rose); border: 1px solid var(--card-border); padding: 24px; transition: box-shadow .25s ease; }
.promo:hover { box-shadow: var(--shadow-card); }
@media (min-width: 860px) { .promo { grid-template-columns: 150px 1fr auto; gap: 32px; padding: 24px 40px; } }
.promo-icon { display: grid; place-items: center; width: 120px; height: 120px; margin: 0 auto; border-radius: 50%; background: var(--surface); color: var(--teal-700); box-shadow: var(--shadow-card); position: relative; }
.promo-icon::after { content: ""; position: absolute; inset: -12px; border-radius: 50%; border: 2px dashed var(--indigo-200); }
.promo h2 { font-size: clamp(22px, 2.4vw, 28px); }
.promo p { margin-top: 6px; color: var(--slate-600); }
.promo .heart { position: absolute; right: 26px; top: 18px; color: var(--rose-500); opacity: .6; }

/* ---------- Showcase rows (features page) ---------- */
.showcase { display: grid; gap: 30px; align-items: center; padding: 40px 0; }
.showcase + .showcase { border-top: 1px solid var(--card-border); }
@media (min-width: 1000px) { .showcase { grid-template-columns: 0.9fr 1.1fr; gap: 56px; padding: 48px 0; } .showcase.flip > :first-child { order: 2; } }
.showcase h3 { font-size: clamp(22px, 2.4vw, 29px); line-height: 1.2; margin-top: 12px; }
.showcase p { margin-top: 10px; color: var(--slate-600); }
.showcase-visual { position: relative; padding: 18px; border-radius: 22px; background: var(--grad-rose); transition: transform .3s ease; }
.showcase-visual:hover { transform: translateY(-4px); }
.showcase-visual.teal { background: var(--grad-soft); }

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps.four { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; position: relative; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); padding: 22px 22px 22px 78px; transition: transform .25s ease, box-shadow .25s ease; }
.steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.steps li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 22px; top: 22px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: var(--on-solid); font-weight: 600; font-size: 14px; }
.steps h3 { font-size: 17px; }
.steps p { margin-top: 4px; color: var(--slate-600); font-size: 15.5px; }

/* ---------- Roles table ---------- */
.table-card { margin-top: 32px; background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-lg); box-shadow: var(--shadow-card); overflow: hidden; }
.table-scroll { overflow-x: auto; }
.table-card table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
.table-card th, .table-card td { text-align: left; padding: 14px 20px; border-top: 1px solid var(--card-border); vertical-align: top; }
.table-card thead th { background: var(--lav-50); border-top: 0; font-weight: 600; color: var(--indigo-800); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.table-card tbody tr { transition: background-color .2s ease; }
.table-card tbody tr:hover { background: var(--lav-50); }
.table-card td:first-child { font-weight: 600; color: var(--indigo-800); white-space: nowrap; }
.table-card td { color: var(--slate-600); }

/* ---------- Founder + FAQ ---------- */
.voices { display: grid; gap: 24px; }
@media (min-width: 1000px) { .voices { grid-template-columns: 0.95fr 1.05fr; gap: 36px; align-items: start; } }
.founder-card { position: relative; overflow: hidden; display: grid; gap: 22px; background: var(--grad-rose); border: 1px solid var(--card-border); border-radius: var(--radius-xl); padding: 26px; transition: box-shadow .25s ease, transform .25s ease; }
.founder-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
@media (min-width: 560px) { .founder-card { grid-template-columns: 150px 1fr; align-items: start; } }
@media (min-width: 860px) { .founder-card.wide { grid-template-columns: 220px 1fr; gap: 44px; padding: 40px; align-items: center; } }
.founder-photo { position: relative; margin: 0; width: 150px; }
.founder-card.wide .founder-photo { width: 220px; }
.founder-photo img { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 20px; box-shadow: var(--shadow-card); border: 4px solid var(--surface); }
.founder-photo .ring { position: absolute; top: -14px; left: -16px; width: 96px; height: 96px; border-radius: 50%; background: var(--rose-200); }
.founder-photo .ring3 { position: absolute; z-index: 2; right: -10px; bottom: 14px; width: 38px; height: 38px; border-radius: 50%; background: var(--surface); color: var(--rose-500); display: grid; place-items: center; box-shadow: var(--shadow-soft); }
.quote-mark { color: var(--rose-500); }
blockquote { margin: 6px 0 0; font-size: 18px; line-height: 1.55; font-weight: 500; color: var(--indigo-800); }
.founder-card.wide blockquote { font-size: clamp(19px, 2vw, 23px); }
.cite { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; }
.cite b { color: var(--indigo-800); }
.cite span { color: var(--slate-600); font-size: 14.5px; }
.faq details { background: var(--surface); border: 1px solid var(--card-border); border-radius: 16px; margin-top: 10px; transition: box-shadow .2s ease, border-color .2s ease; }
.faq details:first-child { margin-top: 0; }
.faq details:hover { border-color: var(--violet-100); box-shadow: var(--shadow-soft); }
.faq details[open] { box-shadow: var(--shadow-card); border-color: var(--violet-100); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 20px; font-weight: 600; font-size: 16px; color: var(--indigo-800); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--violet-100); color: var(--violet-600); transition: transform .25s ease, background-color .25s ease; flex-shrink: 0; }
.faq details[open] summary .chev { transform: rotate(180deg); background: var(--violet-500); color: var(--on-solid); }
.faq details p { padding: 0 20px 18px; color: var(--slate-600); font-size: 15.5px; }

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; background: var(--grad-soft); }
.page-hero .orb { position: absolute; width: 340px; height: 340px; right: -100px; top: -130px; border-radius: 50%; background: var(--violet-100); }
.page-hero::after { content: ""; position: absolute; width: 200px; height: 200px; left: -90px; bottom: -110px; border-radius: 50%; background: var(--rose-100); }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 44px; padding-bottom: 48px; }
@media (min-width: 900px) { .page-hero .wrap { padding-top: 56px; padding-bottom: 60px; } }
.page-hero h1 { margin-top: 14px; max-width: 20ch; font-size: clamp(30px, 3.8vw, 44px); }
.page-hero .lead { max-width: 62ch; margin-top: 12px; }

/* ---------- App window drawings (HTML, sample data) ---------- */
.app-window { container-type: inline-size; background: var(--surface); border-radius: 16px; box-shadow: var(--shadow-pop); overflow: hidden; border: 1px solid var(--card-border); text-align: left; font-size: 12.5px; line-height: 1.4; color: var(--ink); }
.app-bar { display: flex; align-items: center; gap: 12px; height: 34px; padding: 0 12px; background: var(--lav-50); border-bottom: 1px solid var(--card-border); }
.app-bar .dots-w { display: flex; gap: 5px; }
.app-bar .dots-w i { width: 9px; height: 9px; border-radius: 50%; background: var(--border); display: block; }
.app-bar .url { flex: 1; max-width: 300px; margin: 0 auto; height: 22px; border-radius: var(--radius-pill); background: var(--surface); border: 1px solid var(--card-border); display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 11px; color: var(--slate-600); white-space: nowrap; overflow: hidden; }
.app-bar .url svg { color: var(--teal-700); }
.app-body { display: grid; grid-template-columns: 1fr; min-height: 260px; }
@container (min-width: 620px) { .app-body { grid-template-columns: 168px 1fr; } .app-side { display: block !important; } }
.app-side { display: none; background: var(--indigo-800); color: var(--on-solid); padding: 14px 10px; }
.app-side .logo { height: 24px; margin: 2px 6px 14px; }
.app-who { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; background: var(--fill-on-dark); margin-bottom: 12px; }
.app-who .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-500); color: var(--indigo-800); font-weight: 600; font-size: 11px; flex-shrink: 0; }
.app-who b { display: block; font-size: 11.5px; font-weight: 600; }
.app-who small { display: block; font-size: 10.5px; color: var(--on-dark-muted); }
.app-nav a { display: flex; align-items: center; gap: 9px; padding: 7px 9px; border-radius: 9px; color: var(--on-dark-muted); text-decoration: none; font-size: 12.5px; font-weight: 500; }
.app-nav a.on { background: var(--indigo-700); color: var(--on-solid); }
.app-nav svg { width: 15px; height: 15px; }
.app-main { background: var(--mist-100); padding: 14px; display: grid; gap: 10px; align-content: start; }
@container (min-width: 620px) { .app-main { padding: 16px 18px; } }
.app-crumb { font-size: 10.5px; color: var(--slate-600); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.app-card { background: var(--surface); border-radius: 14px; border: 1px solid var(--card-border); box-shadow: var(--shadow-soft); padding: 12px 14px; }
.app-card h4 { font-size: 13.5px; letter-spacing: 0; }
.app-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.app-head .av { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-100); color: var(--teal-700); font-weight: 600; }
.app-head .name { font-size: 15.5px; font-weight: 600; color: var(--indigo-800); line-height: 1.2; }
.app-head .meta { font-size: 11.5px; color: var(--slate-600); }
.app-head .grow { flex: 1; min-width: 110px; }
.app-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }
@container (min-width: 480px) { .app-facts { grid-template-columns: repeat(4, 1fr); } }
.app-fact { background: var(--mist-50); border-radius: 9px; padding: 7px 9px; }
.app-fact small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-600); font-weight: 600; }
.app-fact b { font-size: 13px; color: var(--indigo-800); font-weight: 600; }
.app-fact.edd { background: var(--status-admitted-fg); }
.app-fact.edd small, .app-fact.edd b { color: var(--on-solid); }
.app-tabs { display: flex; gap: 5px; flex-wrap: wrap; }
.app-tabs span { padding: 4px 10px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 600; color: var(--indigo-700); background: var(--surface); border: 1px solid var(--card-border); }
.app-tabs span.on { background: var(--indigo-700); color: var(--on-solid); border-color: var(--indigo-700); }
.app-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.app-table th { text-align: left; font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--slate-600); font-weight: 600; padding: 5px 7px; background: var(--mist-50); }
.app-table td { padding: 7px; border-top: 1px solid var(--card-border); vertical-align: middle; color: var(--ink); }
.app-table td:first-child { font-weight: 500; white-space: nowrap; }
.app-table .today td { border-top: 2px solid var(--teal-500); color: var(--teal-700); font-weight: 600; font-size: 11.5px; padding: 4px 7px; }
.app-table .hide-sm { display: none; }
@container (min-width: 480px) { .app-table .hide-sm { display: table-cell; } }
.tag-must { font-size: 10px; font-weight: 600; color: var(--indigo-700); background: var(--indigo-100); border-radius: 6px; padding: 2px 6px; }
.tag-adv { font-size: 10px; font-weight: 600; color: var(--slate-600); background: var(--status-inactive-bg); border-radius: 6px; padding: 2px 6px; }
.app-split { display: grid; gap: 10px; }
@container (min-width: 520px) { .app-split { grid-template-columns: 1.4fr 1fr; } }
.risk-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.risk-list li { display: flex; gap: 8px; align-items: flex-start; font-size: 12px; padding: 7px 9px; border-radius: 9px; background: var(--status-high-bg); color: var(--status-high-fg); font-weight: 500; }
.risk-list li.watch { background: var(--status-watch-bg); color: var(--status-watch-fg); }
.risk-list svg { width: 13px; height: 13px; margin-top: 2px; }
.mini-kpis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@container (min-width: 520px) { .mini-kpis { grid-template-columns: repeat(4, 1fr); } }
.mini-kpi { background: var(--surface); border: 1px solid var(--card-border); border-radius: 12px; padding: 10px; display: flex; gap: 9px; align-items: center; }
.mini-kpi .tile { width: 32px; height: 32px; }
.mini-kpi b { display: block; font-size: 18px; line-height: 1; color: var(--indigo-800); }
.mini-kpi small { font-size: 11px; color: var(--slate-600); }
.list-rows { display: grid; }
.list-row { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-top: 1px solid var(--card-border); font-size: 12px; }
.list-row:first-of-type { border-top: 0; }
.list-row .av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--indigo-100); color: var(--indigo-700); font-weight: 600; font-size: 10.5px; flex-shrink: 0; }
.list-row .who { flex: 1; min-width: 0; }
.list-row .who b { display: block; font-weight: 600; color: var(--indigo-800); }
.list-row .who small { color: var(--slate-600); }
.list-row time { color: var(--slate-600); font-variant-numeric: tabular-nums; }
.paper { background: var(--surface); border-radius: 10px; box-shadow: var(--shadow-pop); padding: 20px 20px 22px; font-size: 12px; line-height: 1.45; color: var(--ink); border: 1px solid var(--card-border); }
.paper-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-bottom: 2px solid var(--indigo-700); padding-bottom: 10px; }
.paper-head b { font-size: 14.5px; color: var(--indigo-800); }
.paper-head small { color: var(--slate-600); }
.paper h5 { margin: 12px 0 2px; font-size: 13px; color: var(--indigo-800); text-align: center; }
.paper .sub { text-align: center; color: var(--slate-600); font-size: 11px; }
.paper-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin-top: 10px; }
.paper-cols p { padding: 6px 0; border-top: 1px solid var(--card-border); margin: 0; }
.paper-cols .deva { font-size: 12.5px; }
.paper-sig { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.paper-sig div { border-top: 1px solid var(--slate-600); padding-top: 4px; font-size: 11px; color: var(--slate-600); }
.paper-draft { margin-top: 12px; display: flex; gap: 6px; align-items: center; font-size: 11px; font-weight: 600; color: var(--status-watch-fg); border: 1.5px solid var(--status-watch-fg); background: var(--status-watch-bg); border-radius: 8px; padding: 5px 8px; }
.pill { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 9px; border-radius: var(--radius-pill); font-size: 11.5px; font-weight: 600; white-space: nowrap; }
.pill svg { width: 12px; height: 12px; }
.pill-stable { background: var(--status-stable-bg); color: var(--status-stable-fg); }
.pill-high { background: var(--status-high-bg); color: var(--status-high-fg); }
.pill-due { background: var(--status-due-bg); color: var(--status-due-fg); }
.pill-watch { background: var(--status-watch-bg); color: var(--status-watch-fg); }
.pill-admitted { background: var(--status-admitted-bg); color: var(--status-admitted-fg); }
.pill-inactive { background: var(--status-inactive-bg); color: var(--status-inactive-fg); }

/* ---------- Forms (demo page) ---------- */
.form-card { background: var(--surface); border: 1px solid var(--card-border); border-radius: var(--radius-xl); box-shadow: var(--shadow-pop); padding: 24px; }
@media (min-width: 768px) { .form-card { padding: 34px; } }
.field { margin-top: 16px; }
.field label { display: block; font-weight: 600; font-size: 14.5px; color: var(--indigo-800); }
.field .hint { font-size: 13.5px; color: var(--slate-600); font-weight: 400; }
.field input, .field select, .field textarea { margin-top: 6px; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-md); font: 400 16px var(--font-sans); color: var(--ink); background: var(--lav-50); transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--violet-500); }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; box-shadow: 0 0 0 4px var(--violet-100); border-color: var(--violet-500); background: var(--surface); }
.field [aria-invalid="true"] { border-color: var(--status-high-fg); }
.field-row { display: grid; gap: 0 14px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.error { color: var(--status-high-fg); font-size: 13.5px; margin-top: 6px; }
.error:empty { display: none; }
.notice { display: flex; gap: 12px; align-items: flex-start; margin-top: 18px; padding: 12px 14px; border-radius: var(--radius-md); background: var(--status-watch-bg); color: var(--status-watch-fg); font-size: 14.5px; }
.notice.info { background: var(--status-due-bg); color: var(--status-due-fg); }
.notice svg { flex-shrink: 0; margin-top: 2px; }
.demo-layout { display: grid; gap: 36px; align-items: start; }
@media (min-width: 1000px) { .demo-layout { grid-template-columns: 0.9fr 1.1fr; gap: 56px; } .demo-layout .form-card { margin-top: -110px; position: relative; z-index: 2; } }
.contact-list { list-style: none; margin: 16px 0 0; padding: 0; }
.contact-list li + li { margin-top: 12px; }
.contact-list a { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.contact-list a:hover .tile { transform: scale(1.08); }
.contact-list .tile { width: 42px; height: 42px; }
.contact-list small { display: block; color: var(--slate-600); font-size: 12.5px; line-height: 1.3; }
.contact-list b { display: block; color: var(--indigo-800); font-weight: 500; line-height: 1.3; word-break: break-word; }

/* ---------- Long text ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 22px; margin-top: 36px; }
.prose p, .prose ul { margin-top: 10px; color: var(--slate-600); }
.prose li + li { margin-top: 6px; }
.draft-band { display: flex; gap: 10px; align-items: center; padding: 12px 16px; border: 2px solid var(--status-watch-fg); border-radius: var(--radius-md); background: var(--status-watch-bg); color: var(--status-watch-fg); font-weight: 600; font-size: 14.5px; }

/* ---------- Footer (simple) ---------- */
.site-footer { background: var(--indigo-800); color: var(--on-dark-muted); padding-top: 56px; }
.footer-main { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; padding-bottom: 40px; }
@media (min-width: 900px) { .footer-main { grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 48px; } }
.footer-brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-brand { grid-column: auto; } }
.footer-brand img { height: 38px; width: auto; }
.footer-brand p { margin: 16px 0 20px; font-size: 15px; line-height: 1.6; max-width: 34ch; }
.footer-title { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--on-solid); }
.footer-links { list-style: none; margin: 16px 0 0; padding: 0; }
.footer-links li + li { margin-top: 10px; }
.footer-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 28px; color: var(--on-dark-muted); text-decoration: none; font-size: 15px; transition: color .2s ease; }
.footer-links a:hover { color: var(--on-solid); }
.footer-contact { grid-column: 1 / -1; }
.footer-contact svg { color: var(--teal-500); }
.footer-contact span { word-break: break-word; }
.footer-main > div:last-child { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer-main > div:last-child { grid-column: auto; } }
.footer-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; padding: 20px 0; border-top: 1px solid var(--line-on-dark); font-size: 14px; }
.footer-base nav { display: flex; gap: 22px; }
.footer-base a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s ease; }
.footer-base a:hover { color: var(--on-solid); }
.footer-disclaimer { padding-bottom: 24px; font-size: 12.5px; color: var(--on-dark-muted); opacity: .75; }
.to-top { position: fixed; right: 18px; bottom: 90px; z-index: 40; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--grad-brand); color: var(--on-solid); box-shadow: var(--shadow-card); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s; }
.to-top svg { transform: rotate(180deg); }
.to-top.show { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
@media (min-width: 768px) { .to-top { bottom: 24px; right: 24px; } }

/* ---------- Phones ---------- */
@media (max-width: 640px) {
  .hero-visual > .app-window, .hero-visual > .paper, .tour-visual > .app-window, .tour-visual > .paper, .showcase-visual > .app-window {
    max-height: 340px; overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent); mask-image: linear-gradient(180deg, #000 78%, transparent);
  }
  .tour-visual, .showcase-visual { padding: 12px; }
  .tab { padding: 0 13px; font-size: 14px; }
  .stat-card { padding: 14px; gap: 10px; }
  .stat-card .ic { width: 42px; height: 42px; }
  .stat-card b { font-size: 23px; }
}

/* ---------- Mobile bottom bar ---------- */
.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 12px; padding: 10px 16px; padding-bottom: max(10px, env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--border); }
.mobile-bar .btn { flex: 1; }
body { padding-bottom: 70px; }
@media (min-width: 768px) { .mobile-bar { display: none; } body { padding-bottom: 0; } }
[data-whatsapp][hidden] { display: none !important; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .slide, .slide.is-active { transition: none; transform: none; }
  .tour-panel, .float-card { animation: none; }
  .btn:hover, .card:hover, .q-item:hover, .stat-card:hover, .steps li:hover, .founder-card:hover, .showcase-visual:hover { transform: none; }
}

/* ---------- v4.2 spacing fixes ---------- */
.hero .slider-ui { position: absolute; left: 0; right: 0; bottom: -22px; margin: 0; justify-content: center; }
@media (min-width: 1000px) { .hero .slider-ui { left: auto; right: 0; width: 50%; } }
.hero .wrap { padding-bottom: 96px; }
.tour-head { display: grid; justify-items: center; gap: 22px; }
.tour-head .section-head h2 { white-space: normal; }
@media (min-width: 1000px) { .tour-head .section-head { max-width: none; } }
.promo-section { padding-top: 0; padding-bottom: 8px; }
.bg-soft + .promo-section { padding-top: 0; }
.bg-soft + .promo-section .promo { margin-top: -28px; position: relative; z-index: 2; box-shadow: var(--shadow-card); background: var(--surface); }
.promo-section + .section { padding-top: 48px; }
