/* ============================================================================
   Secure Chat - styles.css  (v3: dark theme, blue accent, multi-page)
   Mobile-first. Tokens -> base -> components -> views -> motion -> responsive.
   ============================================================================ */

:root {
  /* DARK theme surfaces: soft premium dark (not pure black), with subtle blue tint */
  --canvas: #12151b;
  --surface: #1a1e26;
  --surface-2: #232833;
  --ink: #f4f7fa;
  --ink-soft: #dfe5ec;
  --muted: #aeb7c4;
  --muted-2: #828d9c;
  --border: #2c323d;
  --border-strong: #3c4453;

  /* accent: vivid blue that pops on dark */
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-press: #2563eb;
  --accent-soft: #182a44;
  --accent-tint: #25456e;
  --on-accent: #ffffff;

  /* product surfaces (Ask widget) reuse the dark scale */
  --d-bg: #12151b;
  --d-surface: #1a1e26;
  --d-surface-2: #232833;
  --d-border: #2c323d;
  --d-text: #eaeff5;
  --d-muted: #9aa5b4;
  --d-accent: #3b82f6;
  --d-accent-soft: #182a44;

  --no: #f87171;
  --part: #fbbf24;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, "Segoe UI", Roboto, sans-serif;

  --s1:4px; --s2:8px; --s3:12px; --s4:16px; --s5:24px; --s6:32px; --s7:48px; --s8:64px; --s9:96px;

  --r-sm:8px; --r-md:12px; --r-lg:16px; --r-xl:22px; --r-pill:999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.35);
  --shadow-md: 0 6px 24px rgba(0,0,0,.4);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.55);

  --maxw: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--font-body); color: var(--ink-soft); background: var(--canvas); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
h1,h2,h3,.calc-head { font-family: var(--font-head); color: var(--ink); line-height: 1.1; letter-spacing: -.01em; font-weight: 600; text-wrap: balance; text-transform: capitalize; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.7rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p { color: var(--muted); }
a { color: var(--accent); text-decoration: none; }
img, svg { display: block; max-width: 100%; }
strong { color: var(--ink); font-weight: 600; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--s5); }
.center { text-align: center; }
.center .btn { margin-left: auto; margin-right: auto; }
.muted { color: var(--muted-2); }
.small { font-size: .85rem; }

/* ----------------------------------- BUTTONS ------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  font-family: var(--font-body); font-weight: 600; font-size: .98rem; border: 1px solid transparent;
  border-radius: var(--r-pill); padding: 12px 22px; cursor: pointer; transition: all .18s var(--ease); white-space: nowrap; line-height: 1; }
.btn-primary { background: var(--accent); color: var(--on-accent); box-shadow: 0 4px 16px rgba(59,130,246,.28); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: 0 10px 28px rgba(59,130,246,.45); }
.btn-primary:active { background: var(--accent-press); transform: none; }
.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent-soft); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 18px 40px; font-size: 1.12rem; font-weight: 700; }
.btn-hd { padding: 13px 26px; font-size: 1rem; font-weight: 700; box-shadow: 0 4px 16px rgba(59,130,246,.42); animation: ctaPulse 2.8s ease-in-out infinite; }
.btn-hd:hover { box-shadow: 0 8px 28px rgba(59,130,246,.6); }
@keyframes ctaPulse { 0%,100% { box-shadow: 0 4px 16px rgba(59,130,246,.42); } 50% { box-shadow: 0 6px 24px rgba(59,130,246,.72); } }
.btn-block { width: 100%; }

/* ----------------------------------- HEADER -------------------------------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(18,21,27,.8); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: var(--s4); }
.brand { display: inline-flex; align-items: center; gap: var(--s2); color: var(--accent); }
.brand-mark { display: inline-flex; color: var(--accent); }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink); letter-spacing: -.03em; }

/* primary nav */
.site-nav { display: none; align-items: center; gap: var(--s2); }
.nav-link { font-family: var(--font-body); font-weight: 500; font-size: .92rem; color: var(--muted); padding: 8px 12px; border-radius: var(--r-sm); cursor: pointer; transition: color .15s var(--ease), background .15s var(--ease); }
.nav-link:hover { color: var(--ink); background: var(--surface); }
.nav-link.is-active { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: var(--s3); }
.nav-toggle { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 40px; height: 40px; padding: 0 9px; background: transparent; border: 1px solid var(--border); border-radius: var(--r-sm); cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink-soft); border-radius: 2px; transition: transform .2s var(--ease), opacity .2s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* mobile dropdown nav */
.site-nav.open { display: flex; position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 2px; background: var(--canvas); border-bottom: 1px solid var(--border); padding: var(--s3) var(--s5) var(--s5); z-index: 39; animation: viewIn .2s var(--ease); }
.site-nav.open .nav-link { padding: 13px 12px; font-size: 1rem; border-radius: var(--r-md); }

/* ----------------------------------- VIEWS --------------------------------- */
.view { display: none; }
.view.is-active { display: block; animation: viewIn .35s var(--ease); }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------- SECTIONS ------------------------------- */
.section { padding: var(--s8) 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-tight { padding: var(--s7) 0; }

/* auto-scrolling marquee of example questions (two rows, opposite directions) */
.mq-section .marquee + .marquee { margin-top: var(--s4); }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: inline-flex; gap: var(--s4); white-space: nowrap; will-change: transform; animation: marquee 100s linear infinite; }
.marquee-track.rev { animation-direction: reverse; animation-duration: 115s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-chip { display: inline-flex; align-items: center; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.1rem, 2.4vw, 1.55rem); color: var(--ink-soft); white-space: nowrap; letter-spacing: -.01em; }
.mq-chip::after { content: ""; width: 22px; height: 22px; flex: 0 0 auto; margin-left: var(--s5); opacity: .92; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M7 4H25a5 5 0 0 1 5 5V19a5 5 0 0 1-5 5H13l-5 5v-5H7a5 5 0 0 1-5-5V9a5 5 0 0 1 5-5Z' fill='%233b82f6'/%3E%3Ccircle cx='16' cy='12' r='3.2' fill='%2312151b'/%3E%3Cpath d='M14.7 13h2.6l.9 5.5a.6.6 0 0 1-.6.7h-3.2a.6.6 0 0 1-.6-.7l.9-5.5Z' fill='%2312151b'/%3E%3C/svg%3E") no-repeat center / contain; }
/* EXPERIMENT: per-department colored icons on the example-question chips.
   To revert to the Secure Chat logo, delete this whole block and the dept-* classes
   on the .mq-chip spans in index.html. The base .mq-chip::after logo returns untouched. */
.mq-chip[class*="dept-"]::after { opacity: 1; }
.mq-chip.dept-lead::after  { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2360A5FA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Ccircle cx='12' cy='12' r='1'/%3E%3C/svg%3E"); }
.mq-chip.dept-fin::after   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334D399' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 20V10M10 20V4M16 20v-7M22 20H2'/%3E%3C/svg%3E"); }
.mq-chip.dept-sales::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23A78BFA' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 17l6-6 4 4 8-8'/%3E%3Cpath d='M17 7h4v4'/%3E%3C/svg%3E"); }
.mq-chip.dept-mkt::after   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F472B6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 11l13-5v12L3 13z'/%3E%3Cpath d='M8 13v4a2 2 0 0 0 4 0'/%3E%3C/svg%3E"); }
.mq-chip.dept-ops::after   { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FBBF24' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='3.2'/%3E%3Cpath d='M12 2v3M12 19v3M2 12h3M19 12h3M5.2 5.2l2.1 2.1M16.7 16.7l2.1 2.1M18.8 5.2l-2.1 2.1M7.3 16.7l-2.1 2.1'/%3E%3C/svg%3E"); }
.mq-chip.dept-it::after    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2322D3EE' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='12' cy='5' rx='8' ry='3'/%3E%3Cpath d='M4 5v14c0 1.7 3.6 3 8 3s8-1.3 8-3V5'/%3E%3Cpath d='M4 12c0 1.7 3.6 3 8 3s8-1.3 8-3'/%3E%3C/svg%3E"); }
.mq-chip.dept-hr::after    { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FB923C' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M3 19a6 6 0 0 1 12 0'/%3E%3Cpath d='M16 6a3 3 0 0 1 0 6'/%3E%3C/svg%3E"); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.section-head { max-width: 720px; margin-bottom: var(--s7); }
.section-head.center, .center.section-head { margin-left: auto; margin-right: auto; }
.section-lede { font-size: 1.1rem; color: var(--muted); margin-top: var(--s3); max-width: 62ch; }
.disclaimer { margin-top: var(--s5); font-size: .82rem; color: var(--muted-2); font-style: italic; }
.eyebrow { font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s3); }
.narrow-col { max-width: 760px; }
.body-copy { font-size: 1.08rem; color: var(--muted); }
.prompts { background: var(--surface); }
.prompt-list li { padding: var(--s3) 0; border-bottom: 1px dashed var(--border); color: var(--ink-soft); font-style: italic; }
.prompt-list li:last-child { border-bottom: none; }

/* product shot: a small chat-with-source mockup (show, do not tell) */
.shot-grid { display: grid; grid-template-columns: 1fr; gap: var(--s7); align-items: center; }
.shot-copy h2 { margin-bottom: var(--s4); }
.shot { background: var(--d-bg); border: 1px solid var(--d-border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--d-border); }
/* OS-neutral window chrome: a single Secure Chat app glyph, not Mac traffic lights */
.shot-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--d-border); }
.shot-bar .shot-dot:first-child { width: 18px; height: 18px; border-radius: 6px; background: var(--accent); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.shot-bar .shot-dot ~ .shot-dot { display: none; }
.shot-bar .shot-title { margin-left: 9px; }
.shot-title { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--d-muted); margin-left: 6px; }
.shot-body { padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.shot-q { align-self: flex-end; background: var(--accent); color: #fff; font-size: .92rem; padding: 10px 14px; border-radius: var(--r-md); border-bottom-right-radius: 4px; max-width: 80%; }
.shot-a { display: flex; gap: 10px; align-items: flex-start; }
.shot-alogo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.shot-alogo svg { width: 18px; height: 18px; }
.shot-atext { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: var(--r-md); border-bottom-left-radius: 4px; padding: 12px 14px; }
.shot-atext p { color: #c3ccd6; font-size: .92rem; line-height: 1.5; }
.shot-src { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: .76rem; color: var(--d-accent); background: var(--d-accent-soft); border: 1px solid var(--accent-tint); border-radius: var(--r-pill); padding: 4px 10px; }
.shot-src svg { width: 13px; height: 13px; }
@media (min-width: 860px) { .shot-grid { grid-template-columns: .9fr 1.1fr; gap: var(--s8); } }

/* feature rows: alternating text + product mockup */
.frow { display: grid; grid-template-columns: 1fr; gap: var(--s6); align-items: center; }
.frow + .frow { margin-top: var(--s8); }
.frow-copy h3 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: var(--s3); }
.frow-copy p { font-size: 1.05rem; max-width: 46ch; }
@media (min-width: 860px) {
  .frow { grid-template-columns: 1fr 1fr; gap: var(--s8); }
  .frow.rev .frow-copy { order: 2; }
}

/* mockup: model picker */
.mk-pick { display: flex; flex-direction: column; gap: 8px; }
.mk-opt { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--d-text); background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 10px; padding: 11px 13px; }
.mk-opt.on { border-color: var(--accent); background: var(--d-accent-soft); color: var(--accent); }
.mk-c { margin-left: auto; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.mk-c svg { width: 12px; height: 12px; }
.mk-tag { margin-left: auto; font-size: .66rem; text-transform: uppercase; letter-spacing: .04em; color: var(--d-muted); border: 1px solid var(--d-border); border-radius: 999px; padding: 2px 8px; }
.mk-autorow { display: flex; align-items: center; gap: 10px; font-size: .85rem; color: var(--d-muted); margin-top: 4px; padding: 4px 2px; }
.mk-toggle { width: 34px; height: 19px; border-radius: 999px; background: var(--accent); position: relative; flex: 0 0 auto; }
.mk-toggle::after { content: ""; position: absolute; top: 2px; left: 17px; width: 15px; height: 15px; border-radius: 50%; background: #fff; }

/* mockup: governance dashboard */
.mk-gov { display: flex; flex-direction: column; gap: 12px; }
.mk-gstats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mk-gstats div { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 10px; padding: 11px 13px; }
.mk-gstats strong { display: block; font-family: var(--font-head); font-size: 1.3rem; color: var(--d-text); }
.mk-gstats span { font-size: .72rem; color: var(--d-muted); }
.mk-glabel { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--d-muted); font-weight: 700; }
.mk-bar { display: grid; grid-template-columns: 72px 1fr; align-items: center; gap: 10px; font-size: .82rem; color: var(--d-muted); }
.mk-bar i { height: 9px; border-radius: 999px; background: var(--accent); display: block; }

/* example-prompt chips */
.ask-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); max-width: 880px; margin: 0 auto; }
.ask-pill { font-size: .95rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 11px 18px; font-style: italic; }

/* comparison: full-cell highlights */
.cmp-hl td { text-align: center; font-weight: 600; font-size: .92rem; color: var(--muted); }
.cmp-hl tbody th { background: var(--surface); }
.cmp-hl td.c-yes { background: rgba(74,222,128,.15); color: #4ade80; }
.cmp-hl td.c-no { background: rgba(248,113,113,.13); color: #f87171; }
.cmp-hl td.c-part { background: rgba(251,191,36,.13); color: #fbbf24; }
.cmp-cta { margin-top: var(--s6); }
.cmp-hint { text-align: center; font-size: .88rem; color: var(--muted-2); margin-bottom: var(--s4); }
.cmp-learn { display: inline-flex; align-items: center; gap: 8px; width: 100%; text-align: left; background: none; border: none; padding: 0; margin: 0; font: inherit; font-weight: 500; color: var(--ink-soft); cursor: pointer; transition: color .15s var(--ease); }
.cmp-learn:hover { color: var(--accent); }
.cmp-chev { width: 16px; height: 16px; flex: 0 0 auto; color: var(--muted-2); transition: transform .22s var(--ease), color .15s var(--ease); }
.cmp-learn:hover .cmp-chev { color: var(--accent); }
.cmp-learn[aria-expanded="true"] .cmp-chev { transform: rotate(180deg); color: var(--accent); }
.cmp-detail td { text-align: left !important; font-weight: 400 !important; color: var(--muted) !important; background: var(--surface-2) !important; font-size: .92rem; line-height: 1.5; padding: var(--s4) var(--s5) !important; }

/* features: day-one task cards */
.task-grid { gap: var(--s4); }
.task-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); transition: border-color .15s var(--ease), transform .15s var(--ease); }
.task-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.task-ic { width: 40px; height: 40px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s4); }
.task-ic svg { width: 21px; height: 21px; }
.task-q { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.3; margin-bottom: var(--s2); }
.task-r { font-size: .92rem; color: var(--muted); line-height: 1.5; }

/* feature-row check list */
.frow-list { margin-top: var(--s4); }
.frow-list li { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: .95rem; color: var(--ink-soft); }
.frow-list svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }

