/* VeracIDy — draft site. Original work, 2026. */

:root {
  --bg: #070A10;
  --bg-2: #0B111A;
  --bg-card: #101826;
  --bg-card-2: #141D2C;
  --line: rgba(200, 220, 245, 0.10);
  --line-strong: rgba(200, 220, 245, 0.18);
  --text: #F3F6FA;
  --muted: #A8B4C4;
  --muted-2: #7E8B9C;
  --accent: #1ED4A0;
  --accent-2: #14B887;
  --accent-dim: rgba(30, 212, 160, 0.14);
  --accent-ink: #062016;
  --navy: #00235B;
  --teal: #007D5F;
  --danger-soft: #F0A8A8;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
  --radius: 18px;
  --radius-sm: 12px;
  --wrap: 1120px;
  --header-h: 72px;
  --font-display: "Outfit", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Geist", ui-sans-serif, system-ui, sans-serif;
}

@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--text);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
  overflow-x: clip;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.6;
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(30, 212, 160, 0.08), transparent 55%),
    radial-gradient(900px 500px at 0% 0%, rgba(0, 35, 91, 0.45), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100%;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: #6FEBC4; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: 0;
  transform: translateY(-200%);
  background: var(--accent);
  color: var(--accent-ink);
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  z-index: 100;
}
.skip:focus { top: 12px; transform: none; }

.wrap {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 5px 10px 5px 8px;
  border: 1px solid var(--line-strong);
  background: rgba(30, 212, 160, 0.08);
  color: var(--accent);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1;
}
.kicker i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(30, 212, 160, 0.18);
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

h1 { font-size: clamp(2.15rem, 6.2vw, 3.55rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.02em; }

.lede {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
  max-width: 38rem;
}

/* ---------- header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 10, 16, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--text); }

.brand-mark {
  width: 36px;
  height: 36px;
  padding: 5px;
  background: #fff;
  border-radius: 9px;
  flex: 0 0 auto;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08);
}
.brand-mark img, .brand-mark svg { width: 100%; height: 100%; }

.brand-name {
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1;
}
.brand-name em {
  font-style: normal;
  color: var(--accent);
}

.nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}
.nav a:hover { color: var(--text); }
.nav a.nav-demo { color: var(--accent); }
.nav a.nav-demo:hover { color: #6FEBC4; }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: #6FEBC4; color: var(--accent-ink); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: rgba(255,255,255,0.04); color: var(--text); border-color: var(--muted); }
.btn-lg { height: 50px; padding: 0 22px; font-size: 1rem; }

.menu-btn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 36px 0 64px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.hero h1 { max-width: none; }
.hero h1 span { display: block; }

.hero-copy .lede { max-width: 34rem; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
@media (max-width: 419px) {
  .hero-cta .btn { min-width: 0; }
}

.hero-note {
  margin: 18px 0 0;
  color: var(--muted-2);
  font-size: 0.9rem;
  max-width: 32rem;
}

.hero-art {
  position: relative;
  margin-inline: auto;
  width: min(100%, 500px);
}
.hero-art svg { width: 100%; height: auto; display: block; }

/* ---------- sections ---------- */
section { padding: 72px 0; scroll-margin-top: 72px; }
.section-head { max-width: 40rem; margin-bottom: 40px; }
.section-head .lede { margin-top: 12px; }

.panel {
  background: linear-gradient(180deg, var(--bg-card) 0%, #0C131E 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px 22px;
}

/* problem */
#problem { padding-top: 24px; }
.problem-grid {
  display: grid;
  gap: 14px;
}
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
}
.problem-card h3 { margin-bottom: 8px; }
.problem-card p { margin: 0; color: var(--muted); font-size: 1rem; }
.problem-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  color: var(--accent);
}

/* how it works */
#how { background: var(--bg-2); border-block: 1px solid var(--line); }
.steps {
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.step {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 22px 26px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.35rem; margin-bottom: 10px; }
.step p { margin: 0; color: var(--muted); }

.pay-callout {
  margin-top: 18px;
  padding: 22px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--line-strong);
  background: var(--accent-dim);
}
.pay-callout h3 { margin-bottom: 8px; font-size: 1.15rem; }
.pay-callout p { margin: 0; color: var(--text); opacity: 0.88; }
.pay-callout p + p { margin-top: 10px; }
.nowrap { white-space: nowrap; }

