/* =============================================================================
   IntuiClaim
   Editorial system: Fraunces serif for headlines (italic accents in brand blue),
   Plus Jakarta Sans for labels, buttons and small heads, Inter for reading.
   Warm paper base, deep navy sections, cerulean brand, amber only for money owed.
   ============================================================================= */

:root {
  --paper:   #F8F8F4;
  --white:   #FFFFFF;
  --line:    #E3E5DF;
  --line-2:  #ECEEE8;

  --ink:   #0F1C2C;
  --ink-2: #384454;
  --ink-3: #66707E;
  --ink-4: #A2A9B3;

  --navy:    #163A78;
  --navy-2:  #0F2C5E;
  --night:   #0B1830;
  --night-2: #12223F;

  --blue:      #1E8AC0;
  --blue-ink:  #14699A;
  --sky:       #7CCBF2;
  --sky-soft:  #A9DBF5;
  --mark:      #D3ECFA;
  --band:      #DDEFFA;

  --amber:      #D9822B;
  --amber-ink:  #A8520B;
  --amber-soft: #FCEEDD;
  --green:      #17845A;
  --green-soft: #E0F3E9;

  --on-dark:      #EEF2F8;
  --on-dark-soft: #AEBBCD;
  --dark-line:    rgba(174, 187, 205, .16);

  --serif: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --head:  "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans:  "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --maxw: 1200px;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(88px, 10vw, 152px);
  --nav-h: 76px;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --shadow-card: 0 1px 2px rgba(15, 28, 44, .05), 0 24px 48px -28px rgba(15, 28, 44, .22);
  --shadow-float: 0 2px 6px rgba(15, 28, 44, .06), 0 30px 60px -28px rgba(15, 28, 44, .32);
}

/* ---------- Base ------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink-2); background: var(--paper);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--mark); color: var(--ink); }

.skip { position: absolute; left: 12px; top: -60px; z-index: 300; padding: 10px 16px; border-radius: 6px; background: var(--navy); color: #fff; font: 700 .9rem var(--head); }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right)); }

/* ---------- Type ------------------------------------------------------------- */
h1, h2 { font-family: var(--serif); font-weight: 400; color: var(--ink); text-wrap: balance; font-optical-sizing: auto; }
h1 { font-size: clamp(2.75rem, 1.4rem + 5.4vw, 5.75rem); line-height: 1.02; letter-spacing: -.025em; }
h2 { font-size: clamp(2.2rem, 1.4rem + 2.7vw, 3.75rem); line-height: 1.06; letter-spacing: -.02em; }
h1 em, h2 em, h3 em, .audience-label em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue-ink); }
h3 { font-family: var(--head); font-weight: 700; color: var(--ink); font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; }
p { text-wrap: pretty; }

h1 .mark { color: var(--ink); padding: 0 .12em; margin: 0 -.04em; background: linear-gradient(180deg, transparent 12%, var(--mark) 12%, var(--mark) 94%, transparent 94%); -webkit-box-decoration-break: clone; box-decoration-break: clone; }

