/* =============================================================================
   Canza landing page (public_html). Static: no PHP, no third-party code, CSP all 'self'.
   Tokens and buttons are copied from the app (assets/css/canza.css) so both look the same:
   change them there first, then copy the two marked blocks here.
   ========================================================================== */

/* ---- tokens: copied from the app ---- */
:root {
  --brand: #262262;
  --brand-2: #3b36a6;
  --accent: #da1c5c;
  --grad: linear-gradient(135deg, #2b2675 0%, #4a3fb5 55%, #da1c5c 130%);
  --grad-soft: linear-gradient(135deg, rgba(59, 54, 166, .12), rgba(218, 28, 92, .10));

  --bg: #f5f6fb;
  --bg-2: #eceef7;
  --surface: #ffffff;
  --surface-2: #f7f8fc;
  --surface-3: #eef0f8;
  --border: #e4e6f0;
  --border-strong: #d3d6e6;
  --text: #15142c;
  --text-2: #3d3c58;
  --muted: #6c6f88;
  --primary: #3b36a6;
  --primary-hover: #2f2a8f;
  --primary-soft: #ecebfb;
  --on-primary: #ffffff;
  --success: #0e8f62;
  --success-soft: #e3f6ee;
  --warning: #b86a00;
  --warning-soft: #fff3dc;
  --danger: #d0254d;
  --danger-soft: #fde8ed;
  --info: #2563eb;
  --info-soft: #e6eefe;
  --neutral-soft: #eef0f6;
  --focus: 0 0 0 3px rgba(59, 54, 166, .35);

  --radius-xs: 8px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --shadow-xs: 0 1px 2px rgba(21, 20, 44, .06);
  --shadow-sm: 0 1px 2px rgba(21, 20, 44, .05), 0 2px 8px rgba(21, 20, 44, .05);
  --shadow: 0 2px 6px rgba(21, 20, 44, .05), 0 12px 32px -8px rgba(21, 20, 44, .12);
  --shadow-lg: 0 24px 64px -16px rgba(21, 20, 44, .28);

  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur: .22s;

  --sidebar-w: 268px;
  --topbar-h: 64px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
  color-scheme: light;
}

[data-theme="dark"] {
  --bg: #0b0a1a;
  --bg-2: #100f24;
  --surface: #15142b;
  --surface-2: #1a1934;
  --surface-3: #22213f;
  --border: #29284a;
  --border-strong: #37365e;
  --text: #edecff;
  --text-2: #c9c8e6;
  --muted: #9897b9;
  --primary: #8a84ff;
  --primary-hover: #a29dff;
  --primary-soft: #23214a;
  --on-primary: #0e0d22;
  --success: #3ccf91;
  --success-soft: #11312a;
  --warning: #f0b44c;
  --warning-soft: #352a12;
  --danger: #ff6b8b;
  --danger-soft: #3a1626;
  --info: #7aa7ff;
  --info-soft: #18264a;
  --neutral-soft: #22213f;
  --focus: 0 0 0 3px rgba(138, 132, 255, .45);
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .35), 0 2px 8px rgba(0, 0, 0, .25);
  --shadow: 0 2px 6px rgba(0, 0, 0, .3), 0 14px 36px -10px rgba(0, 0, 0, .55);
  --shadow-lg: 0 24px 64px -12px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

/* ---- buttons: copied from the app ---- */
/* --------------------------------------------------------------- buttons */
.btn {
  --b-bg: var(--surface); --b-fg: var(--text); --b-bd: var(--border-strong);
  position: relative; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 42px; padding: 0 18px; border-radius: 12px; border: 1px solid var(--b-bd); background: var(--b-bg); color: var(--b-fg);
  font: 600 .92rem/1 var(--font); letter-spacing: -.005em; cursor: pointer; white-space: nowrap; text-decoration: none; user-select: none;
  transition: background-color var(--dur) var(--ease), border-color var(--dur), box-shadow var(--dur), transform .15s var(--ease), color var(--dur);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { text-decoration: none; box-shadow: var(--shadow-sm); }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn.disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.btn-primary { --b-bg: var(--primary); --b-fg: var(--on-primary); --b-bd: transparent; box-shadow: 0 6px 16px -8px rgba(59, 54, 166, .7); }
.btn-primary:hover { --b-bg: var(--primary-hover); box-shadow: 0 10px 22px -8px rgba(59, 54, 166, .75); }
.btn-gradient { --b-bg: transparent; --b-fg: #fff; --b-bd: transparent; background: var(--grad); background-size: 140% 140%; box-shadow: 0 8px 20px -8px rgba(218, 28, 92, .6); transition: background-position .5s var(--ease), transform .15s, box-shadow .2s; }
.btn-gradient:hover { background-position: 100% 0; }
.btn-success { --b-bg: var(--success); --b-fg: #fff; --b-bd: transparent; }
.btn-danger { --b-bg: var(--danger); --b-fg: #fff; --b-bd: transparent; }
.btn-warning { --b-bg: var(--warning); --b-fg: #fff; --b-bd: transparent; }
.btn-light, .btn-secondary { --b-bg: var(--surface-3); --b-fg: var(--text); --b-bd: transparent; }
.btn-light:hover, .btn-secondary:hover { --b-bg: var(--border); }
.btn-ghost { --b-bg: transparent; --b-bd: transparent; --b-fg: var(--text-2); }
.btn-ghost:hover { --b-bg: var(--surface-3); box-shadow: none; }
.btn-outline-primary { --b-bg: transparent; --b-fg: var(--primary); --b-bd: color-mix(in srgb, var(--primary) 45%, transparent); }
.btn-outline-primary:hover { --b-bg: var(--primary-soft); }
.btn-outline-danger { --b-bg: transparent; --b-fg: var(--danger); --b-bd: color-mix(in srgb, var(--danger) 45%, transparent); }
.btn-outline-danger:hover { --b-bg: var(--danger-soft); }
.btn-white { --b-bg: #fff; --b-fg: var(--brand); --b-bd: transparent; }
.btn-sm { min-height: 34px; padding: 0 12px; font-size: .84rem; border-radius: 10px; gap: 6px; }
.btn-lg { min-height: 50px; padding: 0 24px; font-size: 1rem; border-radius: 14px; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 42px; padding: 0; }
.btn.is-loading { color: transparent !important; pointer-events: none; }
.btn.is-loading::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2.5px solid currentColor; border-color: var(--b-fg) transparent var(--b-fg) transparent; animation: spin .7s linear infinite;
}
.ripple { position: absolute; border-radius: 50%; transform: scale(0); background: currentColor; opacity: .25; pointer-events: none; animation: ripple .6s var(--ease) forwards; }

/* ------------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--font); letter-spacing: -.005em; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s var(--ease), color .3s var(--ease); }
h1, h2, h3, h4 { margin: 0 0 .6rem; line-height: 1.12; letter-spacing: -.03em; color: var(--text); }
h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 1.2rem + 2vw, 2.6rem); font-weight: 780; }
h3 { font-size: 1.1rem; font-weight: 700; letter-spacing: -.015em; }
h4 { font-size: .78rem; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 12px; }
p { margin: 0 0 1rem; color: var(--text-2); }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
svg { vertical-align: middle; }
.icon { flex: none; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 8px; }
[hidden] { display: none !important; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--muted); } .small { font-size: .86rem; } .center { text-align: center; } .mb-0 { margin-bottom: 0; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--primary); color: var(--on-primary); padding: .6rem 1rem; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }
[data-theme="dark"] .when-light, :root:not([data-theme="dark"]) .when-dark { display: none; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 820px; }
.tone-primary { background: var(--primary-soft); color: var(--primary); }
.tone-success { background: var(--success-soft); color: var(--success); }
.tone-warning { background: var(--warning-soft); color: var(--warning); }
.tone-info { background: var(--info-soft); color: var(--info); }
.tone-accent { background: rgba(218, 28, 92, .12); color: var(--accent); }
.grad-text { background: linear-gradient(100deg, var(--primary) 10%, var(--accent) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; border-radius: 12px; background: transparent; color: var(--text-2); cursor: pointer; transition: background-color var(--dur), transform .15s var(--ease); }
.icon-btn:hover { background: var(--surface-3); color: var(--text); }
.icon-btn:active { transform: scale(.92); }
.btn-glass { --b-bg: rgba(255, 255, 255, .14); --b-fg: #fff; --b-bd: rgba(255, 255, 255, .3); backdrop-filter: blur(6px); }
.btn-glass:hover { --b-bg: rgba(255, 255, 255, .24); }

/* -------------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background-color .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.is-scrolled .nav { background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-size: 1.15rem; letter-spacing: -.02em; }
.brand-text small { font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); }
.brand-mark { border-radius: 12px; box-shadow: 0 6px 16px -6px rgba(218, 28, 92, .55); }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links > a { padding: 8px 14px; border-radius: 10px; color: var(--text-2); font-weight: 550; font-size: .95rem; transition: background-color var(--dur), color var(--dur); }
.nav-links > a:hover { background: var(--surface-3); color: var(--text); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 6px; }
.menu-btn, .nav-cta-mobile { display: none; }
.menu-btn .when-open { display: none; }
.menu-open .menu-btn .when-open { display: inline; }
.menu-open .menu-btn .when-closed { display: none; }
@media (max-width: 900px) {
  .menu-btn { display: inline-grid; }
  .nav-actions { margin-left: auto; }
  .nav-links {
    position: fixed; left: 12px; right: 12px; top: 80px; flex-direction: column; gap: 2px; padding: 10px; margin: 0;
    background: var(--surface); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .2s var(--ease), transform .25s var(--ease);
  }
  .nav-links > a { padding: 12px 14px; font-size: 1rem; }
  .menu-open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-cta-mobile { display: grid; gap: 8px; padding-top: 8px; margin-top: 6px; border-top: 1px solid var(--border); }
}
@media (max-width: 560px) { .hide-sm { display: none; } }

/* ------------------------------------------------------------------- hero */
.hero { position: relative; padding: 40px 0 72px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.b1 { width: 520px; height: 520px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(59, 54, 166, .55), transparent 65%); animation: float 14s ease-in-out infinite; }
.b2 { width: 460px; height: 460px; left: -180px; bottom: -200px; background: radial-gradient(circle, rgba(218, 28, 92, .4), transparent 65%); animation: float 16s ease-in-out infinite reverse; }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%); opacity: .6; }
.hero-inner { display: grid; gap: 48px; align-items: center; grid-template-columns: 1fr; }
.hero-copy .eyebrow { padding: 7px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-xs); text-transform: none; letter-spacing: 0; font-size: .86rem; color: var(--text-2); }
.hero-copy .eyebrow .icon { color: var(--accent); }
.lead { font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); color: var(--muted); max-width: 56ch; margin: 18px 0 28px; }
.lead-sm { font-size: 1.08rem; color: var(--muted); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--text-2); font-size: .92rem; font-weight: 550; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--success); }
@media (min-width: 980px) { .hero { padding: 64px 0 96px; } .hero-inner { grid-template-columns: 1.08fr .92fr; } }