/* security: data-boundary diagram */
.env-body { display: flex; flex-direction: column; gap: 12px; }
.env-ring { position: relative; height: 210px; display: flex; align-items: center; justify-content: center; }
.env-ring::before { content: ""; position: absolute; width: 150px; height: 150px; border: 2px dashed var(--accent-tint); border-radius: 50%; }
.env-center { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.env-clogo { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.env-clogo svg { width: 26px; height: 26px; }
.env-center strong { font-family: var(--font-head); color: var(--d-text); font-size: .9rem; }
.env-data { position: absolute; font-size: .72rem; color: var(--d-text); background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 999px; padding: 5px 11px; white-space: nowrap; }
.env-data:nth-child(2) { top: 6px; left: 50%; transform: translateX(-50%); }
.env-data:nth-child(3) { right: 0; top: 50%; transform: translateY(-50%); }
.env-data:nth-child(4) { bottom: 6px; left: 50%; transform: translateX(-50%); }
.env-data:nth-child(5) { left: 0; top: 50%; transform: translateY(-50%); }
.env-note { display: flex; align-items: center; gap: 9px; font-size: .8rem; color: var(--d-muted); border-top: 1px solid var(--d-border); padding-top: 12px; line-height: 1.4; }
.env-lock { width: 24px; height: 24px; border-radius: 7px; background: var(--d-accent-soft); color: var(--d-accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.env-lock svg { width: 13px; height: 13px; }

/* security: access log */
.acc-log { display: flex; flex-direction: column; gap: 8px; }
.acc-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 4px 8px; }
.acc-title { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--d-text); }
.acc-live { display: inline-flex; align-items: center; gap: 6px; font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #4ade80; }
.acc-live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,.18); }
.acc-row { display: flex; align-items: center; gap: 11px; background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 10px; padding: 10px 12px; }
.acc-ava { width: 30px; height: 30px; border-radius: 50%; color: #fff; font-size: .72rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; letter-spacing: .02em; }
.acc-ava.a1 { background: #3b82f6; } .acc-ava.a2 { background: #8b5cf6; } .acc-ava.a3 { background: #0ea5e9; } .acc-ava.a4 { background: #f59e0b; }
.acc-mid { flex: 1 1 auto; min-width: 0; }
.acc-mid strong { display: block; font-size: .82rem; color: var(--d-text); }
.acc-mid span { font-size: .74rem; color: var(--d-muted); }
.acc-time { font-size: .72rem; color: var(--d-muted); flex: 0 0 auto; }

/* about page: tags, labels, promise */
.mk-tag.bad { color: #f87171; border-color: rgba(248,113,113,.4); }
.mk-tag.good { color: #4ade80; border-color: rgba(74,222,128,.4); }
.shot-label { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; margin: 2px 0 -6px; }
.shot-label.red { color: #f87171; }
.shot-label.green { color: var(--d-accent); }
.shot-alogo.gray { background: var(--d-surface-2); color: var(--d-muted); }
.about-promise { margin-top: var(--s4); font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); line-height: 1.3; }

/* governance checklist */
.gov-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.gov-item { display: flex; gap: 12px; align-items: flex-start; }
.gov-ic { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 2px; }
.gov-ic svg { width: 17px; height: 17px; }
.gov-item strong { display: block; color: var(--ink); font-family: var(--font-head); font-size: 1.02rem; margin-bottom: 3px; }
.gov-item p { font-size: .95rem; }
@media (min-width: 760px) { .gov-grid { grid-template-columns: 1fr 1fr; gap: var(--s6) var(--s7); } }

/* stats band (IBM data) */
.stats-band { background: linear-gradient(180deg, var(--accent-soft), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s8) var(--s6); text-align: center; }
.stats-lead { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.3rem, 2.6vw, 1.9rem); color: var(--ink); margin-bottom: var(--s7); }
.stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); max-width: 760px; margin: 0 auto; }
.stat-x strong { display: block; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--accent); letter-spacing: -.02em; }
.stat-x span { font-size: .88rem; color: var(--muted); }
.stats-src { margin-top: var(--s7); font-size: .82rem; color: var(--muted-2); }
@media (min-width: 760px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

/* ----------------------------------- GRID/CARD ----------------------------- */
.grid { display: grid; gap: var(--s5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); box-shadow: var(--shadow-sm); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.card h3 { margin-bottom: var(--s2); }
.card p { font-size: .96rem; }

.icon-card .ic { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--r-md); margin-bottom: var(--s4); }
.ic svg { width: 24px; height: 24px; }
.ic-blue { background: var(--accent-soft); color: var(--accent); }
.ic-amber { background: rgba(251,191,36,.13); color: var(--part); }
.ic-red { background: rgba(248,113,113,.13); color: var(--no); }
.ic-slate { background: var(--surface-2); color: var(--muted); }

.badge { display: inline-block; font-weight: 600; font-size: .62rem; letter-spacing: .04em; text-transform: uppercase; color: var(--part); background: rgba(251,191,36,.12); border: 1px solid rgba(251,191,36,.32); border-radius: var(--r-pill); padding: 2px 8px; vertical-align: middle; margin-left: 4px; }

/* ----------------------------------- HERO ---------------------------------- */
.hero { padding: var(--s8) 0 var(--s9); position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 12% -5%, rgba(59,130,246,.20), transparent 60%),
    radial-gradient(700px 480px at 88% 6%, rgba(96,165,250,.14), transparent 62%); }
.hero > .container { position: relative; z-index: 1; }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2); margin-top: var(--s6); }
.hero-chip { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 8px 15px; }
.hero-chip svg { width: 15px; height: 15px; color: var(--accent); flex: 0 0 auto; }
.hero-stage { position: relative; margin-top: var(--s8); }
.hero-stage::before { content: ""; position: absolute; left: 6%; right: 6%; top: 5%; bottom: -5%; z-index: 0; pointer-events: none; background: radial-gradient(closest-side, rgba(59,130,246,.30), transparent 72%); filter: blur(48px); }
.hero-stage .scd { position: relative; z-index: 1; }
.hero-cap { position: absolute; z-index: 3; display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 8px 14px; box-shadow: var(--shadow-lg); }
.hero-cap svg { width: 15px; height: 15px; color: var(--accent); flex: 0 0 auto; }
.cap-tl { top: -16px; left: -8px; animation: floaty 4.5s ease-in-out infinite; }
.cap-br { bottom: 28px; right: -8px; animation: floaty 4.5s ease-in-out infinite .9s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 900px) { .hero-cap { display: none; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s8); align-items: center; }
.hero-copy h1 { margin-bottom: var(--s5); }
.lede { font-size: clamp(1.08rem, 2vw, 1.3rem); color: var(--muted); max-width: 56ch; }
.hero-cta { margin-top: var(--s6); }
.model-pills { display: flex; flex-wrap: wrap; gap: var(--s2); }
.pill { font-family: var(--font-head); font-weight: 500; font-size: .85rem; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r-pill); padding: 7px 15px; }

/* hero: centered copy + full-width interactive demo */
.hero-copy.center { max-width: 900px; margin: 0 auto; }
.hero-copy h1 { margin-bottom: var(--s5); }
.hero-copy.center h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); text-wrap: balance; line-height: 1.1; }
.hero-copy.center .lede { margin-left: auto; margin-right: auto; text-wrap: balance; }

/* ============================ INTERACTIVE DEMO ============================ */
.scd { display: grid; grid-template-columns: 60px 200px 1fr; height: 512px; margin-top: var(--s8); background: var(--surface); border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); text-align: left; }

/* left icon rail */
.scd-rail { background: var(--canvas); border-right: 1px solid var(--border); display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 0; }
.scd-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); border: 1px solid var(--accent-tint); color: var(--accent); display: flex; align-items: center; justify-content: center; margin-bottom: 8px; }
.scd-avatar svg { width: 19px; height: 19px; }
.scd-nav { width: 38px; height: 38px; border-radius: 10px; border: none; background: transparent; color: var(--muted-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease); }
.scd-nav svg { width: 20px; height: 20px; }
.scd-nav:hover { color: var(--ink-soft); background: var(--surface-2); }
.scd-nav.is-active { color: var(--accent); background: var(--accent-soft); box-shadow: inset 2px 0 0 var(--accent); }
.scd-railsp { flex: 1 1 auto; }
.scd-pfp { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg, #3b82f6, #1e3a5f); margin: 4px 0; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; }
.scd-pfp svg { width: 17px; height: 17px; }
.scd-mut { cursor: default; }

/* chat-list sidebar */
.scd-side { background: var(--canvas); border-right: 1px solid var(--border); padding: 12px 10px; overflow: hidden; }
.scd-search { font-size: 11px; color: var(--muted-2); background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; }
.scd-glabel { font-size: 9px; letter-spacing: .09em; text-transform: uppercase; color: var(--muted-2); font-weight: 700; margin: 13px 6px 5px; }
.scd-date { font-size: 8.5px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); margin: 9px 6px 3px; }
.scd-item { font-size: 11px; color: var(--ink-soft); padding: 6px 8px; border-radius: 7px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; border: 1px solid transparent; }
.scd-item.is-active { border-color: var(--accent); color: var(--accent); }
.scd-proj { color: var(--muted); }

