/* ==========================================================================
   EliteX Verify — Design System
   Fonts: Space Grotesk (display) / Inter (body) / IBM Plex Mono (data)
   ========================================================================== */

:root{
  --navy-950:#050B14;
  --navy-900:#0A1628;
  --navy-850:#0D1E36;
  --navy-800:#0F2A4A;
  --blue-600:#155FD1;
  --blue-500:#1E7CF2;
  --blue-400:#4C9AFF;
  --cyan-400:#3ED6F5;
  --cyan-300:#7FE7FA;
  --ink-900:#0B1220;
  --slate-600:#3D4A5F;
  --slate-500:#5B6B82;
  --slate-400:#8493A8;
  --white:#FFFFFF;
  --frost:#F4F8FC;
  --frost-2:#E9F1FA;
  --line-light: rgba(11,18,32,0.09);
  --line-dark: rgba(255,255,255,0.09);

  --bg: var(--white);
  --bg-alt: var(--frost);
  --bg-elevated: var(--white);
  --text: var(--ink-900);
  --text-soft: var(--slate-500);
  --line: var(--line-light);
  --accent: var(--blue-600);
  --accent-2: var(--cyan-400);
  --glow: rgba(30,124,242,0.18);
  --shadow: 0 20px 50px -20px rgba(11,32,64,0.18);
  --header-bg: rgba(255,255,255,0.78);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(.16,.84,.32,1);
  color-scheme: light;
}

[data-theme="dark"]{
  color-scheme: dark;
  --bg: var(--navy-950);
  --bg-alt: var(--navy-900);
  --bg-elevated: var(--navy-850);
  --text: #EAF1FA;
  --text-soft: #92A3BC;
  --line: var(--line-dark);
  --accent: var(--blue-400);
  --accent-2: var(--cyan-400);
  --glow: rgba(62,214,245,0.16);
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.6);
  --header-bg: rgba(5,11,20,0.72);
}

@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

*{ box-sizing: border-box; margin:0; padding:0; }
html{ scroll-behavior: smooth; }

body{
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background .4s var(--ease), color .4s var(--ease);
  overflow-x: hidden;
}

img{ max-width:100%; display:block; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; }
button{ font-family: inherit; cursor: pointer; }
input, textarea, select{ font-family: inherit; }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

h1,h2,h3,h4{
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--text);
}

.mono, .num, code{
  font-family: "IBM Plex Mono", monospace;
}

.eyebrow{
  display:inline-flex; align-items:center; gap:8px;
  font-family:"IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--glow);
  border: 1px solid var(--line);
  padding: 6px 12px;
  border-radius: 999px;
}

.section-tag{
  display:block;
  font-family:"IBM Plex Mono", monospace;
  font-size:12.5px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.gradient-text{
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Buttons ===================== */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, border-color .3s;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(120deg, var(--blue-600), var(--blue-500) 55%, var(--cyan-400));
  background-size: 180% 180%;
  background-position: 0% 50%;
  color: #fff;
  box-shadow: 0 12px 30px -10px rgba(21,95,209,0.55);
}
.btn-primary:hover{
  transform: translateY(-2px);
  background-position: 100% 50%;
  box-shadow: 0 16px 36px -8px rgba(30,124,242,0.6);
}
.btn-ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-ghost:hover{
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}
.btn-store{
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 20px;
  gap: 12px;
  border-radius: 14px;
}
.btn-store:hover{ transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--accent); }
.btn-store .store-icon{ width:22px; height:22px; flex-shrink:0; }
.btn-store .store-text{ display:flex; flex-direction:column; align-items:flex-start; line-height:1.15; }
.btn-store .store-text small{ font-size:10.5px; color: var(--text-soft); letter-spacing:.03em; }
.btn-store .store-text span{ font-size:14.5px; font-weight:700; font-family:"Space Grotesk"; }
.btn-store.soon{ position: relative; opacity:.9; }
.pill-soon{
  font-family:"IBM Plex Mono"; font-size:9.5px; letter-spacing:.08em;
  background: var(--glow); color: var(--accent);
  padding:2px 7px; border-radius:999px; margin-left:8px; text-transform:uppercase;
}

