/* Fonts served from this site (no third-party requests). Heebo and JetBrains Mono, SIL OFL 1.1, see assets/fonts/ */
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/heebo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Heebo";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("../assets/fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("../assets/fonts/jetbrains-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ==========================================================
   VORNHEX – color palette and brand gradient
   ========================================================== */
:root {
  --bg: #0b0d17;
  --bg-alt: #10131f;
  --surface: #1a1b26;
  --surface-2: #1f2335;
  --border: #292e42;
  --border-soft: rgba(122, 162, 247, 0.14);

  --text: #c0caf5;
  --text-strong: #e4e8ff;
  --muted: #9aa5ce;
  --dim: #858eb2;

  --brand-1: #5b82ea;
  --brand-2: #40c4f7;
  --blue: #7aa2f7;
  --cyan: #7dcfff;
  --grad: linear-gradient(90deg, var(--brand-1) 0%, var(--brand-2) 100%);

  --green: #9ece6a;
  --yellow: #e0af68;
  --red: #f7768e;
  --grey: #949cc2;
  --white: #d5d9ee;

  --font-sans: "Heebo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --radius: 14px;
  --container: 1200px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ========== Reset ========== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { color: var(--text-strong); font-weight: 700; }

/* Accessibility: visible keyboard focus and the skip link */
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; outline-offset: 4px; }
main:focus { outline: none; }
.skip-link {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 300;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #0b0d17;
  font-weight: 500;
  transform: translateY(-200%);
  transition: transform .2s;
}
.skip-link:focus { transform: none; }

.mono { font-family: var(--font-mono); font-feature-settings: "zero" 1; }
.hl { color: var(--cyan); white-space: nowrap; }
.center { text-align: center; }

/* ========== Layout ========== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section { position: relative; padding: 128px 0; }
.section-alt { background: var(--bg-alt); }

.section-head { max-width: 780px; margin-bottom: 64px; }
.section-head.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 20px;
}

/* Large gradient headings with an animated line */
.display {
  font-size: clamp(2.6rem, 6.4vw, 5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.title {
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  margin-bottom: 32px;
}
.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
/* animated line under the section heading */
.title::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  margin-top: 28px;
  border-radius: 3px;
  background: var(--grad);
  transition: width 1.1s var(--ease) .2s;
}
.title.is-visible::after { width: 112px; }
.center .title::after { margin-left: auto; margin-right: auto; }

.intro { font-size: 1.2rem; font-weight: 300; color: var(--muted); line-height: 1.7; }

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.2;
  white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, border-color .25s;
}
.btn-primary {
  background: #fff;
  color: #0b0d17;
  box-shadow: 0 8px 30px -10px rgba(255, 255, 255, .35);
}
.btn-primary:hover { transform: translateY(-2px); background: #eef2ff; box-shadow: 0 14px 40px -12px rgba(255, 255, 255, .45); }
.btn-ghost { border: 1px solid var(--border); background: transparent; color: var(--text-strong); }
.btn-ghost:hover { border-color: var(--blue); background: rgba(122, 162, 247, .06); }
/* Blue highlighted button (same tone as the “@vornhexcom on X” link) */
.btn-tint { background: rgba(125, 207, 255, .1); border: 1px solid rgba(125, 207, 255, .28); color: var(--cyan); }
.btn-tint:hover { background: rgba(125, 207, 255, .2); color: var(--text-strong); }
.btn-sm { padding: 10px 20px; font-size: .92rem; }
.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-static { cursor: default; pointer-events: none; }
.btn-icon { width: 20px; height: 20px; }

/* ========== Header ========== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background-color .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(11, 13, 23, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; letter-spacing: .14em; color: var(--text-strong); }
.logo-mark { width: 36px; height: 36px; }

.site-nav { display: flex; align-items: center; gap: 36px; }
.site-nav ul { display: flex; gap: 32px; }
.site-nav ul a { display: inline-block; padding: 10px 0; font-size: .95rem; color: var(--muted); transition: color .2s; }
.site-nav ul a:hover { color: var(--text-strong); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--text-strong); transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ========== Hero ========== */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 96px) 0 120px;
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -20% -10% auto auto;
  width: 900px;
  height: 900px;
  background:
    radial-gradient(circle at 60% 40%, rgba(91, 130, 234, .28), transparent 55%),
    radial-gradient(circle at 40% 60%, rgba(64, 196, 247, .18), transparent 60%);
  filter: blur(20px);
  pointer-events: none;
}
.hero::after {
  /* subtle hexagonal grid in the background */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0 56 16.2v32.3L28 64.7 0 48.5V16.2ZM28 64.7V97' fill='none' stroke='%237aa2f7' stroke-opacity='.07'/%3E%3C/svg%3E");
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 70%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 64px;
  align-items: center;
}
.hero-inner > *, .score-layout > *, .engine-grid > *, .card-showcase > * { min-width: 0; }
.hero .lead { font-size: 1.2rem; font-weight: 300; color: var(--muted); max-width: 560px; margin: 28px 0 40px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.cta-note { margin-top: 18px; font-size: .95rem; color: var(--dim); }
.cta-note a { padding: 3px 8px; border-radius: 6px; color: var(--cyan); background: rgba(125, 207, 255, .1); transition: background-color .2s, color .2s; }
.cta-note a:hover { color: var(--text-strong); background: rgba(125, 207, 255, .2); }

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 48px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-facts li { display: flex; flex-direction: column; }
.hero-facts strong {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-facts span { font-size: .9rem; color: var(--dim); }

/* Phone mockup */
.hero-device { position: relative; justify-self: center; width: 100%; max-width: 340px; }
.phone {
  position: relative;
  border-radius: 48px;
  padding: 12px;
  background: linear-gradient(160deg, #2a2f45, #12141f 60%);
  box-shadow:
    0 0 0 1px rgba(122, 162, 247, .18),
    0 40px 100px -30px rgba(64, 196, 247, .35),
    0 30px 60px -20px rgba(0, 0, 0, .8);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 34%;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
}
.phone-shot { width: 100%; height: auto; border-radius: 38px; }
.phone-sm { border-radius: 36px; padding: 8px; box-shadow: 0 0 0 1px rgba(122, 162, 247, .18), 0 30px 60px -30px rgba(64, 196, 247, .3); }
.phone-sm .phone-shot { border-radius: 28px; }
.phone-sm .phone-notch { top: 14px; width: 30%; height: 17px; }
.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 58px 18px 12px;
}
.app-bar-icon { width: 18px; height: 18px; color: var(--blue); }
.app-title { font-weight: 700; letter-spacing: .16em; font-size: .78rem; color: var(--text-strong); }
.app-live { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: .66rem; color: var(--green); }
.app-live i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }

.feed { flex: 1; overflow: hidden; padding: 4px 12px 12px; display: flex; flex-direction: column; gap: 8px; }

/* Token card (shared by the mockups) */
.token-card {
  position: relative;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px 12px 18px;
  overflow: hidden;
}
.token-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--status, var(--white));
}
.status-green { --status: var(--green); }
.status-yellow { --status: var(--yellow); }
.status-red { --status: var(--red); }
.status-grey { --status: var(--grey); }
.status-white { --status: var(--white); }

