/* =========================================================
   trck.net — light theme design system
   ========================================================= */

:root{
  /* trck.net brand palette — emerald green system */
  --paper: #FFFFFF;
  --paper-raised: #F8FAFA;
  --paper-sunk: #E5F3EE;
  --ink: #17212B;
  --ink-soft: #526273;
  --ink-faint: #7C8A97;
  --line: #CFE1DB;
  --line-soft: #DDEDE7;

  --navy: #071923;
  --navy-soft: #06181F;
  --brand: #10B981;
  --brand-strong: #047857;
  --accent: #34D399;
  --accent-soft: #E5F3EE;
  --accent-pale: #DDF7EC;
  --dark-green: #065F46;

  --verified: #10B981;
  --verified-tint: #DDF7EC;
  --risky: #B8842C;
  --risky-tint: #F6EFDC;
  --invalid: #C1452F;
  --invalid-tint: #F8E5DF;

  --shadow-sm: 0 1px 2px rgba(6,24,31,0.05);
  --shadow-md: 0 10px 26px -10px rgba(6,24,31,0.14);
  --shadow-lg: 0 28px 64px -18px rgba(6,24,31,0.22);

  --maxw: 1180px;
  --radius: 16px;
  --ease: cubic-bezier(.22,.9,.32,1);
  --bounce: cubic-bezier(.34,1.56,.64,1);
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3{
  font-family:'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.02em;
  color: var(--ink);
}
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family: inherit; cursor:pointer; }
img{ max-width:100%; display:block; }
.mono{ font-family:'IBM Plex Mono', monospace; }

.skip-link{
  position:absolute; left:-999px; top:auto;
  background:var(--ink); color:#fff; padding:10px 16px; border-radius:6px; z-index:999;
}
.skip-link:focus{ left:16px; top:16px; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
section{ padding: 76px 0; position:relative; scroll-margin-top: 88px; }
@media (max-width: 720px){
  section{ padding: 72px 0; }
  .wrap{ padding: 0 20px; }
}

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- scroll reveal ---------- */
[data-reveal]{
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--rd, 0ms);
}
[data-reveal].in{
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce){
  [data-reveal]{ transform:none; transition: opacity .3s ease; }
}

/* ---------- on-load pop-in (hero) ---------- */
.pop-el{
  opacity:0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
  transition-delay: var(--pd, 0ms);
}
.pop-el.popped{ opacity:1; transform:none; }

.pop-bounce{
  opacity:0; transform: translateY(-16px) scale(0.92);
  transition: opacity .55s var(--bounce), transform .55s var(--bounce);
  transition-delay: var(--pd, 0ms);
}
.pop-bounce.popped{ opacity:1; transform:none; }

.checks-pop li{
  opacity:0; transform: translateY(-12px);
  transition: opacity .45s var(--bounce), transform .45s var(--bounce);
}
.checks-pop.popped li{ opacity:1; transform:none; }
.checks-pop.popped li:nth-child(1){ transition-delay: 360ms; }
.checks-pop.popped li:nth-child(2){ transition-delay: 470ms; }
.checks-pop.popped li:nth-child(3){ transition-delay: 580ms; }

.eyebrow-envelope{
  width:16px; height:13px; color: var(--brand); margin-right:2px; flex-shrink:0;
}

@media (prefers-reduced-motion: reduce){
  .pop-el, .pop-bounce, .checks-pop li{ transform:none !important; transition: opacity .35s ease !important; }
}

