/* ============================================================
   Meadow — Marketing site design system
   Corporate fintech · calm · trustworthy
   ============================================================ */

/* ---- Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

/* ---- Tokens ---- */
:root{
  /* Brand */
  --blue:        #1765BA;   /* brand primary */
  --blue-600:    #135AA8;   /* hover */
  --blue-700:    #0F4C8F;
  --blue-400:    #3D86D6;
  --navy:        #0F1F4F;   /* deep ink / dark sections */
  --navy-700:    #16285F;
  --navy-600:    #1F3A7A;

  /* Tints */
  --blue-tint:   #EAF2FB;
  --blue-tint-2: #DCEAF8;
  --blue-wash:   #F3F8FD;

  /* Neutrals */
  --canvas:      #FFFFFF;
  --surface:     #F7F9FC;
  --surface-2:   #EEF2F8;
  --warm:        #FAF9F6;
  --border:      #E4EAF2;
  --border-2:    #D5DEEA;

  /* Text */
  --ink:         #0F1F4F;
  --ink-2:       #3E4B66;
  --muted:       #6B7892;
  --on-dark:     #FFFFFF;
  --on-dark-2:   #B9C6E0;
  --on-dark-3:   #8294BC;

  /* Semantic */
  --good:        #1B8A56;
  --good-bg:     #E6F4EC;
  --warn:        #B5760A;
  --bad:         #C8412F;

  /* Radii */
  --r-xs: 8px;
  --r-sm: 12px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;
  --r-pill: 999px;

  /* Shadow */
  --sh-xs: 0 1px 2px rgba(15,31,79,.06);
  --sh-sm: 0 2px 8px rgba(15,31,79,.06);
  --sh-md: 0 12px 30px rgba(15,31,79,.08);
  --sh-lg: 0 28px 64px rgba(15,31,79,.14);
  --sh-blue: 0 14px 34px rgba(23,101,186,.28);

  /* Layout */
  --maxw: 1200px;
  --gutter: clamp(20px, 5vw, 48px);
  --nav-h: 74px;

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

/* ---- Reset ---- */
*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; scroll-padding-top:calc(var(--nav-h) + 16px); }
body{
  margin:0;
  font-family:'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  color:var(--ink);
  background:var(--canvas);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4,h5{ margin:0; line-height:1.1; letter-spacing:-.02em; font-weight:800; color:var(--ink); }
p{ margin:0; }
ul{ margin:0; }

/* ---- Layout helpers ---- */
.container{ width:100%; max-width:var(--maxw); margin-inline:auto; padding-inline:var(--gutter); }
.container-wide{ max-width:1320px; }
.section{ padding-block:clamp(64px, 9vw, 116px); }
.section-tight{ padding-block:clamp(48px, 6vw, 80px); }
.stack-sm > * + *{ margin-top:14px; }
.stack > * + *{ margin-top:22px; }
.center{ text-align:center; }

/* ---- Type scale ---- */
.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:'DM Mono', ui-monospace, monospace;
  font-size:12.5px; font-weight:500; letter-spacing:.14em; text-transform:uppercase;
  color:var(--blue);
}
.eyebrow::before{ content:""; width:18px; height:1.5px; background:var(--blue); display:inline-block; }
.eyebrow.on-dark{ color:var(--blue-400); }
.eyebrow.on-dark::before{ background:var(--blue-400); }
.eyebrow.center-line{ }

.display{ font-size:clamp(2.6rem, 5.4vw, 4rem); line-height:1.04; letter-spacing:-.03em; }
.h1{ font-size:clamp(2.2rem, 4.4vw, 3.3rem); line-height:1.06; letter-spacing:-.028em; }
.h2{ font-size:clamp(1.9rem, 3.4vw, 2.65rem); letter-spacing:-.025em; }
.h3{ font-size:clamp(1.35rem, 2vw, 1.6rem); letter-spacing:-.02em; }
.lead{ font-size:clamp(1.05rem, 1.4vw, 1.22rem); color:var(--ink-2); line-height:1.6; font-weight:500; }
.subtle{ color:var(--muted); }
.on-dark-text{ color:var(--on-dark); }
.on-dark-text .lead, .on-dark-text p{ color:var(--on-dark-2); }
.measure{ max-width:62ch; }
.measure-sm{ max-width:46ch; }