/* body + screens */
.scd-body { background: var(--surface); min-width: 0; overflow: hidden; }
.scd-screen { display: none; flex-direction: column; height: 100%; overflow-y: auto; }
.scd-screen.is-active { display: flex; animation: viewIn .25s var(--ease); }
.scd-screen::-webkit-scrollbar { width: 6px; }
.scd-screen::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.scd-ptop { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; }
.scd-ptop h3 { font-size: 17px; color: var(--ink); }
.scd-ptop p { font-size: 11.5px; color: var(--muted); margin-top: 3px; max-width: 46ch; }
.scd-pbtn { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: #fff; background: var(--accent); border-radius: 8px; padding: 8px 13px; white-space: nowrap; }

/* chat screen */
.scd-head { display: flex; align-items: center; justify-content: space-between; padding: 13px 18px; border-bottom: 1px solid var(--border); font-family: var(--font-head); font-weight: 600; font-size: 13px; color: var(--ink); }
.scd-auto { font-size: 9px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); border: 1px solid var(--border); border-radius: 5px; padding: 2px 7px; }
.scd-chatwrap { flex: 1 1 auto; display: flex; flex-direction: column; }
.scd-welcome { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 13px; padding: 16px; text-align: center; }
.scd-wlogo { width: 46px; height: 46px; border-radius: 13px; background: var(--accent-soft); color: var(--accent); display: flex; align-items: center; justify-content: center; }
.scd-wlogo svg { width: 26px; height: 26px; }
.scd-greet { font-family: var(--font-head); font-weight: 600; font-size: 16px; color: var(--ink); }
.scd-sugs { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; max-width: 360px; }
.scd-sug { font-size: 11px; color: var(--ink-soft); background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; }
.scd-composer { margin: 14px; border: 1px solid var(--border-strong); border-radius: 12px; padding: 11px 13px; background: var(--canvas); }
.scd-ph { font-size: 12px; color: var(--muted-2); }
.scd-cbar { display: flex; align-items: center; gap: 6px; margin-top: 11px; }
.scd-tag { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; color: var(--muted-2); border: 1px solid var(--border); border-radius: 999px; padding: 4px 9px; white-space: nowrap; }
.scd-tag svg { width: 11px; height: 11px; }
.scd-tag.accent { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-tint); }
.scd-spacer { flex: 1; }
.scd-cic { width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; color: var(--muted-2); }
.scd-cic svg { width: 15px; height: 15px; }
.scd-csend { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.scd-csend svg { width: 14px; height: 14px; }

/* interactive demo chat: head id, sidebar clicks, conversation thread, typing buffer */
.scd-head { justify-content: flex-start; gap: 10px; }
.scd-id { font-family: ui-monospace, "Cascadia Mono", monospace; font-size: 9px; color: var(--muted-2); letter-spacing: .02em; }
.scd-auto { margin-left: auto; }
.scd-item[data-chat] { cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease); }
.scd-item[data-chat]:hover { background: var(--surface-2); color: var(--ink); }
.scd-sug { cursor: pointer; font-family: var(--font-body); transition: border-color .15s var(--ease), color .15s var(--ease); }
.scd-sug:hover { border-color: var(--accent); color: var(--accent); }
.scd-thread { flex: 1 1 auto; display: flex; flex-direction: column; gap: var(--s4); overflow-y: auto; padding: var(--s5); }
.scd-thread::-webkit-scrollbar { width: 6px; }
.scd-thread::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
.scd-cu { align-self: flex-end; background: var(--accent); color: #fff; font-size: .9rem; padding: 9px 13px; border-radius: 12px; border-bottom-right-radius: 4px; max-width: 82%; line-height: 1.4; }
.scd-cb { align-self: flex-start; display: flex; gap: 8px; max-width: 92%; }
.scd-cbava { width: 26px; height: 26px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.scd-cbava svg { width: 16px; height: 16px; }
.scd-cbtext { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 12px; border-bottom-left-radius: 4px; padding: 10px 13px; }
.scd-cbtext p { font-size: .9rem; color: #c3ccd6; line-height: 1.5; }
.scd-csrc { display: inline-flex; align-items: center; gap: 6px; margin-top: 9px; font-size: .72rem; color: var(--d-accent); background: var(--d-accent-soft); border: 1px solid var(--accent-tint); border-radius: 999px; padding: 3px 9px; }
.scd-csrc svg { width: 12px; height: 12px; }
.scd-typing { display: inline-flex; gap: 5px; padding: 4px 2px; }
.scd-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--d-muted); animation: blink 1.2s infinite; }
.scd-typing i:nth-child(2){animation-delay:.2s} .scd-typing i:nth-child(3){animation-delay:.4s}

/* knowledge base */
.scd-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 0 20px 14px; }
.scd-stat { background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; }
.scd-stat strong { display: block; font-family: var(--font-head); font-size: 16px; color: var(--ink); }
.scd-stat span { font-size: 10px; color: var(--muted-2); }
.scd-docs { padding: 0 20px 18px; }
.scd-doc { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 13px; border: 1px solid var(--border); border-radius: 9px; margin-bottom: 8px; background: var(--surface-2); }
.scd-dname { font-size: 12px; color: var(--ink-soft); }
.scd-ix { font-size: 9px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-tint); border-radius: 999px; padding: 2px 8px; }

/* tasks */
.scd-filters { display: flex; gap: 8px; padding: 0 20px 14px; }
.scd-fil { font-size: 11px; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 6px 13px; }
.scd-fil.is-active { color: #fff; background: var(--accent); border-color: var(--accent); }
.scd-empty { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 30px; text-align: center; }
.scd-empty strong { color: var(--muted); font-family: var(--font-head); font-size: 15px; }
.scd-empty span { font-size: 12px; color: var(--muted-2); }

/* skills */
.scd-cat { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--muted-2); padding: 8px 20px 6px; }
.scd-skill { display: flex; align-items: center; gap: 12px; margin: 0 20px 8px; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.scd-skic { width: 32px; height: 32px; border-radius: 8px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.scd-skic svg { width: 17px; height: 17px; }
.scd-skic.blue { background: var(--accent-soft); color: var(--accent); }
.scd-skic.red { background: rgba(248,113,113,.13); color: var(--no); }
.scd-skic.purple { background: rgba(139,123,246,.16); color: #a78bfa; }
.scd-sktxt { flex: 1 1 auto; min-width: 0; }
.scd-sktxt strong { display: block; font-size: 13px; color: var(--ink); }
.scd-sktxt span { font-size: 11px; color: var(--muted-2); }
.scd-tg { width: 36px; height: 20px; border-radius: 999px; background: var(--border-strong); position: relative; flex: 0 0 auto; }
.scd-tg::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: left .15s var(--ease); }
.scd-tg.on { background: var(--accent); }
.scd-tg.on::after { left: 18px; }

/* tips */
.scd-tips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 20px 18px; }
.scd-tip { background: var(--surface-2); border: 1px solid var(--border); border-radius: 11px; padding: 14px 16px; }
.scd-tk { font-size: 9px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.scd-tip strong { display: block; font-family: var(--font-head); font-size: 13px; color: var(--ink); margin: 6px 0 5px; }
.scd-tip p { font-size: 11.5px; color: var(--muted); }

/* help / overview */
.scd-helplead { font-size: 12.5px; color: var(--muted); padding: 0 20px; max-width: 70ch; }
.scd-flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 18px 20px; }
.scd-fb { font-size: 11px; font-weight: 600; color: #fff; border-radius: 8px; padding: 10px 13px; }
.scd-fb.b1 { background: #3b82f6; } .scd-fb.b2 { background: #8b5cf6; } .scd-fb.b3 { background: #f59e0b; } .scd-fb.b4 { background: #10b981; }
.scd-far { color: var(--muted-2); display: inline-flex; }
.scd-far svg { width: 16px; height: 16px; }

/* notifications */
.scd-note { display: flex; gap: 11px; align-items: flex-start; margin: 0 20px 8px; padding: 13px 15px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-2); }
.scd-note:first-of-type { margin-top: 4px; }
.scd-ndot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 5px; flex: 0 0 auto; }
.scd-note strong { display: block; font-size: 12.5px; color: var(--ink-soft); }
.scd-note span { font-size: 10.5px; color: var(--muted-2); }

@media (max-width: 820px) { .scd { grid-template-columns: 56px 1fr; height: 488px; } .scd-side { display: none; } }
@media (max-width: 560px) { .scd { height: 520px; } .scd-stats { grid-template-columns: 1fr 1fr; } .scd-tips { grid-template-columns: 1fr; } .scd-ptop { flex-direction: column; } .scd-flow { gap: 6px; } }

/* per-page hero (Features / Security / Pricing / Compare) */
.page-hero { padding: var(--s8) 0 var(--s7); background: radial-gradient(800px 380px at 50% -110px, var(--accent-soft), transparent 70%); border-bottom: 1px solid var(--border); text-align: center; }
.page-hero h1 { margin: 0 0 var(--s4); }
.page-hero .lede { margin: 0 auto var(--s6); }

/* --------------------------------- PROBLEM --------------------------------- */
.problem { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* ---------------------------------- GUIDE ---------------------------------- */
.guide-inner { text-align: center; max-width: 820px; margin: 0 auto; }
.guide-empathy { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.4rem, 3vw, 2rem); color: var(--ink); line-height: 1.25; letter-spacing: -.01em; }
.guide-panel { max-width: 940px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, var(--accent-soft), var(--surface)); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s9) var(--s6); }
.guide-line { font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--ink); line-height: 1.2; max-width: 24ch; margin: 0 auto; }
.guide-points { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); margin-top: var(--s7); }
.gp { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--ink-soft); font-weight: 500; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 9px 16px; }
.gp svg { width: 16px; height: 16px; color: var(--accent); flex: 0 0 auto; }

/* --------------------------- PROBLEM FLIP CARDS ---------------------------- */
.flip-grid { perspective: 1400px; }
/* stay 1-up until cards are wide enough for the back text; then 3-up */
.grid-3.flip-grid { grid-template-columns: 1fr; }
@media (min-width: 880px) { .grid-3.flip-grid { grid-template-columns: repeat(3, 1fr); } }
.flip { background: none; border: none; padding: 0; margin: 0; cursor: pointer; font-family: inherit; width: 100%; min-height: 256px; }
.flip-in { position: relative; width: 100%; height: 100%; min-height: 256px; transition: transform .55s var(--ease); transform-style: preserve-3d; }
.flip:hover .flip-in, .flip:focus-visible .flip-in, .flip.is-flipped .flip-in { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; -webkit-backface-visibility: hidden; backface-visibility: hidden; display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); background: var(--surface); text-align: left; }
.flip-front { gap: 0; }
.flip-ic { width: 52px; height: 52px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s4); }
.flip-ic svg { width: 27px; height: 27px; }
.flip-front h3 { font-size: 1.2rem; color: var(--ink); margin-bottom: 7px; }
.flip-ctx { font-size: .92rem; color: var(--muted); line-height: 1.45; }
.flip-hint { font-size: .76rem; color: var(--muted-2); margin-top: auto; padding-top: var(--s4); display: inline-flex; align-items: center; gap: 6px; }
.flip-hint::before { content: ""; width: 13px; height: 13px; border-radius: 50%; border: 1.5px solid var(--muted-2); }
.flip-back { transform: rotateY(180deg); justify-content: center; background: var(--surface-2); border-color: var(--border-strong); }
.flip-back p { color: var(--muted); font-size: .98rem; line-height: 1.5; }
.flip-fix { display: flex; align-items: center; gap: 8px; margin-top: var(--s4); color: var(--accent); font-weight: 600; font-size: .95rem; }
.flip-fix::before { content: ""; width: 18px; height: 2px; background: var(--accent); border-radius: 2px; }