.tc-top { display: flex; align-items: center; gap: 10px; }
.tc-ticker { font-weight: 700; color: var(--blue); font-size: 1rem; margin-right: auto; }
.tc-sub { font-size: .72rem; color: var(--dim); margin-top: 2px; }
.tc-addr-sm { font-size: .66rem; color: var(--muted); margin-top: 8px; padding: 6px 8px; background: var(--surface); border-radius: 8px; }

.feed .token-card { flex-shrink: 0; animation: slideIn .6s var(--ease) both; }
.feed .token-card.is-compact { padding-top: 8px; padding-bottom: 8px; }
.feed .token-card.is-compact .tc-sub,
.feed .token-card.is-compact .tc-addr-sm { display: none; }

/* Score badge – same look as in the app (iOS system colors, black text) */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.4;
  white-space: nowrap;
  color: #000;
  background: var(--c);
}
.badge-green { --c: #30d158; }
.badge-yellow { --c: #ffd60a; }
.badge-red { --c: #ff453a; }
.badge-grey { --c: #8e8e93; }
.badge-white { background: #000; color: #fff; box-shadow: inset 0 0 0 1px #3a3d52; }

/* Real token card cropped from a screenshot */
.app-card { position: relative; margin: 0; container-type: inline-size; }
.app-card img { display: block; width: 100%; height: auto; }
.app-card-detailed, .app-card-detailed img { border-radius: 3.2% / 5.1%; }
.app-card-compact, .app-card-compact img { border-radius: 3.2% / 6.2%; }
figure.app-card { box-shadow: 0 40px 80px -40px rgba(64, 196, 247, .35); }

/* Address field on the card: after a tap it shows “Address copied” as in the app
   (green text and check mark on a 12% green background, resets after 2.5 s) */
.app-copy {
  position: absolute;
  left: 8.54%;
  width: 72.62%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3.43cqw;
  border: 0;
  border-radius: 2.64cqw;
  background: transparent;
  color: #30d158;
  font-family: -apple-system, "SF Pro Text", var(--font-sans);
  font-size: 3.96cqw;
  line-height: 1;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .25s;
}
.app-card-detailed .app-copy { top: 40.2%; height: 14.36%; }
.app-card-compact .app-copy { top: 48.46%; height: 17.31%; }
.app-copy > * { opacity: 0; transition: opacity .25s; }
.app-copy-check { width: 4.6cqw; height: 4.6cqw; }
.app-copy.is-copied { background: #192c25; }
.app-copy.is-copied > * { opacity: 1; }

/* List animation in the phone: layers cropped from real screenshots.
   Sizes in iPhone points (402×874): header 116, collapsed row 66, card 204. */
.phone-anim { position: relative; aspect-ratio: 402 / 874; border-radius: 38px; overflow: hidden; background: #1a1b26; }
.phone-anim img { position: absolute; left: 0; width: 100%; height: auto; }
.pa-header { top: 0; }
.pa-list, .pa-row, .pa-card { top: 13.272%; }
.pa-list { animation: pa-list 17s cubic-bezier(.45, 0, .4, 1) infinite; }
.pa-row { opacity: 0; animation: pa-row 17s cubic-bezier(.45, 0, .4, 1) infinite; }
.pa-card { opacity: 0; animation: pa-card 17s cubic-bezier(.45, 0, .4, 1) infinite; }
@keyframes pa-list {
  0%, 10% { transform: none; }
  17%, 40% { transform: translateY(8.707%); }
  48%, 94% { transform: translateY(26.913%); }
  100% { transform: none; }
}
@keyframes pa-row {
  0%, 10% { opacity: 0; transform: translateY(-60%); }
  17%, 40% { opacity: 1; transform: none; }
  46%, 100% { opacity: 0; transform: none; }
}
@keyframes pa-card {
  0%, 40% { opacity: 0; clip-path: inset(0 0 67.6% 0); }
  48%, 94% { opacity: 1; clip-path: inset(0); }
  100% { opacity: 0; clip-path: inset(0); }
}
@keyframes pa-push {
  0%, 66% { opacity: 0; transform: translateY(-14px) scale(.97); }
  72%, 91% { opacity: 1; transform: none; }
  95%, 100% { opacity: 0; transform: translateY(-14px) scale(.97); }
}

/* Push notification above the phone */
.push {
  position: absolute;
  top: 70px;
  left: -60px;
  right: 30px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(36, 40, 59, .92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-soft);
  box-shadow: 0 20px 50px -15px rgba(0, 0, 0, .7);
  opacity: 0;
  transform: translateY(-14px) scale(.97);
  animation: pa-push 17s cubic-bezier(.45, 0, .4, 1) infinite;
  z-index: 3;
}
.push-logo { width: 34px; height: 34px; flex: none; border-radius: 9px; }
.push-title { font-size: .82rem; font-weight: 700; color: var(--text-strong); }
.push-title span { font-weight: 400; color: var(--dim); letter-spacing: 0; margin-left: 6px; }
.push-body { font-size: .8rem; color: var(--muted); }

/* ========== Home page: animated mark ========== */
.hexmark-wrap { position: relative; justify-self: center; width: 100%; max-width: 460px; }
.hexmark { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 0 28px rgba(64, 196, 247, .28)); }
/* masks reveal the logo line by line */
/* Each hexagon draws from the top vertex down, both sides at once; one after another */
.hexmark-line { fill: none; stroke: #fff; stroke-width: 24; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1.02; stroke-dashoffset: 1.02; animation: hex-draw 1.92s cubic-bezier(.45, 0, .4, 1) forwards; }
.hexmark-glyph { fill: #fff; opacity: 0; animation: hex-fade .72s ease-out forwards; }
.hex-1 .hexmark-line { animation-delay: .64s; }
.hex-1 .hexmark-glyph { animation-delay: 2.56s; }
.hex-2 .hexmark-line { animation-delay: 2.88s; }
.hex-3 .hexmark-line { animation-delay: 4.96s; }
.hex-3 .hexmark-glyph { animation-delay: 6.88s; }
.hexmark-dim { opacity: .42; animation: dim-breathe 7s ease-in-out infinite alternate; }
.dim-b { animation-delay: -3.5s; }
@keyframes dim-breathe { from { opacity: .36; } to { opacity: .6; } }

/* Trails: soft blue segments running continuously along the edges, each at its own pace */
.hexmark-trails { filter: drop-shadow(0 0 6px rgba(64, 196, 247, .6)); }
.trail { stroke: #7dcfff; stroke-width: 3; stroke-dasharray: .16 .84; opacity: 0; }
.trail.s1 { animation: trail-in 1.12s ease-out 2.72s forwards, trail-cw 8s linear 2.72s infinite; }
.trail.s2 { animation: trail-in 1.12s ease-out 4.96s forwards, trail-ccw 11s linear 4.96s infinite; }
.trail.s3 { animation: trail-in 1.12s ease-out 7.04s forwards, trail-cw 14s linear 7.04s infinite; }
@keyframes trail-in { to { opacity: .5; } }
@keyframes trail-cw { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -1; } }
@keyframes trail-ccw { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 1; } }

.hexmark-radar { opacity: 0; transform-origin: 299.5px 166px; animation: radar-in .96s ease-out 2.88s forwards, radar-spin 4.2s linear 3.2s infinite; }
.radar-ring { fill: none; stroke: #40c4f7; stroke-width: 1; opacity: 0; animation: radar-ring-in .96s ease-out 2.88s forwards; }
@keyframes radar-spin { to { transform: rotate(360deg); } }
@keyframes radar-ring-in { to { opacity: .05; } }
@keyframes radar-in { to { opacity: .155; } }
.hexmark a { cursor: pointer; }
.hexmark a:focus-visible { outline: none; }
.hexmark a:hover .hexmark-hit, .hexmark a:focus-visible .hexmark-hit { fill: rgba(64, 196, 247, .1); }
.hexmark-hit { fill: transparent; transition: fill .25s; }
@keyframes hex-draw { to { stroke-dashoffset: 0; } }
@keyframes hex-fade { to { opacity: 1; } }
.hexmark-label {
  position: absolute;
  left: 76%; top: 27.67%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: rgba(26, 27, 38, .85);
  white-space: nowrap;
  opacity: 0;
  animation: hex-fade .72s ease-out 2.88s forwards;
  transition: border-color .2s;
}
.hexmark-label:hover { border-color: var(--blue); }
.hexmark-label strong { color: var(--text-strong); font-weight: 700; }
.hexmark-label span { font-family: var(--font-mono); font-size: .72rem; color: var(--cyan); }
/* Thin line from the dot to the "Scanner" label */
.leader-base { stroke: #40c4f7; stroke-width: 1.5; opacity: 0; animation: leader-in .72s ease-out 2.88s forwards; }
@keyframes leader-in { to { opacity: .45; } }

.product-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 36px; }
.product-cta span { font-size: .92rem; color: var(--dim); }
.card-showcase .hero-device { max-width: 300px; }

.community { max-width: 720px; margin: 0 auto; text-align: center; }
.community .intro { margin-bottom: 8px; }
.community .intro a { color: var(--cyan); }
.community .intro a:hover { color: var(--text-strong); }

/* ========== Manual vs VORNHEX comparison ========== */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.compare-col { border-radius: var(--radius); padding: 40px; border: 1px solid var(--border); }
.compare-label { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 28px; }
.compare-col ol { display: grid; gap: 20px; }
.compare-col li { display: flex; gap: 16px; align-items: baseline; }

.compare-manual { background: var(--bg-alt); }
.compare-manual .compare-label { color: var(--dim); }
.compare-manual li { color: var(--dim); }
.compare-manual li::before { content: "—"; color: var(--border); flex: none; }

.compare-auto {
  position: relative;
  background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad) border-box;
  border: 1px solid transparent;
}
.compare-auto .compare-label { color: var(--cyan); }
.compare-auto li { color: var(--text); }
.step-n { flex: none; min-width: 78px; font-size: .8rem; color: var(--blue); }

/* ========== Features ========== */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.feature {
  background: var(--bg-alt);
  padding: 44px 36px;
  transition: background-color .3s;
}
.feature:hover { background: var(--surface); }
.feature-icon {
  width: 52px;
  height: 52px;
  padding: 12px;
  margin-bottom: 28px;
  border-radius: 14px;
  color: var(--brand-2);
  background: rgba(64, 196, 247, .08);
  border: 1px solid rgba(64, 196, 247, .2);
}
.feature h3 { font-size: 1.25rem; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; }
.feature p { color: var(--muted); font-size: .98rem; }

/* ========== Score / legend ========== */
.score-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

.merge {
  display: grid;
  gap: 20px;
  padding: 40px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
}
.merge-src { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.merge-box { padding: 18px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.merge-k { font-size: .82rem; color: var(--dim); margin-bottom: 8px; line-height: 1.35; }
.merge-v { display: flex; }
.dot { width: 8px; height: 8px; border-radius: 50%; flex: none; }
.dot-green { background: var(--green); }
.dot-yellow { background: var(--yellow); }
.merge-op { text-align: center; position: relative; padding: 18px 0; }
.merge-op::before {
  content: "";
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(var(--border), var(--brand-2), var(--border));
}
.merge-op .mono {
  position: relative;
  display: inline-block;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--brand-1);
  color: var(--cyan);
  font-size: .9rem;
}
.merge-op p { position: relative; display: table; margin-left: auto; margin-right: auto; margin-top: 10px; padding: 0 10px; background: var(--surface); font-size: .88rem; color: var(--muted); }
.merge-out .token-card { padding: 18px 20px 18px 24px; }

.legend { display: grid; gap: 4px; }
.legend-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.legend-item:last-child { border-bottom: 0; }
.legend-item .badge { justify-self: start; }
.legend-item p { color: var(--muted); font-size: .98rem; }
.legend-range { display: block; font-size: .8rem; color: var(--cyan); margin-bottom: 2px; }
.fineprint { max-width: 780px; margin-top: 56px; font-size: .88rem; color: var(--dim); }

/* ========== On-chain engine ========== */
.engine { overflow: hidden; }
.engine-glow {
  position: absolute;
  left: -200px; bottom: -300px;
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(91, 130, 234, .16), transparent 60%);
  pointer-events: none;
}
.engine .container { position: relative; }
.engine-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 32px; }
.checks, .timeline {
  padding: 40px;
  border-radius: var(--radius);
  background: rgba(26, 27, 38, .7);
  border: 1px solid var(--border);
}
.checks-head { font-size: .82rem; color: var(--dim); margin-bottom: 24px; }
.checks ul { display: grid; gap: 14px; font-size: .92rem; }
.checks li { display: flex; gap: 12px; color: var(--text); }
.checks li::before { content: "▸"; color: var(--brand-2); }

.timeline ol { position: relative; display: grid; gap: 28px; }
.timeline ol::before {
  content: "";
  position: absolute;
  left: 114px; top: 8px; bottom: 8px;
  width: 1px;
  background: linear-gradient(var(--brand-1), var(--brand-2), transparent);
}
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 34px; position: relative; }
.timeline li::after {
  content: "";
  position: absolute;
  left: 110px; top: 7px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 2px solid var(--brand-2);
}
.tl-time { font-size: .8rem; color: var(--cyan); padding-top: 2px; text-align: right; white-space: nowrap; }
.timeline h3 { font-size: 1.05rem; margin-bottom: 4px; }
.timeline p { font-size: .94rem; color: var(--muted); }

/* ========== Token card showcase ========== */
.card-showcase { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.card-showcase .section-head { margin-bottom: 0; }
.bullets { display: grid; gap: 18px; }
.bullets li { position: relative; padding-left: 26px; color: var(--muted); }
.bullets li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 10px; height: 10px;
  border-radius: 2px;
  background: var(--grad);
  transform: rotate(45deg);
}
.bullets strong { color: var(--text-strong); font-weight: 500; }

.token-card-lg {
  margin: 0;
  padding: 28px 28px 28px 34px;
  border-radius: 20px;
  box-shadow: 0 40px 80px -40px rgba(64, 196, 247, .35);
}
.token-card-lg::before { width: 6px; }
.token-card-lg .tc-ticker { font-size: 1.6rem; }
.token-card-lg .badge { font-size: .85rem; padding: 5px 12px; }
.tc-bm { width: 22px; height: 22px; color: var(--muted); }
.token-card-lg .tc-sub { font-size: .92rem; margin-top: 6px; }
.tc-addr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 20px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  font-size: .95rem;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s;
}
.tc-addr:hover { border-color: var(--blue); }
.tc-addr svg { width: 20px; height: 20px; color: var(--dim); }
.tc-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 20px; }
.tc-stats p:first-child { font-size: .8rem; color: var(--dim); }
.tc-stats p:last-child { font-size: .98rem; color: var(--text-strong); }
.tc-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 20px; }
.tc-links span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: .85rem;
  color: var(--blue);
}
.tc-links svg { width: 12px; height: 12px; }

/* ========== App screenshots ========== */
.screens { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.screens figure { margin: 0; }

/* Dark / Light switch for the screenshots */
.theme-switch {
  display: inline-flex;
  gap: 4px;
  margin-top: 24px;
  padding: 4px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
}
.theme-opt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: .92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.theme-opt svg { width: 18px; height: 18px; }
.theme-opt:hover { color: var(--text-strong); }
.theme-opt[aria-pressed="true"] { background: var(--grad); color: #fff; }
.theme-opt:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
.screens figcaption { margin-top: 16px; text-align: center; font-size: .9rem; color: var(--muted); }

/* ========== Disclaimers ========== */
.honesty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.honesty-item {
  padding: 36px;
  border-radius: var(--radius);
  background: var(--surface);
  /* same 1px frame as the other cards, in a soft yellow */
  border: 1px solid rgba(224, 175, 104, .28);
  transition: border-color .3s;
}
.honesty-item:hover { border-color: rgba(224, 175, 104, .5); }
.honesty-icon {
  display: block;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-bottom: 24px;
  border-radius: 12px;
  color: var(--yellow);
  background: rgba(224, 175, 104, .08);
  border: 1px solid rgba(224, 175, 104, .22);
}
.honesty-item h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; margin-bottom: 12px; color: var(--text-strong); }
.honesty-item p { color: var(--muted); font-size: .96rem; }
.limits-more { margin-top: 32px; text-align: center; font-size: .95rem; }
.limits-more a { color: var(--cyan); transition: color .2s; }
.limits-more a:hover { color: var(--text-strong); }

/* ========== CTA ========== */
.cta { overflow: hidden; }
.cta-glow {
  position: absolute;
  left: 50%; top: 50%;
  width: 900px; height: 600px;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(64, 196, 247, .16), transparent 60%);
  pointer-events: none;
}
.cta .container { position: relative; }
.cta-logo { width: 72px; height: 72px; margin: 0 auto 32px; }
.cta .intro { max-width: 620px; margin: 0 auto 40px; }

/* ========== Footer ========== */
.site-footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; gap: 32px; align-items: center; }
.footer-note { font-size: .86rem; color: var(--dim); max-width: 560px; justify-self: center; text-align: center; }
.footer-copy { font-family: var(--font-mono); font-size: .82rem; color: var(--dim); }
.footer-link {
  padding: 12px 0;
  border: 0;
  background: none;
  font: inherit;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.footer-link:hover { color: var(--text-strong); }

/* ========== Privacy policy ========== */
.legal { padding: calc(var(--header-h) + 72px) 0 112px; }
.legal-inner { max-width: 780px; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 12px 0 8px; }
.legal h2 { font-size: 1.35rem; margin: 48px 0 12px; }
.legal p, .legal li { color: var(--muted); }
.legal p + p { margin-top: 14px; }
.legal strong { color: var(--text); font-weight: 500; }
.legal ul { display: grid; gap: 12px; margin-top: 14px; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-2); }
.legal a:not(.btn) { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
/* links on the legal notice: no underline, it cut through "@" and descenders */
.legal a.link-plain { text-decoration: none; transition: color .2s; }
.legal a.link-plain:hover { color: var(--text-strong); }
.legal code { font-family: var(--font-mono); font-size: .88em; color: var(--text); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.legal .footer-link { padding: 0; color: var(--cyan); }
/* “In short” box at the top of the legal notice, same soft yellow frame as the Limitations cards */
.legal-summary {
  margin: 32px 0 8px;
  padding: 24px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid rgba(224, 175, 104, .28);
}
.legal-summary-head { font-family: var(--font-mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow) !important; }
.legal-summary ul { margin-top: 12px; }
.legal-summary li::before { background: var(--yellow); }
.legal-updated { font-family: var(--font-mono); font-size: .85rem; color: var(--dim) !important; margin-bottom: 32px; }
.legal-table { overflow-x: auto; margin: 20px 0; border: 1px solid var(--border); border-radius: var(--radius); }
.legal table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.legal th, .legal td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.legal th { color: var(--text-strong); font-weight: 500; background: var(--surface); }
.legal td { color: var(--muted); }
.legal tr:last-child td { border-bottom: 0; }

/* ========== 404 page ========== */
.not-found {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 150px);
  min-height: calc(100dvh - 150px);
  padding: calc(var(--header-h) + 72px) 0 112px;
  overflow: hidden;
}
.not-found-inner { position: relative; z-index: 1; max-width: 780px; }
.not-found .lead { font-size: 1.2rem; font-weight: 300; color: var(--muted); max-width: 560px; margin: 28px 0 40px; }
.not-found-note { margin-top: 24px; font-size: .92rem; color: var(--dim); }

/* ========== Animations ========== */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
@keyframes slideIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* Phone and mark animations (.keep-motion) stay on: they are slow and do not move the whole page */
  *:not(.keep-motion), *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .title::after { width: 112px; }
}