/* app mock */
.hero-visual { position: relative; max-width: 440px; width: 100%; margin: 0 auto; }
.mock { position: relative; border-radius: 28px; padding: 16px; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-lg); animation: bob 7s ease-in-out infinite; }
.mock-top { display: flex; align-items: center; gap: 6px; margin: 2px 4px 14px; }
.mock-top .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--surface-3); }
.mock-tag { margin-left: auto; font-size: .7rem; font-weight: 700; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); padding: 3px 9px; border-radius: 999px; }
.mock-card { position: relative; overflow: hidden; color: #fff; border-radius: 20px; padding: 20px; background: var(--grad); }
.mock-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -70px; top: -110px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .25), transparent 65%); }
.mock-card small { display: block; font-size: .78rem; opacity: .85; font-weight: 600; }
.mock-card strong { display: block; font-size: 2.1rem; letter-spacing: -.03em; line-height: 1.15; margin: 2px 0; }
.mock-sub { font-size: .82rem; opacity: .9; }
.mock-btns { display: flex; gap: 8px; margin-top: 14px; }
.mock-btns span { font-size: .78rem; font-weight: 700; padding: 7px 12px; border-radius: 10px; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .28); }
.mock-btns span:first-child { background: #fff; color: var(--brand); }
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.mock-stat { display: flex; gap: 10px; align-items: center; padding: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.mock-stat .ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; }
.mock-stat small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; }
.mock-stat b { font-size: 1rem; }
.mock-chart { display: grid; grid-template-columns: repeat(12, 1fr); gap: 5px; align-items: end; height: 96px; margin-top: 12px; padding: 12px; border-radius: 16px; background: var(--surface-2); border: 1px solid var(--border); }
.mock-chart i { display: block; border-radius: 4px 4px 2px 2px; background: linear-gradient(to top, #3b36a6, #da1c5c); transform-origin: bottom; animation: grow-y 1s var(--ease) both; }
.mock-chart i:nth-child(odd) { opacity: .75; }
.h18 { height: 18%; } .h22 { height: 22%; } .h30 { height: 30%; } .h36 { height: 36%; } .h42 { height: 42%; } .h48 { height: 48%; }
.h58 { height: 58%; } .h62 { height: 62%; } .h70 { height: 70%; } .h76 { height: 76%; } .h84 { height: 84%; } .h96 { height: 96%; }
.mock-chart i:nth-child(2) { animation-delay: .05s; } .mock-chart i:nth-child(3) { animation-delay: .1s; } .mock-chart i:nth-child(4) { animation-delay: .15s; }
.mock-chart i:nth-child(5) { animation-delay: .2s; } .mock-chart i:nth-child(6) { animation-delay: .25s; } .mock-chart i:nth-child(7) { animation-delay: .3s; }
.mock-chart i:nth-child(8) { animation-delay: .35s; } .mock-chart i:nth-child(9) { animation-delay: .4s; } .mock-chart i:nth-child(10) { animation-delay: .45s; }
.mock-chart i:nth-child(11) { animation-delay: .5s; } .mock-chart i:nth-child(12) { animation-delay: .55s; }
.float-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; font-size: .84rem; font-weight: 700; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); color: var(--text); }
.float-chip .icon { color: var(--success); }
.c1 { left: -28px; top: 76%; animation: bob 6s ease-in-out infinite reverse; }
.c2 { right: -20px; bottom: 16%; animation: bob 8s ease-in-out infinite; }
.c2 .icon { color: var(--accent); }
@media (max-width: 560px) { .c1 { left: -6px; top: 76%; } .c2 { right: -6px; } }