/* ------------------------------ BEFORE / AFTER ----------------------------- */
.ba2 { display: grid; grid-template-columns: 1fr; border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; }
.ba2-col { padding: var(--s7) var(--s6); }
.ba2-before { background: var(--surface); }
.ba2-after { background: linear-gradient(180deg, var(--accent-soft), var(--surface)); }
.ba2-mid { display: flex; align-items: center; justify-content: center; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 10px; }
.ba2-arrow { width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(90deg); }
.ba2-arrow svg { width: 20px; height: 20px; }
.ba2-tag { font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: var(--s5); }
.ba2-before .ba2-tag { color: var(--muted-2); }
.ba2-after .ba2-tag { color: var(--accent); }
.ba2-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: var(--s4); font-size: 1rem; color: var(--ink-soft); line-height: 1.4; }
.ba2-list li:last-child { margin-bottom: 0; }
.ba2-x, .ba2-check { width: 24px; height: 24px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; margin-top: 1px; }
.ba2-x { background: rgba(248,113,113,.14); color: #f87171; }
.ba2-check { background: rgba(74,222,128,.16); color: #4ade80; }
.ba2-x svg, .ba2-check svg { width: 14px; height: 14px; }

/* interactive before/after toggle */
.ba-toggle { max-width: 760px; margin: 0 auto; text-align: center; }
.ba-switch { position: relative; display: inline-flex; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px; margin-bottom: var(--s6); }
.ba-ind { position: absolute; top: 4px; left: 4px; width: 124px; height: calc(100% - 8px); background: var(--accent); border-radius: var(--r-pill); transition: transform .32s var(--ease); }
.ba-switch.after .ba-ind { transform: translateX(124px); }
.ba-tab { position: relative; z-index: 1; width: 124px; font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--muted); background: none; border: none; border-radius: var(--r-pill); padding: 10px 0; cursor: pointer; transition: color .25s var(--ease); }
.ba-tab.is-active { color: #fff; }
.ba-stage { position: relative; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s7); min-height: 320px; overflow: hidden; transition: background .4s var(--ease), border-color .4s var(--ease); }
.ba-stage.after-on { background: linear-gradient(180deg, var(--accent-soft), var(--surface)); border-color: var(--accent-tint); }
.ba-state { position: absolute; left: var(--s7); right: var(--s7); top: var(--s7); opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .4s var(--ease); pointer-events: none; }
.ba-state.is-active { opacity: 1; transform: none; pointer-events: auto; }
.ba-state li { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s4); font-size: 1.05rem; color: var(--ink-soft); line-height: 1.35; }
.ba-state li:last-child { margin-bottom: 0; }
.ba-ic { width: 28px; height: 28px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ba-ic svg { width: 15px; height: 15px; }
.ba-state[data-ba-state="before"] .ba-ic { background: rgba(248,113,113,.14); color: #f87171; }
.ba-state[data-ba-state="after"] .ba-ic { background: rgba(74,222,128,.16); color: #4ade80; }
@media (max-width: 560px) { .ba-stage { min-height: 380px; } }

/* before/after as a single transforming product window */
.baflow { display: block; max-width: 600px; margin: 0 auto; text-align: center; }
.baflow .ba-switch { margin-bottom: var(--s6); }
.baw-shot { text-align: left; transition: box-shadow .45s var(--ease); }
.baw-shot.after-on { box-shadow: 0 0 0 1px var(--accent-tint), 0 26px 64px rgba(59,130,246,.28); }
.baw-t-after { display: none; }
.baw-shot.after-on .baw-t-before { display: none; }
.baw-shot.after-on .baw-t-after { display: inline; }
.baw-body { position: relative; min-height: 256px; padding: var(--s5); }
.baw-state { position: absolute; left: var(--s5); right: var(--s5); top: var(--s5); display: flex; flex-direction: column; gap: 10px; opacity: 0; transform: translateY(10px); transition: opacity .42s var(--ease), transform .42s var(--ease); pointer-events: none; }
.baw-state.is-active { opacity: 1; transform: none; pointer-events: auto; }
.baw-app { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 10px; padding: 13px 15px; color: var(--d-text); font-size: .95rem; }
.baw-flag { font-size: .72rem; font-weight: 600; border-radius: 999px; padding: 4px 10px; white-space: nowrap; }
.baw-flag.red { color: #f87171; background: rgba(248,113,113,.13); border: 1px solid rgba(248,113,113,.3); }
.baw-flag.green { color: #4ade80; background: rgba(74,222,128,.14); border: 1px solid rgba(74,222,128,.32); }
.baw-win { display: flex; align-items: center; gap: 10px; background: var(--d-accent-soft); border: 1px solid var(--accent-tint); border-radius: 10px; padding: 13px 15px; }
.baw-winlogo { width: 28px; height: 28px; border-radius: 8px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.baw-winlogo svg { width: 17px; height: 17px; }
.baw-win strong { color: var(--d-text); font-family: var(--font-head); margin-right: auto; }
.baw-line { display: flex; align-items: center; gap: 11px; color: var(--d-text); font-size: .95rem; padding: 3px 2px; }
.baw-chk { width: 24px; height: 24px; border-radius: 50%; background: rgba(74,222,128,.16); color: #4ade80; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.baw-chk svg { width: 14px; height: 14px; }

/* ------------------------------ GETTING STARTED ---------------------------- */
.steps { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--s6); position: relative; }
.step { text-align: center; position: relative; z-index: 1; }
.step-n { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s4); box-shadow: 0 0 0 6px var(--accent-soft); }
.step h3 { margin-bottom: var(--s2); }
.step p { font-size: .95rem; max-width: 30ch; margin: 0 auto; }
@media (min-width: 760px) {
  .steps { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .steps::before { content: ""; position: absolute; top: 24px; left: 13%; right: 13%; height: 2px; background: var(--border-strong); z-index: 0; }
  .ba2 { grid-template-columns: 1fr auto 1fr; }
  .ba2-mid { border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); padding: 0 8px; }
  .ba2-arrow { transform: none; }
}

/* -------------------------------- COMPARISON ------------------------------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--r-lg); -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 880px; font-size: .94rem; }
.cmp-table th, .cmp-table td { padding: var(--s4); border-bottom: 1px solid var(--border); }
.cmp-table thead th { font-family: var(--font-head); font-weight: 600; color: var(--ink); background: var(--surface-2); text-align: center; font-size: .9rem; }
.cmp-table thead th:first-child { text-align: left; }
.cmp-table tbody th { font-weight: 500; color: var(--ink-soft); text-align: left; }
.cmp-table td { text-align: center; color: var(--muted); }
.cmp-table .cmp-us { background: var(--accent-soft); }
.cmp-table thead .cmp-us { color: var(--accent); }
.cmp-table tr:last-child td { border-bottom: none; }
.yes, .no, .part { display: inline-block; font-size: .8rem; font-weight: 600; border-radius: var(--r-pill); padding: 4px 12px; border: 1px solid transparent; white-space: nowrap; }
.yes { color: #4ade80; background: rgba(74,222,128,.14); border-color: rgba(74,222,128,.32); }
.no { color: #f87171; background: rgba(248,113,113,.13); border-color: rgba(248,113,113,.3); }
.part { color: #fbbf24; background: rgba(251,191,36,.13); border-color: rgba(251,191,36,.32); }

/* --------------------------------- PRICING --------------------------------- */
.price-layout { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.price-chips { display: grid; grid-template-columns: 1fr; gap: var(--s4); align-content: start; }
.price-chip { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); background: var(--surface); }
.pc-amt { display: block; font-family: var(--font-head); font-weight: 700; font-size: 1.9rem; color: var(--ink); letter-spacing: -.03em; }
.pc-amt small { font-size: .9rem; font-weight: 500; color: var(--muted-2); }
.pc-unit { display: block; font-size: .92rem; color: var(--ink-soft); margin-top: var(--s1); }
.pc-note { display: block; font-size: .82rem; color: var(--muted-2); margin-top: var(--s2); }

.calc { background: var(--surface-2); overflow: hidden; }
.calc-head { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--ink); text-align: center; letter-spacing: -.01em; background: var(--surface); border-bottom: 1px solid var(--border); border-radius: var(--r-lg) var(--r-lg) 0 0; padding: var(--s5) var(--s6); margin: calc(-1 * var(--s6)) calc(-1 * var(--s6)) var(--s6); }
.calc-field { margin-top: var(--s5); }
.calc-field:first-of-type { margin-top: 0; }
.calc-flabel { display: flex; justify-content: space-between; align-items: baseline; font-size: .92rem; color: var(--muted); margin-bottom: var(--s3); }
.calc-fval { color: var(--ink); font-family: var(--font-head); font-weight: 600; }
.calc-stepper { display: inline-flex; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; background: var(--border-strong); border-radius: var(--r-pill); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid var(--surface-2); box-shadow: var(--shadow-md); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); cursor: pointer; border: 3px solid var(--surface-2); }
.calc-break { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--border); }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; font-size: .95rem; color: var(--muted); margin-bottom: var(--s3); }
.calc-line i { font-style: normal; color: var(--muted-2); font-size: .8rem; margin-left: 6px; }
.calc-line span:last-child { color: var(--ink-soft); font-family: var(--font-head); }
.calc-incl { color: var(--accent) !important; font-weight: 600; }
.calc-grandline { display: flex; align-items: baseline; gap: var(--s2); margin-top: var(--s5); padding: var(--s4) var(--s5); border: 1px solid var(--accent-tint); border-radius: var(--r-md); background: var(--accent-soft); font-family: var(--font-head); }
.calc-grandline > span:first-child { color: var(--ink); font-weight: 600; margin-right: auto; }
.calc-grand { font-size: 2rem; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.calc-grandline small { color: var(--muted-2); }
.use-presets { display: flex; flex-direction: column; gap: 8px; }
.use-opt { text-align: left; background: var(--canvas); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 12px 14px; cursor: pointer; font-family: var(--font-body); transition: border-color .15s var(--ease), background .15s var(--ease); }
.use-opt strong { display: block; font-family: var(--font-head); font-size: .98rem; color: var(--ink); margin-bottom: 3px; }
.use-opt span { font-size: .82rem; color: var(--muted); line-height: 1.4; }
.use-opt:hover { border-color: var(--accent); }
.use-opt.is-active { border-color: var(--accent); background: var(--accent-soft); }
.use-opt.is-active strong { color: var(--accent); }
.useseg { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.useseg-btn { font-family: var(--font-body); font-weight: 600; font-size: .92rem; color: var(--muted); background: var(--canvas); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 11px 0; cursor: pointer; transition: color .15s var(--ease), border-color .15s var(--ease), background .15s var(--ease); }
.useseg-btn:hover { border-color: var(--accent); color: var(--ink); }
.useseg-btn.is-active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }
.calc-foot { margin-top: var(--s4); font-size: .85rem; color: var(--muted-2); text-align: center; }
.calc-foot span { color: var(--ink-soft); font-weight: 600; }
.calc-cta { margin-top: var(--s7); margin-bottom: var(--s5); }

/* ----------------------------------- FIT ----------------------------------- */
.fit-yes { border-color: var(--accent-tint); }
.fit-yes h3 { color: var(--accent); }
.fit-no h3 { color: var(--muted); }
.ticks li { position: relative; padding-left: 28px; margin-bottom: var(--s3); color: var(--muted); font-size: .95rem; }
.ticks li:last-child { margin-bottom: 0; }
.ticks-check li::before { content: ""; position: absolute; left: 0; top: 5px; width: 16px; height: 16px; background: var(--accent); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/13px no-repeat; }
.ticks-x li::before { content: "\00d7"; position: absolute; left: 3px; top: -1px; color: var(--no); font-weight: 700; font-size: 1.1rem; }

/* ----------------------------------- FAQ ----------------------------------- */
.faq-tabs { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.faq-tab { display: inline-flex; align-items: center; gap: var(--s2); font-family: var(--font-body); font-weight: 500; font-size: .88rem; color: var(--muted); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 9px 16px; cursor: pointer; transition: all .15s var(--ease); }
.faq-tab svg { width: 16px; height: 16px; }
.faq-tab:hover { border-color: var(--accent); color: var(--accent); }
.faq-tab.is-active { background: var(--accent); color: var(--on-accent); border-color: var(--accent); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: var(--s5) 0; display: flex; justify-content: space-between; align-items: center; gap: var(--s4); font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.faq-icon { flex: 0 0 auto; width: 20px; height: 20px; position: relative; }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; background: var(--accent); border-radius: 2px; }
.faq-icon::before { top: 9px; left: 2px; right: 2px; height: 2px; }
.faq-icon::after { left: 9px; top: 2px; bottom: 2px; width: 2px; transition: opacity .25s var(--ease); }
.faq-item.open .faq-icon::after { opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s var(--ease); }
.faq-a p { padding-bottom: var(--s5); color: var(--muted); font-size: .96rem; max-width: 70ch; }

/* --------------------------------- CTA BAND -------------------------------- */
.cta-band { background: linear-gradient(180deg, var(--accent-soft), var(--surface)); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.cta-band h2 { color: var(--ink); }
.cta-band .section-lede { color: var(--muted); margin: var(--s3) auto 0; }
.cta-band .btn-primary { margin-top: var(--s6); }

/* ================================ FUNNEL =================================== */
.funnel { padding: var(--s8) 0 var(--s9); min-height: 72vh; }
.funnel-narrow { max-width: 680px; margin: 0 auto; }
.funnel-head { margin: var(--s7) 0; }
.funnel-head.center { text-align: center; }
.funnel-head.center .section-lede { margin-left: auto; margin-right: auto; }

/* progress bar */
.progress { display: flex; align-items: center; gap: 0; }
.progress .pstep { display: flex; flex-direction: column; align-items: center; gap: var(--s2); flex: 0 0 auto; z-index: 1; }
.progress .pdot { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: .82rem; background: var(--surface); border: 2px solid var(--border-strong); color: var(--muted-2); transition: all .3s var(--ease); }
.progress .plabel { font-size: .72rem; color: var(--muted-2); font-weight: 500; }
.progress .pline { flex: 1 1 auto; height: 2px; background: var(--border-strong); position: relative; top: -10px; }
.progress .pline i { position: absolute; inset: 0; width: 0; background: var(--accent); transition: width .4s var(--ease); }
.progress .pstep.done .pdot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.progress .pstep.active .pdot { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 0 0 5px var(--accent-soft); }
.progress .pstep.active .plabel { color: var(--accent); }

/* form */
.form { margin-top: var(--s4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .86rem; font-weight: 500; color: var(--ink-soft); margin-bottom: var(--s2); }
.field input, .pay-form input { font-family: var(--font-body); font-size: 1rem; color: var(--ink); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 12px 14px; outline: none; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); background: var(--canvas); }
.field input::placeholder, .pay-form input::placeholder { color: var(--muted-2); }
.field input:focus, .pay-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.invalid input { border-color: var(--no); }
.tel-group { display: flex; gap: 8px; align-items: stretch; }
.tel-group input { flex: 1 1 auto; min-width: 0; }
.tel-country { flex: 0 0 auto; font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: var(--canvas); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 12px 10px; outline: none; cursor: pointer; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.tel-country:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field.invalid .tel-country { border-color: var(--no); }
.err { color: var(--no); font-size: .78rem; margin-top: 5px; min-height: 1em; }
.form .btn-block { margin-top: var(--s6); }
.form-fine { margin-top: var(--s4); font-size: .8rem; color: var(--muted-2); text-align: center; }

/* status pill */
.status-pill { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .74rem; letter-spacing: .04em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-tint); border-radius: var(--r-pill); padding: 5px 14px; margin-bottom: var(--s4); }
.whats-next { text-align: left; background: var(--surface); margin-top: var(--s6); }
.whats-next h3 { margin-bottom: var(--s4); }
.wireframe-control { margin-top: var(--s7); padding-top: var(--s6); border-top: 1px dashed var(--border-strong); }
.wireframe-control .muted { margin-top: var(--s3); }

/* billing */
.bill-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); margin-top: var(--s5); max-width: 960px; margin-left: auto; margin-right: auto; }
.plan-card { background: var(--surface); }
.plan-top { display: flex; align-items: flex-start; justify-content: space-between; padding-bottom: var(--s5); border-bottom: 1px solid var(--border); }
.plan-name { font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.plan-price { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; color: var(--ink); }
.plan-price small { font-size: .85rem; color: var(--muted-2); font-weight: 500; }
.seat-row { display: flex; align-items: center; justify-content: space-between; padding: var(--s5) 0; border-bottom: 1px solid var(--border); }
.seat-label { font-weight: 600; color: var(--ink); }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--border-strong); border-radius: var(--r-pill); overflow: hidden; background: var(--canvas); }
.stepper button { width: 38px; height: 38px; border: none; background: var(--canvas); color: var(--accent); font-size: 1.2rem; cursor: pointer; }
.stepper button:hover { background: var(--accent-soft); }
.stepper input { width: 54px; text-align: center; border: none; border-left: 1px solid var(--border); border-right: 1px solid var(--border); height: 38px; font-family: var(--font-head); font-weight: 600; color: var(--ink); outline: none; background: var(--canvas); }
/* calculator: larger, full-width inputs that feel substantial */
.calc-stepper { display: flex; width: 100%; border-radius: var(--r-md); }
.calc-stepper button { width: 52px; height: 52px; font-size: 1.5rem; transition: background .15s var(--ease); }
.calc-stepper input { flex: 1 1 auto; width: auto; height: 52px; font-size: 1.15rem; }
/* no native up/down spinner arrows; the +/- cells are the only control */
.calc-stepper input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.calc-stepper input[type=number]::-webkit-outer-spin-button, .calc-stepper input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-stepper button { background: var(--surface-2); color: var(--accent); font-weight: 700; }
.calc-stepper button:hover { background: var(--accent-soft); }
.calc-stepper button:active { background: var(--accent); color: #fff; }

/* little "?" explainers (tokens, storage) */
.hint { position: relative; display: inline-flex; vertical-align: middle; margin-right: 7px; }
.hint-q { width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--border-strong); background: transparent; color: var(--muted); font-family: var(--font-body); font-size: 11px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: help; padding: 0; }
.hint-q:hover, .hint-q:focus { border-color: var(--accent); color: var(--accent); outline: none; }
.hint-pop { position: absolute; bottom: calc(100% + 9px); left: -4px; width: 244px; background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r-md); padding: 11px 13px; font-family: var(--font-body); font-size: .8rem; font-weight: 400; color: var(--ink-soft); line-height: 1.5; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(4px); transition: opacity .15s var(--ease), transform .15s var(--ease); z-index: 30; text-align: left; text-transform: none; pointer-events: none; }
.hint:hover .hint-pop, .hint-q:focus + .hint-pop { opacity: 1; visibility: visible; transform: none; }
.calc-flabel { font-size: .95rem; margin-bottom: var(--s2); }
.calc-fval { font-size: 1rem; }
.useseg-btn { padding: 15px 0; font-size: .95rem; }
.usage-block { padding: var(--s5) 0; border-bottom: 1px solid var(--border); }
.usage-head { font-weight: 600; color: var(--ink); margin-bottom: var(--s4); }
.incl-line { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: var(--ink-soft); margin-bottom: var(--s3); }
.incl-check { width: 20px; height: 20px; border-radius: 50%; background: rgba(74,222,128,.16); color: #4ade80; display: inline-flex; align-items: center; justify-content: center; font-size: .72rem; flex: 0 0 auto; }
.meter { display: grid; grid-template-columns: 70px 1fr 56px; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.meter-label { font-size: .85rem; color: var(--muted); }
.meter-bar { height: 8px; background: var(--surface-2); border-radius: var(--r-pill); overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--accent); border-radius: var(--r-pill); }
.meter-val { font-size: .85rem; color: var(--ink-soft); text-align: right; font-family: var(--font-head); }
.bill-total { display: flex; justify-content: space-between; align-items: center; padding-top: var(--s5); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem; color: var(--ink); }
.pay-card .preview-flag { display: inline-block; font-size: .76rem; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-tint); border-radius: var(--r-pill); padding: 5px 12px; margin-bottom: var(--s4); }
.pay-form { margin-top: var(--s5); display: flex; flex-direction: column; gap: var(--s4); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.pay-form .btn-block { margin-top: var(--s2); }

/* done */
.success-check { color: var(--accent); margin: 0 auto var(--s4); }
[data-view="done"] .btn-primary { margin-top: var(--s5); }

/* --------------------------------- FOOTER ---------------------------------- */
.site-footer { background: var(--surface); border-top: 1px solid var(--border); padding: var(--s7) 0; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--s3); text-align: center; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: var(--s6); }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; gap: var(--s7); } }
.footer-brand .brand { margin-bottom: var(--s3); }
.footer-tag { color: var(--muted); font-size: .92rem; max-width: 34ch; }
.footer-contact { margin-top: var(--s3); font-size: .9rem; color: var(--muted); }
.footer-contact a { color: var(--accent); }
.footer-col h4 { font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: var(--s3); }
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s5); }
.footer-col .footer-nav { flex-direction: column; justify-content: flex-start; gap: var(--s3); }
.footer-nav a { font-size: .9rem; color: var(--muted); cursor: pointer; }
.footer-nav a:hover { color: var(--accent); }
.footer-base { margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--border); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; }
.legal-meta { color: var(--muted-2); font-size: .85rem; margin-bottom: var(--s5); }
.legal-summary { background: var(--accent-soft); border: 1px solid var(--accent-tint); border-radius: var(--r-lg); padding: var(--s5); color: var(--ink-soft); line-height: 1.6; margin-bottom: var(--s6); }
.legal-summary strong { color: var(--ink); }
.legal h2 { font-size: 1.25rem; margin: var(--s6) 0 var(--s3); }
.legal h3 { font-size: 1.02rem; margin: var(--s4) 0 var(--s2); color: var(--ink-soft); }
.legal p { color: var(--muted); line-height: 1.7; margin-bottom: var(--s3); }
.legal a { color: var(--accent); cursor: pointer; }
.legal-list { margin: 0 0 var(--s3) var(--s5); color: var(--muted); line-height: 1.7; }
.legal-list li { margin-bottom: var(--s2); }
.legal-note { margin-top: var(--s6); padding-top: var(--s4); border-top: 1px solid var(--border); font-size: .86rem; color: var(--muted-2); }

