/* ==========================================================================
   Kailah Wallet — marketing site
   Tokens mirror the wallet's own stylesheet (src/styles.css) so the page and
   the app read as one thing. Dark only, system fonts, no third-party assets.
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #0b0e14;
  --bg-2: #0d1119;
  --surface: #131a29;
  --surface-2: #182136;
  --hairline: rgba(148, 163, 184, 0.14);
  --hairline-strong: rgba(148, 163, 184, 0.26);
  --text: #f2f4f8;
  --text-2: #8b93a7;
  --text-3: #667089;
  --accent: #5eead4;
  --accent-2: #a7f3d0;
  --accent-soft: rgba(94, 234, 212, 0.12);
  --accent-ink: #062d24;
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.12);
  --ok: #4ade80;
  --warn: #fbbf24;
  --warn-soft: rgba(251, 191, 36, 0.1);
  --radius-card: 16px;
  --radius-ctl: 12px;
  --font:
    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono:
    ui-monospace, SFMono-Regular, Menlo, Monaco, 'Cascadia Mono', 'Roboto Mono', monospace;
  --wrap: 1120px;
  --gutter: 24px;
  --nav-h: 64px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- reset ---------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

h1,
h2,
h3,
p,
ul,
ol,
dl,
dd,
dt,
figure,
pre {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

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

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

button {
  font: inherit;
  color: inherit;
}

code {
  font-family: var(--mono);
  font-size: 0.92em;
}

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

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ico {
  width: 20px;
  height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius-ctl);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
}

.skip:focus {
  top: 12px;
}

/* ---- layout --------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wrap-narrow {
  max-width: 820px;
}

.section {
  position: relative;
  padding: clamp(64px, 10vw, 128px) 0;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(32px, 5vw, 56px);
}

.eyebrow {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.h2 {
  font-size: clamp(1.75rem, 1.15rem + 2.6vw, 2.75rem);
  font-weight: 750;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.h3 {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sub {
  margin-top: 18px;
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  line-height: 1.65;
  color: var(--text-2);
  text-wrap: pretty;
}

.sub a {
  color: var(--accent);
}

/* ---- buttons (same recipe as the wallet) ----------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 20px;
  border-radius: var(--radius-ctl);
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  background: none;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 150ms ease,
    border-color 150ms ease,
    color 150ms ease,
    transform 200ms var(--ease),
    box-shadow 200ms var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: scale(0.985);
}

.btn-lg {
  min-height: 52px;
  padding: 0 24px;
  font-size: 16px;
}

.btn-small {
  min-height: 36px;
  padding: 0 14px;
  font-size: 14px;
  border-radius: 10px;
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, 0);
}

.btn-primary:hover {
  background: #7cf0de;
  box-shadow: 0 8px 30px rgba(94, 234, 212, 0.22);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--surface-2);
  border-color: var(--hairline);
  color: var(--text);
}

.btn-secondary:hover {
  background: #1d2740;
  border-color: var(--hairline-strong);
}

.btn-ghost {
  color: var(--text-2);
}

.btn-ghost:hover {
  background: var(--surface-2);
  color: var(--text);
}

.btn.is-soon {
  cursor: default;
  color: var(--text-2);
  border-style: dashed;
  border-color: var(--hairline-strong);
  background: transparent;
}

.btn.is-soon:hover {
  transform: none;
  background: transparent;
}

.soon-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.cta-center {
  justify-content: center;
}

/* ---- nav ------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 14, 20, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}

.nav.is-scrolled {
  border-bottom-color: var(--hairline);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--nav-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.01em;
  font-size: 17px;
  white-space: nowrap;
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  width: 28px;
  height: 28px;
  flex: none;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links {
  display: flex;
  gap: 2px;
}

.nav-links a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 14.5px;
  font-weight: 500;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.nav-links a:hover,
.nav-links a.is-active {
  color: var(--text);
  background: var(--surface-2);
  text-decoration: none;
}

.nav-cta {
  margin-left: 8px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--hairline);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: var(--gutter);
    right: var(--gutter);
    top: calc(100% + 8px);
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px;
    border: 1px solid var(--hairline);
    border-radius: var(--radius-card);
    background: var(--surface);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
  }

  .nav-links a {
    display: block;
    padding: 12px 14px;
    font-size: 16px;
  }

  .nav-cta {
    margin: 6px 4px 2px;
    min-height: 44px;
  }
}

/* ---- hero ------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
  overflow: clip;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-bg .glow {
  position: absolute;
  left: -10%;
  top: -30%;
  width: 70vw;
  max-width: 900px;
  aspect-ratio: 1;
  background: radial-gradient(circle at center, rgba(94, 234, 212, 0.16) 0%, rgba(94, 234, 212, 0.05) 35%, rgba(94, 234, 212, 0) 65%);
  filter: blur(10px);
}

.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(148, 163, 184, 0.16) 1px, transparent 1.2px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 35%, #000 20%, transparent 75%);
  opacity: 0.7;
}

.rings {
  position: absolute;
  right: -8%;
  top: 50%;
  width: min(80vw, 980px);
  aspect-ratio: 1;
  transform: translateY(-50%);
}

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(94, 234, 212, 0.14);
  animation: ring-breathe 14s ease-in-out infinite;
}

.ring.r2 {
  inset: 12%;
  border-color: rgba(94, 234, 212, 0.11);
  animation-delay: -3s;
}

.ring.r3 {
  inset: 24%;
  border-color: rgba(94, 234, 212, 0.09);
  animation-delay: -6s;
}

.ring.r4 {
  inset: 36%;
  border-color: rgba(94, 234, 212, 0.07);
  animation-delay: -9s;
  border-style: dashed;
  animation-name: ring-breathe, ring-spin;
  animation-duration: 14s, 140s;
  animation-timing-function: ease-in-out, linear;
}

@keyframes ring-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.035);
    opacity: 0.75;
  }
}

@keyframes ring-spin {
  to {
    rotate: 360deg;
  }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 10px;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  background: rgba(19, 26, 41, 0.7);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.eyebrow-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12);
  }
  50% {
    box-shadow: 0 0 0 7px rgba(94, 234, 212, 0.05);
  }
}

.hero-title {
  margin-top: 22px;
  font-size: clamp(2.25rem, 1.3rem + 4.2vw, 4.25rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.grad {
  background: linear-gradient(92deg, var(--accent) 0%, var(--accent-2) 55%, #e0fff8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin-top: 22px;
  max-width: 580px;
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}

.honest {
  margin-top: 18px;
  max-width: 560px;
  padding-left: 14px;
  border-left: 2px solid var(--hairline-strong);
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

/* hero visual: a phone with the real dashboard, chips floating beside it */

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.device-wrap {
  position: relative;
  width: min(100%, 340px);
  animation: float 7s ease-in-out infinite;
}