.how-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 28px;
}
.drawer a.nav-demo { color: var(--accent); }

/* limited keys */
.keys-layout {
  display: grid;
  gap: 36px;
  align-items: start;
}
.flow {
  display: grid;
  gap: 10px;
}
.flow-node, .flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.flow-node {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 16px;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.flow-node strong {
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.flow-node span { color: var(--muted); font-size: 0.95rem; line-height: 1.45; }
.flow-arrow {
  color: var(--accent);
  font-size: 1.4rem;
  height: 24px;
}

/* lost phone */
#lost { background: var(--bg-2); border-block: 1px solid var(--line); }
.lost-rules { margin-top: 18px; }
.lost-rules p { color: var(--text); opacity: 0.92; }

/* trust faq */
.faq {
  display: grid;
  gap: 10px;
  max-width: 44rem;
}
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 22px;
  min-width: 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 650;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
  line-height: 1.25;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.35rem;
  line-height: 1;
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "–"; }
.faq details p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

/* audiences */
.audience-grid {
  display: grid;
  gap: 16px;
}
.audience {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 26px 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.audience h3 { font-size: 1.3rem; }
.audience p { margin: 0; color: var(--muted); flex: 1; }
.audience-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 6px;
  color: var(--accent);
}

/* not */
#not { background: var(--bg-2); border-block: 1px solid var(--line); }
.not-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.not-list li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  align-items: start;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 18px 16px;
}
.not-list h3 { font-size: 1.08rem; margin-bottom: 4px; }
.not-list p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.xmark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(240, 168, 168, 0.1);
  color: #F0B4B4;
  display: grid;
  place-items: center;
  margin-top: 1px;
}

/* contact */
.contact-grid {
  display: grid;
  gap: 32px;
}
.form {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 22px 18px 20px;
}
.field { margin-bottom: 16px; }
.field label,
.legend {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}
.legend { margin-bottom: 10px; }
.roles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.roles label {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 48px;
  padding: 8px 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 550;
  cursor: pointer;
  line-height: 1.2;
}
.roles input { position: absolute; opacity: 0; pointer-events: none; }
.roles label:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-dim);
  color: var(--text);
  box-shadow: inset 0 0 0 1px var(--accent);
}
.roles label:hover { border-color: var(--line-strong); color: var(--text); }

input[type="text"],
input[type="email"],
textarea,
select {
  width: 100%;
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  appearance: none;
}
textarea { min-height: 140px; resize: vertical; }
input:hover, textarea:hover, select:hover { border-color: var(--line-strong); }
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(30, 212, 160, 0.18);
}

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.form-status {
  margin: 12px 0 0;
  font-size: 0.95rem;
  color: var(--accent);
  display: none;
}
.form-status.show { display: block; }
.form-status.err { color: var(--danger-soft); }

/* footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: 0.92rem;
}
.footer-inner {
  width: min(var(--wrap), calc(100% - 40px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--accent); }
.pilot {
  display: inline-block;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: 8px;
}

/* mobile nav drawer */
.drawer {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: rgba(7, 10, 16, 0.96);
  z-index: 40;
  padding: 24px 20px;
}
.drawer.open { display: block; }
.drawer nav { display: flex; flex-direction: column; gap: 6px; }
.drawer a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  padding: 10px 0;
}
body.nav-open { overflow: hidden; }

@media (min-width: 720px) {
  .wrap { width: min(var(--wrap), calc(100% - 64px)); }
  .header-inner, .footer-inner { width: min(var(--wrap), calc(100% - 64px)); }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .audience-grid { grid-template-columns: repeat(3, 1fr); }
  .not-list { grid-template-columns: 1fr 1fr; }
  .form { padding: 28px 28px 24px; }
  .panel { padding: 36px 36px; }
  .hero { padding: 48px 0 88px; }
  section { padding: 96px 0; }
  .flow {
    grid-template-columns: 1fr 28px 1fr 28px 1fr;
    align-items: stretch;
  }
  .flow-arrow { height: auto; }
  .flow-arrow svg { transform: rotate(-90deg); }
}

@media (min-width: 980px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .hero-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 24px 32px;
    align-items: center;
  }
  .hero { padding: 28px 0 96px; }
  .contact-grid { grid-template-columns: 0.9fr 1.1fr; gap: 48px; align-items: start; }
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .roles { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .kicker i { box-shadow: none; }
}