/* ------------------------------------------------------------------ strip */
.strip { border-block: 1px solid var(--border); background: var(--surface); }
.strip-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px 28px; padding-top: 22px; padding-bottom: 22px; }
.strip-inner div { display: flex; align-items: center; gap: 12px; font-size: .92rem; font-weight: 600; color: var(--text-2); }
.strip-inner .icon { color: var(--primary); }

/* --------------------------------------------------------------- sections */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin: 0; }
@media (max-width: 640px) { .section { padding: 64px 0; } .section-head { margin-bottom: 32px; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); counter-reset: s; }
.step { position: relative; padding: 26px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-n { position: absolute; right: 22px; top: 18px; font-size: 2.6rem; font-weight: 800; letter-spacing: -.05em; color: var(--surface-3); line-height: 1; }
.step-ic, .f-ic { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; margin-bottom: 18px; }
.step p, .feature p { color: var(--muted); margin: 0; font-size: .97rem; }

/* products */
.products { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.product { display: flex; flex-direction: column; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; min-height: 220px; }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.product-top h3 { margin: 0; }
.p-avatar { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; font-weight: 800; color: hsl(var(--h, 245) 60% 40%); background: hsl(var(--h, 245) 80% 94%); flex: none; }
[data-theme="dark"] .p-avatar { color: hsl(var(--h, 245) 85% 78%); background: hsl(var(--h, 245) 40% 20%); }
.hue-0 { --h: 245; } .hue-1 { --h: 335; } .hue-2 { --h: 160; } .hue-3 { --h: 28; } .hue-4 { --h: 200; } .hue-5 { --h: 280; }
.price { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; }
.price small { font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.product p { color: var(--muted); font-size: .95rem; flex: 1; margin: 8px 0 18px; }
.skeleton-card { background: linear-gradient(90deg, var(--surface-3) 25%, var(--surface-2) 37%, var(--surface-3) 63%); background-size: 200% 100%; animation: shimmer 1.4s linear infinite; border-color: transparent; }

/* features */
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.feature { padding: 28px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }

/* borrow */
.split { display: grid; gap: 40px; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 980px) { .split { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--text-2); }
.ticks .icon { margin-top: 3px; color: var(--success); }
.ticks li:last-child .icon { color: var(--warning); }
.calc { padding: 28px; }
.calc label { display: block; font-size: .86rem; font-weight: 600; color: var(--muted); margin-top: 6px; }
.calc-value { font-size: 2.4rem; font-weight: 800; letter-spacing: -.03em; margin: 2px 0 12px; }
.calc-scale { display: flex; justify-content: space-between; font-size: .78rem; color: var(--muted); margin: 6px 0 20px; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 99px; background: var(--surface-3); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 6px solid var(--primary); box-shadow: 0 4px 12px rgba(59, 54, 166, .4); cursor: grab; transition: transform .15s var(--ease); }
input[type="range"]::-webkit-slider-thumb:active { transform: scale(1.15); cursor: grabbing; }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--primary); cursor: grab; }
input[type="range"]::-moz-range-progress { background: var(--grad); height: 8px; border-radius: 99px; }
input[type="range"]:focus-visible { box-shadow: var(--focus); }
.summary { display: grid; gap: 10px; padding: 16px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--border-strong); margin-bottom: 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.summary-row strong { color: var(--text); }
.summary-total { border-top: 1px solid var(--border); padding-top: 10px; font-size: 1.08rem; }

/* risks */
.risk { padding: clamp(24px, 4vw, 44px); border-color: color-mix(in srgb, var(--warning) 30%, var(--border)); background: linear-gradient(180deg, var(--warning-soft), var(--surface) 55%); }
.risk-head { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 26px; }
.risk-head .f-ic { margin: 0; }
.risk-head .eyebrow { color: var(--warning); margin-bottom: 6px; }
.risk-grid { display: grid; gap: 22px 32px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-bottom: 22px; }
.risk-grid p { color: var(--muted); font-size: .95rem; margin: 0; }

/* faq */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 18px; background: var(--surface); border: 1px solid var(--border); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; font-weight: 650; font-size: 1.04rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); color: var(--primary); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--muted); animation: rise .3s var(--ease); }