/* The hero phone recedes into the section: only its top is shown, so the
   dashboard's header, total and first card carry the picture. */
.device-clip {
  max-height: 540px;
  margin: -24px -80px 0;
  padding: 24px 80px 0;
  overflow: hidden;
  mask-image: linear-gradient(to bottom, #000 52%, rgba(0, 0, 0, 0) 93%);
  -webkit-mask-image: linear-gradient(to bottom, #000 52%, rgba(0, 0, 0, 0) 93%);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.device {
  position: relative;
  width: 100%;
  aspect-ratio: 390 / 844;
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(160deg, #1b2335 0%, #0f1420 60%, #0b0e14 100%);
  border: 1px solid rgba(148, 163, 184, 0.28);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.device::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(60% 40% at 20% 0%, rgba(94, 234, 212, 0.16), transparent 70%);
  pointer-events: none;
}

.device-screen {
  position: relative;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  background: var(--bg);
}

.device-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.device-sm {
  width: min(100%, 320px);
  margin: 0 auto;
}

.chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: 14px;
  background: rgba(19, 26, 41, 0.86);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text);
}

.chip .ico {
  width: 18px;
  height: 18px;
  color: var(--accent);
}

.chip .ico-warn {
  color: var(--warn);
}

.chip-a {
  left: -52%;
  top: 9%;
  animation: float 8s ease-in-out -2s infinite;
}

.chip-b {
  right: -44%;
  top: 36%;
  animation: float 9s ease-in-out -4s infinite;
}

.chip-c {
  left: -44%;
  top: 64%;
  animation: float 7.5s ease-in-out -1s infinite;
}

/* stats strip */

.stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-top: clamp(40px, 6vw, 72px);
  padding: 8px 0 0;
  border-top: 1px solid var(--hairline);
}