/* ============================ ASK SECURE CHAT ============================== */
.ask-launcher { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: inline-flex; align-items: center; gap: var(--s2);
  background: var(--surface); color: var(--d-text); border: 1px solid var(--border-strong); border-radius: var(--r-pill);
  padding: 11px 18px 11px 13px; cursor: pointer; box-shadow: var(--shadow-lg); font-family: var(--font-head); font-weight: 600; font-size: .92rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
/* proactive ask nudge */
.ask-nudge { position: fixed; right: 20px; bottom: 74px; z-index: 61; max-width: 250px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: var(--r-lg); padding: var(--s4) var(--s5); box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; transform: translateY(10px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.ask-nudge::after { content: ""; position: absolute; bottom: -7px; right: 28px; width: 14px; height: 14px; background: var(--surface); border-right: 1px solid var(--border-strong); border-bottom: 1px solid var(--border-strong); transform: rotate(45deg); }
.ask-nudge[hidden] { display: none; }
.ask-nudge.in { opacity: 1; transform: none; }
.ask-nudge p { font-size: .92rem; color: var(--ink); font-weight: 500; line-height: 1.4; margin: 0; padding-right: 12px; }
.ask-nudge-x { position: absolute; top: 7px; right: 7px; width: 22px; height: 22px; border: none; background: none; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; }
.ask-nudge-x:hover { background: var(--surface-2); color: var(--ink); }
.ask-nudge-x svg { width: 13px; height: 13px; }
.ask-launcher:hover { transform: translateY(-2px); border-color: var(--accent); }
.ask-launcher .brand-mark { animation: pulse 2.6s ease-in-out infinite; }
@keyframes pulse { 0%,100%{transform:scale(1)} 50%{transform:scale(1.12)} }
.ask-launcher.hidden { transform: scale(.6); opacity: 0; pointer-events: none; }

.ask-overlay { position: fixed; inset: 0; z-index: 65; background: rgba(0,0,0,.5); backdrop-filter: blur(2px); animation: fade .2s var(--ease); }
.ask-overlay[hidden] { display: none; }
@keyframes fade { from{opacity:0} to{opacity:1} }

.ask-panel { position: fixed; right: 20px; bottom: 20px; z-index: 70; width: min(420px, calc(100vw - 32px)); height: min(640px, calc(100vh - 40px));
  background: var(--d-bg); border: 1px solid var(--d-border); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; overflow: hidden; transform: translateY(24px) scale(.96); opacity: 0; pointer-events: none; transition: all .26s var(--ease); }
.ask-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.ask-panel-head { display: flex; align-items: center; gap: var(--s3); padding: var(--s4) var(--s5); border-bottom: 1px solid var(--d-border); }
.ask-panel-title { display: flex; flex-direction: column; line-height: 1.25; }
.ask-panel-title strong { font-family: var(--font-head); color: var(--d-text); font-size: .98rem; }
.ask-panel-title span { font-size: .76rem; color: var(--d-muted); }
.ask-close { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--d-border); background: var(--d-surface); color: var(--d-muted); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.ask-close:hover { color: var(--d-text); }
.ask-close svg { width: 16px; height: 16px; }

.ask-chips { display: flex; gap: var(--s2); padding: var(--s3) var(--s5); border-bottom: 1px solid var(--d-border); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.ask-chips::-webkit-scrollbar { height: 0; }
.chip { flex: 0 0 auto; font-family: var(--font-body); font-size: .78rem; font-weight: 500; color: var(--d-muted); background: var(--d-surface); border: 1px solid var(--d-border); border-radius: var(--r-pill); padding: 6px 12px; cursor: pointer; transition: all .15s var(--ease); white-space: nowrap; }
.chip:hover { color: var(--d-text); border-color: var(--d-accent); }
.chip.is-active { background: var(--d-accent); color: var(--on-accent); border-color: var(--d-accent); }

.ask-scroll { flex: 1 1 auto; overflow-y: auto; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); scroll-behavior: smooth; }
.ask-scroll::-webkit-scrollbar { width: 6px; }
.ask-scroll::-webkit-scrollbar-thumb { background: var(--d-border); border-radius: 3px; }
.msg { animation: msgIn .3s var(--ease); max-width: 90%; }
@keyframes msgIn { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:none} }
.msg-user { align-self: flex-end; background: var(--d-accent); color: var(--on-accent); font-weight: 500; padding: 10px 14px; border-radius: var(--r-md); border-bottom-right-radius: 4px; font-size: .92rem; }
.msg-bot { align-self: stretch; width: 100%; max-width: 100%; display: flex; gap: 9px; align-items: flex-start; }
.msg-ava { width: 28px; height: 28px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-top: 2px; }
.msg-ava svg { width: 17px; height: 17px; }
.msg-main { flex: 1 1 auto; min-width: 0; }
.msg-lead { font-size: .76rem; color: var(--d-accent); font-weight: 600; margin-bottom: var(--s2); }

/* LLM-style welcome state (the Ask box first screen) */
.ai-welcome { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 14px; padding: 22px 16px; }
.ai-wlogo { width: 48px; height: 48px; border-radius: 14px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.ai-wlogo svg { width: 27px; height: 27px; }
.ai-greet { font-family: var(--font-head); font-weight: 600; font-size: 1.2rem; color: var(--ink); }
.ai-sugs { justify-content: center; max-width: 480px; }
.msg-bubble { background: var(--d-surface); border: 1px solid var(--d-border); border-radius: var(--r-md); border-bottom-left-radius: 4px; padding: var(--s4); }
.msg-cat { display: inline-block; font-size: .66rem; text-transform: uppercase; letter-spacing: .05em; color: var(--d-muted); font-weight: 600; margin-bottom: var(--s2); }
.msg-bubble h4 { font-family: var(--font-head); font-size: .98rem; color: var(--d-text); margin-bottom: var(--s2); }
.msg-bubble p { color: #c3ccd6; font-size: .9rem; line-height: 1.55; }
.related { margin-top: var(--s4); }
.related-label { font-size: .72rem; color: var(--d-muted); margin-bottom: var(--s2); font-weight: 600; }
.related-cards { display: flex; flex-wrap: wrap; gap: var(--s2); }
.related-card { text-align: left; background: var(--d-surface-2); border: 1px solid var(--d-border); border-radius: var(--r-pill); padding: 8px 14px; cursor: pointer; font-family: var(--font-body); font-size: .84rem; color: var(--d-text); transition: all .15s var(--ease); }
.related-card:hover { border-color: var(--d-accent); background: var(--d-accent-soft); color: var(--d-accent); }
.typing { display: inline-flex; gap: 5px; padding: 13px 15px; background: var(--d-surface); border: 1px solid var(--d-border); border-radius: var(--r-md); border-bottom-left-radius: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--d-muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2){animation-delay:.2s} .typing i:nth-child(3){animation-delay:.4s}
@keyframes blink { 0%,60%,100%{opacity:.25;transform:translateY(0)} 30%{opacity:1;transform:translateY(-3px)} }

/* floating panel reuses the same composer */
.ask-composer-mount { padding: var(--s4) var(--s5); border-top: 1px solid var(--d-border); background: var(--d-bg); }
.ask-panel .ai-composer { margin: 0; background: var(--d-surface); border-color: var(--d-border); }
.ask-panel .ai-field { color: var(--d-text); font-size: .95rem; }

/* inline Ask box embedded in pages (looks and feels like the Secure Chat platform) */
.ask-section .section-head { margin-bottom: var(--s6); }
.ask-inline { max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); box-shadow: var(--shadow-md); overflow: hidden; }
.ai-head { display: flex; align-items: center; gap: 10px; padding: var(--s4) var(--s5); border-bottom: 1px solid var(--border); }
.ai-logo { width: 30px; height: 30px; border-radius: 9px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.ai-logo svg { width: 18px; height: 18px; }
.ai-head-t { display: flex; flex-direction: column; line-height: 1.25; }
.ai-head-t strong { font-family: var(--font-head); font-size: .98rem; color: var(--ink); }
.ai-head-t span { font-size: .76rem; color: var(--muted-2); }
.ai-chips { display: flex; flex-wrap: wrap; gap: var(--s2); padding: var(--s5) var(--s5) 0; }
.ai-scroll { max-height: 360px; min-height: 150px; overflow-y: auto; padding: var(--s5); display: flex; flex-direction: column; gap: var(--s4); scroll-behavior: smooth; }
.ai-scroll::-webkit-scrollbar { width: 6px; }
.ai-scroll::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

/* Ask Secure Chat composer: just a text field and a send button */
.ai-composer { display: flex; align-items: center; gap: 8px; margin: var(--s4) var(--s5) var(--s5); border: 1px solid var(--border-strong); border-radius: var(--r-pill); background: var(--canvas); padding: 7px 8px 7px 18px; transition: border-color .15s var(--ease), box-shadow .15s var(--ease); }
.ai-composer:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.ai-field { flex: 1; min-width: 0; border: none; background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 1rem; outline: none; }
.ai-field::placeholder { color: var(--muted-2); }
.ai-send { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; border: none; display: inline-flex; align-items: center; justify-content: center; background: var(--surface-2); color: var(--muted-2); cursor: pointer; transition: background .15s var(--ease), color .15s var(--ease); }
.ai-send:not(:disabled) { background: var(--accent); color: #fff; }
.ai-send:not(:disabled):hover { background: var(--accent-hover); }
.ai-send:disabled { cursor: default; }
.ai-send svg { width: 18px; height: 18px; }

/* ============================== THANK-YOU MODAL =========================== */
.modal-overlay { position: fixed; inset: 0; z-index: 80; background: rgba(0,0,0,.6); backdrop-filter: blur(3px); display: flex; align-items: center; justify-content: center; padding: var(--s5); animation: fade .2s var(--ease); }
.modal-overlay[hidden] { display: none; }
.modal-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s8) var(--s7); max-width: 420px; width: 100%; text-align: center; box-shadow: var(--shadow-lg); animation: modalIn .3s var(--ease); }
@keyframes modalIn { from{opacity:0;transform:translateY(14px) scale(.97)} to{opacity:1;transform:none} }
.modal-mark { display: inline-flex; align-items: center; justify-content: center; width: 72px; height: 72px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--accent); margin-bottom: var(--s5); }
.modal-card h3 { font-size: 1.5rem; margin-bottom: var(--s3); }
.modal-card p { margin-bottom: var(--s6); }
.modal-text-btn { background: none; border: none; color: var(--muted); font: inherit; font-size: .9rem; cursor: pointer; margin-top: var(--s4); }
.modal-text-btn:hover { color: var(--ink-soft); }
.btn-login { background: transparent; border: 1px solid transparent; color: var(--ink-soft); font-family: var(--font-body); font-weight: 600; font-size: .95rem; padding: 10px 16px; border-radius: var(--r-pill); cursor: pointer; transition: color .15s var(--ease), background .15s var(--ease); white-space: nowrap; }
.btn-login:hover { color: var(--ink); background: var(--surface-2); }
@media (max-width: 520px) { .btn-login { display: none; } }

/* sign-on page */
.auth-card { max-width: 420px; margin: var(--s6) auto 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); padding: var(--s8) var(--s7); text-align: center; box-shadow: var(--shadow-lg); }
.auth-logo { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: var(--r-lg); background: var(--accent-soft); color: var(--accent); margin-bottom: var(--s4); }
.auth-logo svg { width: 30px; height: 30px; }
.auth-card h2 { font-size: 1.6rem; margin-bottom: var(--s2); }
.auth-sub { color: var(--muted); margin-bottom: var(--s6); }
.auth-sso { display: flex; align-items: center; justify-content: center; gap: 11px; width: 100%; padding: 12px 16px; margin-bottom: var(--s3); background: var(--surface-2); border: 1px solid var(--border-strong); border-radius: var(--r-md); color: var(--ink); font-family: var(--font-body); font-weight: 600; font-size: .98rem; cursor: pointer; transition: border-color .15s var(--ease), background .15s var(--ease); }
.auth-sso:hover { border-color: var(--accent); background: var(--surface); }
.sso-ic { display: inline-flex; }
.sso-ic svg { width: 20px; height: 20px; }
.auth-or { display: flex; align-items: center; gap: var(--s4); color: var(--muted-2); font-size: .82rem; margin: var(--s5) 0; }
.auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.auth-form { text-align: left; }
.auth-field { margin-bottom: var(--s4); }
.auth-field label { display: block; font-size: .85rem; color: var(--ink-soft); margin-bottom: 6px; font-weight: 500; }
.auth-field input { width: 100%; padding: 12px 14px; background: var(--canvas); border: 1px solid var(--border-strong); border-radius: var(--r-md); color: var(--ink); font: inherit; }
.auth-field input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.auth-msg { margin-top: var(--s3); font-size: .88rem; color: var(--accent); text-align: center; }
.auth-foot { margin-top: var(--s5); font-size: .9rem; color: var(--muted); }
.auth-link { color: var(--accent); cursor: pointer; font-weight: 600; }
.wf-note { margin-top: var(--s5); }

/* ===================== ABOUT / EXPLAINER COMPONENTS ===================== */
/* consumer vs business comparison */
.vs-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); max-width: 880px; margin: 0 auto; }
.vs-col { border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); background: var(--surface); }
.vs-good { background: linear-gradient(180deg, var(--accent-soft), var(--surface)); border-color: var(--accent-tint); }
.vs-tag { font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .07em; text-transform: uppercase; margin-bottom: var(--s4); color: var(--muted-2); }
.vs-good .vs-tag { color: var(--accent); }
.vs-list { list-style: none; }
.vs-list li { position: relative; padding-left: 30px; margin-bottom: var(--s4); font-size: 1rem; color: var(--ink-soft); line-height: 1.4; }
.vs-list li:last-child { margin-bottom: 0; }
.vs-bad .vs-list li::before { content: "\00d7"; position: absolute; left: 6px; top: -2px; color: #f87171; font-weight: 700; font-size: 1.25rem; }
.vs-good .vs-list li::before { content: ""; position: absolute; left: 3px; top: 4px; width: 16px; height: 9px; border-left: 2.4px solid #4ade80; border-bottom: 2.4px solid #4ade80; transform: rotate(-45deg); }
@media (min-width: 720px) { .vs-grid { grid-template-columns: 1fr 1fr; gap: var(--s6); } }

/* how a normal AI leaks data (Security explainer) */
.riskflow { max-width: 540px; margin: var(--s8) auto 0; display: flex; flex-direction: column; align-items: center; gap: var(--s4); }
.rf-msg { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); text-align: left; }
.rf-tag { display: block; font-size: .72rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 8px; }
.rf-msg p { color: var(--ink-soft); font-size: .98rem; line-height: 1.45; }
.rf-arrow { color: var(--muted-2); }
.rf-arrow svg { width: 26px; height: 26px; display: block; }
.rf-outs { display: grid; grid-template-columns: 1fr; gap: var(--s3); width: 100%; }
.rf-out { display: flex; align-items: center; gap: 12px; background: rgba(248,113,113,.07); border: 1px solid rgba(248,113,113,.28); border-radius: var(--r-md); padding: 14px 16px; color: var(--ink-soft); font-size: .96rem; font-weight: 500; }
.rf-oic { width: 30px; height: 30px; flex: 0 0 auto; color: #f87171; display: inline-flex; align-items: center; justify-content: center; }
.rf-oic svg { width: 22px; height: 22px; }
.rf-warn { display: inline-flex; align-items: center; gap: 10px; margin-top: var(--s2); font-size: .92rem; font-weight: 600; color: #f87171; }
.rf-warn svg { width: 20px; height: 20px; flex: 0 0 auto; }
@media (min-width: 560px) { .rf-outs { grid-template-columns: 1fr 1fr; } }
.frow .riskflow { margin: 0; max-width: 100%; }

/* walled-off private space (Security) */
.vaultvis { max-width: 440px; margin: 0 auto; }
.vault-public { display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--muted-2); margin-bottom: 14px; }
.vault-public svg { width: 18px; height: 18px; }
.vault-wall { border: 1.5px dashed var(--accent-tint); border-radius: var(--r-xl); background: var(--accent-soft); padding: var(--s5); }
.vault-wall-head { display: flex; align-items: center; gap: 12px; margin-bottom: var(--s4); }
.vault-lock { width: 46px; height: 46px; border-radius: var(--r-md); background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.vault-lock svg { width: 22px; height: 22px; }
.vault-wall-head strong { display: block; font-family: var(--font-head); font-size: 1.05rem; color: var(--ink); }
.vault-sub { font-size: .82rem; color: var(--muted); }
.vault-r { display: flex; align-items: center; gap: 11px; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; margin-bottom: 8px; font-size: .93rem; color: var(--ink-soft); }
.vault-r:last-child { margin-bottom: 0; }
.vault-r svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }

/* knowledge-base mockup (About) */
.kb-mock { display: flex; flex-direction: column; gap: 8px; }
.kb-row { display: flex; align-items: center; gap: 11px; background: var(--d-surface); border: 1px solid var(--d-border); border-radius: 10px; padding: 11px 13px; }
.kb-doc { color: var(--d-accent); flex: 0 0 auto; display: inline-flex; }
.kb-doc svg { width: 19px; height: 19px; }
.kb-name { flex: 1 1 auto; min-width: 0; color: var(--d-text); font-size: .92rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kb-ok { width: 22px; height: 22px; border-radius: 50%; background: rgba(74,222,128,.16); color: #4ade80; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.kb-ok svg { width: 13px; height: 13px; }
.kb-add { display: inline-flex; align-items: center; gap: 9px; margin-top: 4px; color: var(--d-text); font-size: .9rem; font-weight: 600; }
.kb-plus { width: 22px; height: 22px; border-radius: 6px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.1rem; line-height: 1; }

/* About SB7: plan, credentials, stakes */
.plan-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.plan-step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); }
.plan-n { display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; margin-bottom: var(--s4); box-shadow: 0 0 0 6px var(--accent-soft); }
.plan-step h3 { margin-bottom: var(--s2); }
.plan-step p { color: var(--muted); font-size: .96rem; line-height: 1.55; }
.plan-cta { margin-top: var(--s7); }
@media (min-width: 760px) { .plan-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }
.cred-vis { max-width: 380px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, var(--accent-soft), var(--surface)); border: 1px solid var(--accent-tint); border-radius: var(--r-xl); padding: var(--s7) var(--s6); }
.cred-shield { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: var(--r-lg); background: var(--accent); color: #fff; margin-bottom: var(--s4); box-shadow: 0 0 0 8px rgba(59,130,246,.1); }
.cred-shield svg { width: 32px; height: 32px; }
.cred-vis strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--ink); }
.cred-sub { display: block; font-size: .85rem; color: var(--muted); margin: 4px auto var(--s5); max-width: 28ch; }
.cred-line { display: flex; align-items: center; gap: 11px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 10px; padding: 11px 13px; margin-bottom: 8px; font-size: .9rem; color: var(--ink-soft); }
.cred-line:last-child { margin-bottom: 0; }
.cred-line svg { width: 18px; height: 18px; color: var(--accent); flex: 0 0 auto; }
.stakes-block { max-width: 760px; margin: 0 auto; text-align: center; }
.stakes-ic { display: inline-flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: rgba(248,113,113,.1); color: #f87171; margin-bottom: var(--s5); }
.stakes-ic svg { width: 28px; height: 28px; }
.stakes-block h2 { margin-bottom: var(--s4); }
.stakes-block p { font-size: 1.08rem; color: var(--muted); line-height: 1.65; max-width: 62ch; margin: 0 auto; }

/* SOC 2 badge (About guide) */
.soc-badge { max-width: 320px; margin: 0 auto; text-align: center; }
.soc-ring { display: inline-flex; align-items: center; justify-content: center; width: 112px; height: 112px; border-radius: 50%; background: var(--accent-soft); border: 1.5px solid var(--accent-tint); color: var(--accent); margin-bottom: var(--s5); box-shadow: 0 0 0 10px rgba(59,130,246,.05); }
.soc-ring svg { width: 54px; height: 54px; }
.soc-badge strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--ink); }
.soc-sub { display: block; font-size: .9rem; color: var(--muted); margin-top: 6px; }