/* cta */
.cta { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: 32px; background: var(--grad); color: #fff; box-shadow: 0 30px 60px -24px rgba(59, 54, 166, .7); }
.cta::before { content: ""; position: absolute; z-index: -1; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .22), transparent 65%); animation: float 12s ease-in-out infinite; }
.cta h2 { color: #fff; margin-bottom: 6px; }
.cta p { color: rgba(255, 255, 255, .88); margin: 0; font-size: 1.08rem; }
.cta-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* footer */
.footer { border-top: 1px solid var(--border); background: var(--surface); padding: 56px 0 28px; }
.footer-inner { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 820px) { .footer-inner { grid-template-columns: 1.1fr 2fr; } }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer-links { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.footer-links a { display: flex; align-items: center; gap: 6px; color: var(--text-2); padding: 4px 0; font-size: .95rem; }
.footer-links a:hover { color: var(--primary); }
.footer-fine { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--border); font-size: .8rem; color: var(--muted); }
.footer-fine p { color: var(--muted); max-width: 90ch; margin-bottom: 8px; }

/* ----------------------------------------------------------------- motion */
@keyframes float { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-14px, 16px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes grow-y { from { transform: scaleY(0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ripple { to { transform: scale(2.6); opacity: 0; } }
/* Hero: pure CSS entrance, no JS needed. */
.rise { animation: rise .8s var(--ease) both; }
.hero-copy .rise:nth-child(2) { animation-delay: .06s; } .hero-copy .rise:nth-child(3) { animation-delay: .12s; }
.hero-copy .rise:nth-child(4) { animation-delay: .18s; } .hero-copy .rise:nth-child(5) { animation-delay: .24s; }
.hero-visual.rise { animation-delay: .2s; }
/* Scroll reveal: only hidden once JS has said it will reveal them (no JS = everything visible). */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .steps .reveal:nth-child(2), .js .features .reveal:nth-child(2) { transition-delay: .08s; }
.js .steps .reveal:nth-child(3), .js .features .reveal:nth-child(3) { transition-delay: .16s; }
.js .steps .reveal:nth-child(4), .js .features .reveal:nth-child(4) { transition-delay: .24s; }
.js .features .reveal:nth-child(5) { transition-delay: .08s; } .js .features .reveal:nth-child(6) { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
@media print { .nav, .hero-visual, .cta { display: none; } }