/* ===================== Header / Nav ===================== */
.site-header{
  position: fixed; top:0; left:0; right:0; z-index: 999;
  background: var(--header-bg);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease), border-color .4s var(--ease);
}
.nav-wrap{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 24px;
  max-width: 1180px; margin:0 auto;
}
.brand{ display:flex; align-items:center; gap:10px; }
.brand-mark{ height: 36px; width:auto; flex-shrink:0; }
.brand-text{ display:flex; flex-direction:column; line-height:1; }
.brand-line1{
  font-family:"Space Grotesk"; font-weight:700; font-size: 18px;
  letter-spacing:-0.01em; color: var(--text); transition: color .4s var(--ease);
}
.brand-line1 .x{ color: var(--accent-2); }
.brand-line2{
  font-family:"Space Grotesk"; font-weight:600; font-size: 10.5px;
  letter-spacing:.12em; text-transform:uppercase; color: var(--text-soft);
  margin-top: 2px; transition: color .4s var(--ease);
}
/* Footer sits on a permanently dark surface regardless of site theme,
   so its brand text is pinned to light values to stay legible. */
.site-footer .brand-line1{ color:#fff; }
.site-footer .brand-line2{ color:#8FA2BE; }

.nav-links{ display:flex; align-items:center; gap: 30px; }
.nav-links a{
  font-size: 14.5px; font-weight:500; color: var(--text-soft);
  position: relative; padding: 4px 0;
  transition: color .25s;
}
.nav-links a::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a.active{ color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }

.nav-actions{ display:flex; align-items:center; gap:14px; }

.theme-toggle{
  width: 44px; height: 26px; border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  position: relative;
  transition: background .3s;
}
.theme-toggle .knob{
  position:absolute; top:2px; left:2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-500), var(--cyan-400));
  transition: transform .35s var(--ease);
  display:flex; align-items:center; justify-content:center;
  font-size: 10px; line-height:1;
}
[data-theme="dark"] .theme-toggle .knob{ transform: translateX(18px); }

.nav-burger{ display:none; }

/* ===================== Hero =====================
   Full-bleed photo background. This section intentionally does NOT
   follow the light/dark theme toggle — it always sits on the dark
   photo with light text, the same way the footer and download-cta
   bands do, so contrast stays correct no matter which theme is active. */
.hero{
  position: relative;
  padding: 200px 0 140px;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(100deg, rgba(4,9,18,0.94) 0%, rgba(4,9,18,0.82) 32%, rgba(4,9,18,0.42) 58%, rgba(4,9,18,0.15) 78%, rgba(4,9,18,0.35) 100%),
    url("../assets/hero-bg.jpg") center 22% / cover no-repeat;
  background-color: #050914;
}
.hero::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(0deg, rgba(4,9,18,0.9) 0%, rgba(4,9,18,0) 22%, rgba(4,9,18,0) 78%, rgba(4,9,18,0.55) 100%);
  pointer-events: none;
}