/* ---------- NAV (wide hero header, compact after scroll) ---------- */
header{
  position: fixed; top:0; left:0; right:0; z-index: 100;
  background: transparent;
  padding: 24px 0 12px;
  transition: padding .3s var(--ease);
}
.nav-pill{
  position:relative;
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  box-shadow: none;
  transition: padding .3s var(--ease), background .3s, border-color .3s, box-shadow .3s, backdrop-filter .3s;
}
header.scrolled{ padding: 10px 0 6px; }
header.scrolled .nav-pill{
  padding: 10px 10px 10px 22px;
  background: rgba(255,255,255,0.78);
  border-color: rgba(16,185,129,0.12);
  box-shadow: 0 16px 44px rgba(16,185,129,0.16), inset 0 1px 0 rgba(255,255,255,0.9);
  backdrop-filter: blur(18px);
}
.logo{
  font-family:'Fraunces', Georgia, serif; font-weight:700; font-size: 1.68rem;
  display:flex; align-items:center; gap:10px; color: var(--ink); flex-shrink:0;
  transition: font-size .3s var(--ease);
}
.logo .dot{ color: var(--accent); }
.logo-mark{ width: 40px; height: 40px; flex-shrink: 0; display:block; transition: width .3s var(--ease), height .3s var(--ease), transform .3s var(--ease); }
.logo:hover .logo-mark{ transform: rotate(-6deg); }
.footer-brand .logo{ font-size: 1.55rem; }
.nav-links{ display:flex; gap: 6px; align-items:center; }
.nav-links > a{
  font-size: 0.92rem; color: var(--ink); font-weight:500; transition: background .2s, color .2s;
  padding: 9px 13px; border-radius: 8px; white-space:nowrap;
}
.nav-links > a:hover{ color: var(--brand-strong); background: rgba(16,185,129,0.06); }
.nav-active{ background: transparent; color: var(--brand-strong) !important; font-weight:600; position:relative; }
.nav-active::after{ content:''; position:absolute; left:13px; right:13px; bottom:2px; height:2px; border-radius:2px; background: var(--brand); }
.nav-cta{
  background: var(--navy);
  color: #fff; flex-shrink:0;
  padding: 12px 27px; border-radius: 999px; font-size: 0.88rem; font-weight:600;
  display:inline-flex; align-items:center; gap:8px;
  border:none; box-shadow: 0 10px 22px -8px rgba(6,24,31,0.38);
  transition: transform .2s, box-shadow .2s, background .2s, padding .3s var(--ease);
}
.nav-arrow{ width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:2.2; stroke-linecap:round; stroke-linejoin:round; flex:0 0 18px; display:block; }
.nav-cta:hover{ transform: translateY(-1px); background: #12313a; box-shadow: 0 14px 28px -6px rgba(6,24,31,0.5); }
header.scrolled .logo{ font-size: 1.42rem; }
header.scrolled .logo-mark{ width: 32px; height: 32px; }
header.scrolled .nav-cta{ padding: 12px 22px; }
.nav-toggle{
  display:none; background:none; border:none; padding:6px;
  flex-direction:column; gap:5px; flex-shrink:0;
}
.nav-toggle span{ width:24px; height:2px; background: var(--ink); display:block; transition: transform .2s, opacity .2s; }

@media (max-width: 1040px){
  .nav-pill{
    flex-wrap:wrap;
  }
  .nav-links{
    position:absolute; top:100%; left:0; right:0; margin-top:10px;
    background: var(--paper-raised);
    flex-direction:column; align-items:stretch;
    padding: 14px; gap: 4px;
    border: 1px solid var(--line);
    border-radius: 20px;
    display:none;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open{ display:flex; }
  .nav-links > a{ width:100%; }
  .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
}

@media (max-width: 1040px){
  header.scrolled .nav-pill{
    background: #FFFFFF;
    backdrop-filter: none;
    box-shadow: 0 6px 20px rgba(16,185,129,0.14), inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(16,185,129,0.16);
  }
}

@media (max-width: 640px){
  header{ padding-top: 18px; }
  header.scrolled{ padding-top: 8px; }
  .logo{ font-size: 1.42rem; }
  .logo-mark{ width: 34px; height: 34px; }
}

/* ---------- HERO 2 (recreated dashboard illustration) ---------- */
.top-wrap{
  position:relative;
  overflow:hidden;
  background: linear-gradient(105deg, #FFFFFF 0%, #F8FEFC 47%, #DDF6E9 100%);
}
.top-wrap::before{
  content:''; position:absolute; inset:0; z-index:0; pointer-events:none;
  background:
    radial-gradient(ellipse 920px 820px at 96% 52%, rgba(16,185,129,0.28), transparent 69%),
    radial-gradient(ellipse 680px 620px at 100% 0%, rgba(52,211,153,0.25), transparent 67%),
    linear-gradient(105deg, transparent 0%, transparent 43%, rgba(221,246,233,0.56) 72%, rgba(194,239,215,0.72) 100%);
}
.top-wrap::after{
  content:''; position:absolute; z-index:0; pointer-events:none;
  width:min(980px, 70vw); height:1240px; left:28%; top:-690px;
  border-radius:50%; transform:rotate(10deg);
  background:rgba(255,255,255,0.88);
  box-shadow:34px 0 90px rgba(255,255,255,0.3), inset -20px -20px 50px rgba(16,185,129,0.05);
}
.hero2{
  position:relative; overflow:hidden; padding: 118px 0 0;
}
.hero2::before{
  content:''; position:absolute; z-index:0; pointer-events:none;
  width:min(760px, 62vw); height:240px; left:25%; bottom:-106px;
  border-radius:50%; transform:rotate(-5deg);
  background:radial-gradient(ellipse, rgba(16,185,129,0.28) 0%, rgba(52,211,153,0.14) 46%, transparent 72%);
  filter:blur(8px);
}
.hero2::after{
  content:''; position:absolute; z-index:0; pointer-events:none;
  width:min(600px, 52vw); height:150px; left:31%; bottom:-76px;
  border:2px solid rgba(16,185,129,0.2); border-bottom-color:rgba(16,185,129,0.04);
  border-radius:50%; transform:rotate(-5deg);
  box-shadow:0 -12px 32px rgba(16,185,129,0.1);
}
@media (max-width: 640px){ .hero2{ padding-top: 108px; } }
.hero2 > *{ position:relative; z-index:1; }
.hero2-blob{ position:absolute; border-radius:50%; filter: blur(60px); pointer-events:none; }
.hero2-blob.a{ width:460px; height:460px; top:-140px; right:2%; background: radial-gradient(circle, rgba(16,185,129,0.26), transparent 70%); animation: blobMove 18s ease-in-out infinite; }
.hero2-blob.b{ width:420px; height:420px; bottom:-160px; right:10%; background: radial-gradient(circle, rgba(16,185,129,0.22), transparent 70%); animation: blobMove 20s ease-in-out infinite reverse; }
.hero2-blob.c{ width:260px; height:260px; top:30%; right:22%; background: radial-gradient(circle, rgba(52,211,153,0.16), transparent 70%); }
.hero2-blob.d{ width:480px; height:190px; bottom:-46px; left:27%; filter:blur(24px); background:radial-gradient(ellipse, rgba(52,211,153,0.22), transparent 72%); }
@media (prefers-reduced-motion: reduce){ .hero2-blob{ animation:none; } }
@media (max-width: 640px){
  .top-wrap::after{ width:700px; height:940px; left:5%; top:-500px; opacity:0.76; }
  .hero2::before{ width:620px; height:190px; left:-4%; bottom:-84px; }
  .hero2::after{ width:500px; height:120px; left:8%; bottom:-62px; }
}

.hero2 .wrap{ max-width: 1340px; }
.hero2-grid{
  display:grid; grid-template-columns: 0.82fr 1.38fr; gap: 16px; align-items:end;
  position:relative; z-index:1;
}
@media (max-width: 980px){ .hero2-grid{ grid-template-columns: 1fr; align-items:start; } }
.hero2-copy{ padding-bottom: 56px; }
@media (max-width: 980px){ .hero2-copy{ padding-bottom:0; } }
.hero2-visual{ margin-right: -80px; margin-bottom: -1px; align-self:end; justify-self:end; }
@media (max-width: 1200px){ .hero2-visual{ margin-right: 0; } }
@media (max-width: 980px){ .hero2-visual{ margin-bottom:0; } }

.hero2-title{ font-size: clamp(2.3rem, 4.6vw, 3.4rem); line-height:1.1; }
.hero2-title .ink{ color: #0B1220; display:block; }
.hero2-title .blue{ color: var(--brand-strong); display:block; margin-top:2px; }
.hero2-sub{ margin-top: 22px; font-size: 1.08rem; color: #4B5670; max-width: 46ch; }
.hero2-checks{ display:flex; flex-direction:column; gap: 10px; margin-top: 24px; }
.hero2-checks li{ display:flex; align-items:center; gap:10px; font-size: 0.98rem; color: #33405C; }
.tick2{ width:20px; height:20px; border-radius:50%; background: var(--brand); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.tick2 svg{ width:11px; height:11px; }
.hero2-actions{ display:flex; align-items:center; gap: 22px; margin-top: 32px; flex-wrap:wrap; }
.btn-hero2-primary{
  min-height:52px; background:linear-gradient(135deg, #34D399 0%, #10B981 52%, #047857 100%); color:#fff; padding: 14px 26px; border-radius:999px; font-weight:600;
  display:inline-flex; align-items:center; gap:10px; transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 12px 26px -8px rgba(16,185,129,0.5);
}
.btn-hero2-primary:hover{ transform: translateY(-2px); background:linear-gradient(135deg, #6EE7B7 0%, #10B981 52%, #047857 100%); box-shadow:0 16px 30px -8px rgba(16,185,129,0.62); }
.btn-hero2-play{ display:inline-flex; align-items:center; gap:10px; color:#12173D; font-weight:600; font-size:0.96rem; }
.play-circle{
  width:34px; height:34px; border-radius:50%; background: var(--accent-pale); color: var(--brand-strong);
  display:flex; align-items:center; justify-content:center; font-size:0.7rem;
}
.btn-hero2-play{
  min-height:52px; padding:8px 17px 8px 9px; border:1px solid rgba(16,185,129,0.2);
  border-radius:999px; background:rgba(221,247,236,0.56); border-color:rgba(16,185,129,0.42);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  box-shadow:0 10px 24px -12px rgba(6,24,31,0.42), inset 0 1px 0 rgba(255,255,255,0.82), inset 0 -1px 0 rgba(16,185,129,0.12);
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.btn-hero2-play:hover{ transform:translateY(-2px); border-color:rgba(4,120,87,0.66); background:rgba(187,239,216,0.78); box-shadow:0 14px 28px -12px rgba(6,24,31,0.46), inset 0 1px 0 rgba(255,255,255,0.9); }
@media (max-width: 640px){
  .hero2-actions{ flex-direction:column; align-items:flex-start; gap:16px; }
}

.hero2-visual{ position:relative; }
@media (max-width: 980px){ .hero2-visual{ margin-top: 36px; } }
@media (max-width: 640px){ .hero2-visual{ display:none; } }
.hero2-connector{ position:absolute; inset:0; width:100%; height:100%; z-index:0; }
@media (max-width: 780px){ .hero2-connector{ display:none; } }
.hero2-svg{ width:100%; height:auto; display:block; }

.hf-card{
  position:absolute; left:-36px; display:flex; align-items:center; gap:9px;
  background:#fff; border-radius:12px; padding: 9px 13px; box-shadow: var(--shadow-lg);
  z-index:2; animation: floaty 6s ease-in-out infinite; white-space:nowrap;
}
.hf-valid{ top:2%; animation-delay:0s; }
.hf-invalid{ top:23%; animation-delay:0.6s; }
.hf-risky{ top:44%; animation-delay:1.2s; }
.hf-disposable{ top:65%; animation-delay:1.8s; }
@media (max-width: 780px){ .hf-card{ position:relative; left:auto; top:auto; margin-bottom:8px; animation:none; } .hf-disposable{ display:none; } }
@media (max-width: 640px){ .hf-card{ display:none; } }
.hf-ic{
  position:relative; width:34px; height:34px; border-radius:9px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.hf-ic svg:first-child{ width:18px; height:15px; }
.hf-ic.green{ background:#22C55E; }
.hf-ic.red{ background:#EF4444; }
.hf-ic.amber{ background:#F59E0B; }
.hf-ic.gray{ background:#6B7280; }
.hf-badge{ position:absolute; right:-5px; bottom:-5px; width:13px; height:13px; }
.hf-k{ font-size: 0.85rem; font-weight:700; color:#12173D; }
.hf-v{ font-size: 0.72rem; color:#6B7280; margin-top:1px; }

.hf-roi{
  position:absolute; top:2%; right:4%; z-index:2; display:flex; align-items:center; gap:10px;
  background:#fff; border-radius:12px; padding:10px 16px; box-shadow: var(--shadow-lg);
  animation: floaty 7s ease-in-out infinite; animation-delay:0.4s;
}
.hf-roi svg{ width:22px; height:22px; }
@media (max-width: 780px){ .hf-roi{ position:relative; right:auto; top:auto; margin: 0 auto 16px; width:fit-content; } }

.hf-plane{
  position:absolute; top:-2%; right:22%; width:32px; height:32px; z-index:2;
  animation: floaty 5s ease-in-out infinite; animation-delay:1s;
}
@media (max-width: 780px){ .hf-plane{ display:none; } }

.hero2-desk{ position:relative; max-width: 460px; margin: 0 0 0 auto; }
@media (max-width: 980px){ .hero2-desk{ margin: 0 auto; } }
.laptop{ position:relative; z-index:1; }
.laptop-screen{
  position:relative; background:#12173D; border-radius: 14px 14px 3px 3px; padding: 16px 16px 0;
  box-shadow: var(--shadow-lg);
}
.laptop-notch{
  position:absolute; top:5px; left:50%; transform:translateX(-50%);
  width:6px; height:6px; border-radius:50%; background:#2A305E;
}
.app-sidebar{
  background:#fff; border-radius: 10px 10px 0 0; padding: 12px 14px; display:flex; align-items:center; gap:18px;
  border-bottom: 1px solid var(--line-soft);
}
.app-logo{ display:flex; align-items:center; gap:6px; font-weight:700; font-size:0.86rem; color:#12173D; flex-shrink:0; }
.app-logo svg{ width:11px; height:9px; }
.app-nav{ display:flex; gap:14px; overflow:hidden; }
.app-nav-item{ font-size:0.76rem; color:#8A96B5; white-space:nowrap; }
.app-nav-item.active{ color:#2563EB; font-weight:600; }
.app-main{ background:#fff; padding: 18px 18px 20px; border-radius: 0 0 4px 4px; }
.app-main h4{ font-size:1rem; font-weight:700; color:#12173D; margin:0; }
.app-main p{ font-size:0.78rem; color:#8A96B5; margin-top:4px; }
.dropzone{
  margin-top:14px; border: 1.5px dashed #BFD3F8; border-radius:10px; background:#F5F9FF;
  padding: 18px; text-align:center;
}
.dropzone svg{ width:30px; height:30px; margin: 0 auto; }
.dz-text{ font-size:0.74rem; color:#5B6A8C; margin-top:6px; }
.dz-btn{
  display:inline-block; margin-top:10px; background:#2563EB; color:#fff; font-size:0.76rem;
  font-weight:600; padding: 7px 16px; border-radius:999px;
}
.app-results{ margin-top:14px; display:flex; flex-direction:column; gap:8px; }
.app-result-row{
  display:flex; align-items:center; gap:8px; font-size:0.8rem; color:#12173D; font-weight:600;
  padding: 7px 10px; border-radius:8px; background:#F7F9FC;
}
.app-result-row .dot{ width:8px; height:8px; border-radius:50%; flex-shrink:0; }
.dot.green{ background:#22C55E; } .dot.red{ background:#EF4444; } .dot.amber{ background:#F59E0B; } .dot.gray{ background:#6B7280; }
.ar-n{ margin-left:auto; color:#5B6A8C; font-weight:500; }
.ar-p{ width:36px; text-align:right; color:#8A96B5; font-weight:500; }
.laptop-base{
  height: 14px; background: linear-gradient(180deg, #D9DEEA, #B9C1D6);
  border-radius: 0 0 10px 10px; margin: 0 -8px; box-shadow: 0 6px 10px -4px rgba(0,0,0,0.2);
}

/* ---------- HERO ---------- */
.hero{
  padding-top: 56px; padding-bottom: 64px; overflow:hidden;
  background: var(--paper);
}
.hero-glow{
  position:absolute; inset:-15% -10% auto -10%; height: 680px;
  background: radial-gradient(circle at 78% 8%, rgba(23,195,162,0.14), transparent 55%),
              radial-gradient(circle at 8% 55%, rgba(18,21,28,0.05), transparent 50%);
  pointer-events:none; z-index:0;
}

/* animated background: blobs, floating email icons, flight path */
.hero-bg{ position:absolute; inset:0; overflow:hidden; z-index:0; pointer-events:none; }
.hero-bg-blob{
  position:absolute; border-radius:50%; filter: blur(50px); opacity:0.55;
  animation: blobMove 18s ease-in-out infinite;
}
.blob-a{
  width:340px; height:340px; top:-80px; right:6%;
  background: radial-gradient(circle, rgba(23,195,162,0.35), transparent 70%);
  animation-delay: 0s;
}
.blob-b{
  width:260px; height:260px; bottom:-60px; left:4%;
  background: radial-gradient(circle, rgba(18,21,28,0.10), transparent 70%);
  animation-delay: -6s;
}
@keyframes blobMove{
  0%,100%{ transform: translate(0,0) scale(1); }
  33%{ transform: translate(24px,-18px) scale(1.08); }
  66%{ transform: translate(-18px,14px) scale(0.95); }
}
.hero-float-icon{
  position:absolute; width:34px; height:34px; color: var(--brand);
  opacity:0.16; animation: iconDrift 9s ease-in-out infinite;
}
.icon-1{ top:14%; left:6%; animation-delay: 0s; }
.icon-2{ top:64%; left:12%; width:26px; height:26px; animation-delay: 1.2s; color: var(--verified); }
.icon-3{ top:20%; left:44%; width:24px; height:24px; animation-delay: 2.4s; }
.icon-4{ top:78%; left:40%; width:30px; height:30px; animation-delay: 3.6s; }
.icon-5{ top:10%; left:58%; width:22px; height:22px; animation-delay: 0.8s; color: var(--verified); }
@keyframes iconDrift{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-16px) rotate(6deg); }
}
.hero-flight-path{
  position:absolute; inset:0; width:100%; height:100%; color: var(--brand); opacity:0.14;
}
#flightPath{ stroke-dashoffset: 0; animation: flightDash 6s linear infinite; }
@keyframes flightDash{ to{ stroke-dashoffset: -140; } }
@media (prefers-reduced-motion: reduce){
  .hero-bg-blob, .hero-float-icon, #flightPath{ animation:none; }
}
@media (max-width: 780px){
  .icon-3, .icon-4{ display:none; }
}

.hero-grid{
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items:center;
  position:relative; z-index:1;
}
@media (max-width: 940px){
  .hero-grid{ grid-template-columns: 1fr; }
  .feature-tabs > .feature-stage{ width:100%; margin:10px 0 4px; flex:0 0 auto; }
}
@media (max-width: 640px){
  .hero{ padding-top: 28px; padding-bottom: 56px; }
  .hero-actions{ flex-direction:column; align-items:stretch; margin-top:28px; }
  .hero-actions .btn{ justify-content:center; }
  .hero-footnote{ text-align:center; }
}
@media (max-width: 420px){
  h1.hero-title{ font-size: 2.05rem; max-width: none; }
  .hero-sub{ font-size: 1.02rem; }
}
.eyebrow-line{
  display:inline-flex; align-items:center; gap:10px; margin-bottom: 22px;
  font-size: 0.85rem; font-weight:600; color: var(--brand-strong); background: var(--accent-soft);
  padding: 7px 16px 7px 12px; border-radius: 999px;
}
.eyebrow-line .pulse{
  width:7px; height:7px; border-radius:50%; background: var(--verified);
  box-shadow: 0 0 0 3px rgba(15,138,85,0.18);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 3px rgba(15,138,85,0.18); }
  50%{ box-shadow: 0 0 0 6px rgba(15,138,85,0.08); }
}
h1.hero-title{
  font-size: clamp(2.5rem, 4.6vw, 3.85rem);
  max-width: 13ch;
  color: var(--ink);
}
.hero-sub{
  margin-top: 22px; font-size: 1.15rem; color: var(--ink-soft);
  max-width: 46ch;
}
.hero-checks{ display:flex; flex-direction:column; gap: 10px; margin-top: 26px; }
.hero-checks li{
  display:flex; align-items:center; gap: 10px; font-size: 0.98rem; color: var(--ink-soft);
}
.hero-checks .tick{
  width:18px; height:18px; border-radius:50%; background: var(--verified);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.hero-checks .tick svg{ width:11px; height:11px; }
.hero-actions{ display:flex; gap:16px; margin-top: 36px; flex-wrap:wrap; }
.btn{
  padding: 15px 28px; border-radius: 999px; font-size: 0.98rem; font-weight: 600;
  display:inline-flex; align-items:center; gap:8px; border: 1px solid transparent;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary{ background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); font-weight:600; }
.btn-primary:hover{ transform: translateY(-2px); background: var(--navy-soft); box-shadow: var(--shadow-md); }
.btn-primary.btn-light{ background: #fff; color: var(--navy); }
.btn-primary.btn-light:hover{ background: var(--accent-soft); }
.btn-ghost{ border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover{ border-color: var(--brand); color: var(--brand); transform: translateY(-2px); }

.hero-footnote{
  margin-top: 26px; font-size: 0.85rem; color: var(--ink-faint);
}

/* Manifest widget */
.manifest-stage{ position:relative; }
.hero-visual{ position:relative; }
@media (max-width: 940px){ .hero-visual{ margin-top: 44px; } }
.hero-photo-frame{
  border-radius: 22px; overflow:hidden; box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.4; position:relative;
}
@media (max-width: 640px){ .hero-photo-frame{ aspect-ratio: 4/3.6; border-radius:18px; } }
.hero-photo-frame::after{
  content:''; position:absolute; inset:0; z-index:1;
  background: linear-gradient(200deg, rgba(18,21,28,0.05), rgba(18,21,28,0.35));
}
.hero-photo-pan{
  position:absolute; inset:-7%; width:114%; height:114%;
  animation: photoPan 16s ease-in-out infinite;
}
.hero-photo-pan img{
  width:100%; height:100%; object-fit:cover; display:block;
  will-change: transform;
}
@keyframes photoPan{
  0%,100%{ transform: translateX(-2.5%) scale(1.03); }
  50%{ transform: translateX(2.5%) scale(1.07); }
}
@media (prefers-reduced-motion: reduce){ .hero-photo-pan{ animation:none; } }
.hero-float-card{
  position:absolute; background: var(--paper-raised); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 14px 18px; display:flex; align-items:center; gap:12px;
  animation: floaty 6s ease-in-out infinite;
}
.hero-float-top{ top:-22px; left:-28px; animation-delay:.2s; }
.hero-float-bottom{ bottom:-24px; right:-24px; animation-delay:1.4s; }
.hero-float-card .k{ font-family:'IBM Plex Mono', monospace; font-size: 0.78rem; color: var(--ink); white-space:nowrap; }
.hero-float-card .v{ font-size: 0.74rem; color: var(--verified); font-weight:600; margin-top:2px; }
.mini-tick{
  width:22px; height:22px; border-radius:50%; background: var(--verified); flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.mini-tick svg{ width:12px; height:12px; }
.ring{
  --pct: 80;
  width:44px; height:44px; border-radius:50%; flex-shrink:0;
  background: conic-gradient(var(--verified) calc(var(--pct) * 1%), var(--line-soft) 0);
  display:flex; align-items:center; justify-content:center;
}
.ring span{
  width:32px; height:32px; border-radius:50%; background:#fff; display:flex;
  align-items:center; justify-content:center; font-size: 0.68rem; font-weight:700; color: var(--ink);
}
@keyframes floaty{
  0%,100%{ transform: translateY(0) rotate(0deg); }
  50%{ transform: translateY(-10px) rotate(-1deg); }
}
@media (prefers-reduced-motion: reduce){ .hero-float-card{ animation:none; } }
@media (max-width: 640px){
  .hero{ overflow: visible; }
  .hero-float-card{ padding: 10px 14px; gap:9px; border-radius:12px; }
  .hero-float-card .k{ font-size: 0.68rem; }
  .hero-float-card .v{ font-size: 0.66rem; }
  .mini-tick{ width:18px; height:18px; }
  .mini-tick svg{ width:10px; height:10px; }
  .ring{ width:36px; height:36px; }
  .ring span{ width:26px; height:26px; font-size:0.6rem; }
  .hero-float-top{ left:8px; top:10px; }
  .hero-float-bottom{ right:8px; bottom:10px; }
}

/* legacy manifest widget (still used decoratively where referenced) */
.manifest{
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.manifest-head{
  display:flex; justify-content:space-between; align-items:center;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  font-size: 0.8rem; color: rgba(255,255,255,0.7); background: var(--navy);
}
.manifest-row{
  display:grid; grid-template-columns: 1fr auto; gap: 12px; align-items:center;
  padding: 14px 20px; border-bottom: 1px solid var(--line-soft);
  font-family:'IBM Plex Mono', monospace; font-size: 0.86rem;
}
.manifest-row:last-child{ border-bottom:none; }
.manifest-row .addr{ color: var(--ink); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.stamp{
  font-family:'Inter', sans-serif; font-size: 0.72rem; font-weight:700;
  padding: 4px 11px; border-radius: 999px; white-space:nowrap;
}
.stamp.valid{ background: var(--verified-tint); color: var(--verified); }
.stamp.risky{ background: var(--risky-tint); color: var(--risky); }
.stamp.invalid{ background: var(--invalid-tint); color: var(--invalid); }
.manifest-foot{
  padding: 14px 20px; display:flex; justify-content:space-between;
  font-size: 0.78rem; color: var(--ink-soft); background: var(--paper-sunk);
}
.deliverable-live{ color: var(--verified); font-weight:600; }

/* ---------- IMPACT STATS + MARQUEE ---------- */
.impact{
  padding: 64px 0 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: var(--paper-raised); overflow:hidden; position:relative;
}
.impact::before, .impact::after{
  content:''; position:absolute; top:56px; width:72px; height:72px; z-index:0; pointer-events:none;
  background-image: radial-gradient(var(--line) 1.6px, transparent 1.6px);
  background-size: 14px 14px;
  opacity:0.7;
}
.impact::before{ left: 6%; }
.impact::after{ right: 6%; }
@media (max-width: 900px){ .impact::before, .impact::after{ display:none; } }
.impact-head{ text-align:center; max-width: 640px; margin: 0 auto 48px; }
.impact-eyebrow{
  font-size: 0.78rem; font-weight:700; letter-spacing:0.12em; color: #6366F1;
}
.impact-head h2{ font-size: clamp(1.9rem, 3.4vw, 2.5rem); margin-top: 10px; }
.impact-head p{ margin-top: 14px; font-size: 1.02rem; color: var(--ink-soft); }

.impact-row{
  position:relative; display:grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px; padding-bottom: 44px; text-align:center;
}
.impact-path{ position:absolute; top:8px; left:0; width:100%; height:120px; z-index:0; pointer-events:none; }
@media (max-width: 780px){ .impact-path{ display:none; } }
@media (max-width: 780px){ .impact-row{ grid-template-columns: repeat(2, 1fr); gap: 40px 20px; } }
@media (max-width: 460px){ .impact-row{ grid-template-columns: 1fr; } }

.impact-node{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; }
.impact-node::after{
  content:''; position:absolute; top:78px; left:50%; transform:translateX(-50%);
  width:8px; height:8px; border-radius:50%; background: currentColor;
}
.impact-node:nth-child(1)::after{ color:#22C55E; }
.impact-node:nth-child(2)::after{ color:#3B82F6; }
.impact-node:nth-child(3)::after{ color:#F97316; }
.impact-node:nth-child(4)::after{ color:#7C3AED; }
@media (max-width: 780px){ .impact-node::after{ display:none; } }
.impact-icon{
  position:relative; width:64px; height:64px; border-radius: 18px;
  display:flex; align-items:center; justify-content:center; margin-bottom: 20px;
  box-shadow: 0 8px 20px -10px rgba(16,24,40,0.15);
}
.impact-icon svg{ width:26px; height:26px; }
.impact-icon.green{ background: #E4F9EE; color: #16A34A; }
.impact-icon.blue{ background: #E7EFFE; color: #3B82F6; }
.impact-icon.orange{ background: #FFF0E4; color: #F97316; }
.impact-icon.purple{ background: #F1EBFE; color: #7C3AED; }
.impact-dot{
  position:absolute; top:-6px; right:-6px; width:16px; height:16px; border-radius:50%;
  border: 3px solid var(--paper-raised);
}
.impact-dot.green{ background:#22C55E; }
.impact-dot.blue{ background:#3B82F6; }
.impact-dot.orange{ background:#F97316; }
.impact-dot.purple{ background:#7C3AED; }
.impact-num{
  font-family:'Inter', sans-serif; font-size: clamp(1.5rem, 3vw, 1.9rem); font-weight:800; color: var(--ink);
}
.impact-label{ margin-top:6px; font-size: 0.9rem; color: var(--ink-soft); }
.marquee{
  border-top: 1px solid var(--line-soft); padding: 22px 0;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track{
  display:flex; gap: 64px; width:max-content;
  animation: marquee 26s linear infinite;
  font-family:'Fraunces', serif; font-weight:600; font-size: 1.3rem; color: var(--ink-faint);
}
.marquee-track span{ white-space:nowrap; }
@keyframes marquee{ from{ transform: translateX(0); } to{ transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce){ .marquee-track{ animation:none; } }

/* ---------- SECTION HEADS ---------- */
.section-head{ max-width: 640px; margin-bottom: 40px; }
.section-head-center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3.2vw, 2.5rem); }
.section-head p{ margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); }

/* ---------- ABOUT ---------- */
.about-grid{
  display:grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(42px, 6vw, 76px); align-items:center;
  margin-bottom: 64px;
}
@media (max-width: 860px){ .about-grid{ grid-template-columns:1fr; margin-bottom: 32px; } }
.about-grid > div:last-child{ display:flex; flex-direction:column; justify-content:center; max-width: 620px; }
.about-photo{
  position:relative; width:100%; max-width: 500px; justify-self:start; aspect-ratio:1;
  padding:0; border-radius: 26px; overflow:visible; box-shadow: var(--shadow-lg);
  background:rgba(221,247,236,0.48); border:1px solid rgba(16,185,129,0.28);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
.about-photo img{ width:100%; height:100%; object-fit:cover; display:block; border-radius:26px; box-shadow:0 28px 56px -12px rgba(6,24,31,0.38), 0 10px 24px rgba(6,24,31,0.16), 0 0 0 1px rgba(16,185,129,0.12); }
@media (max-width: 860px){
  .about-photo{ max-width: 560px; justify-self:center; }
}
@media (max-width: 520px){
  .about-photo{ padding:0; border-radius:20px; }
  .about-photo img{ border-radius:20px; box-shadow:0 20px 40px -10px rgba(6,24,31,0.32), 0 8px 18px rgba(6,24,31,0.14), 0 0 0 1px rgba(16,185,129,0.12); }
}
.about-photo-tag{
  position:absolute; left:18px; bottom:18px; right:18px;
  background: rgba(18,21,28,0.82); color:#fff; backdrop-filter: blur(6px);
  border-radius: 12px; padding: 12px 16px; display:flex; align-items:center; gap:12px;
  font-size: 0.88rem; font-weight:600;
}
.about-copy{ max-width: 600px; }
.about-copy p{ color: var(--ink-soft); margin-bottom: 20px; font-size: 1.03rem; line-height:1.65; }
.about-copy p:last-child{ margin-bottom:0; }

/* ---------- ABOUT STRIP ---------- */
.about-strip{
  display:flex; align-items:center; justify-content:space-between; flex-wrap:nowrap; gap: 18px;
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: 18px;
  padding: 24px 28px; box-shadow: var(--shadow-md); overflow-x:auto;
}
.strip-item{ display:flex; align-items:center; gap:10px; flex-shrink:0; }
.strip-ic{
  width:40px; height:40px; border-radius:11px; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
}
.strip-ic svg{ width:18px; height:18px; }
.strip-ic.blue{ background: linear-gradient(160deg,#60A5FA,#2563EB); }
.strip-ic.purple{ background: linear-gradient(160deg,#A78BFA,#7C3AED); }
.strip-ic.green{ background: linear-gradient(160deg,#4ADE80,#16A34A); }
.strip-ic.orange{ background: linear-gradient(160deg,#FB923C,#EA580C); }
.strip-ic.red{ background: linear-gradient(160deg,#F87171,#DC2626); }
.strip-ic.indigo{ background: linear-gradient(160deg,#818CF8,#4F46E5); }
.strip-v{ font-size: 1rem; font-weight:800; color: var(--ink); white-space:nowrap; }
.strip-l{ font-size: 0.78rem; color: var(--ink-faint); margin-top:2px; white-space:nowrap; }
.strip-div{ width:1px; height:32px; background: var(--line); flex-shrink:0; }
@media (max-width: 900px){
  .about-strip{ padding: 20px; gap:14px; }
  .strip-ic{ width:36px; height:36px; }
  .strip-ic svg{ width:16px; height:16px; }
  .strip-v{ font-size: 0.92rem; }
  .strip-l{ font-size: 0.72rem; }
}
@media (max-width: 640px){
  .about-strip{ flex-direction:column; align-items:flex-start; gap:18px; overflow-x:visible; }
  .strip-div{ display:none; }
  .strip-v, .strip-l{ white-space:normal; }
}

/* ---------- SERVICES (interactive tab + sticky visual switcher) ---------- */
.services{ background: var(--paper-sunk); }
.feature-switcher{
  display:grid; grid-template-columns: 0.95fr 1.05fr; gap: 40px; align-items:stretch;
}
@media (max-width: 900px){ .feature-switcher{ grid-template-columns: 1fr; } }
@media (max-width: 640px){ .feature-stage{ display:none; } }

.feature-tabs{ display:flex; flex-direction:column; gap: 10px; min-height:520px; overflow:hidden; }
.feature-tab{
  text-align:left; background:rgba(248,253,251,0.66); border: 1px solid rgba(16,185,129,0.2);
  border-radius: 24px; padding: 20px 22px; cursor:pointer; position:relative; overflow:hidden;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  transition: border-color .25s, box-shadow .25s, background .25s, transform .25s var(--ease);
}
.feature-tab:not(.active):hover{ border-color:rgba(16,185,129,0.42); box-shadow:0 10px 22px rgba(6,24,31,0.08); transform:translateY(-2px); }
.feature-tab.active{ border-color:rgba(16,185,129,0.7); box-shadow:0 14px 30px rgba(6,24,31,0.12), inset 0 1px 0 rgba(255,255,255,0.9); background:rgba(231,250,241,0.82); }
.feature-tab-top{ display:flex; align-items:center; gap: 12px; }
.feature-tab-icon{
  width:36px; height:36px; border-radius:10px; background: var(--accent-soft); color: var(--brand);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.feature-tab-icon svg{ width:20px; height:20px; }
.feature-tab-tag{ font-size: 0.74rem; color: var(--brand); font-weight:600; letter-spacing:0.02em; }
.feature-tab h3{ font-size: 1.12rem; margin-top: 12px; }
.feature-tab-body{
  opacity: 0; max-height: 0; margin-top: 0; overflow:hidden;
  transition: opacity .3s var(--ease), max-height .35s var(--ease), margin-top .35s var(--ease);
}
.feature-tab-body p{ color: var(--ink-soft); font-size: 0.96rem; margin-top: 10px; }
.feature-tab-body .metric{ margin-top: 14px; display:flex; align-items:baseline; gap:8px; }
.feature-tab-body .metric .n{ font-family:'Inter', sans-serif; font-size: 1.2rem; font-weight:800; color: var(--brand); }
.feature-tab-body .metric .l{ font-size: 0.76rem; color: var(--ink-faint); }
.feature-tab.active .feature-tab-body{ opacity:1; max-height: 160px; margin-top: 2px; }
.feature-tab-progress{
  position:absolute; left:0; bottom:0; height:2px; width:100%; background: var(--line-soft);
}
.feature-tab-progress span{
  display:block; height:100%; width:0%; background: var(--brand);
}
.feature-tab.active .feature-tab-progress span{ transition: width 2s linear; width:100%; }
.feature-tab.paused .feature-tab-progress span{ transition: none; }
@media (min-width: 901px){
  .feature-tab{ height:112px; flex:0 0 112px; }
  .feature-tab.active{ height:240px; flex-basis:240px; }
}

.feature-stage{
  position:relative; height:100%; min-height:0; aspect-ratio:auto; border-radius: 32px; overflow:hidden;
  border:1px solid rgba(16,185,129,0.24); box-shadow:0 28px 60px -10px rgba(16,185,129,0.4), 0 10px 26px rgba(6,24,31,0.14), inset 0 1px 0 rgba(255,255,255,0.84);
  background:rgba(221,247,236,0.42); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
}
@media (min-width: 901px){ .feature-stage{ position:sticky; top: 100px; } }
.feature-stage-img{
  position:absolute; inset:0; opacity:0; overflow:hidden; border-radius:30px; clip-path:inset(0 round 30px); transition: opacity .5s var(--ease);
}
.feature-stage-img.active{ opacity:1; }
.feature-stage-img img{ width:100%; height:100%; object-fit:contain; display:block; padding: 14px; border-radius:28px; box-shadow:0 0 0 1px rgba(16,185,129,0.14); }
.feature-stage::after{
  content:''; position:absolute; inset:0;
  background: linear-gradient(200deg, rgba(18,21,28,0), rgba(18,21,28,0.12));
  pointer-events:none;
}
.feature-stage-badge{
  position:absolute; left:18px; bottom:18px; right:18px; z-index:2;
  background: rgba(255,255,255,0.95); backdrop-filter: blur(6px);
  border-radius: 12px; padding: 12px 16px; display:flex; align-items:center; gap:12px;
  box-shadow: var(--shadow-md);
}
.feature-stage-badge .k{ font-size: 0.72rem; color: var(--ink-faint); }
.feature-stage-badge .v{ font-size: 0.92rem; font-weight:700; color: var(--ink); margin-top:1px; }
@media (max-width: 900px){ .feature-stage{ height:auto; min-height:0; aspect-ratio: 4/2.8; } }

/* ---------- HOW IT WORKS (dashboard-mockup steps) ---------- */
.step-cards{ display:flex; flex-direction:column; gap: 24px; }
.step-card{
  display:grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 5vw, 48px); align-items:center;
  position:relative; overflow:hidden;
  background: radial-gradient(circle at 82% 50%, rgba(16,185,129,0.13), transparent 32%), linear-gradient(135deg, #EAF8F2 0%, var(--paper-raised) 68%);
  border: 2px solid #A9D3C4; border-radius: 26px; padding: clamp(24px, 4vw, 44px);
  box-shadow: 0 12px 28px rgba(6,24,31,0.08), inset 0 1px 0 rgba(255,255,255,0.9);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background .25s;
}
.step-card::before{ content:''; position:absolute; z-index:0; left:0; top:24px; bottom:24px; width:5px; border-radius:0 5px 5px 0; background:var(--brand); box-shadow:0 0 18px rgba(16,185,129,0.5); }
.step-card > *{ position:relative; z-index:1; }
.step-card:nth-child(2)::before{ background:#0EA5A4; box-shadow:0 0 18px rgba(14,165,164,0.45); }
.step-card:nth-child(3)::before{ background:#059669; box-shadow:0 0 18px rgba(5,150,105,0.45); }
.step-card:hover{ border-color: var(--brand); box-shadow: 0 18px 38px rgba(6,24,31,0.14), 0 0 0 4px rgba(16,185,129,0.08), inset 0 1px 0 rgba(255,255,255,0.95); transform: translateY(-4px); background: radial-gradient(circle at 82% 50%, rgba(16,185,129,0.18), transparent 34%), linear-gradient(135deg, #E4F6EE 0%, #FFFFFF 70%); }
@media (max-width: 780px){
  .step-card{ grid-template-columns: 1fr; padding: 26px 22px; gap:24px; border-radius:20px; }
  .step-card-visual{ order:2; }
}
.step-num-row{ display:flex; align-items:center; gap:10px; }
.step-num{
  width:30px; height:30px; border-radius:50%; background: var(--brand); color:#fff;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:0.85rem; flex-shrink:0;
}
.step-pill{
  display:inline-flex; background: var(--paper-raised); color: var(--brand);
  font-size: 0.76rem; font-weight:700; padding: 6px 14px; border-radius: 999px;
  box-shadow: var(--shadow-sm); letter-spacing:0.03em;
}
.step-card-copy h3{ font-size: clamp(1.3rem, 2.6vw, 1.6rem); margin-top: 14px; }
.step-card-copy p{ margin-top: 12px; color: var(--ink-soft); font-size: 1.02rem; }

.step-card-visual{ display:flex; justify-content:center; min-width:0; }

/* step 1 — mini manifest */
.mini-manifest{
  width:100%; max-width: 340px; background: var(--paper-raised); border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 20px 22px; overflow:hidden;
}
.mini-manifest-head{ display:flex; justify-content:space-between; gap:10px; font-size: 0.8rem; color: var(--ink-soft); }
.mini-manifest-head .mono{ overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.seg-bar{ display:flex; width:100%; height:10px; border-radius:999px; overflow:hidden; margin-top:16px; background: var(--line-soft); }
.seg.valid{ background: var(--verified); }
.seg.risky{ background: var(--risky); }
.seg.invalid{ background: var(--invalid); }
.seg-legend{ display:flex; flex-wrap:wrap; gap: 10px 14px; margin-top: 14px; font-size: 0.78rem; color: var(--ink-soft); }
.seg-legend .dot{ width:8px; height:8px; border-radius:50%; display:inline-block; margin-right:6px; }
.dot.valid{ background: var(--verified); }
.dot.risky{ background: var(--risky); }
.dot.invalid{ background: var(--invalid); }

/* step 2 — gauge */
.gauge-card{ width:100%; max-width: 340px; display:flex; flex-direction:column; align-items:center; }
.gauge{
  --pct: 90;
  width: clamp(120px, 30vw, 160px); height: clamp(120px, 30vw, 160px); border-radius:50%; position:relative;
  background: conic-gradient(var(--brand) calc(var(--pct) * 1%), var(--line-soft) 0);
  display:flex; align-items:center; justify-content:center;
  box-shadow: var(--shadow-lg);
}
.gauge::before{ content:''; position:absolute; inset:14px; border-radius:50%; background: var(--paper-raised); }
.gauge span{ position:relative; z-index:1; font-family:'Inter', sans-serif; font-weight:800; font-size: clamp(1.3rem, 4vw, 1.7rem); color: var(--ink); display:flex; flex-direction:column; align-items:center; }
.gauge span small{ font-size: 0.62rem; font-weight:600; color: var(--ink-faint); margin-top:2px; }
.check-chips{ display:flex; flex-wrap:wrap; gap:8px; justify-content:center; margin-top: 22px; }
.chip-mini{
  font-size: 0.78rem; font-weight:600; color: var(--brand); background: var(--paper-raised);
  padding: 6px 12px; border-radius: 999px; box-shadow: var(--shadow-sm);
}

/* step 3 — sync */
.sync-card{ width:100%; max-width: 340px; background: var(--paper-raised); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 22px; }
.sync-row{ display:flex; align-items:center; justify-content:space-between; padding: 10px 0; border-bottom: 1px solid var(--line-soft); font-weight:600; font-size: 0.95rem; }
.sync-row:last-of-type{ border-bottom:none; }
.sync-row-pop{
  opacity:0; transform: translateX(-10px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
  transition-delay: var(--pd, 0ms);
}
.sync-row-pop.popped{ opacity:1; transform:none; }
.sync-progress{ margin-top:16px; height:8px; border-radius:999px; background: var(--line-soft); overflow:hidden; }
.sync-progress-fill{ height:100%; background: var(--brand); border-radius:999px; }
.sync-caption{ margin-top:10px; font-size: 0.8rem; color: var(--ink-faint); }
@media (prefers-reduced-motion: reduce){ .sync-row-pop{ transform:none; transition: opacity .3s ease; } }

/* ---------- TESTIMONIALS (carousel) ---------- */
.testimonials{ background: var(--paper-sunk); padding: 88px 0 84px; }
.testimonials .section-head{ max-width: 760px; margin: 0 auto 42px; text-align:center; }
.testimonials .section-head h2{ font-size: clamp(2rem, 3.8vw, 3rem); }
.t-carousel-wrap{ position:relative; max-width: 1080px; margin:0 auto; }
.t-grid{
  display:flex; gap: 22px; overflow-x:auto; scroll-snap-type: x mandatory;
  padding: 4px 2px 12px; scrollbar-width: none;
}
.t-grid::-webkit-scrollbar{ display:none; }
.t-card{
  background:rgba(248,253,251,0.7); border: 1px solid rgba(16,185,129,0.2); border-radius: 20px;
  padding: 30px; display:flex; flex-direction:column; min-height: 258px;
  flex: 0 0 calc((100% - 44px) / 3); scroll-snap-align: start;
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
  transition: transform .25s var(--ease), border-color .25s, box-shadow .25s, background .25s;
}
@media (max-width: 860px){ .t-card{ flex: 0 0 85%; } }
.t-card:hover{ transform: translateY(-4px); border-color:rgba(16,185,129,0.46); background:rgba(239,252,245,0.84); box-shadow:0 16px 30px rgba(6,24,31,0.12); }
.t-card blockquote{ margin:0; font-family:'Inter', sans-serif; font-size: 1.12rem; font-weight:600; line-height:1.42; flex:1; color: var(--ink); }
.t-foot{ display:flex; align-items:center; gap: 12px; margin-top: 26px; }
.t-mono{
  width: 38px; height:38px; background: var(--brand); color: #fff;
  display:flex; align-items:center; justify-content:center; font-family:'IBM Plex Mono', monospace;
  font-size: 0.8rem; border-radius: 999px; flex-shrink:0;
}
.t-name{ font-size: 0.92rem; font-weight:600; }
.t-role{ font-size: 0.8rem; color: var(--ink-faint); }
.t-nav{ display:flex; align-items:center; justify-content:center; gap: 20px; margin-top: 30px; }
.t-arrow{
  width:52px; height:52px; padding:0; border-radius:50%; border:2px solid var(--navy); background: var(--navy);
  display:flex; align-items:center; justify-content:center; color: #fff;
  box-shadow: 0 7px 16px rgba(6,24,31,0.2);
  transition: background .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.t-arrow svg{ width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2.8; stroke-linecap:round; stroke-linejoin:round; }
.t-arrow:hover{ border-color: var(--brand-strong); color: #fff; background: var(--brand-strong); transform: translateY(-2px) scale(1.04); box-shadow: 0 10px 20px rgba(6,24,31,0.22); }
.t-dots{ display:flex; align-items:center; gap:8px; min-width: 34px; justify-content:center; }
.t-dots span{
  width:8px; height:8px; border-radius:50%; background: #B7D2C9; cursor:pointer; transition: background .2s, transform .2s;
}
.t-dots span.active{ background: var(--brand); transform: scale(1.3); }
@media (max-width: 640px){
  .testimonials{ padding: 72px 0 68px; }
  .testimonials .section-head{ margin-bottom: 30px; }
  .t-card{ flex-basis: 88%; min-height: 250px; padding: 26px; }
  .t-arrow{ width:48px; height:48px; }
}

/* ---------- CTA BAND ---------- */
.cta-band{ padding-top: 0; padding-bottom: 76px; }
.cta-box{
  color: #fff;
  border-radius: 24px; padding: 60px; display:flex; align-items:center;
  justify-content:space-between; gap: 32px; flex-wrap:wrap;
  position:relative; overflow:hidden;
  box-shadow: var(--shadow-lg);
  min-height: 260px;
}
.cta-box-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0;
}
.cta-box-overlay{
  position:absolute; inset:0; z-index:0;
  background: linear-gradient(120deg, rgba(18,21,28,0.92) 0%, rgba(18,21,28,0.55) 65%, rgba(18,21,28,0.3) 100%);
}
.cta-box h2{ color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.2rem); max-width: 16ch; position:relative; z-index:1; }
.cta-box a{ position:relative; z-index:1; }

/* ---------- CONTACT ---------- */
.contact-grid{ display:grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items:center; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.contact-visual{ display:flex; align-items:center; justify-content:center; position:relative; }
.contact-visual::before{
  content:''; position:absolute; inset: -10%; z-index:0;
  background: radial-gradient(circle, rgba(23,195,162,0.38), rgba(23,195,162,0.12) 55%, transparent 75%);
  filter: blur(50px); pointer-events:none;
}
.contact-visual img{
  position:relative; z-index:1; width:100%; max-width: 760px; height:auto;
  transform: rotate(-4deg); transition: transform .3s var(--ease);
}
.contact-visual:hover img{ transform: rotate(-2deg) scale(1.02); }
@media (max-width: 900px){ .contact-visual img{ max-width: 480px; } }

.eyebrow{
  display:inline-block; font-size: 0.78rem; font-weight:700; letter-spacing: 0.08em;
  color: var(--brand); margin-bottom: 10px;
}
.ink-brand{ color: var(--brand); }

form{ display:flex; flex-direction:column; gap: 20px; }
.form-row{ display:grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 560px){ .form-row{ grid-template-columns: 1fr; } }
label{ font-size: 0.85rem; color: var(--ink-soft); display:block; margin-bottom: 7px; font-weight:500; }
input, textarea{
  width:100%; background: var(--paper-raised); border: 1px solid var(--line);
  border-radius: 10px; padding: 13px 15px; font-family:'Inter', sans-serif;
  font-size: 0.98rem; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
input:focus, textarea:focus{
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(18,70,60,0.1); outline:none;
}
textarea{ resize: vertical; min-height: 110px; }
.field{ display:flex; flex-direction:column; }
.field-icon{ position:relative; }
.field-icon .field-ic{
  position:absolute; left:14px; top:41px; width:18px; height:18px; color: var(--ink-faint);
  display:flex; align-items:center; justify-content:center; pointer-events:none;
}
.field-icon .field-ic svg{ width:100%; height:100%; }
.field-icon .field-ic-top{ top:38px; }
.field-icon input{ padding-left: 40px; }
.field-icon textarea{ padding-left: 40px; }
.submit-btn{ align-self:flex-start; }
.submit-btn-block{
  align-self:stretch; justify-content:center; gap:10px;
  background: var(--brand-strong); border-color: var(--brand-strong);
}
.submit-btn-block:hover{ background: var(--navy-soft, var(--brand)); }
.form-note{ font-size: 0.82rem; color: var(--ink-faint); text-align:center; }
#form-success{
  display:none; background: var(--verified-tint); color: var(--verified);
  padding: 14px 16px; border-radius: 10px; font-size: 0.92rem;
}
#form-success.show{ display:block; animation: fadeUp .4s var(--ease); }
@keyframes fadeUp{ from{ opacity:0; transform: translateY(6px); } to{ opacity:1; transform:none; } }

/* ---------- PRE-FOOTER FINAL CTA ---------- */
.final-cta{
  background: linear-gradient(160deg, #F2FBF7 0%, #E5F3EE 100%);
  padding-bottom: 88px;
  border-bottom: 2px solid #B9D8CD;
  box-shadow: 0 10px 28px rgba(6,24,31,0.06);
}
.final-cta-grid{
  display:grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items:center;
}
@media (max-width: 900px){ .final-cta-grid{ grid-template-columns: 1fr; } }
.final-cta-eyebrow{
  display:inline-flex; align-items:center; gap:9px; font-size: 0.8rem; font-weight:700;
  letter-spacing:0.04em; color: var(--brand-strong); background: var(--accent-pale);
  padding: 8px 16px; border-radius: 999px;
}
.final-cta-eyebrow .dot{ width:7px; height:7px; border-radius:50%; background: var(--brand); flex-shrink:0; }
.final-cta h2{ font-size: clamp(1.9rem, 3.6vw, 2.7rem); margin-top: 16px; }
.final-cta h2 .green{ color: var(--brand); }
.final-cta-copy p{ margin-top: 14px; font-size: 1.05rem; color: var(--ink-soft); max-width: 46ch; }
.final-cta-actions{ display:flex; align-items:center; gap: 26px; margin-top: 28px; flex-wrap:wrap; }
.btn-final-primary{
  background: linear-gradient(135deg, #34D399 0%, #10B981 45%, #047857 100%);
  color:#fff; padding: 15px 26px; border-radius: 999px; font-weight:700; font-size:0.98rem;
  display:inline-flex; align-items:center; gap:10px;
  box-shadow: 0 14px 28px -8px rgba(16,185,129,0.5);
  transition: transform .2s, box-shadow .2s;
}
.btn-final-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 32px -8px rgba(16,185,129,0.6); }
.final-cta-link{ font-weight:600; color: var(--brand-strong); font-size: 0.98rem; position:relative; }
.final-cta-link:after{ content:''; position:absolute; left:0; bottom:-3px; width:100%; height:1.5px; background: var(--brand-strong); opacity:0.4; }
.final-cta-mini{ display:flex; flex-wrap:wrap; gap: 28px; margin-top: 36px; }
.mini-item{ display:flex; align-items:center; gap:10px; font-size: 0.94rem; font-weight:600; color: var(--ink); }
.mini-ic{
  width:38px; height:38px; border-radius:50%; background: var(--accent-pale);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.mini-ic svg{ width:18px; height:18px; }
.final-cta-visual img{ width:100%; height:auto; display:block; }

/* ---------- FOOTER ---------- */
footer{
  position:relative; overflow:hidden; border-top: 1px solid #CFE5DC; padding: 52px 0 28px;
  background: radial-gradient(circle at 92% 18%, rgba(16,185,129,0.1), transparent 28%), radial-gradient(circle at 8% 100%, rgba(16,185,129,0.06), transparent 32%), linear-gradient(145deg, #FFFFFF 0%, #F7FCFA 58%, #EFF9F5 100%);
}
footer::before{ content:''; position:absolute; left:0; right:0; top:0; height:3px; background:linear-gradient(90deg, transparent, rgba(16,185,129,0.5), transparent); }
footer > .wrap{ position:relative; z-index:1; }
.footer-grid{
  display:grid; grid-template-columns: 1.45fr repeat(3, 1fr); gap:0; align-items:stretch;
}
.footer-brand{ padding-right:44px; border-right:1px solid #DCEAE5; }
.footer-brand .logo{ font-size:1.72rem; }
.footer-brand .logo-mark{ width:42px; height:42px; }
.footer-brand p{ margin-top: 14px; color: var(--ink-soft); font-size: 0.92rem; line-height:1.5; max-width: 32ch; }
.footer-col{ padding: 4px 28px 0 40px; border-right:1px solid #DCEAE5; }
.footer-col:last-child{ border-right:0; }
.footer-col h4{ font-size: 0.76rem; color: #078A62; margin-bottom: 14px; font-weight:800; letter-spacing:0.09em; }
.footer-col a{ display:block; padding: 5px 0; font-size: 0.92rem; color: var(--ink); transition: color .15s, transform .15s; }
.footer-col a:hover{ transform:translateX(3px); }
.footer-col a:hover{ color: var(--brand); }
.footer-bottom{
  margin-top: 36px; padding-top: 18px; border-top: 1px solid #DCEAE5;
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-size: 0.82rem; color: var(--ink-faint);
}
@media (max-width: 780px){
  footer{ padding-top:44px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; gap:28px 0; }
  .footer-brand{ grid-column:1 / -1; padding:0 0 26px; border-right:0; border-bottom:1px solid #DCEAE5; }
  .footer-col{ padding:0 20px 0 0; border-right:0; }
  .footer-col:nth-child(3){ padding-left:20px; border-left:1px solid #DCEAE5; }
}

/* ---------- BACK TO TOP ---------- */
#toTop{
  position: fixed; right: 24px; bottom: 24px; width: 46px; height: 46px;
  border-radius: 50%; background: var(--brand); color:#fff; border:none;
  display:flex; align-items:center; justify-content:center; font-size: 1.1rem;
  opacity:0; transform: translateY(10px); pointer-events:none;
  transition: opacity .25s, transform .25s, background .2s;
  box-shadow: var(--shadow-md); z-index: 90;
}
#toTop.show{ opacity:1; transform:none; pointer-events:auto; }
#toTop:hover{ background: var(--brand-strong); }

/* ---------- RESPONSIVE FINISHING LAYER ---------- */
html, body{ max-width:100%; overflow-x:hidden; }
body{ min-width:320px; }
.wrap{ width:100%; }

@media (min-width: 1440px){
  :root{ --maxw: 1280px; }
  .hero2 .wrap{ max-width: 1440px; }
  .hero2-title{ font-size: clamp(3.2rem, 4vw, 4.35rem); }
  .hero2-sub{ font-size:1.14rem; }
}

@media (max-width: 1180px) and (min-width: 1041px){
  .wrap{ padding-left:24px; padding-right:24px; }
  .nav-links{ gap:0; }
  .nav-links > a{ padding-left:9px; padding-right:9px; font-size:0.86rem; }
  .nav-cta{ padding-left:18px; padding-right:18px; }
}

@media (max-width: 980px){
  .hero2-grid{ gap:30px; }
  .feature-tabs{ min-height:0; }
  .feature-tab{ height:auto; flex-basis:auto; }
  .hero2-visual{ width:min(760px, 100%); justify-self:center; }
  .hero2-copy{ max-width:720px; }
  .feature-switcher{ gap:28px; }
  .feature-stage{ position:relative; top:auto; }
  .contact-grid{ gap:36px; }
}

@media (max-width: 720px){
  section{ padding-top:64px; padding-bottom:64px; }
  .wrap{ padding-left:20px; padding-right:20px; }
  .section-head{ margin-bottom:30px; }
  .section-head h2{ font-size:clamp(1.8rem, 7vw, 2.35rem); }
  .hero2{ padding-top:104px; }
  .hero2-title{ font-size:clamp(2.15rem, 8vw, 3rem); }
  .hero2-sub{ font-size:1rem; max-width: none; }
  .hero2-checks li{ align-items:flex-start; font-size:0.92rem; }
  .hero2-actions{ align-items:stretch; }
  .btn-hero2-primary, .btn-hero2-play{ justify-content:center; width:fit-content; }
  .impact{ padding-top:52px; }
  .about-grid{ gap:32px; }
  .about-grid > div:last-child{ max-width:none; }
  .about-copy p{ font-size:0.98rem; }
  .feature-switcher{ gap:20px; }
  .feature-tabs{ min-height:0; }
  .feature-tab{ padding:18px; }
  .feature-stage{ min-height:0; }
  .step-card{ gap:22px; }
  .contact-grid{ gap:30px; }
  .final-cta-grid{ gap:30px; }
  .final-cta{ padding-bottom:64px; }
  .final-cta-visual{ max-width:620px; margin:0 auto; }
}

@media (max-width: 640px){
  .hero2-visual{ display:block; margin-top:24px; }
  .hero2-svg{ max-height:380px; object-fit:contain; }
  .hero2-blob{ opacity:0.65; }
  .feature-stage{ display:block; aspect-ratio:4/3.1; }
  .feature-tab{ border-radius:20px; }
  .feature-stage{ border-radius:24px; }
  .feature-stage-img{ border-radius:22px; clip-path:inset(0 round 22px); }
  .feature-stage-img img{ padding:8px; border-radius:35px; box-shadow:0 0 0 1px rgba(16,185,129,0.14); }
  .feature-stage-badge{ left:10px; right:10px; bottom:10px; padding:10px 12px; }
  .about-photo{ max-width:520px; }
  .about-strip{ padding:20px; }
  .t-grid{ gap:14px; }
  .t-card{ flex-basis:92%; }
  .form-row{ gap:16px; }
  footer{ padding-bottom:24px; }
  .footer-bottom{ margin-top:28px; }
}

@media (max-width: 520px){
  .nav-pill{ gap:10px; }
  header .wrap{ padding-left:14px; padding-right:14px; }
  header.scrolled .nav-pill{ padding-left:14px; }
  .logo{ font-size:1.3rem; gap:8px; }
  .logo-mark{ width:32px; height:32px; }
  .nav-links{ padding:10px; border-radius:14px; }
  .nav-links > a{ padding:10px 12px; }
  .hero2-title{ font-size:clamp(2rem, 10vw, 2.55rem); }
  .hero2-actions > a{ width:100%; }
  .btn-hero2-play{ padding-right:14px; }
  .impact-row{ gap:28px 12px; }
  .impact-icon{ width:56px; height:56px; }
  .impact-icon svg{ width:23px; height:23px; }
  .step-card{ padding:22px 18px; border-radius:20px; }
  .step-card::before{ top:18px; bottom:18px; width:4px; }
  .step-card-copy p{ font-size:0.94rem; }
  .feature-tab h3{ font-size:1rem; }
  .feature-tab-body p{ font-size:0.9rem; }
  .contact-visual img{ transform:none; }
  .contact-visual:hover img{ transform:none; }
  .footer-grid{ grid-template-columns:1fr; gap:24px; }
  .footer-brand{ padding-bottom:22px; }
  .footer-col, .footer-col:nth-child(3){ padding:0; border:0; }
}

@media (prefers-reduced-motion: reduce){
  .step-card, .t-card, .hero2-visual img, .contact-visual img{ transform:none !important; }
}

@media (min-width: 821px) and (max-width: 980px){
  .hero2-grid{ grid-template-columns: 0.9fr 1.1fr; gap:18px; align-items:end; }
  .hero2-copy{ padding-bottom:34px; }
  .hero2-title{ font-size:clamp(2.15rem, 4vw, 2.75rem); }
  .hero2-sub{ font-size:0.94rem; margin-top:16px; }
  .hero2-checks{ gap:7px; margin-top:18px; }
  .hero2-checks li{ font-size:0.86rem; }
  .hero2-actions{ gap:10px; margin-top:22px; }
  .btn-hero2-primary{ padding:13px 17px; font-size:0.86rem; }
  .btn-hero2-play{ min-height:46px; padding-right:11px; font-size:0.82rem; }
  .play-circle{ width:30px; height:30px; }
  .hero2-visual{ width:100%; max-width:560px; margin-top:0; margin-bottom:0; }
}

@media (min-width: 641px) and (max-width: 820px){
  .hero2-visual{ max-width:640px; margin:24px auto 0; }
  .hero2-svg{ max-height:440px; object-fit:contain; }
}