.stats li {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 12px 8px;
}

.stats strong {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.stats span {
  font-size: 13.5px;
  color: var(--text-2);
}

/* ---- networks --------------------------------------------------------------- */

.net-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.net {
  position: relative;
  padding: 22px 22px 20px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)), var(--surface);
  transition:
    transform 300ms var(--ease),
    border-color 200ms ease,
    box-shadow 300ms var(--ease);
}

.net:hover {
  transform: translateY(-3px);
  border-color: var(--hairline-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.net h3 {
  margin-top: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.net p {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.twin {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--hairline);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
}

.coin {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
  background: var(--surface-2);
  box-shadow: inset 0 0 0 1px var(--hairline-strong);
}

.c-btc {
  color: #ffb86b;
  background: rgba(247, 147, 26, 0.14);
  box-shadow: inset 0 0 0 1px rgba(247, 147, 26, 0.35);
}

.c-doge {
  color: #f1d27a;
  background: rgba(194, 166, 51, 0.16);
  box-shadow: inset 0 0 0 1px rgba(194, 166, 51, 0.4);
}

.c-ltc {
  color: #dfe6f2;
  background: rgba(191, 203, 221, 0.14);
  box-shadow: inset 0 0 0 1px rgba(191, 203, 221, 0.35);
}

.c-base {
  color: #8fb3ff;
  background: rgba(0, 82, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(0, 82, 255, 0.45);
}

.c-eth {
  color: #b7c3ff;
  background: rgba(98, 126, 234, 0.18);
  box-shadow: inset 0 0 0 1px rgba(98, 126, 234, 0.45);
}

.c-arb {
  color: #8dd3ff;
  background: rgba(40, 160, 240, 0.16);
  box-shadow: inset 0 0 0 1px rgba(40, 160, 240, 0.42);
}

.c-bnb {
  color: #ffd45e;
  background: rgba(240, 185, 11, 0.14);
  box-shadow: inset 0 0 0 1px rgba(240, 185, 11, 0.4);
}

.c-sol {
  color: #c9a8ff;
  background: rgba(153, 69, 255, 0.18);
  box-shadow: inset 0 0 0 1px rgba(153, 69, 255, 0.45);
}

.c-trx {
  color: #ff8c9a;
  background: rgba(239, 0, 39, 0.16);
  box-shadow: inset 0 0 0 1px rgba(239, 0, 39, 0.42);
}

/* ---- checks ------------------------------------------------------------------ */

.section-checks {
  background:
    radial-gradient(60% 50% at 80% 10%, rgba(94, 234, 212, 0.07), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.checks-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.console-fig {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
}

.console-fig figcaption {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-3);
}

.console {
  border: 1px solid var(--hairline-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, #151d2e 0%, var(--surface) 100%);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: opacity 320ms ease;
}

.console.is-switching {
  opacity: 0;
}

.console-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 14px;
  border-bottom: 1px solid var(--hairline);
}

.console-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.console-net {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-2);
  white-space: nowrap;
}

.console-rows {
  padding: 8px 20px;
}

.console-rows .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 14.5px;
}

.console-rows dt {
  color: var(--text-2);
}

.console-rows dd {
  font-family: var(--mono);
  font-size: 13.5px;
  color: var(--text);
  text-align: right;
}

.checks {
  padding: 12px 20px 6px;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-3);
  opacity: 0.55;
  transform: translateX(-4px);
  transition:
    opacity 320ms var(--ease),
    transform 320ms var(--ease),
    color 320ms ease;
}

.check.is-ok,
.check.is-stop {
  opacity: 1;
  transform: none;
  color: var(--text);
}

.check-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--hairline-strong);
  color: transparent;
  transition:
    background-color 240ms ease,
    border-color 240ms ease,
    color 240ms ease;
}

.check-ico svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.check.is-ok .check-ico {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-ink);
}