/* ---- Buttons ---- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  font-weight:700; font-size:15.5px; letter-spacing:-.01em;
  padding:14px 24px; border-radius:var(--r-pill); border:1.5px solid transparent;
  transition:transform .15s var(--ease), box-shadow .2s var(--ease), background .18s, color .18s, border-color .18s;
  white-space:nowrap; cursor:pointer;
}
.btn svg{ width:19px; height:19px; }
.btn:active{ transform:translateY(1px) scale(.99); }
.btn-primary{ background:var(--blue); color:#fff; box-shadow:var(--sh-blue); }
.btn-primary:hover{ background:var(--blue-600); transform:translateY(-2px); box-shadow:0 18px 40px rgba(23,101,186,.34); }
.btn-dark{ background:var(--navy); color:#fff; }
.btn-dark:hover{ background:var(--navy-700); transform:translateY(-2px); }
.btn-outline{ background:transparent; color:var(--ink); border-color:var(--border-2); }
.btn-outline:hover{ border-color:var(--blue); color:var(--blue); background:var(--blue-wash); }
.btn-ghost{ background:transparent; color:var(--blue); padding-inline:8px; }
.btn-ghost:hover{ color:var(--blue-700); gap:12px; }
.btn-on-dark{ background:#fff; color:var(--navy); }
.btn-on-dark:hover{ transform:translateY(-2px); box-shadow:0 18px 40px rgba(0,0,0,.28); }
.btn-outline-dark{ background:transparent; color:#fff; border-color:rgba(255,255,255,.32); }
.btn-outline-dark:hover{ border-color:#fff; background:rgba(255,255,255,.08); }
.btn-lg{ padding:17px 30px; font-size:16.5px; }
.btn-sm{ padding:10px 18px; font-size:14px; }
.btn-block{ width:100%; }

/* ---- Header ---- */
.site-header{
  position:fixed; top:0; left:0; right:0; z-index:90;
  height:var(--nav-h);
  display:flex; align-items:center;
  transition:background .3s, box-shadow .3s, border-color .3s;
  border-bottom:1px solid transparent;
}
.site-header.scrolled{
  background:rgba(255,255,255,.86);
  backdrop-filter:saturate(180%) blur(14px);
  -webkit-backdrop-filter:saturate(180%) blur(14px);
  border-bottom-color:var(--border);
  box-shadow:var(--sh-xs);
}
.nav{ display:flex; align-items:center; gap:18px; width:100%; }
.nav__logo{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav__logo img{ height:30px; width:auto; }
.nav__links{ display:flex; align-items:center; gap:4px; margin-left:18px; }
.nav__link{
  position:relative; padding:9px 14px; border-radius:var(--r-pill);
  font-size:14.5px; font-weight:600; color:var(--ink-2);
  transition:color .15s, background .15s;
}
.nav__link:hover{ color:var(--blue); background:var(--blue-wash); }
.nav__link.active{ color:var(--blue); }
.nav__spacer{ flex:1; }
.nav__actions{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.nav__login{ font-weight:700; font-size:14.5px; color:var(--ink); padding:9px 8px; display:inline-flex; align-items:center; gap:7px; }
.nav__login:hover{ color:var(--blue); }
.nav__burger{ display:none; width:44px; height:44px; border:none; background:transparent; border-radius:12px; align-items:center; justify-content:center; }
.nav__burger:hover{ background:var(--surface-2); }
.nav__burger span{ display:block; width:20px; height:2px; background:var(--ink); border-radius:2px; position:relative; transition:transform .25s, opacity .2s; }
.nav__burger span+span{ margin-top:5px; }
.nav__burger.open span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav__burger.open span:nth-child(2){ opacity:0; }
.nav__burger.open span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

/* mobile menu */
.mobile-menu{
  position:fixed; inset:var(--nav-h) 0 0 0; z-index:89;
  background:rgba(255,255,255,.98); backdrop-filter:blur(10px);
  padding:24px var(--gutter); display:flex; flex-direction:column; gap:6px;
  transform:translateY(-8px); opacity:0; pointer-events:none; transition:transform .25s, opacity .25s;
  overflow-y:auto;
}
.mobile-menu.open{ transform:translateY(0); opacity:1; pointer-events:auto; }
.mobile-menu a.m-link{ padding:15px 6px; font-size:18px; font-weight:700; border-bottom:1px solid var(--border); color:var(--ink); }
.mobile-menu .m-actions{ margin-top:22px; display:flex; flex-direction:column; gap:12px; }

/* ---- Cards ---- */
.card{
  background:var(--canvas); border:1px solid var(--border); border-radius:var(--r-lg);
  padding:28px; box-shadow:var(--sh-sm);
  transition:transform .25s var(--ease), box-shadow .25s var(--ease), border-color .2s;
}
.card-hover:hover{ transform:translateY(-4px); box-shadow:var(--sh-md); border-color:var(--border-2); }
.card-pad-lg{ padding:34px; }

/* icon chip */
.chip{
  width:54px; height:54px; border-radius:16px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  background:var(--blue-tint); color:var(--blue);
}
.chip svg{ width:26px; height:26px; }
.chip-navy{ background:var(--navy); color:#fff; }
.chip-sm{ width:42px; height:42px; border-radius:12px; }
.chip-sm svg{ width:21px; height:21px; }

/* ---- Pills / badges ---- */
.pill{
  display:inline-flex; align-items:center; gap:7px;
  padding:7px 14px; border-radius:var(--r-pill);
  font-size:13px; font-weight:600; background:var(--blue-tint); color:var(--blue-700);
}
.pill-line{ background:transparent; border:1px solid var(--border-2); color:var(--ink-2); }
.pill-dot{ width:7px; height:7px; border-radius:50%; background:var(--good); }

/* ---- Grids ---- */
.grid{ display:grid; gap:24px; }
.g-2{ grid-template-columns:repeat(2,1fr); }
.g-3{ grid-template-columns:repeat(3,1fr); }
.g-4{ grid-template-columns:repeat(4,1fr); }
.split{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(32px,5vw,72px); align-items:center; }
.split-rev .split__media{ order:-1; }

/* ---- Section heading block ---- */
.sec-head{ max-width:660px; }
.sec-head.center{ margin-inline:auto; }
.sec-head .h2{ margin-top:16px; }
.sec-head .lead{ margin-top:16px; }

/* ---- Placeholder media (striped slot) ---- */
.ph{
  position:relative; border-radius:var(--r-lg); overflow:hidden;
  background:
    repeating-linear-gradient(135deg, var(--surface) 0 13px, var(--blue-wash) 13px 26px);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  min-height:120px;
}
.ph__label{
  font-family:'DM Mono', monospace; font-size:12px; color:var(--muted);
  background:var(--canvas); padding:6px 12px; border-radius:var(--r-pill);
  border:1px solid var(--border); letter-spacing:.02em; box-shadow:var(--sh-xs);
}
.ph-dark{ background:repeating-linear-gradient(135deg, var(--navy-700) 0 13px, var(--navy-600) 13px 26px); border-color:rgba(255,255,255,.1); }
.ph-dark .ph__label{ background:var(--navy); color:var(--on-dark-2); border-color:rgba(255,255,255,.14); }

/* ---- Dividers / dark sections ---- */
.bg-surface{ background:var(--surface); }
.bg-warm{ background:var(--warm); }
.bg-wash{ background:var(--blue-wash); }
.bg-navy{ background:var(--navy); color:var(--on-dark); }
.bg-navy h1,.bg-navy h2,.bg-navy h3,.bg-navy h4{ color:#fff; }
.bg-blue{ background:var(--blue); color:#fff; }
.bg-blue h1,.bg-blue h2,.bg-blue h3{ color:#fff; }

/* ---- Feature list with checks ---- */
.checklist{ list-style:none; padding:0; display:flex; flex-direction:column; gap:14px; }
.checklist li{ display:flex; gap:12px; align-items:flex-start; font-weight:500; color:var(--ink-2); }
.checklist .tick{ flex-shrink:0; width:24px; height:24px; border-radius:50%; background:var(--good-bg); color:var(--good); display:flex; align-items:center; justify-content:center; margin-top:1px; }
.checklist .tick svg{ width:14px; height:14px; }
.checklist.on-dark li{ color:var(--on-dark-2); }

/* ---- Footer ---- */
.site-footer{ background:var(--navy); color:var(--on-dark-2); padding-block:clamp(56px,7vw,84px) 32px; }
.footer-grid{ display:grid; grid-template-columns:1.6fr 1fr 1fr 1fr; gap:40px; }
.footer-brand img{ height:30px; filter:brightness(0) invert(1); }
.footer-col h5{ color:#fff; font-size:13px; letter-spacing:.06em; text-transform:uppercase; font-weight:700; margin-bottom:18px; }
.footer-col a{ display:block; padding:7px 0; color:var(--on-dark-2); font-size:14.5px; font-weight:500; transition:color .15s, padding-left .15s; }
.footer-col a:hover{ color:#fff; padding-left:4px; }
.footer-bottom{ margin-top:48px; padding-top:26px; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; align-items:center; gap:20px; flex-wrap:wrap; font-size:13.5px; color:var(--on-dark-3); }
.footer-bottom a{ color:var(--on-dark-3); }
.footer-bottom a:hover{ color:#fff; }
.footer-social{ display:flex; gap:10px; }
.footer-social a{ width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; color:var(--on-dark-2); }
.footer-social a:hover{ background:rgba(255,255,255,.08); color:#fff; border-color:rgba(255,255,255,.3); }
.footer-social svg{ width:17px; height:17px; }

/* ---- Cookie consent ---- */
.cookie{
  position:fixed; left:50%; bottom:22px; transform:translateX(-50%) translateY(140%);
  z-index:120; width:min(680px, calc(100vw - 32px));
  background:var(--canvas); border:1px solid var(--border); border-radius:var(--r-lg);
  box-shadow:var(--sh-lg); padding:22px 24px;
  display:grid; grid-template-columns:1fr auto; gap:18px 24px; align-items:center;
  transition:transform .4s var(--ease), opacity .4s; opacity:0;
}
.cookie.show{ transform:translateX(-50%) translateY(0); opacity:1; }
.cookie__title{ font-weight:800; font-size:15.5px; margin-bottom:5px; }
.cookie__text{ font-size:13.5px; color:var(--muted); line-height:1.5; }
.cookie__text a{ color:var(--blue); font-weight:600; }
.cookie__actions{ display:flex; gap:10px; align-items:center; }

/* ---- Demo / auth dock (floating dev control) ---- */
.demo-dock{
  position:fixed; left:18px; bottom:18px; z-index:115;
  background:var(--navy); color:#fff; border-radius:var(--r-pill);
  padding:9px 16px; display:flex; align-items:center; gap:12px;
  box-shadow:var(--sh-lg); font-size:12.5px; font-weight:600;
  max-width:calc(100vw - 36px);
}
.demo-dock .dd-label{ color:var(--on-dark-2); white-space:nowrap; }
.demo-dock .dd-state{ white-space:nowrap; }
.auth-toggle{ width:40px; height:22px; border-radius:999px; background:rgba(255,255,255,.25); border:none; position:relative; transition:background .2s; flex-shrink:0; }
.auth-toggle.on{ background:var(--blue-400); }
.auth-toggle span{ position:absolute; top:2px; left:2px; width:18px; height:18px; border-radius:50%; background:#fff; transition:transform .2s; }
.auth-toggle.on span{ transform:translateX(18px); }
@media (max-width:600px){ .demo-dock{ left:12px; bottom:12px; font-size:11.5px; padding:8px 12px; gap:9px; } .demo-dock .dd-label{ display:none; } }

/* redirect overlay */
.redirect-overlay{
  position:fixed; inset:0; z-index:200; background:var(--navy); color:#fff;
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:24px;
  opacity:0; pointer-events:none; transition:opacity .3s;
}
.redirect-overlay.show{ opacity:1; pointer-events:auto; }
.redirect-overlay img{ height:34px; filter:brightness(0) invert(1); }
.spinner{ width:42px; height:42px; border-radius:50%; border:3px solid rgba(255,255,255,.2); border-top-color:#fff; animation:spin .8s linear infinite; }
@keyframes spin{ to{ transform:rotate(360deg); } }

/* ---- Accordion ---- */
.acc__item{ border:1px solid var(--border); border-radius:var(--r-md); background:var(--canvas); overflow:hidden; transition:border-color .2s, box-shadow .2s; }
.acc__item + .acc__item{ margin-top:12px; }
.acc__item.open{ border-color:var(--border-2); box-shadow:var(--sh-sm); }
.acc__q{ width:100%; text-align:left; background:none; border:none; padding:20px 24px; display:flex; align-items:center; justify-content:space-between; gap:18px; font-size:16.5px; font-weight:700; color:var(--ink); }
.acc__q:hover{ color:var(--blue); }
.acc__icon{ flex-shrink:0; width:26px; height:26px; border-radius:50%; background:var(--blue-tint); color:var(--blue); display:flex; align-items:center; justify-content:center; transition:transform .3s var(--ease), background .2s; }
.acc__item.open .acc__icon{ transform:rotate(45deg); background:var(--blue); color:#fff; }
.acc__a{ max-height:0; overflow:hidden; transition:max-height .35s var(--ease); }
.acc__a__inner{ padding:0 24px 22px; color:var(--ink-2); font-weight:500; line-height:1.6; max-width:64ch; }

/* ---- Stats ---- */
.stat__num{ font-size:clamp(2.6rem,4.6vw,3.6rem); font-weight:800; letter-spacing:-.03em; line-height:1; color:#fff; }
.stat__num .unit{ color:var(--blue-400); }
.stat__label{ margin-top:12px; color:var(--on-dark-2); font-weight:500; font-size:15px; }

/* ---- Testimonial ---- */
.tcarousel{ position:relative; overflow:hidden; }
.ttrack{ display:flex; transition:transform .5s var(--ease); }
.tslide{ min-width:100%; padding:4px; }
.tcard{ background:var(--canvas); border:1px solid var(--border); border-radius:var(--r-xl); padding:clamp(28px,4vw,48px); box-shadow:var(--sh-md); }
.tquote{ font-size:clamp(1.25rem,2.2vw,1.65rem); font-weight:600; line-height:1.45; letter-spacing:-.02em; color:var(--ink); }
.tquote::before{ content:"\201C"; }
.tquote::after{ content:"\201D"; }
.tauthor{ display:flex; align-items:center; gap:14px; margin-top:28px; }
.tavatar{ width:52px; height:52px; border-radius:50%; background:var(--blue-tint); color:var(--blue); display:flex; align-items:center; justify-content:center; font-weight:800; font-size:18px; flex-shrink:0; }
.tdots{ display:flex; gap:8px; justify-content:center; margin-top:28px; }
.tdot{ width:8px; height:8px; border-radius:50%; background:var(--border-2); border:none; transition:width .25s, background .25s; padding:0; }
.tdot.active{ width:26px; background:var(--blue); border-radius:999px; }
.tnav{ display:flex; gap:10px; }
.tnav button{ width:46px; height:46px; border-radius:50%; border:1px solid var(--border-2); background:var(--canvas); color:var(--ink); display:flex; align-items:center; justify-content:center; transition:all .18s; }
.tnav button:hover{ border-color:var(--blue); color:var(--blue); background:var(--blue-wash); }

/* ---- Steps / how it works ---- */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; position:relative; }
.step{ position:relative; }
.step__num{ width:46px; height:46px; border-radius:50%; background:var(--canvas); border:1.5px solid var(--border-2); color:var(--blue); font-weight:800; font-size:18px; display:flex; align-items:center; justify-content:center; position:relative; z-index:2; }
.step__connector{ position:absolute; top:23px; left:46px; right:-24px; height:1.5px; background:repeating-linear-gradient(90deg, var(--border-2) 0 6px, transparent 6px 12px); z-index:1; }
.step:last-child .step__connector{ display:none; }
.step h3{ margin-top:22px; font-size:1.15rem; }
.step p{ margin-top:10px; color:var(--muted); font-weight:500; font-size:14.5px; }

/* ---- Comparison table ---- */
.cmp{ width:100%; border-collapse:separate; border-spacing:0; }
.cmp th, .cmp td{ padding:18px 22px; text-align:left; }
.cmp thead th{ font-size:13px; text-transform:uppercase; letter-spacing:.06em; color:var(--muted); font-weight:700; }
.cmp thead th.col-meadow{ color:#fff; }
.cmp .col-meadow{ background:var(--blue); color:#fff; }
.cmp thead .col-meadow{ border-radius:var(--r-md) var(--r-md) 0 0; }
.cmp tbody td:first-child{ font-weight:600; color:var(--ink); }
.cmp tbody tr td{ border-top:1px solid var(--border); }
.cmp tbody tr:last-child .col-meadow{ border-radius:0 0 var(--r-md) var(--r-md); }
.cmp .yes{ color:#fff; }
.cmp .no{ color:var(--muted); }
.cmp td.col-other{ color:var(--ink-2); font-weight:500; }
.cmp svg{ width:20px; height:20px; }

/* ---- Logos / trust strip ---- */
.trust{ display:flex; align-items:center; justify-content:center; gap:clamp(28px,5vw,64px); flex-wrap:wrap; opacity:.7; }
.trust .ph-logo{ width:118px; height:34px; border-radius:8px; background:repeating-linear-gradient(135deg,var(--surface-2) 0 8px,var(--surface) 8px 16px); display:flex; align-items:center; justify-content:center; font-family:'DM Mono',monospace; font-size:10px; color:var(--muted); }

/* ---- Payment method tiles ---- */
.pay-tile{ text-align:center; padding:30px 20px; }
.pay-logo{ height:46px; display:flex; align-items:center; justify-content:center; margin-bottom:18px; }
.pay-logo .mark{ font-weight:800; font-size:24px; letter-spacing:-.02em; }

/* ---- Legal pages ---- */
.legal-layout{ display:grid; grid-template-columns:260px 1fr; gap:56px; align-items:start; }
.legal-toc{ position:sticky; top:calc(var(--nav-h) + 24px); }
.legal-toc h5{ font-size:12px; text-transform:uppercase; letter-spacing:.08em; color:var(--muted); margin-bottom:14px; font-weight:700; }
.legal-toc a{ display:block; padding:8px 14px; font-size:14px; font-weight:600; color:var(--ink-2); border-left:2px solid var(--border); transition:all .15s; }
.legal-toc a:hover{ color:var(--blue); border-color:var(--blue); background:var(--blue-wash); }
.legal-toc a.active{ color:var(--blue); border-color:var(--blue); }
.legal-body h2{ font-size:1.5rem; margin-top:8px; scroll-margin-top:calc(var(--nav-h) + 24px); }
.legal-body h2 + p{ margin-top:14px; }
.legal-body section + section{ margin-top:48px; }
.legal-body p, .legal-body li{ color:var(--ink-2); font-weight:500; line-height:1.7; }
.legal-body p + p{ margin-top:14px; }
.legal-body ul{ margin-top:14px; padding-left:22px; display:flex; flex-direction:column; gap:8px; }
.legal-body h3{ font-size:1.12rem; margin-top:26px; }

/* ---- Form ---- */
.field label{ display:block; font-size:13.5px; font-weight:700; color:var(--ink-2); margin-bottom:8px; }
.field input, .field select, .field textarea{
  width:100%; font-family:inherit; font-size:15px; color:var(--ink); font-weight:500;
  padding:13px 15px; border:1.5px solid var(--border-2); border-radius:var(--r-sm); background:var(--canvas);
  transition:border-color .15s, box-shadow .15s; outline:none;
}
.field textarea{ resize:vertical; min-height:130px; }
.field input:focus, .field select:focus, .field textarea:focus{ border-color:var(--blue); box-shadow:0 0 0 4px rgba(23,101,186,.12); }
.field input.invalid, .field textarea.invalid, .field select.invalid{ border-color:var(--bad); box-shadow:0 0 0 4px rgba(200,65,47,.1); }
.field .err{ color:var(--bad); font-size:12.5px; margin-top:6px; font-weight:600; display:none; }
.field.show-err .err{ display:block; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.form-success{ display:none; text-align:center; padding:40px 20px; }
.form-success.show{ display:block; }
.success-ring{ width:72px; height:72px; border-radius:50%; background:var(--good-bg); color:var(--good); display:flex; align-items:center; justify-content:center; margin:0 auto 22px; }
.success-ring svg{ width:34px; height:34px; }

/* ---- App download ---- */
.store-badge{ display:inline-flex; align-items:center; gap:11px; padding:11px 18px; border-radius:14px; background:var(--navy); color:#fff; transition:transform .18s, box-shadow .18s; }
.store-badge:hover{ transform:translateY(-2px); box-shadow:var(--sh-md); }
.store-badge svg{ width:26px; height:26px; }
.store-badge .small{ font-size:10px; opacity:.8; line-height:1; font-weight:500; }
.store-badge .big{ font-size:16px; font-weight:700; line-height:1.2; letter-spacing:-.01em; }
.qr{ width:118px; height:118px; border-radius:16px; background:#fff; border:1px solid var(--border); padding:10px; display:flex; align-items:center; justify-content:center; }

/* ---- Error pages ---- */
.error-wrap{ min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:120px var(--gutter) 60px; }
.error-code{ font-size:clamp(6rem,18vw,12rem); font-weight:800; line-height:.9; letter-spacing:-.04em; background:linear-gradient(135deg,var(--blue),var(--navy)); -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent; }

/* ---- Scroll reveal ---- */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
.reveal-d1{ transition-delay:.08s; }
.reveal-d2{ transition-delay:.16s; }
.reveal-d3{ transition-delay:.24s; }
.reveal-d4{ transition-delay:.32s; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  html{ scroll-behavior:auto; }
}
/* Environments where compositing is frozen (offscreen iframes / print):
   skip all interpolation so nothing strands in a hidden pre-animation state. */
html.no-anim *, html.no-anim *::before, html.no-anim *::after{
  transition:none !important;
  animation:none !important;
}
html.no-anim .reveal{ opacity:1 !important; transform:none !important; }
html.no-anim .cookie.show{ transform:translateX(-50%) translateY(0) !important; opacity:1 !important; }

/* ---- Hero ---- */
.page-hero{ position:relative; padding-top:calc(var(--nav-h) + 64px); padding-bottom:56px; background:linear-gradient(180deg,var(--blue-wash),var(--canvas)); overflow:hidden; }
.page-hero .container{ position:relative; }
.page-hero__glow{ position:absolute; top:-180px; right:-140px; width:520px; height:520px; border-radius:50%; background:radial-gradient(circle, rgba(23,101,186,.13), transparent 66%); pointer-events:none; }
.hero{ position:relative; padding-top:calc(var(--nav-h) + 56px); padding-bottom:80px; overflow:hidden; background:linear-gradient(180deg,var(--blue-wash) 0%, var(--canvas) 72%); }
.hero__glow{ position:absolute; top:-200px; right:-160px; width:620px; height:620px; border-radius:50%; background:radial-gradient(circle, rgba(23,101,186,.16), transparent 66%); pointer-events:none; }
.hero__grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(36px,5vw,64px); align-items:center; position:relative; }
.hero h1{ margin-top:22px; }
.hero .lead{ margin-top:22px; }
.hero__cta{ margin-top:34px; display:flex; gap:14px; flex-wrap:wrap; }
.hero__micro{ margin-top:26px; display:flex; align-items:center; gap:18px; flex-wrap:wrap; color:var(--muted); font-size:13.5px; font-weight:600; }
.hero__micro .dot{ width:5px; height:5px; border-radius:50%; background:var(--border-2); }

/* mock dashboard in hero */
.mock{ background:var(--canvas); border:1px solid var(--border); border-radius:var(--r-xl); box-shadow:var(--sh-lg); overflow:hidden; }
.mock__bar{ display:flex; align-items:center; gap:7px; padding:14px 18px; border-bottom:1px solid var(--border); background:var(--surface); }
.mock__bar i{ width:11px; height:11px; border-radius:50%; background:var(--border-2); display:block; }
.float-card{ position:absolute; background:var(--canvas); border:1px solid var(--border); border-radius:var(--r-md); box-shadow:var(--sh-md); padding:14px 16px; display:flex; align-items:center; gap:12px; }

/* ---- Utility ---- */
.flex{ display:flex; } .items-center{ align-items:center; } .justify-between{ justify-content:space-between; }
.gap-sm{ gap:10px; } .gap-md{ gap:18px; } .gap-lg{ gap:28px; }
.wrap{ flex-wrap:wrap; }
.mt-sm{ margin-top:14px; } .mt-md{ margin-top:26px; } .mt-lg{ margin-top:42px; }
.hide-mobile{ } .show-mobile{ display:none !important; }
.text-blue{ color:var(--blue); }
.relative{ position:relative; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px){
  .footer-grid{ grid-template-columns:1.4fr 1fr 1fr; }
  .footer-brand{ grid-column:1 / -1; margin-bottom:8px; }
  .legal-layout{ grid-template-columns:1fr; gap:32px; }
  .legal-toc{ position:static; }
}
@media (max-width: 900px){
  .nav__links{ display:none; }
  .nav__burger{ display:flex; }
  .nav__login.hide-mobile{ display:none; }
  .nav__actions .btn.hide-mobile{ display:none; }
  .hero__grid{ grid-template-columns:1fr; }
  .hero__media{ order:-1; }
  .split{ grid-template-columns:1fr; gap:36px; }
  .split-rev .split__media{ order:0; }
  .g-4{ grid-template-columns:repeat(2,1fr); }
  .g-3{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:1fr 1fr; gap:32px 24px; }
  .step__connector{ display:none; }
  .cmp-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
  .cmp{ min-width:560px; }
}
@media (max-width: 600px){
  :root{ --nav-h:64px; }
  .g-2,.g-3,.g-4{ grid-template-columns:1fr; }
  .steps{ grid-template-columns:1fr; }
  .form-row{ grid-template-columns:1fr; }
  .cookie{ grid-template-columns:1fr; gap:14px; }
  .cookie__actions{ flex-wrap:wrap; }
  .cookie__actions .btn{ flex:1; }
  .footer-grid{ grid-template-columns:1fr 1fr; }
  .hide-mobile{ display:none !important; }
  .show-mobile{ display:revert !important; }
  .hero__cta .btn{ width:100%; }
  .tnav{ display:none; }
  .display{ font-size:clamp(2.2rem,9vw,2.8rem); }
}