.hero-inner{ position:relative; z-index:1; max-width: 620px; }
.hero-copy h1{
  font-size: clamp(2.4rem, 4.2vw, 3.6rem);
  margin: 20px 0 22px;
  color: #fff;
}
.hero-copy p.lede{
  font-size: 18px; color: #C3D1E4; max-width: 520px; margin-bottom: 34px;
}
.hero .eyebrow{
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.18);
  color: var(--cyan-300);
}
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom: 46px; }
.hero .btn-ghost{ border-color: rgba(255,255,255,0.35); color:#fff; }
.hero .btn-ghost:hover{ border-color: var(--cyan-300); color: var(--cyan-300); }
.hero-stats{ display:flex; gap: 34px; flex-wrap:wrap; }
.hero-stats .stat b{
  display:block; font-family:"IBM Plex Mono"; font-size: 26px; color: #fff;
}
.hero-stats .stat span{ font-size:12.5px; color: #93A5BF; letter-spacing:.02em; }

.fade-up{
  opacity:0; transform: translateY(26px);
  animation: fadeUp .8s var(--ease) forwards;
}
.fade-up.d1{ animation-delay: .05s; }
.fade-up.d2{ animation-delay: .15s; }
.fade-up.d3{ animation-delay: .25s; }
.fade-up.d4{ animation-delay: .35s; }
@keyframes fadeUp{ to{ opacity:1; transform:none; } }

/* ---- Signature element: live verification card ---- */
.verify-card{
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 26px;
  position: relative;
  max-width: 420px;
  margin-left: auto;
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}
.verify-card .vc-head{
  display:flex; align-items:center; justify-content:space-between;
  margin-bottom: 18px;
}
.vc-head .vc-num{
  font-family:"IBM Plex Mono"; font-size:14.5px; color: var(--text-soft);
}
.vc-head .vc-dot{
  width:8px; height:8px; border-radius:50%; background: var(--accent-2);
  box-shadow: 0 0 0 0 var(--accent-2);
  animation: pulseDot 1.8s ease-out infinite;
}
@keyframes pulseDot{
  0%{ box-shadow: 0 0 0 0 rgba(62,214,245,.55); }
  70%{ box-shadow: 0 0 0 10px rgba(62,214,245,0); }
  100%{ box-shadow: 0 0 0 0 rgba(62,214,245,0); }
}
.sms-bubble{
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 16px;
  opacity: 0;
  animation: slideIn .6s var(--ease) forwards;
  animation-delay: .4s;
}
@keyframes slideIn{ from{ opacity:0; transform: translateX(24px);} to{opacity:1; transform:none;} }
.sms-bubble .sms-from{ font-size:12px; color: var(--text-soft); margin-bottom: 8px; }
.sms-bubble .sms-code{
  font-family:"IBM Plex Mono"; font-size: 26px; letter-spacing: 6px; font-weight:600;
  color: var(--accent);
  display:flex;
}
.sms-bubble .sms-code span{
  opacity:0; animation: typeDigit .1s ease forwards;
}
.sms-bubble .sms-code span:nth-child(1){ animation-delay: 1.0s; }
.sms-bubble .sms-code span:nth-child(2){ animation-delay: 1.15s; }
.sms-bubble .sms-code span:nth-child(3){ animation-delay: 1.30s; }
.sms-bubble .sms-code span:nth-child(4){ animation-delay: 1.45s; }
.sms-bubble .sms-code span:nth-child(5){ animation-delay: 1.60s; }
.sms-bubble .sms-code span:nth-child(6){ animation-delay: 1.75s; }
@keyframes typeDigit{ to{ opacity:1; } }

.verify-status{
  display:flex; align-items:center; gap:10px;
  font-size: 14px; color: var(--text-soft);
  opacity:0; animation: fadeUp .5s var(--ease) forwards;
  animation-delay: 2.1s;
}
.verify-status .check-circle{
  width: 22px; height:22px; border-radius:50%;
  background: linear-gradient(135deg, var(--blue-500), var(--accent-2));
  display:flex; align-items:center; justify-content:center;
  flex-shrink:0;
}
.verify-status .check-circle svg{ width:12px; height:12px; }
.verify-status .check-circle path{
  stroke-dasharray: 20; stroke-dashoffset: 20;
  animation: drawCheck .4s ease forwards;
  animation-delay: 2.2s;
}
@keyframes drawCheck{ to{ stroke-dashoffset:0; } }
.verify-status strong{ color: var(--text); }

.verify-card .vc-globe{
  position:absolute; top:-14px; right:-14px;
  width:46px; height:46px; border-radius:50%;
  background: var(--bg-elevated); border:1px solid var(--line);
  display:flex; align-items:center; justify-content:center;
  font-size:20px;
  box-shadow: var(--shadow);
  animation: spinSlow 12s linear infinite;
}
@keyframes spinSlow{ from{ transform: rotate(0);} to{ transform: rotate(360deg);} }

/* ===================== Logo strip ===================== */
.logo-strip{
  padding: 46px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.logo-strip p{
  text-align:center; font-size:12.5px; letter-spacing:.1em; text-transform:uppercase;
  color: var(--text-soft); margin-bottom: 26px; font-family:"IBM Plex Mono";
}
.country-row{
  display:flex; flex-wrap:wrap; justify-content:center; gap: 14px;
}
.country-chip{
  font-family:"IBM Plex Mono"; font-size: 13px;
  border:1px solid var(--line); padding: 8px 16px; border-radius: 999px;
  color: var(--text-soft);
  transition: all .3s var(--ease);
}
.country-chip:hover{ color: var(--accent); border-color: var(--accent); transform: translateY(-2px); }

/* ===================== Sections generic ===================== */
section{ padding: 100px 0; }
.section-head{ max-width: 640px; margin-bottom: 56px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }
.section-head h2{ font-size: clamp(1.9rem, 3vw, 2.5rem); }
.section-head p{ color: var(--text-soft); font-size: 16.5px; margin-top: 14px; }

.bg-alt{ background: var(--bg-alt); }

/* ===================== Feature grid ===================== */
.feature-grid{
  display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card{
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
  position: relative;
  overflow:hidden;
}
.feature-card::before{
  content:""; position:absolute; inset:0;
  background: linear-gradient(135deg, var(--glow), transparent 60%);
  opacity:0; transition: opacity .4s;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.feature-card:hover::before{ opacity:1; }
.feature-icon{
  width: 46px; height:46px; border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--blue-600), var(--accent-2));
  margin-bottom: 20px; font-size: 20px;
  position: relative; z-index:1;
}
.feature-card h3{ font-size: 18px; margin-bottom: 10px; position:relative; z-index:1; }
.feature-card p{ color: var(--text-soft); font-size: 14.5px; position:relative; z-index:1; }

/* ===================== How it works (steps) ===================== */
.steps{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 30px; counter-reset: step;
}
.step{ position: relative; padding-left: 6px; }
.step .step-num{
  font-family:"IBM Plex Mono"; font-size: 42px; font-weight:600;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
  margin-bottom: 14px; display:block;
}
.step h3{ font-size: 18px; margin-bottom: 10px; }
.step p{ color: var(--text-soft); font-size: 14.5px; }
.step:not(:last-child)::after{
  content:""; position:absolute; top:24px; right:-15px; width:30px; height:1px;
  background: var(--line); display:none;
}
@media(min-width: 900px){
  .step:not(:last-child)::after{ display:block; }
}

/* ===================== Use cases / Pricing-ish cards ===================== */
.usecase-grid{
  display:grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
.usecase-card{
  display:flex; gap:18px; align-items:flex-start;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: transform .35s var(--ease), border-color .3s;
}
.usecase-card:hover{ transform: translateY(-4px); border-color: var(--accent); }
.usecase-card .uc-icon{
  width:40px; height:40px; border-radius: 10px; flex-shrink:0;
  background: var(--glow); color: var(--accent);
  display:flex; align-items:center; justify-content:center; font-size:18px;
}
.usecase-card h4{ font-size:16px; margin-bottom:6px; }
.usecase-card p{ font-size:14px; color:var(--text-soft); }

/* ===================== Trust / stats band ===================== */
.trust-band{
  display:grid; grid-template-columns: repeat(4,1fr);
  gap: 20px; text-align:center;
}
.trust-band .t-item b{
  display:block; font-family:"IBM Plex Mono"; font-size: 32px;
  background: linear-gradient(100deg, var(--accent), var(--accent-2));
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.trust-band .t-item span{ font-size: 13px; color: var(--text-soft); }

/* ===================== Download CTA ===================== */
.download-cta{
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: var(--radius-lg);
  padding: 64px 50px;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align:center;
}
.download-cta::before{
  content:""; position:absolute; inset:0;
  background: radial-gradient(50% 80% at 20% 0%, rgba(62,214,245,.25), transparent 60%),
              radial-gradient(50% 80% at 80% 100%, rgba(30,124,242,.3), transparent 60%);
}
.download-cta *{ position:relative; z-index:1; }
.download-cta h2{ color:#fff; font-size: clamp(1.8rem,3vw,2.3rem); margin-bottom:14px; }
.download-cta p{ color: #AEC0DA; max-width: 520px; margin: 0 auto 30px; }
.store-row{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.download-cta .btn-store{ background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color:#fff; }
.download-cta .btn-store .store-text small{ color:#8FA2BE; }
.download-cta .btn-store:hover{ border-color: var(--accent-2); }

/* ===================== FAQ Accordion ===================== */
.accordion{ max-width: 800px; margin: 0 auto; }
.acc-item{
  border-bottom: 1px solid var(--line);
}
.acc-q{
  display:flex; align-items:center; justify-content:space-between;
  padding: 22px 4px; cursor:pointer; font-weight:600; font-size:15.5px;
}
.acc-q .acc-plus{
  width:22px; height:22px; flex-shrink:0; position:relative;
}
.acc-q .acc-plus::before, .acc-q .acc-plus::after{
  content:""; position:absolute; background: var(--accent);
  transition: transform .35s var(--ease);
}
.acc-q .acc-plus::before{ top:50%; left:0; width:100%; height:2px; transform: translateY(-50%); }
.acc-q .acc-plus::after{ left:50%; top:0; height:100%; width:2px; transform: translateX(-50%); }
.acc-item.open .acc-plus::after{ transform: translateX(-50%) rotate(90deg); opacity:0; }
.acc-a{
  max-height:0; overflow:hidden; transition: max-height .4s var(--ease);
}
.acc-a p{ padding: 0 4px 22px; color: var(--text-soft); font-size:14.5px; max-width: 700px; }

/* ===================== Forms (Contact) ===================== */
.contact-grid{
  display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:flex-start;
}
.form-field{ margin-bottom: 20px; }
.form-field label{ display:block; font-size: 13.5px; font-weight:600; margin-bottom:8px; }
.form-field input, .form-field textarea, .form-field select{
  width:100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--bg-elevated); color: var(--text);
  font-size: 14.5px; transition: border-color .25s, box-shadow .25s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px var(--glow);
}
.form-field textarea{ resize: vertical; min-height: 120px; }
.form-field select{
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235B6B82' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
  cursor: pointer;
}
.contact-info-card{
  background: var(--bg-elevated); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px;
}
.contact-info-row{ display:flex; gap:14px; align-items:flex-start; padding: 16px 0; border-bottom: 1px solid var(--line); }
.contact-info-row:last-child{ border-bottom:none; }
.contact-info-row .ci-icon{
  width:38px; height:38px; border-radius:10px; background: var(--glow); color: var(--accent);
  display:flex; align-items:center; justify-content:center; flex-shrink:0;
}
.contact-info-row h4{ font-size:14.5px; margin-bottom:4px; }
.contact-info-row p, .contact-info-row a{ font-size:13.5px; color: var(--text-soft); }
.form-note{ font-size:12.5px; color: var(--text-soft); margin-top:10px; }
.form-success{
  display:none; align-items:center; gap:10px;
  background: var(--glow); border:1px solid var(--accent); color: var(--accent);
  padding: 14px 18px; border-radius: 12px; font-size:14px; margin-top:16px;
}
.form-success.show{ display:flex; animation: fadeUp .4s var(--ease); }

/* ===================== Legal pages ===================== */
.legal-wrap{ max-width: 820px; margin: 0 auto; }
.legal-updated{ font-family:"IBM Plex Mono"; font-size:12.5px; color: var(--text-soft); margin-bottom: 30px; }
.legal-wrap h2{ font-size: 22px; margin-top: 40px; margin-bottom: 14px; }
.legal-wrap h2:first-of-type{ margin-top:0; }
.legal-wrap p, .legal-wrap li{ color: var(--text-soft); font-size: 15px; margin-bottom: 14px; }
.legal-wrap ul{ padding-left: 22px; list-style: disc; }
.legal-toc{
  background: var(--bg-alt); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 26px; margin-bottom: 46px;
}
.legal-toc h4{ font-size:13px; text-transform:uppercase; letter-spacing:.08em; margin-bottom:12px; color:var(--text-soft); font-family:"IBM Plex Mono"; }
.legal-toc a{ display:block; font-size: 14.5px; padding: 5px 0; color: var(--text); transition: color .2s; }
.legal-toc a:hover{ color: var(--accent); }

/* ===================== About page specifics ===================== */
.about-hero{ padding-top: 160px; }
.mission-grid{ display:grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items:center; }
.value-list{ display:grid; grid-template-columns: repeat(2,1fr); gap:18px; margin-top: 30px; }
.value-item{ display:flex; gap:12px; align-items:flex-start; }
.value-item .v-check{
  width:22px; height:22px; border-radius:50%; flex-shrink:0; margin-top:2px;
  background: linear-gradient(135deg, var(--blue-500), var(--accent-2));
  display:flex; align-items:center; justify-content:center;
}
.value-item .v-check svg{ width:11px; height:11px; }
.value-item p{ font-size:14.5px; color: var(--text-soft); }
.value-item strong{ color: var(--text); display:block; margin-bottom:2px; }

.timeline{ position:relative; padding-left: 30px; margin-top: 20px;}
.timeline::before{ content:""; position:absolute; left:8px; top:6px; bottom:6px; width:2px; background: var(--line); }
.tl-item{ position:relative; padding-bottom: 34px; }
.tl-item::before{
  content:""; position:absolute; left:-30px; top:2px; width:16px; height:16px; border-radius:50%;
  background: var(--bg); border: 3px solid var(--accent);
}
.tl-item h4{ font-family:"IBM Plex Mono"; font-size:13px; color: var(--accent); margin-bottom:6px; }
.tl-item p{ color: var(--text-soft); font-size:14.5px; }

/* ===================== Footer ===================== */
.site-footer{
  background: var(--navy-950);
  color: #C7D3E3;
  padding: 70px 0 30px;
}
.site-footer .brand-name, .site-footer .brand-name .x{ color:#fff; }
.footer-grid{
  display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p{ color:#8FA2BE; font-size:14px; margin: 16px 0 20px; max-width:280px; }
.footer-contact{ display:flex; flex-direction:column; gap:8px; margin: 4px 0 20px; }
.footer-contact a{
  font-size:14px; color:#C7D3E3; display:inline-flex; align-items:center; gap:8px;
  width: fit-content; transition: color .25s;
}
.footer-contact a:hover{ color: var(--accent-2); }
.social-row{ display:flex; gap:12px; }
.social-row a{
  width:36px; height:36px; border-radius:50%; border:1px solid rgba(255,255,255,0.14);
  display:flex; align-items:center; justify-content:center; font-size:14px;
  transition: all .3s var(--ease);
}
.social-row a:hover{ background: var(--accent-2); border-color: var(--accent-2); color:#04121c; transform: translateY(-3px); }
.footer-col h5{ font-size:13px; text-transform:uppercase; letter-spacing:.08em; color:#fff; margin-bottom:18px; font-family:"IBM Plex Mono"; }
.footer-col a{ display:block; color:#8FA2BE; font-size:14px; padding:6px 0; transition: color .2s; }
.footer-col a:hover{ color: var(--accent-2); }
.footer-bottom{
  display:flex; justify-content:space-between; align-items:center; padding-top: 26px; flex-wrap:wrap; gap:12px;
}
.footer-bottom p{ font-size:13px; color:#6C7E97; }
.footer-legal-links{ display:flex; gap:20px; }
.footer-legal-links a{ font-size:13px; color:#6C7E97; }
.footer-legal-links a:hover{ color: var(--accent-2); }

/* ===================== Scroll reveal ===================== */
.reveal{ opacity:0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }

/* ===================== Page hero (inner pages) ===================== */
.page-hero{
  padding: 160px 0 70px;
  text-align:center;
  position:relative;
}
.page-hero::before{
  content:""; position:absolute; inset: 0 -10% auto -10%; height: 420px;
  background: radial-gradient(50% 60% at 50% 0%, var(--glow), transparent 70%);
  z-index:-1;
}
.page-hero h1{ font-size: clamp(2rem,4vw,2.9rem); margin-bottom: 14px; }
.page-hero p{ color: var(--text-soft); max-width: 560px; margin: 0 auto; font-size:16.5px; }

/* ===================== Responsive ===================== */
@media (max-width: 980px){
  .verify-card{ margin: 0 auto; }
  .feature-grid{ grid-template-columns: repeat(2,1fr); }
  .steps{ grid-template-columns: repeat(1,1fr); gap:40px; }
  .usecase-grid{ grid-template-columns: 1fr; }
  .mission-grid{ grid-template-columns: 1fr; }
  .value-list{ grid-template-columns: 1fr; }
  .contact-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .trust-band{ grid-template-columns: repeat(2,1fr); gap: 30px 20px; }
}
@media (max-width: 720px){
  .nav-links{
    position: absolute; top: 100%; left:0; right:0;
    display:flex; flex-direction:column; align-items:stretch; gap:0;
    background: var(--header-bg);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    padding: 8px 24px 18px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    border-radius: 0 0 22px 22px;
    box-shadow: 0 24px 40px -20px rgba(11,32,64,0.28);
    transform-origin: top center;
    transform: translateY(-10px) scaleY(0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s linear .5s;
  }
  .nav-links.open{
    transform: translateY(0) scaleY(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity .45s var(--ease), transform .5s var(--ease), visibility 0s linear 0s;
  }
  .nav-links a{
    width:100%; padding: 15px 4px; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px);
    transition: opacity .4s var(--ease), transform .4s var(--ease), color .25s;
  }
  .nav-links a::after{ display:none; }
  .nav-links.open a{ opacity:1; transform:none; }
  .nav-links.open a:nth-child(1){ transition-delay: .08s; }
  .nav-links.open a:nth-child(2){ transition-delay: .14s; }
  .nav-links.open a:nth-child(3){ transition-delay: .20s; }
  .nav-links.open a:nth-child(4){ transition-delay: .26s; }
  .nav-links a:last-child{ border-bottom:none; }
  .nav-burger{
    display:flex; flex-direction:column; justify-content:center; gap:5px; width:26px; height:26px; z-index: 1001;
  }
  .nav-burger span{ height:2px; background: var(--text); border-radius:2px; transition: all .3s var(--ease); }
  .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); }
  .feature-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; }
  .hero{
    padding-top: 140px;
    padding-bottom: 90px;
    background:
      linear-gradient(180deg, rgba(4,9,18,0.88) 0%, rgba(4,9,18,0.72) 55%, rgba(4,9,18,0.92) 100%),
      url("../assets/hero-bg.jpg") center 18% / cover no-repeat;
  }
  .hero-inner{ max-width: 100%; }
  .trust-band{ grid-template-columns: 1fr 1fr; }
}