/* breach story cards (About stakes) */
.breach-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.breach-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); }
.breach-top { display: flex; align-items: center; gap: 11px; margin-bottom: var(--s4); }
.breach-logo { height: 40px; min-width: 40px; border-radius: 9px; background: #fff; border: 1px solid var(--border-strong); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 6px 9px; box-sizing: border-box; }
.breach-logo img { max-height: 100%; max-width: 116px; width: auto; height: auto; display: block; }
.breach-co { font-family: var(--font-head); font-weight: 600; color: var(--ink-soft); }
.breach-year { margin-left: auto; font-family: var(--font-head); font-weight: 600; font-size: .78rem; color: var(--muted-2); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 3px 10px; }
.breach-title { font-size: 1.1rem; margin-bottom: var(--s2); }
.breach-short { color: var(--muted); font-size: .95rem; margin-bottom: var(--s4); }
.breach-more { display: inline-flex; align-items: center; gap: 6px; background: none; border: none; padding: 0; font: inherit; font-size: .88rem; font-weight: 600; color: var(--accent); cursor: pointer; }
.breach-chev { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.breach-more[aria-expanded="true"] .breach-chev { transform: rotate(180deg); }
.breach-full { margin-top: var(--s4); padding-top: var(--s4); border-top: 1px solid var(--border); color: var(--muted); font-size: .92rem; line-height: 1.6; }
@media (min-width: 720px) { .breach-grid { grid-template-columns: 1fr 1fr; } }

/* paragraph separation in story copy */
.frow-copy p + p { margin-top: var(--s4); }

/* the data promise (About) */
.promise-panel { max-width: 820px; margin: 0 auto; text-align: center; background: linear-gradient(180deg, var(--accent-soft), var(--surface)); border: 1px solid var(--accent-tint); border-radius: var(--r-xl); padding: var(--s9) var(--s6); }
.promise-lock { width: 60px; height: 60px; border-radius: var(--r-lg); background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s5); box-shadow: 0 0 0 8px var(--accent-soft); }
.promise-lock svg { width: 30px; height: 30px; }
.promise-panel h2 { margin-bottom: var(--s4); }
.promise-panel > p { font-size: 1.05rem; color: var(--muted); max-width: 60ch; margin: 0 auto; }
.promise-big { margin-top: var(--s5) !important; font-family: var(--font-head); font-weight: 700; font-size: clamp(1.2rem, 2.7vw, 1.65rem); color: var(--ink) !important; line-height: 1.3; letter-spacing: -.01em; }

/* ============================ HOME COMPONENTS ============================ */
/* problem cards (static, no flip) */
.prob-grid { display: grid; grid-template-columns: 1fr; gap: var(--s5); }
.prob-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s6); }
.prob-ic { width: 46px; height: 46px; border-radius: var(--r-md); background: rgba(248,113,113,.1); color: #f87171; display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s4); }
.prob-grid.pillars .prob-ic { background: var(--accent-soft); color: var(--accent); }
.prob-ic svg { width: 23px; height: 23px; }
.prob-card h3 { margin-bottom: var(--s3); }
.prob-card p { color: var(--muted); font-size: 1rem; line-height: 1.6; }
@media (min-width: 760px) { .prob-grid { grid-template-columns: repeat(3, 1fr); gap: var(--s5); } }

/* workspace mini shot */
.scd-mini { padding: var(--s5); }
.scdm-greet { font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--d-text); margin-bottom: var(--s4); }
.scdm-label { font-size: .72rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--d-muted); margin-bottom: 10px; }
.scdm-row { display: flex; align-items: center; gap: 11px; padding: 11px 12px; border-radius: 10px; background: var(--d-surface); border: 1px solid var(--d-border); margin-bottom: 8px; }
.scdm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: 0 0 auto; }
.scdm-t { color: var(--d-text); font-size: .95rem; margin-right: auto; }
.scdm-time { color: var(--d-muted); font-size: .8rem; }
.scdm-new { display: inline-flex; align-items: center; gap: 9px; margin-top: var(--s4); color: var(--d-text); font-weight: 600; font-size: .92rem; }
.scdm-plus { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; line-height: 1; }

