/* Claimify Core landing. Tokens follow branding/tokens.css. */
:root {
  /* Rebrand 2026-10-25: one brand colour (ink) on a warm off-white; see branding/tokens.css. */
  --navy: #111827;
  --blue: #111827;
  --violet: #374151;
  --gold: #e5e7eb;
  --gold-light: #f7f7f5;
  --gold-text: #374151;
  --ink: #111827;
  --ink-2: #1f2937;
  --muted: #6b7280;
  --line: #e5e7eb;
  --soft: #f7f7f5;
  --paper: #ffffff;
  --green: #047857;
  --grad: linear-gradient(135deg, #111827 0%, #374151 100%);
  --grad-hero: linear-gradient(120deg, #111827 0%, #1f2937 60%, #374151 100%);
  --sans: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 12px 40px -12px rgba(17, 24, 39, .14);
  --shadow-lg: 0 30px 80px -30px rgba(17, 24, 39, .55);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink-2); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
h1, h2, h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: 0; }
.wrap { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 42px; padding: 0 18px; border-radius: 12px; font: 600 15px var(--sans); border: 1px solid transparent; transition: transform .15s, box-shadow .15s, background .15s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 24px -10px rgba(17, 24, 39, .7); }
.btn-ghost { color: var(--ink-2); border-color: var(--line); background: #fff; }
.cta .btn-primary, .section.dark .btn-primary { background: #f7f7f5; color: #111827; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .6); }
.hero .btn-light { color: var(--ink); border-color: var(--line); background: #fff; }
.btn-light { color: #fff; border-color: rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); }
.btn-gold { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--soft); color: var(--muted); border: 1px solid var(--line); white-space: nowrap; }
.chip-green { background: #ecfdf5; color: var(--green); border-color: #a7f3d0; }
.chip-gold { background: #f3f4f6; color: var(--gold-text); border-color: #e5e7eb; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px max(16px, calc((100% - 1180px) / 2)); background: rgba(255, 255, 255, .86); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid rgba(229, 231, 235, .7); }
.brand img { height: 40px; width: 40px; }
.nav-links { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink-2); font-weight: 500; font-size: 15px; }
.nav-links a:hover { color: var(--blue); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.nav-toggle span { width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }

/* Hero */
/* Hero: the secondary colour (off-white) as background, primary ink for text and graphics. */
.hero { position: relative; overflow: hidden; background: var(--soft); color: var(--ink-2); padding: 96px 0 110px; border-bottom: 1px solid var(--line); }
.hero-art { position: absolute; right: -180px; top: 50%; width: 900px; height: 900px; transform: translateY(calc(-50% + var(--py, 0px))); pointer-events: none; }
.hero-art > span { animation: breathe 9s ease-in-out infinite; }
.hero-art > span:nth-child(2) { animation-delay: -3s; }
.hero-art > span:nth-child(3) { animation-delay: -6s; }
.hero-art > span:nth-child(4) { animation: glow 5s ease-in-out infinite; }
.hero-art > span { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(17, 24, 39, .08); }
.hero-art > span:nth-child(1) { width: 900px; height: 900px; }
.hero-art > span:nth-child(2) { width: 660px; height: 660px; border-color: rgba(17, 24, 39, .12); }
.hero-art > span:nth-child(3) { width: 430px; height: 430px; border-color: rgba(17, 24, 39, .16); }
.hero-art > span:nth-child(4) { width: 220px; height: 220px; border: 0; background: radial-gradient(circle, rgba(17, 24, 39, .10), rgba(17, 24, 39, 0) 70%); }
/* Hero graphic: class icons orbiting the gold core, drifting glows, lights along the rings */
.hero-glow { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-glow i { position: absolute; width: 560px; height: 560px; border-radius: 50%; filter: blur(70px); opacity: .5; animation: drift 22s ease-in-out infinite alternate; }
.hero-glow i:nth-child(1) { left: -160px; top: -200px; background: radial-gradient(circle, rgba(255, 255, 255, .9), transparent 65%); }
.hero-glow i:nth-child(2) { left: 30%; bottom: -320px; background: radial-gradient(circle, rgba(17, 24, 39, .08), transparent 65%); animation-duration: 28s; animation-delay: -8s; }
.hero-glow i:nth-child(3) { right: 8%; top: -260px; width: 420px; height: 420px; background: radial-gradient(circle, rgba(255, 255, 255, .9), transparent 65%); animation-duration: 18s; animation-delay: -4s; }
.orbit { position: absolute; inset: 0; animation: spin 110s linear infinite; }
.orbit.o-outer { animation-duration: 160s; animation-direction: reverse; }
.orb { position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; transform: rotate(var(--a)) translateY(-330px) rotate(calc(-1 * var(--a))); }
.o-outer .orb { transform: rotate(var(--a)) translateY(-450px) rotate(calc(-1 * var(--a))); }
.orb i { display: grid; place-items: center; width: 100%; height: 100%; border-radius: 14px; color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: 0 10px 30px -14px rgba(17, 24, 39, .35); backdrop-filter: blur(6px); animation: spin 110s linear infinite reverse; }
.o-outer .orb i { animation-duration: 160s; animation-direction: normal; }
.orb:nth-child(odd) i { color: #fff; background: var(--ink); border-color: var(--ink); }
.orb svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.comet { position: absolute; left: 50%; top: 50%; border-radius: 50%; animation: spin 14s linear infinite; }
.comet.c1 { width: 430px; height: 430px; margin: -215px 0 0 -215px; }
.comet.c2 { width: 660px; height: 660px; margin: -330px 0 0 -330px; animation-duration: 26s; animation-direction: reverse; }
.comet b { position: absolute; left: 50%; top: -3px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(17, 24, 39, .08); }
.comet.c2 b { background: var(--violet); }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 4px rgba(17, 24, 39, .1); }
.hero h1 { color: var(--ink); font-size: clamp(40px, 5.6vw, 68px); margin: 22px 0 18px; }
.hero h1 .serif { color: var(--violet); }
.lead { font-size: 18px; max-width: 600px; margin: 0; color: #4b5563; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 26px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.hero-points li { padding-left: 26px; position: relative; color: var(--ink-2); }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); box-shadow: inset 0 0 0 4px #d1d5db; }

.hero-card { position: relative; background: #fff; border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); color: var(--ink-2); transform: rotate(1.2deg); }
.hc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 16px; }
.hc-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.hc-head strong { color: var(--ink); font-size: 17px; }
.hc-rows { margin: 0; display: grid; gap: 8px; }
.hc-rows div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.hc-rows dt { color: var(--muted); }
.hc-rows dd { margin: 0; font-weight: 600; text-align: right; }
.hc-total { display: flex; justify-content: space-between; align-items: baseline; margin: 16px 0; padding-top: 16px; border-top: 1px dashed var(--line); }
.hc-total strong { font-size: 30px; color: var(--ink); letter-spacing: -.02em; }
.hc-foot { display: flex; gap: 8px; flex-wrap: wrap; }
.hc-total strong { font-variant-numeric: tabular-nums; }
.hc-toast { position: absolute; left: -34px; bottom: -30px; display: flex; gap: 10px; align-items: center; padding: 10px 14px 10px 10px; background: #fff; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 18px 40px -16px rgba(17, 24, 39, .45); transform: rotate(-1.2deg); }
.hc-toast b { display: block; font-size: 13px; color: var(--ink); }
.hc-toast small { display: block; font-size: 12px; color: var(--muted); }
.avatar { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 10px; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); font-size: 12px; font-weight: 800; letter-spacing: .02em; }

/* Sections */
.section { padding: 96px 0; }
.section.soft { background: var(--soft); }
.section.dark { background: #111827; color: #9ca3af; }
.section.dark h2, .section.dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head p { font-size: 17px; color: var(--muted); margin: 14px 0 0; }
.section.dark .section-head p { color: #9ca3af; }
.kicker { display: inline-block; font-size: 13px; font-weight: 700; color: var(--gold-text); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 12px; }
.section.dark .kicker { color: var(--gold-light); }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h2 .serif { color: var(--violet); }
.section.dark h2 .serif { color: var(--gold-light); }

/* Lines */
.lines { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.lines-meter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; font-size: 14px; font-weight: 600; color: var(--muted); }
.lines-meter b { color: var(--ink); font-size: 20px; font-variant-numeric: tabular-nums; }
.meter { flex: 1; min-width: 140px; max-width: 320px; height: 6px; border-radius: 999px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue), var(--violet), var(--gold)); transform-origin: left; transform: scaleX(var(--m, 1)); transition: transform .45s ease; }
.line { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 18px; padding: 20px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .25s; }
.line::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); transform-origin: left; }
.line:hover { border-color: #d1d5db; box-shadow: var(--shadow); transform: translateY(-4px); }
.line .ic { transition: background .2s, color .2s; }
.line:hover .ic { background: var(--grad); color: #fff; }
.tick { position: absolute; top: 18px; right: 18px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.tick svg { width: 13px; height: 13px; fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; }
.line .ic { width: 44px; height: 44px; border-radius: 12px; background: #f3f4f6; color: var(--blue); display: grid; place-items: center; margin-bottom: 14px; }
.line .ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.line h3 { font-size: 16px; margin-bottom: 6px; }
.line p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.5; }
.lines-note { margin: 22px 0 0; color: var(--muted); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }

/* Layers */
.layers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.layer { position: relative; border-radius: 20px; padding: 28px; background: linear-gradient(180deg, #1f2937, #111827); border: 1px solid #374151; }
.layer.gold { border-color: rgba(247, 247, 245, .45); box-shadow: 0 0 0 1px rgba(247, 247, 245, .12), 0 20px 60px -30px rgba(247, 247, 245, .5); }
.layer-n { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; font-weight: 800; margin-bottom: 16px; }
.layer.gold .layer-n { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.layer h3 { font-size: 20px; margin-bottom: 8px; }
.layer p { margin: 0; }
.flow { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #e5e7eb; font-weight: 600; font-size: 14px; }
.flow span { padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .06); border: 1px solid #374151; }
.flow i { width: 22px; height: 1px; background: #4b5563; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; }
.f-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.feature h3 { font-size: 17px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* People */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; border-top: 3px solid transparent; border-image: none; box-shadow: inset 0 3px 0 0 var(--blue); }
.person:nth-child(even) { box-shadow: inset 0 3px 0 0 var(--violet); }
.person h3 { font-size: 17px; margin-bottom: 6px; }
.person p { margin: 0; color: var(--muted); font-size: 15px; }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.trust p { color: var(--muted); font-size: 17px; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { padding: 14px 16px 14px 46px; position: relative; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.checks li::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--navy); background: linear-gradient(135deg, var(--gold-light), var(--gold)); }
.checks strong { color: var(--ink); }

/* Family */
.family { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fam { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.fam img, .health-mark { width: 48px; height: 48px; flex-shrink: 0; }
.health-mark { border-radius: 50%; background: radial-gradient(circle at 70% 70%, #4f46e5 0 38%, transparent 39%), linear-gradient(135deg, #5eead4, #22b8cf); }
.fam h3 { font-size: 17px; margin-bottom: 4px; }
.fam p { margin: 0; color: var(--muted); }

/* CTA */
.cta { background: var(--grad-hero); color: #d1d5db; text-align: center; }
.cta-inner { max-width: 760px; }
.cta h2 { color: #fff; }
.cta h2 .serif { color: var(--gold-light); }
.cta p { font-size: 18px; }
.cta .hero-cta { justify-content: center; margin-bottom: 0; }

.footer { background: #111827; color: #9ca3af; padding: 32px 0; }
.foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.foot img { height: 40px; width: 40px; }
.foot p { margin: 0; font-size: 14px; }

/* Scroll progress */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; background: linear-gradient(90deg, var(--blue), var(--violet), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
.nav { transition: box-shadow .2s; }
.nav.scrolled { box-shadow: 0 8px 30px -18px rgba(17, 24, 39, .35); }

/* Policyholders */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-lead { font-size: 17px; color: var(--muted); margin: 14px 0 22px; }
.ticks { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 32px; color: var(--ink-2); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--grad); }
.portal { background: #fff; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); transform: rotate(-1deg); }
.portal-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--navy); color: #e5e7eb; font-size: 13px; font-weight: 600; }
.pt-dots { display: flex; gap: 5px; }
.pt-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.pt-dots i:first-child { background: var(--gold); }
.portal-body { padding: 22px; }
.pt-hi { margin: 0; font-size: 13px; color: var(--muted); }
.pt-title { display: block; color: var(--ink); font-size: 20px; letter-spacing: -.02em; margin-bottom: 14px; }
.pt-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pt-list li { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.pt-list li > div { min-width: 0; }
.pt-list b { display: block; font-size: 14px; color: var(--ink); }
.pt-list small { display: block; font-size: 13px; color: var(--muted); }
.pt-list .chip { margin-left: auto; }
.pt-ic { width: 38px; height: 38px; flex-shrink: 0; border-radius: 11px; display: grid; place-items: center; background: #f3f4f6; color: var(--blue); }
.pt-ic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pt-claim { margin-top: 12px; padding: 14px; border-radius: 14px; background: linear-gradient(135deg, #f3f4f6, #f5f3ff); }
.pt-claim-head { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.pt-claim-head b { color: var(--ink); }
.pt-claim-head span { color: var(--violet); font-weight: 600; }
.pt-claim small { color: var(--muted); font-size: 13px; }
.pt-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; margin: 10px 0 6px; }
.pt-bar i { height: 6px; border-radius: 3px; background: #dbeafe; transform-origin: left; }
.pt-bar i.on { background: var(--grad); }
.pt-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.pt-actions span { padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pt-actions span:nth-child(2) { background: var(--blue); border-color: var(--blue); color: #fff; }

/* Claims journey */
.journey { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.jcard { position: sticky; top: 104px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-lg); }
.jc-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.jc-head strong { color: var(--ink); font-size: 17px; }
.jc-now { display: flex; align-items: center; gap: 12px; margin: 18px 0 10px; padding: 12px; border-radius: 14px; background: var(--soft); }
.jc-now small { display: block; font-size: 12px; color: var(--muted); }
.jc-now b { color: var(--ink); }
.jc-note { margin: 0 0 14px; min-height: 3em; font-size: 14px; color: var(--muted); }
.jc-note.swap, .jc-now.swap { animation: swap .45s ease; }
.jc-stages { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.jc-stages li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 14px; color: var(--muted); transition: color .3s; }
.jc-stages li::before { content: ""; width: 18px; height: 18px; flex-shrink: 0; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; font-size: 10px; font-weight: 800; transition: background .3s, border-color .3s; }
.jc-stages li.done { color: var(--ink-2); }
.jc-stages li.done::before { content: "✓"; border-color: transparent; background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--navy); }
.jc-stages li.current { color: var(--ink); font-weight: 700; }
.jc-stages li.current::before { border-color: var(--violet); box-shadow: 0 0 0 4px rgba(148, 163, 184, .15); animation: ping 1.8s ease-out infinite; }
.jc-amt { margin: 14px 0 0; padding-top: 14px; border-top: 1px dashed var(--line); display: grid; gap: 6px; }
.jc-amt div { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; transition: opacity .4s, transform .4s; }
.jc-amt dt { color: var(--muted); }
.jc-amt dd { margin: 0; font-weight: 600; color: var(--ink); }
.jc-amt .jc-paid dd { color: var(--green); }
.js .jc-amt div:not(.on) { opacity: .2; transform: translateX(8px); }

.steps-wrap { position: relative; padding-left: 56px; }
.rail { position: absolute; left: 17px; top: 18px; bottom: 18px; width: 2px; border-radius: 2px; background: var(--line); }
.rail i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(var(--blue), var(--violet), var(--gold)); transform-origin: top; transform: scaleY(var(--fill, 1)); }
.steps { list-style: none; margin: 0; padding: 0; }
.step { position: relative; min-height: 34vh; padding-bottom: 40px; transition: opacity .4s; }
.step:last-child { min-height: 0; padding-bottom: 0; }
.js .step { opacity: .38; }
.js .step.done { opacity: .7; }
.js .step.active { opacity: 1; }
.step .num { position: absolute; left: -56px; top: 0; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 2px solid var(--line); color: var(--muted); font-weight: 800; transition: background .3s, border-color .3s, color .3s, box-shadow .3s; }
.step.done .num { border-color: var(--blue); color: var(--blue); }
.step.active .num { background: var(--grad); border-color: transparent; color: #fff; box-shadow: 0 0 0 6px rgba(148, 163, 184, .12); }
.who { display: inline-block; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-text); margin: 6px 0 6px; }
.step h3 { font-size: 21px; margin-bottom: 6px; }
.step p { margin: 0; color: var(--muted); max-width: 520px; }

.networks-head { margin: 80px 0 24px; max-width: 640px; }
.networks-head h3 { font-size: 24px; }
.networks-head p { margin: 8px 0 0; color: var(--muted); }
.networks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.net { border: 1px solid var(--line); border-radius: 18px; padding: 22px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.net:hover { border-color: #e5e7eb; box-shadow: var(--shadow); }
.net-line { font-size: 12px; font-weight: 700; color: var(--violet); text-transform: uppercase; letter-spacing: .06em; }
.net h4 { margin: 6px 0; font-size: 17px; color: var(--ink); letter-spacing: -.01em; }
.net p { margin: 0; font-size: 15px; color: var(--muted); }

/* HIVA */
.chip-dark { background: rgba(255, 255, 255, .06); color: #d1d5db; border-color: rgba(255, 255, 255, .16); }
.hero-points li.hp-ai::before { background: var(--grad); box-shadow: inset 0 0 0 4px #d1d5db; }
.hero-points li.hp-ai b { color: var(--ink); }
.pt-actions span.pt-ask { background: var(--grad); border-color: transparent; color: #fff; }
.section.hiva { position: relative; overflow: hidden; background: radial-gradient(ellipse at 80% 0%, #111827 0%, #111827 60%); color: #9ca3af; }
.hiva-bg { position: absolute; inset: 0; pointer-events: none; }
.hiva-bg i { position: absolute; width: 520px; height: 520px; border-radius: 50%; filter: blur(80px); opacity: .5; animation: drift 24s ease-in-out infinite alternate; }
.hiva-bg i:nth-child(1) { right: -120px; top: 10%; background: radial-gradient(circle, rgba(148, 163, 184, .6), transparent 65%); }
.hiva-bg i:nth-child(2) { left: -200px; bottom: -160px; background: radial-gradient(circle, rgba(17, 24, 39, .5), transparent 65%); animation-delay: -10s; }
.hiva .wrap { position: relative; }
.hiva h2, .hiva h3 { color: #fff; }
.hiva h2 .serif { color: var(--gold-light); }
.hiva .kicker { color: var(--gold-light); }
.hiva-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hiva-lead { font-size: 17px; margin: 16px 0 22px; }
.hiva-lead strong { color: #fff; }
.hiva-rules { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.hiva-rules li { position: relative; padding-left: 26px; }
.hiva-rules li::before { content: ""; position: absolute; left: 0; top: 7px; width: 12px; height: 12px; border-radius: 4px; background: var(--grad); box-shadow: 0 0 12px rgba(148, 163, 184, .7); }
.hiva-rules b { color: #e5e7eb; }
.chat { background: #fff; border-radius: 22px; overflow: hidden; color: var(--ink-2); box-shadow: 0 40px 100px -30px rgba(148, 163, 184, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.chat-top { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.chat-top b { display: block; color: var(--ink); }
.chat-top small { display: block; font-size: 12px; color: var(--muted); }
.hiva-mark { position: relative; width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: var(--grad); display: grid; place-items: center; }
.hiva-mark i { width: 14px; height: 14px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-light), var(--gold)); animation: glow 3s ease-in-out infinite; }
.chat-live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.chat-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #d1fae5; }
.chat-body { display: grid; gap: 10px; padding: 18px; }
.msg { max-width: 88%; padding: 10px 14px; border-radius: 16px; font-size: 14px; line-height: 1.5; }
.msg.me { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }
.msg.ai { justify-self: start; background: var(--soft); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg p { margin: 0; }
.msg ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 6px; }
.msg li b { color: var(--ink); }
.msg-acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.msg-acts span { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: #fff; border: 1px solid #e5e7eb; color: var(--violet); }
.msg.typing { display: flex; gap: 4px; padding: 14px; }
.msg.typing i { width: 7px; height: 7px; border-radius: 50%; background: #a78bfa; animation: bounce 1.2s ease-in-out infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
.chat-input { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 18px 18px; padding: 8px 8px 8px 14px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--muted); }
.chat-input b { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--grad); color: #fff; }
.hiva-caps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 64px; }
.cap { border: 1px solid #374151; border-radius: 18px; padding: 22px; background: rgba(255, 255, 255, .03); transition: border-color .2s, background .2s; }
.cap:hover { border-color: rgba(203, 213, 225, .5); background: rgba(148, 163, 184, .08); }
.cap-who { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--gold-light); }
.cap h3 { font-size: 17px; margin: 6px 0; }
.cap p { margin: 0; font-size: 15px; }
.feature.f-ai { grid-column: 1 / -1; background: var(--grad-hero); border-color: transparent; }
.feature.f-ai h3 { color: #fff; }
.feature.f-ai p { color: #d1d5db; max-width: 760px; }

/* Motion: hero entrance */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
@keyframes card-in { from { opacity: 0; transform: translateY(56px) rotate(5deg) scale(.96); } }
@keyframes pop-in { from { opacity: 0; transform: translateY(16px) scale(.9) rotate(-4deg); } }
@keyframes breathe { 50% { transform: scale(1.035); } }
@keyframes glow { 50% { opacity: .55; transform: scale(1.15); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { to { transform: translate(80px, 60px) scale(1.15); } }
@keyframes bounce { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes swap { from { opacity: 0; transform: translateY(6px); } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(148, 163, 184, .35); } 100% { box-shadow: 0 0 0 10px rgba(148, 163, 184, 0); } }
.js .hero-copy > * { animation: rise .9s cubic-bezier(.2, .8, .2, 1) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .12s; }
.js .hero-copy > :nth-child(3) { animation-delay: .26s; }
.js .hero-copy > :nth-child(4) { animation-delay: .4s; }
.js .hero-copy > :nth-child(5) { animation-delay: .54s; }
.js .hero-card { animation: card-in 1.1s .3s cubic-bezier(.2, .8, .2, 1) both; }
.js .hc-rows > div { animation: rise .5s cubic-bezier(.2, .8, .2, 1) both; }
.js .hc-rows > :nth-child(1) { animation-delay: .75s; }
.js .hc-rows > :nth-child(2) { animation-delay: .85s; }
.js .hc-rows > :nth-child(3) { animation-delay: .95s; }
.js .hc-rows > :nth-child(4) { animation-delay: 1.05s; }
.js .hc-rows > :nth-child(5) { animation-delay: 1.15s; }
.js .hc-rows > :nth-child(6) { animation-delay: 1.25s; }
.js .hc-toast { animation: pop-in .6s 2.1s cubic-bezier(.34, 1.56, .64, 1) both; }

/* Motion: reveal on scroll (off without JS or with reduced motion) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .portal[data-reveal] { transform: translateY(40px) rotate(3deg); }
.js .portal[data-reveal].in { transform: rotate(-1deg); }
.js [data-stagger] > * { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(min(var(--i, 0), 8) * 80ms); }
.js [data-stagger].in > * { opacity: 1; transform: none; }
.js .portal .pt-list > * { transform: translateX(24px); transition-delay: calc(.35s + var(--i, 0) * 120ms); }
.js .chat .chat-body > * { transition-delay: calc(.4s + var(--i, 0) * 550ms); }
.js .portal .pt-bar i { transform: scaleX(0); transition: transform .35s ease; }
.js .portal.in .pt-bar i { transform: none; transition-delay: calc(.9s + var(--i, 0) * 110ms); }

/* Motion: classes tick on one after another */
.js .lines .line { opacity: 0; transform: translateY(36px) scale(.94); filter: blur(8px); transition: opacity .7s ease, transform .9s cubic-bezier(.2, .8, .2, 1), filter .7s ease, border-color .2s, box-shadow .2s; }
.js .lines-wrap.in .line { opacity: 1; transform: none; filter: none; transition-delay: calc(var(--i, 0) * 90ms); }
.js .lines-wrap.settled .line { transition-delay: 0s; }
.js .lines-wrap.in .line:hover { transform: translateY(-4px); }
.js .line::before { transform: scaleX(0); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .lines-wrap.in .line::before { transform: none; transition-delay: calc(var(--i, 0) * 90ms + .3s); }
.js .line .ic { opacity: 0; transform: scale(.5) rotate(-20deg); transition: opacity .4s ease, transform .6s cubic-bezier(.34, 1.56, .64, 1), background .2s, color .2s; }
.js .lines-wrap.in .line .ic { opacity: 1; transform: none; transition-delay: calc(var(--i, 0) * 90ms + .25s), calc(var(--i, 0) * 90ms + .25s), 0s, 0s; }
.js .tick { transform: scale(0); transition: transform .45s cubic-bezier(.34, 1.56, .64, 1); }
.js .tick svg { stroke-dashoffset: 24; transition: stroke-dashoffset .4s ease; }
.js .lines-wrap.in .tick { transform: none; transition-delay: calc(var(--i, 0) * 90ms + .5s); }
.js .lines-wrap.in .tick svg { stroke-dashoffset: 0; transition-delay: calc(var(--i, 0) * 90ms + .7s); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .hero-card, .portal, .js .portal[data-reveal].in { transform: none; }
}

/* Responsive */
@media (max-width: 1100px) {
  .lines { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px 0; border-bottom: 1px solid var(--soft); }
  .nav-toggle { display: inline-flex; }
  .hero { padding: 64px 0 96px; }
  .hero-grid, .trust, .family, .split, .journey, .hiva-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card, .portal, .js .portal[data-reveal].in { transform: none; }
  .hc-toast { left: 12px; }
  .orbit, .comet { opacity: .45; }
  .jcard { display: none; }
  .step { min-height: 0; }
  .js .step, .js .step.done { opacity: 1; }
  .layers, .features, .people, .networks, .hiva-caps { grid-template-columns: 1fr 1fr; }
  .networks-head { margin-top: 56px; }
}
@media (max-width: 640px) {
  .nav-cta .btn-primary { display: none; }
  .section { padding: 64px 0; }
  .lines, .layers, .features, .people, .networks, .hiva-caps { grid-template-columns: 1fr; }
  .flow i { display: none; }
  .hero-art { right: -420px; }
  .orbit, .comet { display: none; }
  .pt-list .chip { display: none; }
}