.check.is-stop .check-ico {
  background: var(--danger);
  border-color: var(--danger);
  color: #2b0808;
}

.check.is-stop {
  color: var(--danger);
}

.verdict {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 10px 20px 20px;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 260ms var(--ease),
    transform 260ms var(--ease);
}

.verdict.is-ok,
.verdict.is-stop {
  opacity: 1;
  transform: none;
}

.verdict.is-ok {
  background: var(--accent-soft);
  color: var(--accent);
}

.verdict.is-stop {
  background: var(--danger-soft);
  color: var(--danger);
}

.verdict .ico {
  stroke-width: 2.4;
}

.check-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.card {
  padding: 22px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-card);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), rgba(255, 255, 255, 0.005)), var(--surface);
  transition:
    transform 300ms var(--ease),
    border-color 200ms ease;
}

.card:hover {
  border-color: var(--hairline-strong);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 14px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.card p {
  margin-top: 8px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.card-ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

/* ---- screens strip ----------------------------------------------------------- */

.screens {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.screens li {
  text-align: center;
}

.device-xs {
  width: min(100%, 280px);
  margin: 0 auto;
  padding: 8px;
  border-radius: 38px;
}

.device-xs .device-screen {
  border-radius: 31px;
}

.screens h3 {
  margin-top: 22px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.screens p {
  max-width: 320px;
  margin: 8px auto 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

@media (max-width: 760px) {
  .screens {
    display: flex;
    gap: 16px;
    margin: 0 calc(-1 * var(--gutter));
    padding: 0 var(--gutter) 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .screens::-webkit-scrollbar {
    display: none;
  }

  .screens li {
    flex: 0 0 min(78%, 300px);
    scroll-snap-align: center;
  }
}

/* ---- split sections (practice, verify, ledger) ------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.split-wide {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.split-rev .split-visual {
  order: -1;
}

.split-copy,
.split-visual,
.console-fig,
.terminal {
  min-width: 0;
}

.split-copy .sub {
  max-width: 560px;
}

.bullets {
  display: grid;
  gap: 14px;
  margin-top: 24px;
  max-width: 560px;
}

.bullets li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

.bullets .ico {
  margin-top: 3px;
  color: var(--accent);
}

.bullets code {
  color: var(--text);
}

.mode-demo {
  display: inline-flex;
  margin-top: 28px;
  padding: 3px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
}

.mode-seg {
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
}

.mode-seg.is-on {
  background: var(--accent-soft);
  color: var(--accent);
}

.note-inline {
  display: flex;
  gap: 10px;
  margin-top: 22px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(251, 191, 36, 0.3);
  background: var(--warn-soft);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  max-width: 560px;
}

.note-inline .ico {
  margin-top: 2px;
  color: var(--warn);
}

/* terminal block */

.terminal {
  border: 1px solid var(--hairline-strong);
  border-radius: 16px;
  background: #0a0d13;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}

.terminal-bar span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--hairline-strong);
}

.terminal-bar em {
  margin-left: 8px;
  font-style: normal;
  font-size: 12.5px;
  color: var(--text-3);
}

.terminal pre {
  padding: 18px 18px 20px;
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
}

.terminal code {
  font-size: inherit;
}

.terminal .c {
  color: var(--text-3);
}

.official {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-2);
}

.official .ico {
  margin-top: 2px;
  color: var(--accent);
}

/* ---- privacy / more grids ------------------------------------------------------ */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.feature-grid .card p a {
  color: var(--accent);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.more-grid li {
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 14px;
  background: var(--surface);
}

.more-grid .ico {
  color: var(--accent);
}

.more-grid h3 {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
}

.more-grid p {
  margin-top: 6px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---- please note ------------------------------------------------------------------ */

.section-note {
  padding-top: 0;
}

.note {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(251, 191, 36, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(80% 100% at 0% 0%, rgba(251, 191, 36, 0.08), transparent 60%),
    var(--surface);
}

.note-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.note-head .ico {
  color: var(--warn);
}

.note-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  margin-top: 18px;
}

.note-list li {
  position: relative;
  padding-left: 18px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--text-2);
}

.note-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--warn);
  opacity: 0.8;
}

/* ---- faq -------------------------------------------------------------------------- */

.faq {
  border-top: 1px solid var(--hairline);
}

.faq details {
  border-bottom: 1px solid var(--hairline);
}

.faq summary {
  position: relative;
  padding: 18px 44px 18px 0;
  font-size: 1.05rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: '';
  position: absolute;
  right: 6px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 220ms var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-30%) rotate(225deg);
}

.faq summary:hover {
  color: var(--accent);
}

.faq details p {
  padding: 0 0 20px;
  max-width: 720px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-2);
}

/* ---- final cta --------------------------------------------------------------------- */

.section-cta {
  padding-top: 0;
}

.cta-panel {
  position: relative;
  padding: clamp(40px, 6vw, 72px) clamp(22px, 4vw, 48px);
  border: 1px solid var(--hairline-strong);
  border-radius: 24px;
  text-align: center;
  background:
    radial-gradient(70% 90% at 50% 0%, rgba(94, 234, 212, 0.14), transparent 70%),
    var(--surface);
  overflow: hidden;
}

.cta-panel .sub {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.cta-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.cta-rings span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 120%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(94, 234, 212, 0.1);
  transform: translate(-50%, -50%);
}

.cta-rings span:nth-child(2) {
  width: 90%;
  border-color: rgba(94, 234, 212, 0.08);
}

.cta-rings span:nth-child(3) {
  width: 60%;
  border-color: rgba(94, 234, 212, 0.06);
}

/* ---- footer ---------------------------------------------------------------------------- */

.footer {
  padding: 48px 0 40px;
  border-top: 1px solid var(--hairline);
  background: var(--bg-2);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-name {
  font-weight: 650;
}

.footer-tag {
  font-size: 13.5px;
  color: var(--text-2);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-size: 14.5px;
}

.footer-links a {
  color: var(--text-2);
  padding: 6px 0;
}

.footer-links a:hover {
  color: var(--text);
}

.footer-fine {
  margin-top: 28px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-3);
}

/* ---- scroll reveal ---------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.net-grid .reveal:nth-child(3n + 2),
.check-cards .reveal:nth-child(2n),
.feature-grid .reveal:nth-child(2n),
.more-grid .reveal:nth-child(5n + 2) {
  transition-delay: 80ms;
}

.net-grid .reveal:nth-child(3n),
.more-grid .reveal:nth-child(5n + 3) {
  transition-delay: 160ms;
}

.more-grid .reveal:nth-child(5n + 4) {
  transition-delay: 240ms;
}

.more-grid .reveal:nth-child(5n) {
  transition-delay: 320ms;
}

/* ---- responsive ------------------------------------------------------------------------ */

@media (max-width: 1024px) {
  .more-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .chip-a {
    left: -16%;
  }

  .chip-b {
    right: -7%;
  }

  .chip-c {
    left: -12%;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-visual {
    margin-top: 12px;
  }

  .device-wrap {
    width: min(100%, 300px);
  }

  .chip-a {
    left: -12%;
  }

  .chip-b {
    right: -14%;
  }

  .chip-c {
    left: -8%;
  }

  .stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .checks-layout,
  .split,
  .split-wide {
    grid-template-columns: minmax(0, 1fr);
  }

  .console-fig {
    position: static;
  }

  .split-rev .split-visual {
    order: 1;
  }

  .net-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .note-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --gutter: 16px;
  }

  .net-grid,
  .check-cards,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
  }

  .stats li {
    padding: 12px 8px 6px;
  }

  .cta-row .btn {
    flex: 1 1 100%;
  }

  .chip {
    font-size: 12.5px;
    padding: 8px 11px;
  }

  .chip-a {
    left: -4%;
    top: 10%;
  }

  .chip-b {
    right: -4%;
    top: 44%;
  }

  .chip-c {
    left: -2%;
    top: 62%;
  }

  .console-rows dd {
    font-size: 12.5px;
  }

  .footer-links {
    gap: 4px 14px;
  }
}

@media (max-width: 400px) {
  .more-grid {
    grid-template-columns: 1fr;
  }

  .chip {
    display: none;
  }
}

/* ---- reduced motion ----------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .ring,
  .device-wrap,
  .chip,
  .eyebrow-pill .dot {
    animation: none;
  }
}