/* getting-started journey (a dot travels the path; only step one is current) */
.journey { list-style: none; display: grid; grid-template-columns: 1fr; gap: var(--s5); position: relative; }
.jstep { display: flex; gap: var(--s4); align-items: flex-start; }
.jdot { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; border: 2px solid var(--border-strong); color: var(--muted-2); background: var(--surface); transition: all .3s var(--ease); }
.jstep.is-now .jdot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); }
.jtext h3 { margin-bottom: 4px; }
.jtext p { font-size: .95rem; color: var(--muted); }
.journey-pulse { display: none; }
@media (min-width: 760px) {
  .journey { grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
  .jstep { flex-direction: column; align-items: center; text-align: center; }
  .jtext p { max-width: 28ch; margin: 0 auto; }
  .journey::before { content: ""; position: absolute; top: 23px; left: 12.5%; right: 12.5%; height: 2px; background: var(--border-strong); z-index: 0; }
  .jdot { position: relative; z-index: 1; }
  .journey-pulse { display: block; position: absolute; top: 19px; left: 12.5%; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 5px var(--accent-soft); z-index: 2; transition: left .8s ease-in-out; }
}
.jstep.is-filled .jdot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); }

/* chip-free guide panel supporting line */
.guide-sub { max-width: 60ch; margin: var(--s4) auto 0; font-size: 1.05rem; color: var(--muted); line-height: 1.6; }

/* honest credibility band */
.trust-band { padding: var(--s7) 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-line { max-width: 900px; margin: 0 auto; font-family: var(--font-head); font-weight: 500; font-size: clamp(1.05rem, 2vw, 1.35rem); color: var(--ink-soft); line-height: 1.5; }

/* ===================== SUCCESS PAGE ===================== */
[data-view="success"] .funnel { padding-top: var(--s7); }
.success-hero { text-align: center; max-width: 720px; margin: 0 auto; }
.success-badge { width: 66px; height: 66px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s5); box-shadow: 0 0 0 9px rgba(59,130,246,.07); }
.success-badge svg { width: 32px; height: 32px; }
.success-email { display: flex; align-items: flex-start; gap: 12px; text-align: left; max-width: 620px; margin: var(--s5) auto 0; background: var(--accent-soft); border: 1px solid var(--accent-tint); border-radius: var(--r-lg); padding: var(--s4) var(--s5); font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }
.success-email strong { color: var(--ink); }
.se-ic { flex: 0 0 auto; color: var(--accent); margin-top: 1px; }
.se-ic svg { width: 22px; height: 22px; }
.success-shot { max-width: 720px; margin: var(--s8) auto 0; position: relative; }
.success-shot::before { content: ""; position: absolute; left: 50%; top: 28%; width: 76%; height: 70%; transform: translateX(-50%); background: radial-gradient(circle, rgba(59,130,246,.22), transparent 70%); filter: blur(42px); z-index: 0; pointer-events: none; }
.success-shot .shot { position: relative; z-index: 1; box-shadow: 0 30px 70px rgba(0,0,0,.45), 0 0 0 1px var(--accent-tint); }
.ready-grid, .explore-block, .ask-section, .faq-block { margin-top: var(--s9); }
[data-view="success"] .ask-section, [data-view="success"] .faq-block { margin-top: var(--s9); }

/* welcome line under the thank-you headline */
.success-welcome { font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--ink); margin: var(--s2) 0 var(--s3); }

/* ready block: setup steps (left) + company-branded product mockup (right) */
.ready-grid { display: grid; grid-template-columns: 1fr; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .ready-grid { grid-template-columns: 1.15fr .85fr; gap: var(--s8); align-items: center; } }
.ready-main h2 { margin-bottom: var(--s3); }
.ready-main .section-lede { margin-bottom: var(--s6); }
.setup-steps { list-style: none; display: flex; flex-direction: column; gap: var(--s4); }
.setup-step { display: flex; gap: var(--s4); align-items: flex-start; }
.setup-ic { flex: 0 0 auto; width: 44px; height: 44px; border-radius: var(--r-md); background: var(--accent-soft); border: 1px solid var(--accent-tint); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.setup-ic svg { width: 22px; height: 22px; }
.setup-text h3 { font-size: 1.02rem; margin-bottom: 2px; }
.setup-text p { font-size: .93rem; color: var(--muted); line-height: 1.5; }

/* prominent check-your-email block */
.email-cta { max-width: 540px; margin: var(--s6) auto 0; text-align: center; background: linear-gradient(180deg, var(--accent-soft), rgba(24,42,68,0)); border: 1px solid var(--accent); border-radius: var(--r-lg); padding: var(--s5) var(--s6); box-shadow: 0 0 0 5px rgba(59,130,246,.05); }
.email-cta-ic { width: 50px; height: 50px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--s3); box-shadow: 0 10px 24px rgba(59,130,246,.4); }
.email-cta-ic svg { width: 25px; height: 25px; }
.email-cta h2 { font-size: 1.35rem; margin-bottom: var(--s2); }
.email-cta p { color: var(--muted); max-width: 46ch; margin: 0 auto; line-height: 1.55; font-size: .95rem; }
.email-cta strong { color: var(--ink); }