/* ========== Responsive ========== */
@media (max-width: 1080px) {
  .site-nav { gap: 24px; }
  .site-nav ul { gap: 20px; }
  .hero-inner { grid-template-columns: 1fr; gap: 72px; }
  .hero-copy { max-width: 720px; }
  .push { left: -40px; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .hexmark-wrap { max-width: 380px; }
  .score-layout, .engine-grid, .card-showcase { grid-template-columns: 1fr; gap: 40px; }
  .honesty { grid-template-columns: 1fr; }
  /* screenshots side by side, swiped horizontally; the next phone peeks in from the edge */
  .screens {
    display: flex;
    gap: 20px;
    margin: 0 -24px;
    padding: 8px 24px 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .screens::-webkit-scrollbar { display: none; }
  .screens figure { flex: 0 0 min(68vw, 280px); scroll-snap-align: start; }
  .screens .reveal { opacity: 1; transform: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    height: calc(100vh - var(--header-h));
    height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 16px;
    padding: 16px 16px calc(28px + env(safe-area-inset-bottom));
    background: #0b0d17;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: block; padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--border); }
  .site-header:has(.site-nav.is-open) { background: #0b0d17; border-bottom-color: var(--border); backdrop-filter: none; -webkit-backdrop-filter: none; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 88px 0; }
  .section-head { margin-bottom: 44px; }
  .hero { padding: calc(var(--header-h) + 48px) 0 88px; }
  .hero-cta .btn { flex: 1 1 100%; }
  .hero-facts { gap: 20px 32px; }
  .hero-facts strong { font-size: 1.8rem; }
  .hero-device { max-width: 300px; }
  .push { left: -8px; right: -8px; top: 60px; }
  .hexmark-wrap { max-width: 300px; }
  .hexmark-label { left: 66%; top: 2%; transform: none; }
  .hexmark-leader { display: none; }
  .compare { grid-template-columns: 1fr; }
  .compare-col, .merge, .checks, .timeline, .honesty-item { padding: 24px 20px; }
  .features { grid-template-columns: 1fr; }
  .feature { padding: 32px 20px; }
  .merge-src { grid-template-columns: 1fr; }
  .legend-item { grid-template-columns: 1fr; gap: 8px; }
  .timeline ol::before { left: 4px; }
  .timeline li { grid-template-columns: 1fr; gap: 4px; padding-left: 28px; }
  .legal { padding: calc(var(--header-h) + 40px) 0 88px; }
  .legal-summary { padding: 20px; }
  .not-found { padding: calc(var(--header-h) + 48px) 0 88px; }
  .not-found .btn { width: 100%; }
  .timeline li::after { left: 0; }
  .tl-time { text-align: left; }
  .token-card-lg { padding: 20px 20px 20px 26px; }
  .tc-links { grid-template-columns: repeat(2, 1fr); }
  .screens { gap: 16px; margin: 0 -16px; padding: 8px 16px 24px; scroll-padding: 0 16px; }
  .footer-inner { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