.label { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 600 .78rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.label::before { content: ""; width: 18px; height: 18px; flex: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M13.6 5.2a6.4 6.4 0 1 0 0 7.6' fill='none' stroke='%231E8AC0' stroke-width='2.6'/%3E%3Ccircle cx='15.2' cy='9' r='1.9' fill='%23D9822B'/%3E%3C/svg%3E") center / contain no-repeat; }
.dark .label { color: var(--on-dark); }
.dark .label::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M13.6 5.2a6.4 6.4 0 1 0 0 7.6' fill='none' stroke='%237CCBF2' stroke-width='2.6'/%3E%3Ccircle cx='15.2' cy='9' r='1.9' fill='%23F0A04B'/%3E%3C/svg%3E"); }

.head { max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.head-center { margin-inline: auto; text-align: center; }
.head-center .label { justify-content: center; }
.muted { color: var(--ink-4); }
.lede { margin-top: 22px; font-size: clamp(1.06rem, 1rem + .3vw, 1.24rem); line-height: 1.55; color: var(--ink-3); }
.head-center .lede { max-width: 42ch; margin-inline: auto; }
.link { color: var(--blue-ink); font-weight: 500; text-decoration: underline; text-decoration-color: rgba(30, 138, 192, .35); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.link:hover { text-decoration-color: currentColor; }

.section { position: relative; padding-block: var(--section-y); }
.section-white { background: var(--white); }

/* ---------- Tags ------------------------------------------------------------- */
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 4px; font: 700 .74rem/1.4 var(--head); letter-spacing: .01em; white-space: nowrap; }
.tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tag-amber { background: var(--amber-soft); color: var(--amber-ink); }
.tag-green { background: var(--green-soft); color: var(--green); }
.tag-blue { background: #E4F1FA; color: var(--blue-ink); }

/* ---------- Buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 .95rem/1 var(--head); letter-spacing: -.005em; white-space: nowrap;
  padding: 15px 24px; border-radius: 6px; border: 1px solid transparent;
  transition: transform .3s var(--ease), background-color .2s, border-color .2s, box-shadow .3s var(--ease), color .2s;
}
.btn-sm { padding: 11px 18px; font-size: .88rem; }
.btn-lg { padding: 18px 30px; font-size: 1rem; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-2); transform: translateY(-1px); box-shadow: 0 10px 24px -12px rgba(22, 58, 120, .7); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mark); transform: translateY(-1px); }
.dark .btn-primary { background: var(--sky); color: var(--night); }
.dark .btn-primary:hover { background: #9BD8F6; box-shadow: 0 10px 28px -12px rgba(124, 203, 242, .6); }
.btn-link { display: inline-flex; align-items: center; gap: 10px; font: 700 .98rem/1 var(--head); color: var(--ink); padding: 14px 6px; }
.btn-link svg { width: 18px; height: 18px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn-link:hover svg { transform: translateX(4px); }

/* ---------- Nav -------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top); transition: background-color .35s, box-shadow .35s; }
.nav-row { height: var(--nav-h); display: flex; align-items: center; gap: 44px; }
.brand img { height: 24px; width: auto; }
.nav-links { display: flex; gap: 4px; }
.nav-links a { font: 600 .92rem/1 var(--head); color: var(--ink); padding: 10px 12px; border-radius: 6px; transition: color .2s, background-color .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--navy); background: rgba(22, 58, 120, .06); }
.nav-cta { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 6px; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 1.8px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:first-child { top: 18px; }
.nav-toggle span:last-child { top: 25px; }
.nav.scrolled, .nav.open { background: rgba(248, 248, 244, .88); backdrop-filter: saturate(160%) blur(16px); -webkit-backdrop-filter: saturate(160%) blur(16px); box-shadow: 0 1px 0 var(--line); }
.nav.open .nav-toggle span:first-child { top: 21.5px; transform: rotate(45deg); }
.nav.open .nav-toggle span:last-child { top: 21.5px; transform: rotate(-45deg); }
.mobile-menu { display: grid; padding: 8px var(--gutter) 28px; border-top: 1px solid var(--line); }
.mobile-menu a:not(.btn) { padding: 16px 2px; font: 400 1.5rem/1.2 var(--serif); color: var(--ink); border-bottom: 1px solid var(--line-2); }
.mobile-menu .btn { margin-top: 22px; }
@media (max-width: 980px) { .nav-links { display: none; } .nav-toggle { display: block; } }
@media (max-width: 480px) { .nav-cta .btn { display: none; } }

/* ---------- Reveal ----------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; } .d2 { transition-delay: .2s; } .d3 { transition-delay: .3s; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Spray texture ---------------------------------------------------- */
.spray { position: absolute; pointer-events: none; user-select: none; max-width: none; }
.spray-hero { left: 50%; top: calc(var(--nav-h) + 20px); width: 1600px; height: auto; transform: translateX(-50%); opacity: .8; }
@media (max-width: 760px) { .spray-hero { width: 1000px; top: calc(var(--nav-h) + 40px); } }

/* ---------- Hero ------------------------------------------------------------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--nav-h) + clamp(56px, 8vw, 112px)); padding-bottom: clamp(56px, 7vw, 96px); }
.hero-inner { position: relative; text-align: center; }
.hero .label { justify-content: center; }
.hero h1 { max-width: 12.5em; margin-inline: auto; }
.hero-sub { max-width: 36ch; margin: 28px auto 0; font-size: clamp(1.1rem, 1rem + .45vw, 1.32rem); line-height: 1.5; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 20px; margin-top: 38px; }

/* product moment */
.stage { position: relative; margin-top: clamp(64px, 8vw, 104px); display: flex; justify-content: center; }
.shot { position: relative; z-index: 1; width: min(680px, 100%); background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow-card); color: var(--ink-2); }
.shot-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); }
.shot-title { display: flex; align-items: center; gap: 10px; font: 700 .98rem/1 var(--head); color: var(--ink); }
.shot-figures { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 26px 0; }
.shot-figures div { display: grid; gap: 8px; }
.shot-figures small { font-size: .85rem; color: var(--ink-3); }
.shot-figures b { font: 600 clamp(1.5rem, 1rem + 1.6vw, 2.25rem)/1 var(--head); letter-spacing: -.03em; color: var(--ink); font-variant-numeric: tabular-nums; }
.shot-figures .owed { padding: 14px 16px; margin: -14px -4px -14px 0; border-radius: 8px; background: var(--amber-soft); }
.shot-figures .owed small, .shot-figures .owed b { color: var(--amber-ink); }
.shot-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line-2); }
.check { display: inline-flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 500; color: var(--ink); }
.check svg { width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-soft); fill: none; stroke: var(--green); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.shot-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 6px; background: var(--navy); color: #fff; font: 700 .86rem/1 var(--head); }
.shot-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.float { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 13px 18px 13px 13px; border-radius: 10px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-float); color: var(--ink-2); animation: bob 7s ease-in-out infinite; }
.float small { display: block; font-size: .78rem; color: var(--ink-3); }
.float b { display: block; font: 700 .95rem/1.3 var(--head); color: var(--ink); white-space: nowrap; }
.f-icon { width: 38px; height: 38px; border-radius: 8px; display: grid; place-items: center; flex: none; }
.f-icon svg { width: 19px; height: 19px; fill: none; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.f-green { background: var(--green-soft); } .f-green svg { stroke: var(--green); }
.f-blue { background: #E4F1FA; } .f-blue svg { stroke: var(--blue-ink); }
.float-left { left: max(0px, calc(50% - 560px)); top: 16%; }
.float-right { right: max(0px, calc(50% - 560px)); bottom: 12%; animation-delay: -3.5s; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }
@media (max-width: 1100px) { .float-left { left: var(--gutter); top: -34px; } .float-right { right: var(--gutter); bottom: -30px; } }
@media (max-width: 640px) {
  .float-right { display: none; }
  .float-left { left: 0; right: 0; margin-inline: auto; width: max-content; top: -38px; }
  .shot { padding-top: 46px; }
  .shot-figures { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; }
  .shot-figures .owed { grid-column: 1 / -1; margin: 0; }
}

/* ---------- Glyphs (solid, two-tone) ----------------------------------------- */
.glyph { width: 36px; height: 36px; flex: none; }
.g-n { fill: var(--navy); }
.g-b { fill: var(--blue); }
.g-s { fill: var(--sky-soft); }
.g-a { fill: var(--amber); }
.g-check { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.g-stroke { fill: none; stroke: var(--navy); stroke-width: 4; stroke-linecap: round; }
.g-clip { fill: none; stroke: var(--blue); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Audience --------------------------------------------------------- */
.audience { padding: clamp(24px, 3vw, 40px) 0 clamp(72px, 8vw, 112px); }
.audience-label { text-align: center; font-size: 1.05rem; color: var(--ink-2); margin-bottom: 30px; }
.audience-label em { font-size: 1.18em; }
.audience-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-list li { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 16px; padding: 34px 20px 32px; text-align: center; font: 700 1.06rem/1.3 var(--head); letter-spacing: -.01em; color: var(--ink); }
.audience-list .glyph { width: 40px; height: 40px; }
.audience-list li + li { border-left: 1px solid var(--line); }
@media (max-width: 1000px) {
  .audience-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .audience-list li:nth-child(3) { border-left: 0; }
  .audience-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .audience-list li { padding: 24px 10px 22px; gap: 12px; font-size: .98rem; }
  .audience-list .glyph { width: 34px; height: 34px; }
}

/* ---------- Problem ---------------------------------------------------------- */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tile { display: flex; flex-direction: column; }
.tile h3 { margin-top: 26px; font-size: 1.3rem; }
.tile p { margin-top: 8px; color: var(--ink-3); font-size: 1.02rem; max-width: 32ch; }
.art { position: relative; height: 260px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; transition: transform .6s var(--ease), box-shadow .6s var(--ease); }
.tile:hover .art { transform: translateY(-4px); box-shadow: 0 24px 48px -30px rgba(15, 28, 44, .35); }

.slip { position: relative; display: grid; gap: 6px; justify-items: start; padding: 26px 28px 24px; width: 230px; background: #fff; border-radius: 3px 3px 10px 10px; box-shadow: 0 20px 40px -22px rgba(15, 28, 44, .35); transform: rotate(-4deg); }
.slip::before { content: ""; position: absolute; left: 0; right: 0; top: -6px; height: 12px; background: radial-gradient(circle at 7px 0, transparent 5px, #fff 5.5px) 0 0 / 14px 12px repeat-x; }
.slip-k { font-size: .82rem; color: var(--ink-3); }
.slip-v { font: 600 2.3rem/1 var(--head); letter-spacing: -.035em; color: var(--ink); }
.slip-short { margin-top: 10px; padding: 5px 11px; border-radius: 4px; background: var(--amber-soft); color: var(--amber-ink); font: 700 .82rem/1.3 var(--head); }

.rate { display: grid; gap: 10px; width: 250px; }
.rate-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-radius: 8px; background: #fff; box-shadow: 0 14px 30px -20px rgba(15, 28, 44, .35); }
.rate-row i { font-style: normal; font-size: .9rem; color: var(--ink-3); }
.rate-row b { font: 600 1.75rem/1 var(--head); letter-spacing: -.035em; }
.rate-row.wrong { transform: translateX(-14px); }
.rate-row.wrong b { position: relative; color: var(--ink-4); }
.rate-row.wrong b::after { content: ""; position: absolute; left: -4px; right: -4px; top: 52%; height: 3px; border-radius: 3px; background: var(--amber); transform-origin: left; }
.rate-row.right { transform: translateX(14px); box-shadow: 0 0 0 2px var(--navy), 0 18px 34px -18px rgba(22, 58, 120, .5); }
.rate-row.right b { color: var(--navy); }

.stamp { position: absolute; font: 800 1.75rem/1 var(--head); letter-spacing: .08em; text-transform: uppercase; padding: 12px 22px; border-radius: 6px; border: 3px solid currentColor; color: #C2553F; opacity: .4; transform: translate(-30px, -34px) rotate(-10deg); }
.stamp-ok { color: var(--green); opacity: 1; background: rgba(255, 255, 255, .95); transform: translate(26px, 30px) rotate(5deg); box-shadow: 0 18px 36px -20px rgba(23, 132, 90, .55); }
@media (max-width: 900px) { .trio { grid-template-columns: minmax(0, 1fr); gap: 48px; } .art { height: 240px; } }

/* ---------- Dark sections ---------------------------------------------------- */
.dark { background: var(--night); color: var(--on-dark-soft); overflow: hidden; }
.dark h2, .dark h3 { color: #fff; }
.dark h2 em { color: var(--sky); }
.dark .lede { color: var(--on-dark-soft); }
.dark .link { color: var(--sky); }
.dark .container { position: relative; z-index: 1; }
/* perforated edge, like a torn remittance */
.perf::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 14px; z-index: 2; background: radial-gradient(circle at 11px 0, var(--edge, var(--paper)) 7.5px, transparent 8px) 0 0 / 22px 14px repeat-x; }
.dark-bg { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(45% 55% at 85% 0%, rgba(30, 138, 192, .2), transparent 70%), radial-gradient(40% 55% at 0% 100%, rgba(22, 58, 120, .45), transparent 70%); }
/* oversized open arc, the "c" from the mark */
.dark-bg::after { content: ""; position: absolute; width: 900px; height: 900px; left: -420px; top: -360px; border-radius: 50%; border: 110px solid rgba(255, 255, 255, .028); border-right-color: transparent; transform: rotate(-20deg); }
.dark-bg-b::after { left: auto; right: -440px; top: auto; bottom: -460px; transform: rotate(160deg); }

/* ---------- How it works ----------------------------------------------------- */
.pipeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; max-width: 980px; margin: 0 auto clamp(64px, 7vw, 96px); }
.pipe-line { position: absolute; left: 16.66%; right: 16.66%; top: 75px; height: 2px; background: linear-gradient(90deg, rgba(124, 203, 242, .15), rgba(124, 203, 242, .6), rgba(143, 224, 181, .45)); overflow: hidden; border-radius: 2px; }
.pipe-line i { position: absolute; top: 0; bottom: 0; width: 18%; background: linear-gradient(90deg, transparent, #D4F0FF, transparent); animation: flow 3.2s var(--ease) infinite; }
@keyframes flow { from { left: -20%; } to { left: 100%; } }
@media (prefers-reduced-motion: reduce) { .pipe-line i { display: none; } }
.node { position: relative; display: grid; justify-items: center; gap: 18px; text-align: center; }
.node span { font: 700 .98rem/1.3 var(--head); color: var(--on-dark); }
.node-tile { width: 112px; height: 112px; margin-top: 19px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(180deg, #16305E, #0F2347); border: 1px solid rgba(174, 195, 232, .2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .07), 0 24px 48px -24px rgba(0, 0, 0, .7); }
.node-tile svg { width: 52px; height: 52px; fill: none; stroke: var(--sky); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; overflow: visible; }
.node-tile svg .fill { fill: #1A3B72; }
.node-tile svg .hl { stroke: var(--amber); stroke-width: 2.4; }
.node-tile-ok svg { stroke: #8FE0B5; }
.node-tile-ok svg .fill { fill: rgba(143, 224, 181, .1); }
.node-tile-ok svg .ok-badge { fill: #8FE0B5; stroke: #0F2347; stroke-width: 2.5; }
.node-tile-ok svg .ok-check { stroke: #0F2347; stroke-width: 2.2; }
.node-core .node-tile { width: 150px; height: 150px; margin-top: 0; border-radius: 24px; background: linear-gradient(160deg, #2496CF, #14699A 55%, #163A78); border-color: rgba(255, 255, 255, .25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 0 0 10px rgba(30, 138, 192, .1), 0 0 70px rgba(30, 138, 192, .45); }
.node-core .node-tile img { width: 64px; height: 64px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; max-width: 1080px; margin-inline: auto; }
.steps li { padding-top: 26px; border-top: 1px solid var(--dark-line); }
.step-n { display: block; font: 700 .82rem/1 var(--head); letter-spacing: .1em; color: var(--sky); margin-bottom: 18px; }
.steps h3 { font-size: 1.3rem; margin-bottom: 10px; }
.steps p { font-size: 1.02rem; color: var(--on-dark-soft); max-width: 30ch; }
@media (max-width: 820px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .node-tile { width: 84px; height: 84px; border-radius: 14px; margin-top: 15px; }
  .node-tile svg { width: 40px; height: 40px; }
  .node-core .node-tile { width: 114px; height: 114px; border-radius: 18px; }
  .node-core .node-tile img { width: 48px; height: 48px; }
  .pipe-line { top: 57px; }
  .node span { font-size: .86rem; max-width: 12ch; }
}

/* ---------- Platform --------------------------------------------------------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(48px, 7vw, 112px); align-items: center; }
.benefits { margin-top: 40px; border-top: 1px solid var(--line); }
.benefits li { display: flex; align-items: center; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); font: 700 1.08rem/1.35 var(--head); letter-spacing: -.01em; color: var(--ink); }
.window { border-radius: 14px; background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-card); overflow: hidden; }
.window-bar { display: flex; align-items: center; gap: 16px; height: 50px; padding: 0 20px; border-bottom: 1px solid var(--line-2); background: #FBFBF9; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #DEE1DA; }
.window-title { display: flex; align-items: center; gap: 8px; font: 700 .88rem/1 var(--head); color: var(--ink); }
.w-note { margin-left: auto; font: 600 .7rem/1 var(--head); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-4); }
.window-body { padding: clamp(22px, 3vw, 34px); }
.w-total { display: grid; gap: 8px; padding-bottom: 24px; }
.w-total small { font-size: .9rem; color: var(--ink-3); }
.w-total b { font: 400 clamp(2.6rem, 1.8rem + 2.6vw, 3.8rem)/1 var(--serif); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: lining-nums tabular-nums; }
.w-rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto 90px; gap: 16px; align-items: center; padding: 15px 0; border-top: 1px solid var(--line-2); }
.w-name { font-weight: 500; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.w-amt { text-align: right; font: 700 .98rem/1 var(--head); color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 960px) { .split { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 520px) { .w-rows li { grid-template-columns: minmax(0, 1fr) auto; } .w-amt { display: none; } }

/* ---------- Services --------------------------------------------------------- */
.models { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.model { position: relative; display: flex; flex-direction: column; align-items: flex-start; padding: clamp(32px, 4.4vw, 56px); min-height: 380px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.model-tag { font: 600 .78rem/1.2 var(--head); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-ink); }
.model h3 { margin-top: 18px; font: 400 clamp(2rem, 1.4rem + 1.8vw, 2.9rem)/1.05 var(--serif); letter-spacing: -.02em; }
.model-sub { margin: 18px 0 40px; font-size: 1.08rem; line-height: 1.55; color: var(--ink-3); max-width: 34ch; }
.model .btn { margin-top: auto; }
.model-dark { background: var(--night); border-color: var(--night); }
.model-dark::before { content: ""; position: absolute; width: 520px; height: 520px; right: -230px; top: -230px; border-radius: 50%; border: 70px solid rgba(124, 203, 242, .07); border-left-color: transparent; transform: rotate(30deg); pointer-events: none; }
.model-dark > * { position: relative; }
.model-dark h3 { color: #fff; }
.model-dark .model-tag { color: var(--sky); }
.model-dark .model-sub { color: var(--on-dark-soft); }
@media (max-width: 860px) { .models { grid-template-columns: minmax(0, 1fr); } .model { min-height: 0; } }

/* ---------- Lookback --------------------------------------------------------- */
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1040px; margin: 0 auto clamp(56px, 7vw, 88px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stat { padding: clamp(28px, 4vw, 48px) 24px; text-align: center; display: grid; gap: 12px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat b { font: 700 clamp(2.8rem, 1.8rem + 3vw, 4.25rem)/1 var(--head); letter-spacing: -.045em; color: var(--ink); white-space: nowrap; }
.stat b i { font-style: normal; color: var(--ink-4); margin-left: .04em; }
.stat > span { font-size: 1rem; color: var(--ink-3); }
@media (max-width: 720px) { .stats { grid-template-columns: minmax(0, 1fr); } .stat + .stat { border-left: 0; border-top: 1px solid var(--line); } }

.band { position: relative; overflow: hidden; display: grid; justify-items: center; gap: 28px; text-align: center; padding: clamp(56px, 7vw, 88px) var(--gutter); border-radius: 6px; background:
  radial-gradient(circle at 0% 50%, transparent 0 150px, rgba(30, 138, 192, .07) 150px 230px, transparent 230px 310px, rgba(30, 138, 192, .07) 310px 390px, transparent 390px),
  radial-gradient(circle at 100% 50%, transparent 0 150px, rgba(30, 138, 192, .07) 150px 230px, transparent 230px 310px, rgba(30, 138, 192, .07) 310px 390px, transparent 390px),
  var(--band); }
.spray-band { left: 50%; top: 50%; width: 1300px; transform: translate(-50%, -50%); opacity: .35; }
.band-title { position: relative; font: 400 clamp(1.9rem, 1.3rem + 2vw, 3rem)/1.1 var(--serif); letter-spacing: -.02em; color: var(--ink); }
.band .btn { position: relative; }

/* ---------- Trust ------------------------------------------------------------ */
.trust { padding-block: clamp(64px, 7vw, 96px); }
.trust-row { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 36px 72px; align-items: center; }
.trust-title { font-size: clamp(1.9rem, 1.3rem + 1.6vw, 2.75rem); line-height: 1.1; }
.trust-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.trust-list li { display: grid; gap: 16px; font: 700 1rem/1.4 var(--head); color: var(--ink); }
@media (max-width: 960px) { .trust-row { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) { .trust-list { grid-template-columns: minmax(0, 1fr); gap: 20px; } .trust-list li { grid-template-columns: 36px minmax(0, 1fr); align-items: center; } }

/* ---------- FAQ -------------------------------------------------------------- */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 26px 56px 26px 0; font: 700 clamp(1.05rem, 1rem + .3vw, 1.2rem)/1.35 var(--head); letter-spacing: -.01em; color: var(--ink); transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--navy); }
.faq summary::before, .faq summary::after { content: ""; position: absolute; right: 14px; top: 50%; width: 15px; height: 2px; border-radius: 2px; background: var(--blue); transition: transform .4s var(--ease); }
.faq summary::after { transform: rotate(90deg); }
.faq details[open] summary::after { transform: rotate(0); }
.faq-a p { padding: 0 56px 26px 0; color: var(--ink-3); font-size: 1.06rem; }
.faq details::details-content { block-size: 0; overflow: hidden; transition: block-size .45s var(--ease), content-visibility .45s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
@media (max-width: 880px) { .faq-wrap { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact ---------------------------------------------------------- */
.contact { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: clamp(26px, 3.4vw, 44px); border-radius: 10px; background: var(--white); color: var(--ink); box-shadow: 0 50px 100px -50px rgba(0, 0, 0, .7); }
.field { display: grid; gap: 8px; min-width: 0; }
.full { grid-column: 1 / -1; }
.form label { display: flex; justify-content: space-between; font: 700 .84rem/1.2 var(--head); color: var(--ink); }
.form .opt { font-weight: 500; color: var(--ink-4); }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 14px 15px; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
.form textarea { resize: vertical; min-height: 104px; }
.form input:hover, .form select:hover, .form textarea:hover { border-color: #CDD1C8; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(30, 138, 192, .15); }
.form [aria-invalid="true"] { border-color: #D2574B; box-shadow: 0 0 0 4px rgba(210, 87, 75, .12); }
.select { position: relative; }
.select::after { content: ""; position: absolute; right: 17px; top: 50%; width: 7px; height: 7px; border-right: 1.7px solid var(--ink-3); border-bottom: 1.7px solid var(--ink-3); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.select select { padding-right: 42px; cursor: pointer; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
.form .btn-primary { background: var(--navy); color: #fff; }
.form .btn-primary:hover { background: var(--navy-2); }
.form-foot .btn[disabled] { opacity: .7; cursor: progress; }
.form-note { font-size: .88rem; color: var(--ink-3); }
.form-msg { padding: 14px 16px; border-radius: 6px; font-size: .95rem; background: #E4F1FA; color: var(--ink); }
.form-msg.ok { background: var(--green-soft); color: #0F5A3B; }
.form-msg.err { background: #FDECEA; color: #8E2A20; }
.form-alt { font: 700 .92rem/1.4 var(--head); color: var(--navy); text-decoration: underline; text-underline-offset: 3px; padding: 0; }
.form-alt:hover { color: var(--navy-2); }
@media (max-width: 920px) { .contact { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .form { grid-template-columns: minmax(0, 1fr); } .form-foot .btn { width: 100%; } }

/* ---------- Footer ----------------------------------------------------------- */
.footer { background: #08132A; color: var(--on-dark-soft); padding-top: clamp(64px, 7vw, 96px); padding-bottom: max(32px, env(safe-area-inset-bottom)); }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; }
.foot-brand img { height: 26px; width: auto; }
.foot-brand p { margin-top: 18px; max-width: 34ch; font-size: .96rem; }
.foot-nav { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 72px; }
.foot-nav div { display: grid; gap: 12px; align-content: start; }
.foot-nav p { font: 600 .74rem/1 var(--head); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin-bottom: 6px; }
.foot-nav a { font-size: .94rem; color: var(--on-dark-soft); transition: color .2s; }
.foot-nav a:hover { color: #fff; }
.foot-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; margin-top: clamp(48px, 6vw, 80px); padding-top: 22px; border-top: 1px solid var(--dark-line); font-size: .82rem; color: #7F8DA3; }
@media (max-width: 880px) { .foot-top { grid-template-columns: minmax(0, 1fr); } .foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; } }

/* ---------- Sub pages -------------------------------------------------------- */
.page { padding-top: calc(var(--nav-h) + clamp(48px, 7vw, 96px)); padding-bottom: var(--section-y); }
.page .container { max-width: 820px; }
.prose { margin-top: 36px; display: grid; gap: 18px; color: var(--ink-2); font-size: 1.04rem; }
.prose h2 { font-size: 1.6rem; margin-top: 24px; }
.prose ul { list-style: disc; padding-left: 20px; display: grid; gap: 6px; }
.page-note { margin-top: 28px; padding: 14px 16px; border-radius: 6px; border: 1px dashed #CDD1C8; font-size: .85rem; color: var(--ink-3); }
.notfound { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); overflow: hidden; }
.notfound .spray { left: 50%; top: 50%; width: 1400px; transform: translate(-50%, -50%); opacity: .6; }
.notfound > div { position: relative; }
.notfound .logo { height: 24px; width: auto; margin: 0 auto 56px; }
.notfound .label { justify-content: center; }
.notfound p { margin: 20px auto 36px; max-width: 36ch; font-size: 1.1rem; color: var(--ink-3); }

/* =============================================================================
   Motion. Keys off .in (added on scroll); disabled for reduced motion.
   Individual transform properties (translate/scale/rotate) compose with the
   static transforms above.
   ============================================================================= */
@keyframes rise   { from { opacity: 0; translate: 0 10px; } to { opacity: 1; translate: 0 0; } }
@keyframes slideL { from { opacity: 0; translate: -28px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes slideR { from { opacity: 0; translate: 28px 0; } to { opacity: 1; translate: 0 0; } }
@keyframes drawX  { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ring   { 0% { box-shadow: 0 0 0 0 rgba(217, 130, 43, .45); } 100% { box-shadow: 0 0 0 14px rgba(217, 130, 43, 0); } }
@keyframes sheen  { from { translate: -120% 0; } to { translate: 220% 0; } }
@keyframes draw   { from { stroke-dashoffset: 24; } to { stroke-dashoffset: 0; } }
@keyframes drop   { 0% { opacity: 0; translate: 0 -46px; rotate: -10deg; } 70% { opacity: 1; translate: 0 4px; rotate: 1deg; } 100% { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes pop    { 0% { opacity: 0; scale: .6; } 70% { opacity: 1; scale: 1.08; } 100% { opacity: 1; scale: 1; } }
@keyframes stampIn { 0% { opacity: 0; scale: 1.7; } 60% { opacity: 1; scale: .94; } 100% { opacity: 1; scale: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes markIn { from { background-size: 0% 100%; } to { background-size: 100% 100%; } }
@keyframes drift  { 0%, 100% { translate: -50% 0; } 50% { translate: calc(-50% + 18px) -6px; } }
@keyframes breathe { 0%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 10px rgba(30,138,192,.1), 0 0 60px rgba(30,138,192,.4); } 45% { box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 0 16px rgba(30,138,192,.16), 0 0 100px rgba(30,138,192,.7); } }
@keyframes payout { 0%, 70%, 100% { box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 24px 48px -24px rgba(0,0,0,.7); border-color: rgba(174,195,232,.2); } 84% { box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 0 0 8px rgba(143,224,181,.12), 0 0 60px rgba(143,224,181,.45); border-color: rgba(143,224,181,.6); } }
@keyframes flipIn { 0% { opacity: 0; scale: .7; } 100% { opacity: 1; scale: 1; } }
@keyframes rowFlash { 0% { background: rgba(23,132,90,.12); } 100% { background: transparent; } }

@media (prefers-reduced-motion: no-preference) {
  /* hero: the highlighter sweeps in behind "promise." */
  h1.in .mark { background-repeat: no-repeat; background-size: 0% 100%; animation: markIn .9s var(--ease) .7s forwards; }
  .spray-hero { animation: drift 18s ease-in-out infinite; transform: none; translate: -50% 0; }

  .stage.in .shot-figures > div { animation: rise .7s var(--ease) both; }
  .stage.in .shot-figures > div:nth-child(1) { animation-delay: .55s; }
  .stage.in .shot-figures > div:nth-child(2) { animation-delay: .7s; }
  .stage.in .shot-figures > div:nth-child(3) { animation: rise .7s var(--ease) .85s both, ring 1.4s ease-out 1.5s 2; }
  .stage.in .shot-head .tag { animation: pop .6s var(--ease) 1.2s both; }
  .check svg path { stroke-dasharray: 24; }
  .stage.in .check svg path { animation: draw .6s var(--ease) 1.7s both; }
  .shot-btn { position: relative; overflow: hidden; }
  .shot-btn::after { content: ""; position: absolute; inset: 0; width: 40%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.4), transparent); translate: -120% 0; }
  .stage.in .shot-btn::after { animation: sheen 1.1s var(--ease) 2.1s; }
  .stage.in .float-left { animation: slideL .9s var(--ease) 1s both, bob 7s ease-in-out 1.9s infinite; }
  .stage.in .float-right { animation: slideR .9s var(--ease) 1.3s both, bob 7s ease-in-out 2.2s infinite; }

  .audience-list li.in .glyph { animation: pop .7s var(--ease) .15s both; }
  .benefits li .glyph, .trust-list li .glyph { transition: transform .5s var(--ease); }
  .benefits li:hover .glyph, .trust-list li:hover .glyph { transform: translateY(-3px) rotate(-4deg); }

  .tile.in .slip { animation: drop .9s var(--ease) .25s both; }
  .tile.in .slip-short { animation: pop .55s var(--ease) 1s both; }
  .rate-row.wrong b::after { transform: scaleX(0); }
  .tile.in .rate-row.wrong { animation: rise .6s var(--ease) .3s both; }
  .tile.in .rate-row.wrong b::after { animation: drawX .5s var(--ease) .9s both; }
  .tile.in .rate-row.right { animation: rise .6s var(--ease) 1.25s both; }
  .tile.in .stamp { animation: fadeIn .5s ease .3s both; }
  .tile.in .stamp-ok { animation: stampIn .5s cubic-bezier(.3, 1.4, .5, 1) 1s both; }

  .pipe-line { transform-origin: left; transform: scaleX(0); }
  .pipeline.in .pipe-line { animation: drawX 1.2s var(--ease) .3s both; }
  .pipeline .node { opacity: 0; }
  .pipeline.in .node { animation: pop .7s var(--ease) both; }
  .pipeline.in .node:nth-child(2) { animation-delay: .2s; }
  .pipeline.in .node:nth-child(3) { animation-delay: .6s; }
  .pipeline.in .node:nth-child(4) { animation-delay: 1s; }
  .pipe-line i { animation-delay: 1.5s; }
  .pipe-line::after { content: ""; position: absolute; top: 0; bottom: 0; width: 10%; left: -20%; background: linear-gradient(90deg, transparent, rgba(212,240,255,.7), transparent); animation: flow 3.2s var(--ease) 3.1s infinite; }
  .pipeline.in .node-core .node-tile { animation: breathe 3.2s ease-in-out 1.5s infinite; }
  .pipeline.in .node-tile-ok { animation: payout 3.2s linear 1.5s infinite; }

  .window.in .w-rows li { animation: rise .6s var(--ease) both; }
  .window.in .w-rows li:nth-child(1) { animation-delay: .35s; }
  .window.in .w-rows li:nth-child(2) { animation-delay: .45s; }
  .window.in .w-rows li:nth-child(3) { animation-delay: .55s; }
  .window.in .w-rows li:nth-child(4) { animation-delay: .65s; }
  .window.in .w-rows li:nth-child(5) { animation-delay: .75s; }
  .w-rows li.flash { animation: rowFlash 1.6s ease-out both !important; }
  .w-rows .tag.flip { animation: flipIn .45s var(--ease) both; }
}
.no-js .pipeline .node { opacity: 1; }
.no-js .pipe-line { transform: none; }
.no-js .rate-row.wrong b::after { transform: none; }
@media (prefers-reduced-motion: reduce) { .rate-row.wrong b::after { transform: none; } }