/* company-branded product mockup (left of the ready block) */
.app-shot-wrap { position: relative; }
.app-shot-wrap::before { content: ""; position: absolute; inset: 10% 3%; background: radial-gradient(circle, rgba(59,130,246,.22), transparent 70%); filter: blur(46px); z-index: 0; pointer-events: none; }
.app-shot { position: relative; z-index: 1; display: grid; grid-template-columns: 38% 62%; background: var(--d-bg); border: 1px solid var(--accent-tint); border-radius: var(--r-lg); overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.45); min-height: 360px; }
.as-side { border-right: 1px solid var(--d-border); padding: 12px 10px; display: flex; flex-direction: column; gap: 9px; background: rgba(0,0,0,.18); min-width: 0; }
.as-brand { display: flex; align-items: center; gap: 7px; font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: .82rem; white-space: nowrap; overflow: hidden; }
.as-glyph { color: var(--accent); display: inline-flex; flex: 0 0 auto; }
.as-co { overflow: hidden; text-overflow: ellipsis; }
.as-new { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff; border-radius: 8px; padding: 7px 10px; font-family: var(--font-head); font-weight: 600; font-size: .75rem; }
.as-new svg { width: 14px; height: 14px; flex: 0 0 auto; }
.as-search { display: flex; align-items: center; gap: 6px; color: var(--muted-2); border: 1px solid var(--d-border); border-radius: 8px; padding: 6px 9px; font-size: .72rem; }
.as-search svg { width: 13px; height: 13px; flex: 0 0 auto; }
.as-scroll { display: flex; flex-direction: column; gap: 10px; overflow: hidden; }
.as-group { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.as-label { font-size: .62rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted-2); margin-bottom: 3px; }
.as-chat, .as-proj { color: var(--ink-soft); padding: 4px 7px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .74rem; }
.as-chat.is-on { background: var(--accent-soft); color: var(--ink); }
.as-proj { display: flex; align-items: center; gap: 6px; }
.as-proj svg { width: 13px; height: 13px; color: var(--muted); flex: 0 0 auto; }
.as-main { padding: 16px; display: flex; flex-direction: column; min-width: 0; }
.as-greet { display: flex; flex-direction: column; align-items: center; gap: 9px; margin: auto auto var(--s5); text-align: center; }
.as-greet-logo { color: var(--accent); }
.as-greet h4 { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.as-suggest { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: var(--s4); }
.as-chip { border: 1px solid var(--d-border); border-radius: var(--r-pill); padding: 5px 11px; color: var(--ink-soft); font-size: .72rem; }
.as-composer { margin-top: auto; border: 1px solid var(--d-border); border-radius: 12px; padding: 11px 12px; display: flex; flex-direction: column; gap: 10px; background: rgba(255,255,255,.02); }
.as-ph { color: var(--muted-2); font-size: .82rem; }
.as-cbar { display: flex; align-items: center; gap: 7px; }
.as-tool { display: inline-flex; align-items: center; gap: 4px; font-size: .68rem; color: var(--muted); border: 1px solid var(--d-border); border-radius: var(--r-pill); padding: 3px 9px; white-space: nowrap; }
.as-tool svg { width: 12px; height: 12px; }
.as-spacer { flex: 1 1 auto; }
.as-model { display: inline-flex; align-items: center; gap: 2px; font-size: .7rem; color: var(--ink-soft); }
.as-model svg { width: 12px; height: 12px; }
.as-send { width: 26px; height: 26px; border-radius: 7px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.as-send svg { width: 14px; height: 14px; }
@media (max-width: 600px) { .app-shot { grid-template-columns: 1fr; min-height: 0; } .as-side { display: none; } }

.success-marquee { margin-top: var(--s5); }
.success-marquee .marquee + .marquee { margin-top: var(--s4); }

/* signup page: hype (left) + form (right) */
.signup-grid { display: grid; grid-template-columns: 1fr; gap: var(--s7); align-items: start; margin-top: var(--s8); }
@media (min-width: 880px) { .signup-grid { grid-template-columns: 1fr 1fr; gap: var(--s9); max-width: 1040px; margin: var(--s8) auto 0; } }
.signup-hype h2 { margin-bottom: var(--s3); }
.signup-hype .section-lede { margin-bottom: var(--s6); }
.signup-shot { position: relative; margin-bottom: var(--s6); }
.signup-shot::before { content: ""; position: absolute; inset: 8% 6%; background: radial-gradient(circle, rgba(59,130,246,.2), transparent 70%); filter: blur(44px); z-index: 0; pointer-events: none; }
.ss-card { position: relative; z-index: 1; background: var(--d-bg); border: 1px solid var(--accent-tint); border-radius: var(--r-lg); padding: var(--s5); box-shadow: 0 24px 60px rgba(0,0,0,.4); display: flex; flex-direction: column; gap: var(--s4); }
.ss-q { align-self: flex-end; max-width: 85%; background: var(--accent); color: #fff; font-size: .92rem; padding: 10px 14px; border-radius: 14px 14px 4px 14px; }
.ss-a { display: flex; gap: 10px; align-items: flex-start; }
.ss-logo { flex: 0 0 auto; width: 28px; height: 28px; color: var(--accent); }
.ss-atext p { font-size: .92rem; color: var(--ink-soft); line-height: 1.55; background: var(--surface-2); padding: 11px 14px; border-radius: 4px 14px 14px 14px; margin-bottom: 8px; }
.ss-src { display: inline-flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--muted); }
.ss-src svg { width: 14px; height: 14px; flex: 0 0 auto; }
.signup-perks { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.signup-perks li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .98rem; }
.perk-ic { flex: 0 0 auto; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.perk-ic svg { width: 15px; height: 15px; }
.signup-form-head { margin-bottom: var(--s4); }
.signup-form-col .form { margin-top: 0; }

/* vertical stepper, progress stops at the current step */
.vsteps { list-style: none; position: relative; }
.vstep { display: flex; gap: var(--s4); padding-bottom: var(--s5); position: relative; }
.vstep:last-child { padding-bottom: 0; }
.vstep::before { content: ""; position: absolute; left: 22px; top: 46px; bottom: -2px; width: 2px; background: var(--border-strong); }
.vstep:last-child::before { display: none; }
.vstep.is-done::before { background: var(--accent); }
.vdot { width: 46px; height: 46px; border-radius: 50%; flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; border: 2px solid var(--border-strong); color: var(--muted-2); background: var(--surface); position: relative; z-index: 1; }
.vdot svg { width: 20px; height: 20px; }
.vstep.is-done .vdot { background: var(--accent); border-color: var(--accent); color: #fff; }
.vstep.is-now .vdot { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 0 0 6px var(--accent-soft); animation: jpulse 2.4s ease-in-out infinite; }
.vtext h3 { font-size: 1.05rem; margin-bottom: 3px; }
.vtext p { font-size: .93rem; color: var(--muted); line-height: 1.5; }
@keyframes jpulse { 0%, 100% { box-shadow: 0 0 0 6px var(--accent-soft); } 50% { box-shadow: 0 0 0 11px rgba(59,130,246,.04); } }

/* video placeholder */
.video-col { display: flex; flex-direction: column; }
.video-frame { position: relative; border: none; padding: 0; cursor: pointer; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--r-lg); background: linear-gradient(150deg, var(--accent-tint), var(--surface-2)); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.video-play { width: 62px; height: 62px; border-radius: 50%; background: var(--accent); color: #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 14px 34px rgba(59,130,246,.45); transition: transform .2s var(--ease); }
.video-play svg { width: 26px; height: 26px; margin-left: 3px; }
.video-frame:hover .video-play { transform: scale(1.08); }
.video-flag { position: absolute; bottom: 12px; right: 12px; font-size: .74rem; font-weight: 600; color: var(--ink); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-pill); padding: 4px 11px; }
.video-cap { margin-top: var(--s3); font-size: .9rem; color: var(--muted); text-align: center; }

/* prompt carousel */
.prompt-carousel { display: flex; align-items: stretch; gap: var(--s3); }
.pc-track { display: flex; gap: var(--s4); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 4px; scrollbar-width: none; -ms-overflow-style: none; }
.pc-track::-webkit-scrollbar { display: none; }
.pc-card { scroll-snap-align: start; flex: 0 0 270px; display: flex; flex-direction: column; gap: 12px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: var(--s5); }
.pc-meta { display: flex; align-items: center; gap: 9px; }
.pc-ic { width: 30px; height: 30px; border-radius: 8px; background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.pc-ic svg { width: 17px; height: 17px; }
.pc-dept { font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--ink-soft); }
.pc-q { font-family: var(--font-head); font-weight: 600; font-size: 1.02rem; color: var(--ink); line-height: 1.32; margin: 0; flex: 1 1 auto; }
.pc-type { display: inline-flex; align-items: center; gap: 7px; font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }
.pc-type::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.pt-q::before { background: #3b82f6; } .pt-d::before { background: #8b5cf6; } .pt-s::before { background: #fbbf24; }
.pc-arrow { flex: 0 0 auto; align-self: center; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border-strong); background: var(--surface); color: var(--ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color .15s var(--ease), border-color .15s var(--ease); }
.pc-arrow svg { width: 22px; height: 22px; }
.pc-arrow:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 640px) { .pc-arrow { display: none; } .pc-card { flex-basis: 80%; } }

/* faq cards with a visual header */
.fcard { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; }
.faq-vis { height: 96px; display: flex; align-items: center; justify-content: center; color: var(--accent); border-bottom: 1px solid var(--border); }
.faq-vis svg { width: 40px; height: 40px; }
.fv-a { background: linear-gradient(135deg, var(--accent-soft), var(--surface-2)); }
.fv-b { background: linear-gradient(135deg, var(--accent-tint), var(--surface-2)); }
.fv-c { background: linear-gradient(135deg, var(--surface-2), var(--accent-soft)); }
.fv-d { background: linear-gradient(135deg, var(--accent-soft), var(--accent-tint)); }
.fcard-body { padding: var(--s5); }
.fcard-body h3 { margin-bottom: var(--s3); }
.fcard-body p { color: var(--muted); line-height: 1.6; }

/* welcome video preview modal */
.video-modal { position: fixed; inset: 0; z-index: 2600; display: flex; align-items: center; justify-content: center; padding: var(--s5); }
.video-modal[hidden] { display: none; }
.vm-backdrop { position: absolute; inset: 0; background: rgba(8,10,14,.74); backdrop-filter: blur(4px); }
.vm-dialog { position: relative; width: 100%; max-width: 720px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.vm-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: none; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.vm-close svg { width: 18px; height: 18px; }
.vm-stage { position: relative; aspect-ratio: 16 / 9; background: linear-gradient(160deg, #2563eb 0%, #3b82f6 55%, #1d4ed8 100%); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: var(--s7) var(--s6); }
.vm-logo { display: inline-flex; align-items: center; justify-content: center; width: 84px; height: 84px; border-radius: 22px; background: rgba(255,255,255,.16); margin-bottom: var(--s5); }
.vm-cap { color: #fff; font-family: var(--font-head); font-weight: 600; font-size: clamp(1.2rem, 3vw, 1.9rem); line-height: 1.35; max-width: 22ch; transition: opacity .3s var(--ease); }
.vm-replay { display: inline-flex; align-items: center; gap: 9px; margin-top: var(--s5); color: #fff; font-weight: 600; font-size: .95rem; cursor: pointer; background: rgba(255,255,255,.16); border-radius: var(--r-pill); padding: 9px 18px; }
.vm-replay svg { width: 18px; height: 18px; }
.vm-bar { height: 4px; background: var(--surface-2); }
.vm-bar-fill { display: block; height: 100%; width: 0; background: var(--accent); }
.vm-controls { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) var(--s5); }
.vm-tag { font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-tint); border-radius: var(--r-pill); padding: 3px 10px; }
.vm-sound { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; color: var(--ink-soft); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer; }
.vm-sound .vm-sound-on { display: inline-flex; align-items: center; gap: 8px; }
.vm-sound svg { width: 19px; height: 19px; }
.vm-sound.is-off { color: var(--muted-2); }
.vm-note { margin-left: auto; font-size: .82rem; color: var(--muted-2); }
@media (max-width: 560px) { .vm-note { display: none; } }

/* full-screen blue welcome curtain */
.welcome-curtain { position: fixed; inset: 0; z-index: 3000; background: linear-gradient(160deg, #2563eb 0%, #3b82f6 55%, #1d4ed8 100%); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .45s var(--ease), transform .7s cubic-bezier(.66,0,.34,1); }
.welcome-curtain[hidden] { display: none; }
.welcome-curtain.is-in { opacity: 1; }
.welcome-curtain.is-out { transform: translateY(-100%); }
.wc-inner { text-align: center; transform: translateY(14px) scale(.96); opacity: 0; transition: opacity .55s var(--ease) .14s, transform .55s var(--ease) .14s; }
.welcome-curtain.is-in .wc-inner { opacity: 1; transform: none; }
.wc-logo { display: inline-flex; align-items: center; justify-content: center; width: 116px; height: 116px; border-radius: 28px; background: rgba(255,255,255,.16); margin-bottom: var(--s5); }
.wc-title { color: #fff; font-size: clamp(1.7rem, 4.5vw, 2.6rem); margin-bottom: var(--s2); }
.wc-sub { color: rgba(255,255,255,.85); font-size: 1.05rem; }
.checkmark-spin { display: inline-flex; align-items: center; justify-content: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(255,255,255,.2); color: #fff; margin-top: var(--s6); }
.checkmark-spin svg { width: 32px; height: 32px; }
.welcome-curtain.is-in .checkmark-spin { animation: checkSpin .75s cubic-bezier(.2,.85,.3,1) .45s both; }
@keyframes checkSpin { 0% { transform: rotate(-220deg) scale(0); opacity: 0; } 60% { opacity: 1; } 100% { transform: rotate(0) scale(1); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .welcome-curtain.is-in .checkmark-spin { animation: none; } }
@media (prefers-reduced-motion: reduce) { .welcome-curtain, .wc-inner { transition: opacity .2s linear; transform: none; } }

/* ================================ MOTION ================================== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .view.is-active, .ask-launcher .brand-mark, .typing i, .btn-hd, .marquee-track, .scd-typing i, .hero-cap, .journey-pulse, .vstep.is-now .vdot { animation: none; }
  .journey-pulse { display: none; }
}

/* ============================== RESPONSIVE ================================ */
@media (min-width: 860px) {
  .site-nav, .site-nav.open { display: flex; position: static; flex-direction: row; background: none; border: none; padding: 0; animation: none; }
  .nav-toggle { display: none; }
}
@media (min-width: 680px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3,1fr); }
  .flow { grid-template-columns: repeat(2,1fr); }
  .price-chips { grid-template-columns: repeat(3,1fr); }
  .ba-grid { grid-template-columns: 1fr auto 1fr; }
  .ba-arrow { transform: none; }
  .bill-grid { grid-template-columns: 1.05fr 1fr; align-items: start; }
}
@media (min-width: 900px) {
  .section { padding: var(--s8) 0; }
  .flow { grid-template-columns: repeat(4,1fr); }
  .price-layout { grid-template-columns: .9fr 1.1fr; align-items: start; }
  .price-chips { grid-template-columns: 1fr; }
  .container { padding: 0 var(--s6); }
}
.card:hover { box-shadow: var(--shadow-md); }
.icon-card:hover, .flow-step:hover, .price-chip:hover { transform: translateY(-2px); border-color: var(--border-strong); }
