/* Self-hosted fonts (vendored — no Google Fonts request). */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-1.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(/assets/fonts/inter-2.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: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/spacegrotesk-3.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(/assets/fonts/spacegrotesk-4.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: 100 800;
  font-display: swap;
  src: url(/assets/fonts/jetbrainsmono-7.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 100 800;
  font-display: swap;
  src: url(/assets/fonts/jetbrainsmono-8.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;
}

:root {
  --bg: #08080a;
  --fg: #f3f1ea;
  --muted: #9c9a92;
  --faint: #6a6862;
  --line: rgba(255, 255, 255, 0.14);
  --accent: #7488da;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  overflow-x: hidden;
}

.nowrap { white-space: nowrap; }

/* ---------- Nav (nt-page variant: opaque scrim for text-on-content) ---------- */
.nt-page .nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; justify-content: space-between; padding: 26px clamp(22px, 5vw, 64px); mix-blend-mode: normal; background: linear-gradient(180deg, rgba(8, 8, 10, 0.97) 0%, rgba(8, 8, 10, 0.97) 55%, rgba(8, 8, 10, 0) 100%); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; letter-spacing: 0.42em; font-size: 14px; }
.nav-logo { display: block; height: 28px; width: auto; }
.wordmark--foot { display: inline-flex; align-items: center; gap: 10px; color: var(--fg); margin-right: auto; font-weight: 600; letter-spacing: 0.42em; font-size: 14px; text-decoration: none; }

.nav-links { display: flex; gap: clamp(16px, 2.5vw, 36px); align-items: center; }
.nav-links a { font-size: 13px; color: #fff; text-decoration: none; letter-spacing: 0.01em; opacity: 0.85; }
.nav-links a:hover { opacity: 1; }

/* ---------- Sections ---------- */
main { position: relative; z-index: 1; }
.nt-wrap { max-width: 1040px; margin: 0 auto; width: 100%; }

/* ---------- Type ---------- */
h1 { font-family: var(--display); font-weight: 600; font-size: clamp(3rem, 9vw, 7rem); line-height: 0.96; letter-spacing: -0.03em; margin-bottom: 32px; text-wrap: balance; }
h1 em { font-style: normal; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(2.1rem, 5.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.025em; margin-bottom: 24px; text-wrap: balance; }
.eyebrow { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); margin-bottom: 30px; font-weight: 500; }
.eyebrow-sub { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: -24px; margin-bottom: 30px; }
.kicker { font-size: clamp(1.05rem, 1.7vw, 1.35rem); color: #e3e1d9; max-width: 100%; line-height: 1.5; text-wrap: balance; }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: #dcdad2; max-width: 62ch; line-height: 1.62; text-wrap: pretty; }
.lede em, .quote em, .card-body em { color: #fff; font-weight: 500; font-style: normal; }
.quote, .coda {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  color: var(--fg); margin-top: 40px;
  line-height: 1.3; letter-spacing: -0.01em; text-wrap: balance;
}
.index { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 34px; font-weight: 500; padding-top: 18px; border-top: 1px solid var(--line); display: inline-block; }
/* .coda shares the unified .quote, .coda rule above */

/* ---------- Hero beats (links) ---------- */
.beats { list-style: none; display: flex; flex-wrap: wrap; gap: 0; margin-top: 44px; }
.beats li { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: #d8d5cc; padding: 0 22px; font-weight: 500; }
.beats li:first-child { padding-left: 0; }
.beats li + li { border-left: 1px solid var(--line); }
.beats a { color: inherit; text-decoration: none; transition: color 0.2s; }
.beats a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; text-decoration-color: rgba(255,255,255,0.45); }
/* Hero — centered, badge pill + two-line headline (white lead, muted second line) */
.hero .inner { max-width: 920px; margin-left: auto; margin-right: auto; text-align: center; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: 1.02; margin-bottom: 26px; }
.h1-sub { display: block; color: var(--muted); }
.hero .kicker { max-width: 660px; margin-left: auto; margin-right: auto; }
.hero .beats { justify-content: center; }
.hero-badge { display: flex; align-items: center; gap: 9px; width: fit-content; margin: 0 auto 30px; padding: 7px 16px 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, 0.03); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px 1px var(--accent); animation: badge-pulse 2.4s ease-in-out infinite; }
@keyframes badge-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

/* ---------- Cards ---------- */
.card {
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 26px 26px 28px;
  scroll-margin-top: 0;
  display: flex; flex-direction: column;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

/* The test: versus columns as cards */
.versus { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; max-width: 940px; }
.col-label { font-size: clamp(1.15rem, 1.8vw, 1.4rem); letter-spacing: -0.005em; color: var(--muted); padding-bottom: 16px; margin-bottom: 16px; font-weight: 600; border-bottom: 1px solid var(--line); }
.col ul { list-style: none; }
.col li { font-size: 1rem; color: #97958d; padding: 9px 0; line-height: 1.4; }
.col--ours.card { border-color: rgba(255, 255, 255, 0.32); background: rgba(18, 18, 20, 0.6); }
.col--ours .col-label { color: var(--fg); }
.col--ours li { color: var(--fg); font-weight: 500; }

/* The substrate: three guarantee cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; max-width: 880px; align-items: stretch; }
.card-head { padding-bottom: 14px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.card-tag { font-size: clamp(1.2rem, 1.85vw, 1.42rem); letter-spacing: -0.01em; color: #fff; font-weight: 600; line-height: 1.1; }
.card-mech { font-size: 11.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); margin-top: 7px; }
.card-body { color: #c5c3ba; font-size: 15px; line-height: 1.6; }

/* ---------- Expand / Learn more (sections + cards) ---------- */
.expand-detail { max-height: none; overflow: visible; opacity: 1; margin-top: 16px; }
.expand-detail.open { opacity: 1; margin-top: 16px; }
.expand-detail p { color: #aeaca3; font-size: 14.5px; line-height: 1.62; max-width: 62ch; text-wrap: pretty; }
.expand-detail p + p { margin-top: 12px; }
.expand-panel {
  background: rgba(10, 10, 12, 0.5);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 26px;
  max-width: 760px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.expand-panel p { color: #c5c3ba; font-size: 15px; max-width: none; }
.expand-btn {
  margin-top: 22px; background: transparent; border: 1px solid var(--line);
  color: var(--fg); font-family: var(--sans); font-size: 13px; font-weight: 500;
  letter-spacing: 0.02em; padding: 9px 16px; border-radius: 8px; cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.expand-btn::after { content: "↓"; margin-left: 7px; display: inline-block; transition: transform 0.3s; opacity: 0.7; }
.expand-btn[aria-expanded="true"]::after { transform: rotate(180deg); }
.expand-btn:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); }
.card .expand-btn { margin-top: auto; align-self: flex-start; }
.card .card-body { margin-bottom: 16px; }

/* Button juice */
.expand-btn { transition: transform 0.16s ease, opacity 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.expand-btn:hover { transform: translateY(-2px); }
.expand-btn:active { transform: translateY(0) scale(0.97); }

/* Newsletter signup */
.signup-wrap { margin-top: 34px; max-width: 460px; }
.signup-label { font-size: 13px; color: var(--muted); margin-bottom: 12px; }
.signup { display: flex; gap: 10px; }
.signup-input { flex: 1; min-width: 0; background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; color: var(--fg); font-family: var(--sans); font-size: 15px; }
.signup-input::placeholder { color: var(--faint); }
.signup-input:focus { outline: none; border-color: rgba(255, 255, 255, 0.45); }
.signup-btn { background: #f3f1ea; color: #0a0b0d; border: none; border-radius: 10px; padding: 12px 20px; font-family: var(--sans); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; transition: transform 0.16s ease, opacity 0.2s ease; }
.signup-btn:hover { transform: translateY(-2px); }
.signup-btn:active { transform: translateY(0) scale(0.97); }
.signup-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.signup-msg { margin-top: 12px; font-size: 13px; min-height: 18px; color: var(--muted); }
.signup-msg[data-state="ok"] { color: #9fdcc0; }
.signup-msg[data-state="error"] { color: #e0a8a8; }
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.inquiry { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.inquiry .signup-input { flex: 0 0 auto; width: 100%; }
.inquiry-message { resize: vertical; min-height: 96px; line-height: 1.5; font-family: var(--sans); }
.inquiry .signup-btn { align-self: flex-start; }
.panel.contact .signup-wrap { max-width: 540px; }

/* Implementations gallery */
.gallery-group { margin-top: 30px; }
.gallery-group + .gallery-group { margin-top: 26px; }
.gallery-label { font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.gallery-sub { letter-spacing: 0; text-transform: none; color: var(--muted); font-weight: 400; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.gcard { position: relative; overflow: hidden; flex: 0 0 330px; background: rgba(10, 10, 12, 0.5); border: 1px solid var(--line); border-radius: 14px; padding: 24px 24px 22px; display: flex; flex-direction: column; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform 0.2s ease, border-color 0.2s ease; }
.gcard::before { content: ""; position: absolute; inset: 0; z-index: 0; opacity: 0; transition: opacity 0.5s ease; background: radial-gradient(110% 70% at 50% 0%, rgba(116, 136, 218, 0.13), transparent 62%); }
.gcard::after { content: ""; position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity 0.5s ease; background-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20width='38.11'%20height='66.00'%20viewBox='0%200%2038.11%2066.00'%3E%3Cg%20fill='none'%20stroke='rgb(116,136,218)'%20stroke-width='1'%3E%3Cpath%20d='M-19.05%20-11%20L-38.11%20-22%20L-38.11%20-44%20L-19.05%20-55%20L-0%20-44%20L0%20-22Z'/%3E%3Cpath%20d='M19.05%20-11%20L-0%20-22%20L0%20-44%20L19.05%20-55%20L38.11%20-44%20L38.11%20-22Z'/%3E%3Cpath%20d='M57.16%20-11%20L38.11%20-22%20L38.11%20-44%20L57.16%20-55%20L76.21%20-44%20L76.21%20-22Z'/%3E%3Cpath%20d='M-38.11%2022%20L-57.16%2011%20L-57.16%20-11%20L-38.11%20-22%20L-19.05%20-11%20L-19.05%2011Z'/%3E%3Cpath%20d='M0%2022%20L-19.05%2011%20L-19.05%20-11%20L-0%20-22%20L19.05%20-11%20L19.05%2011Z'/%3E%3Cpath%20d='M38.11%2022%20L19.05%2011%20L19.05%20-11%20L38.11%20-22%20L57.16%20-11%20L57.16%2011Z'/%3E%3Cpath%20d='M-19.05%2055%20L-38.11%2044%20L-38.11%2022%20L-19.05%2011%20L-0%2022%20L0%2044Z'/%3E%3Cpath%20d='M19.05%2055%20L-0%2044%20L0%2022%20L19.05%2011%20L38.11%2022%20L38.11%2044Z'/%3E%3Cpath%20d='M57.16%2055%20L38.11%2044%20L38.11%2022%20L57.16%2011%20L76.21%2022%20L76.21%2044Z'/%3E%3Cpath%20d='M0%2088%20L-19.05%2077%20L-19.05%2055%20L-0%2044%20L19.05%2055%20L19.05%2077Z'/%3E%3Cpath%20d='M38.11%2088%20L19.05%2077%20L19.05%2055%20L38.11%2044%20L57.16%2055%20L57.16%2077Z'/%3E%3C/g%3E%3C/svg%3E"); background-size: 55.43px 96px; -webkit-mask: radial-gradient(125% 78% at 50% -8%, #000 0%, #000 20%, transparent 68%); mask: radial-gradient(125% 78% at 50% -8%, #000 0%, #000 20%, transparent 68%); }
.gcard > * { position: relative; z-index: 3; }
.gcard:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.22); }
.gcard:hover::before { opacity: 1; }
.gcard:hover::after { opacity: 0.05; }
.gcard-link { text-decoration: none; color: inherit; -webkit-user-drag: none; }
/* Hex twinkle: scattered cells that light up + drift while hovering */
.hex-fx { position: absolute; top: 0; left: 0; width: 330px; height: 200px; z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease; -webkit-mask: radial-gradient(130% 100% at 50% -10%, #000 0%, #000 20%, transparent 66%); mask: radial-gradient(130% 100% at 50% -10%, #000 0%, #000 20%, transparent 66%); }
.gcard:hover .hex-fx { opacity: 1; }
.hex-fx .cell { fill: rgb(116, 136, 218); opacity: 0; animation: hex-pulse 8s linear infinite; animation-play-state: paused; }
.gcard:hover .hex-fx .cell { animation-play-state: running; }
@keyframes hex-pulse { 0%, 12%, 100% { opacity: 0.1; } 25%, 83% { opacity: 0; } }
.gcard-name { font-size: 1.2rem; font-weight: 600; color: var(--fg); margin-bottom: 10px; }
.gcard-desc { font-size: 14px; color: var(--muted); line-height: 1.55; margin-bottom: 16px; flex: 1; }
.gbar { height: 4px; background: rgba(255, 255, 255, 0.08); border-radius: 999px; overflow: hidden; margin-bottom: 8px; }
.gbar-fill { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; transition: width 1.1s cubic-bezier(0.4, 0, 0.2, 1); }
.reveal.in .gbar-fill { width: var(--pct); }
.gpct { font-size: 12px; font-weight: 600; letter-spacing: 0.04em; color: var(--accent); }
.gtag { align-self: flex-start; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px; }
.gtag-live { color: #cfe8d8; border-color: rgba(93, 202, 150, 0.45); }
.gtag-live::before { content: "\2022 "; color: #5dca96; }
.marquee { overflow: hidden; margin-top: 4px; padding: 9px 0; touch-action: pan-y; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
.marquee-track { display: flex; gap: 14px; width: max-content; will-change: transform; user-select: none; -webkit-user-select: none; }
.gallery-cross { margin-top: 32px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: #dcdad2; line-height: 1.45; max-width: 640px; }
.gallery-cross em { color: var(--accent); font-style: normal; font-weight: 600; }

/* Reasoning showcase */
.reason-line { margin-top: 26px; font-size: clamp(1.05rem, 1.7vw, 1.4rem); color: #dcdad2; line-height: 1.45; max-width: 700px; }
.reason-line strong { color: var(--accent); font-weight: 600; }

/* ---------- Contact section ---------- */
.nt-section--contact .signup-wrap { max-width: 540px; }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.footer-links { display: flex; gap: 28px; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; }
.footer-links a:hover { color: var(--fg); }
.copyright { color: var(--faint); font-size: 12px; letter-spacing: 0.06em; }
.legal-note { width: 100%; margin-top: 14px; font-size: 11px; line-height: 1.5; color: var(--faint); max-width: 64ch; }

/* ---------- Scroll cue ---------- */
.scroll-cue { position: absolute; cursor: pointer; padding: 12px 34px; bottom: 38px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.scroll-cue:hover { color: var(--fg); }
.scroll-cue.above { opacity: 0; transform: translateX(-50%) translateY(-36px); pointer-events: none; }
.scroll-cue.below { opacity: 0; transform: translateX(-50%) translateY(30px); pointer-events: none; }
.scroll-cue::after { content: ""; display: block; width: 1px; height: 40px; background: linear-gradient(var(--muted), transparent); margin: 12px auto 0; animation: pulse 2.4s ease-in-out infinite; }
.scroll-up { position: absolute; cursor: pointer; padding: 12px 34px; top: 86px; left: 50%; transform: translateX(-50%); font-size: 11px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: opacity 0.55s ease, transform 0.55s ease; }
.scroll-up:hover { color: var(--fg); }
.scroll-up::before { content: ""; display: block; width: 1px; height: 34px; background: linear-gradient(transparent, var(--muted)); margin: 0 auto 12px; }
.scroll-up.hide { opacity: 0; transform: translateX(-50%) translateY(-14px); pointer-events: none; }
@keyframes pulse { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s cubic-bezier(0.4,0,0.2,1), transform 1s cubic-bezier(0.4,0,0.2,1); }
.reveal.in { opacity: 1; transform: none; }
.nt-wrap .reveal:nth-child(2) { transition-delay: 0.08s; }
.nt-wrap .reveal:nth-child(3) { transition-delay: 0.16s; }
.nt-wrap .reveal:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Engine cards (nulltick format) ---------- */
.nt-engines { margin-top: 50px; }
.nt-engines-label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); font-weight: 600; margin-bottom: 16px; }
.nt-engine-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; max-width: 960px; }
.nt-engine { position: relative; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 13px; background: rgba(10, 10, 12, 0.5); padding: 16px 16px 17px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; text-decoration: none; color: inherit; cursor: pointer; }
.nt-engine:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.24); background: rgba(16, 16, 19, 0.62); }
a.nt-engine::after { content: "\2192"; position: absolute; bottom: 13px; right: 15px; font-size: 14px; color: var(--faint); opacity: 0.5; transition: opacity 0.2s ease, transform 0.2s ease, color 0.2s ease; }
a.nt-engine:hover::after { opacity: 1; color: var(--accent); transform: translateX(2px); }
.nt-engine-mark { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--muted); margin-bottom: 15px; transition: color 0.2s ease, border-color 0.2s ease; overflow: hidden; }
.nt-engine-mark svg { width: 23px; height: 23px; display: block; }
.nt-engine-logo { width: 23px; height: 23px; display: block; object-fit: contain; }
.nt-engine:hover .nt-engine-mark { color: var(--accent); border-color: rgba(116, 136, 218, 0.4); }
.nt-engine-text { display: flex; flex-direction: column; gap: 4px; }
.nt-engine-name { font-size: 14.5px; font-weight: 600; color: var(--fg); line-height: 1.15; }
.nt-engine-path { font-size: 11.5px; color: var(--muted); line-height: 1.35; }
.nt-engine-status { position: absolute; top: 15px; right: 15px; font-size: 9.5px; letter-spacing: 0.07em; text-transform: uppercase; font-weight: 600; color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.nt-engine-status.is-live { color: #cfe8d8; border-color: rgba(93, 202, 150, 0.45); }
.nt-engine-status.is-live::before { content: "\2022"; margin-right: 4px; color: #5dca96; }
.nt-engine-status.is-ready { color: #87d0e3; border-color: rgba(47, 152, 179, 0.45); }

.nt-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 40px; max-width: 940px; }
.nt-fact { border-top: 1px solid var(--line); padding-top: 16px; }
.nt-fact-num { font-size: clamp(1.6rem, 2.9vw, 2.3rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1.1; font-variant-numeric: tabular-nums; }
.nt-fact-num .unit { font-size: 0.55em; color: var(--muted); font-weight: 500; margin-left: 6px; }
.nt-fact-num sub { font-size: 0.5em; color: var(--accent); }
.nt-fact-label { margin-top: 9px; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.nt-cta-row { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; margin-top: 38px; }
.nt-more { display: inline-block; border: 1px solid var(--line); border-radius: 10px; padding: 11px 20px; color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease; }
.nt-more::after { content: "→"; display: inline-block; margin-left: 9px; opacity: 0.7; transition: transform 0.2s ease; }
.nt-more:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); transform: translateY(-2px); }
.nt-more:hover::after { transform: translateX(3px); }
.nt-more:active { transform: translateY(0) scale(0.97); }
.nt-more--ghost::after { display: none; }
/* NullTick wordmark used inline in the eyebrow. */
.nt-wordlogo-img { display: inline-block; height: 1em; width: auto; vertical-align: middle; }
#nulltick .nt-wordlogo-img { height: 36px; }
.nt-wordlogo { display: inline-block; }
.nt-wordlogo svg { height: 0.78em; width: auto; display: inline-block; vertical-align: baseline; }

/* ---------- KHALM AI / EV section ---------- */
.ev-heatmap-frame {
  background: rgba(10,10,12,0.5);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.ev-heatmap-frame img {
  border-radius: 10px;
  display: block;
  width: 100%;
}

/* ---------- nt-page component styles ---------- */
.nt-page { background: var(--bg); }
.nt-main { position: relative; z-index: 1; }
.nt-page .hero-badge { margin: 0 0 30px; }
.nt-page code { font-family: var(--mono); font-size: 0.88em; color: #e8e6de; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 5px; padding: 1px 6px; white-space: nowrap; }

/* ---------- nt-hero ---------- */
.nt-hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; padding: 148px clamp(22px, 5vw, 64px) 84px; overflow: hidden; }
.nt-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 52% at 22% 18%, rgba(116, 136, 218, 0.14), transparent 72%); pointer-events: none; }
.nt-hero .nt-wrap { position: relative; }

.nt-hero h1 { font-size: clamp(2.7rem, 6.6vw, 5.4rem); line-height: 1.0; margin-bottom: 26px; max-width: 15ch; }
.nt-sub { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: #dcdad2; max-width: 60ch; line-height: 1.62; text-wrap: pretty; }
.nt-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 18px; margin-top: 34px; }
.nt-btn { display: inline-block; background: #f3f1ea; color: #0a0b0d; border-radius: 10px; padding: 13px 24px; font-weight: 600; font-size: 14px; text-decoration: none; white-space: nowrap; transition: transform 0.16s ease, opacity 0.2s ease; }
.nt-btn:hover { transform: translateY(-2px); }
.nt-btn:active { transform: translateY(0) scale(0.97); }
.nt-ghost { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 10px; padding: 12px 20px; color: var(--fg); text-decoration: none; font-size: 14px; font-weight: 600; transition: transform 0.16s ease, border-color 0.2s ease, background 0.2s ease; }
.nt-ghost::after { content: "\2192"; margin-left: 9px; opacity: 0.65; transition: transform 0.2s ease; }
.nt-ghost:hover { border-color: rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.04); transform: translateY(-2px); }
.nt-ghost:hover::after { transform: translateX(3px); }
.nt-ghost:active { transform: translateY(0) scale(0.97); }
.nt-hero-cta .gtag { margin-left: 2px; }

/* ---------- nt-section ---------- */
.nt-section { padding: clamp(72px, 9vw, 120px) clamp(22px, 5vw, 64px) 0; }
.nt-section--last { padding-bottom: clamp(60px, 7vw, 90px); }

/* ---------- Stat band ---------- */
.nt-statband { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px 24px; margin-top: 48px; max-width: 960px; border-top: 1px solid var(--line); padding-top: 28px; }
.nt-stat b { display: block; font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 600; letter-spacing: -0.02em; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.nt-stat span { display: block; margin-top: 11px; font-size: 13px; color: var(--muted); line-height: 1.5; max-width: 32ch; }
.nt-pricing { margin-top: 26px; font-size: 14px; color: #dcdad2; line-height: 1.55; max-width: 60ch; padding-left: 15px; border-left: 2px solid var(--accent); }

/* ---------- Claim row ---------- */
.nt-claim { margin-top: 48px; border-top: 1px solid var(--line); padding-top: 28px; max-width: 960px; }
.nt-claim-head { margin: 0; font-size: clamp(1.05rem, 1.8vw, 1.35rem); line-height: 1.45; color: #dcdad2; max-width: 52ch; }
.nt-claim-head b { color: #fff; font-weight: 600; }
.nt-claim-note { margin: 12px 0 0; font-size: 13px; color: var(--muted); }

/* ---------- Strengths grid ---------- */
.nt-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 44px; max-width: 1040px; }
.why-card { border: 1px solid var(--line); border-radius: 13px; background: rgba(10, 10, 12, 0.5); padding: 18px 18px 19px; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.why-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, 0.24); background: rgba(16, 16, 19, 0.62); }
.why-claim { margin: 0 0 6px; font-size: 14.5px; font-weight: 600; color: var(--fg); line-height: 1.3; letter-spacing: -0.01em; }
.why-line { margin: 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* ---------- Takeaway + callout ---------- */
.nt-takeaway { margin-top: 34px; padding-top: 15px; border-top: 1px solid var(--line); max-width: 78ch; font-size: 14.5px; line-height: 1.62; color: #dcdad2; }
.nt-takeaway b { display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-right: 12px; }
.nt-callout { margin-top: 32px; border-left: 2px solid var(--accent); padding: 4px 0 4px 20px; max-width: 66ch; color: #dcdad2; font-size: 15.5px; line-height: 1.62; }
.nt-h3 { margin-top: 60px; margin-bottom: 14px; font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 600; letter-spacing: -0.015em; }

/* ---------- Grid cards ---------- */
.nt-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 40px; max-width: 880px; }
.nt-grid .card-body code { font-size: 0.85em; }

/* ---------- Ledger ---------- */
.nt-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px; max-width: 880px; }
.nt-ledger ul { list-style: none; }
.nt-ledger li { position: relative; padding: 8px 0 8px 22px; color: #c5c3ba; font-size: 14.5px; line-height: 1.5; }
.nt-ledger li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 7px; height: 7px; border-radius: 50%; }
.nt-col--live li::before { background: #5dca96; }
.nt-col--todo li::before { background: transparent; border: 1px solid var(--faint); }
.nt-col--todo .col-label { color: var(--muted); }
.nt-col--live .col-label { color: var(--fg); }

/* ---------- Final CTA + footer ---------- */
.nt-cta-final { margin-top: clamp(60px, 8vw, 96px); border-top: 1px solid var(--line); padding-top: 44px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px 40px; }
.nt-cta-copy { font-family: var(--display); font-weight: 600; font-size: clamp(1.25rem, 2.3vw, 1.8rem); letter-spacing: -0.02em; line-height: 1.25; color: #fff; max-width: 24ch; text-wrap: balance; }
.nt-cta-actions { display: flex; align-items: center; gap: 22px; }
.nt-mail { color: var(--muted); text-decoration: none; font-size: 14px; }
.nt-mail:hover { color: var(--fg); }
.nt-footer { padding: clamp(48px, 6vw, 72px) clamp(22px, 5vw, 64px) 30px; }

@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
  src: url(/assets/fonts/jetbrainsmono-5.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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: italic;
  font-weight: 100 800;
  font-display: swap;
  src: url(/assets/fonts/jetbrainsmono-6.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;
}

@media (max-width: 900px) {
  .nt-engine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1000px) {
  .nt-why { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .nt-grid, .nt-ledger { grid-template-columns: 1fr; }
  .nt-why { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .versus, .cards { grid-template-columns: 1fr; gap: 14px; }
  .nt-facts { grid-template-columns: 1fr; gap: 16px; }
  .nav-links > :not(.nav-keep) { display: none; }
  .nt-statband { grid-template-columns: 1fr; gap: 22px; }
  .nt-cta-final { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .nt-engine-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue::after { animation: none; }
  .hero-badge-dot { animation: none; }
}

/* ---------- KHALM-NOVA product page ---------- */
.nova-video { margin-top: 48px; max-width: 1100px; }
.nova-video video { width: 100%; display: block; border-radius: 12px; border: 1px solid var(--line); background: #000; }
.nova-caption { font-size: 13px; color: var(--muted); margin-top: 14px; line-height: 1.6; max-width: 92ch; }

.nova-table-wrap { margin-top: 36px; max-width: 960px; }
.nova-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14.5px; background: rgba(255,255,255,0.025); border-radius: 10px; overflow: hidden; }
.nova-table th { text-align: left; font-weight: 600; color: var(--fg); padding: 13px 16px; border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; background: rgba(255,255,255,0.04); }
.nova-table td { padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,0.06); color: var(--muted); }
.nova-table tr:last-child td { border-bottom: none; }
.nova-table td.num { font-variant-numeric: tabular-nums; color: #dcdad2; white-space: nowrap; }
.nova-table tr.hi td { background: rgba(116, 136, 218, 0.12); color: #f3f1ea; }
.nova-table tr.hi td:first-child { border-left: 3px solid var(--accent); }

.nova-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 38px; max-width: 1000px; }
.nova-step { border: 1px solid var(--line); border-radius: 14px; padding: 28px 24px; background: rgba(255,255,255,0.02); position: relative; }
.nova-step::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0.5; }
.nova-step-num { font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.18em; margin-bottom: 16px; font-weight: 600; }
.nova-step h3 { font-family: var(--display); font-size: 1.3rem; font-weight: 600; margin-bottom: 12px; letter-spacing: -0.01em; color: #f3f1ea; }
.nova-step p { font-size: 14px; color: var(--muted); line-height: 1.65; }

.nova-limits { margin-top: 38px; max-width: 860px; border: 1px solid var(--line); border-radius: 12px; padding: 26px 28px; background: rgba(255,255,255,0.02); }
.nova-limits h3 { font-family: var(--display); font-size: 1.15rem; font-weight: 600; margin-bottom: 14px; }
.nova-limits ul { list-style: none; }
.nova-limits li { font-size: 14px; color: var(--muted); line-height: 1.65; padding: 10px 0 10px 22px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nova-limits li:last-child { border-bottom: none; }
.nova-limits li::before { content: ""; position: absolute; left: 0; top: 18px; width: 7px; height: 7px; border-radius: 50%; background: var(--faint); }
.nova-limits li strong { color: #dcdad2; font-weight: 600; }

@media (max-width: 860px) {
  .nova-steps { grid-template-columns: 1fr; }
  .nova-table { font-size: 13px; }
  .nova-table th, .nova-table td { padding: 10px 10px; }
}
