/* Warnia — site styles (v2, dark). Fonts are served from this domain. */

@font-face {
  font-family: "Geist";
  src: url("fonts/geist-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  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: "Geist";
  src: url("fonts/geist-latin-ext.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    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: "Geist Mono";
  src: url("fonts/geist-mono-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #05070d;
  --bg-soft: #080c15;
  --card: #0c111d;
  --card-2: #111828;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --text: #eef2fa;
  --muted: #9ba7bf;
  --dim: #6c7892;

  --accent: #ff6a3d;
  --accent-2: #ffb547;
  --accent-3: #ff3d6e;
  --blue: #5b9bff;
  --green: #3ddc97;
  --red: #ff5d6c;
  --grad: linear-gradient(100deg, #ffb547 0%, #ff6a3d 52%, #ff3d6e 100%);

  --sans: "Geist", "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1180px;
  --pad: clamp(20px, 4vw, 32px);
  --section: clamp(76px, 10vw, 132px);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
pre {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
svg {
  display: block;
}
img {
  max-width: 100%;
}

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

::selection {
  background: rgba(255, 106, 61, 0.35);
  color: #fff;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  background: #fff;
  color: #000;
  border-radius: 8px;
}
.skip:focus {
  top: 12px;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Header ---------- */

.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(5, 7, 13, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--line);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 650;
  letter-spacing: -0.03em;
}
.logo svg {
  width: 30px;
  height: 30px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  color: var(--text);
  cursor: pointer;
}
.menu-btn svg {
  margin: auto;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.btn svg {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.btn:hover svg {
  transform: translateX(3px);
}
.btn-primary {
  background: var(--grad);
  color: #190a03;
  box-shadow: 0 8px 30px -8px rgba(255, 106, 61, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px -8px rgba(255, 106, 61, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn-ghost {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.07);
}
.btn-sm {
  padding: 10px 18px;
  font-size: 0.92rem;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 104px) clamp(72px, 9vw, 120px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 30%, #000 20%, transparent 75%);
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}
.orb-a {
  top: -160px;
  right: -80px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.38), transparent 65%);
}
.orb-b {
  top: 180px;
  right: 34%;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgba(76, 120, 255, 0.28), transparent 65%);
}
.orb-c {
  bottom: -220px;
  left: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(255, 61, 110, 0.16), transparent 65%);
}

.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #d5dcec;
  font-size: 0.86rem;
  font-weight: 500;
}
.pill i {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.pill i::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--green);
  opacity: 0.6;
  animation: ping 2.2s ease-out infinite;
}
@keyframes ping {
  from {
    transform: scale(0.5);
    opacity: 0.7;
  }
  to {
    transform: scale(1.5);
    opacity: 0;
  }
}

.hero h1 {
  margin-top: 26px;
  font-size: clamp(2.6rem, 5.2vw, 4.3rem);
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.hero h1 span {
  display: block;
  text-wrap: balance;
  padding-bottom: 0.06em;
}
.hero .lede {
  margin-top: 26px;
  max-width: 33em;
  color: var(--muted);
  font-size: 1.16rem;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 34px;
  color: #c7cfe0;
  font-size: 0.94rem;
}
.hero-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-points svg {
  width: 18px;
  height: 18px;
  color: var(--green);
}

/* Hero visual */

.visual {
  position: relative;
  padding: 0 0 128px 0;
}
.console {
  position: relative;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(17, 24, 40, 0.92), rgba(9, 13, 23, 0.94));
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.03),
    0 0 80px -20px rgba(255, 106, 61, 0.25);
  overflow: hidden;
}
.console-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
}
.console-bar i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #2a3348;
}
.console-bar i:nth-child(1) {
  background: #ff5f57;
}
.console-bar i:nth-child(2) {
  background: #febc2e;
}
.console-bar i:nth-child(3) {
  background: #28c840;
}
.console-bar span {
  margin-left: 10px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.76rem;
}
.console-body {
  min-height: 318px;
  padding: 20px 22px 44px;
  font-family: var(--mono);
  font-size: 0.82rem;
  line-height: 1.75;
  color: #c3cce0;
}
.console-body .ln {
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
}
.js .console-body .ln {
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.35s, transform 0.35s;
}
.js .console-body .ln.on {
  opacity: 1;
  transform: none;
}
.c-dim {
  color: var(--dim);
}
.c-blue {
  color: var(--blue);
}
.c-green {
  color: var(--green);
}
.c-amber {
  color: var(--accent-2);
}
.c-red {
  color: var(--red);
  font-weight: 600;
}
.c-hit {
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(255, 93, 108, 0.16);
  color: #ff8b96;
}
.cursor {
  display: inline-block;
  width: 8px;
  height: 1.05em;
  margin-left: 2px;
  background: var(--accent-2);
  vertical-align: text-bottom;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}

.float-card {
  position: absolute;
  left: -34px;
  bottom: 0;
  width: min(360px, 86%);
  padding: 18px 20px;
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  background: rgba(14, 20, 34, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, 0.9);
}
.float-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.74rem;
}
.float-card h3 {
  margin-top: 10px;
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
}
.flow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--muted);
}
.flow span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}
.flow span::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--dim);
}
.flow span.done {
  color: #d8f7ea;
}
.flow span.done::before {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}
.flow b {
  flex: 1;
  height: 1px;
  background: var(--line-strong);
}

.float-chip {
  position: absolute;
  top: -18px;
  right: -14px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: rgba(14, 20, 34, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -18px rgba(0, 0, 0, 0.9);
  font-size: 0.8rem;
  color: var(--muted);
}
.float-chip strong {
  display: block;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.float-chip svg {
  width: 30px;
  height: 30px;
  color: var(--accent);
}

@media (prefers-reduced-motion: no-preference) {
  .float-card {
    animation: bob 7s ease-in-out infinite;
  }
  .float-chip {
    animation: bob 6s ease-in-out -2s infinite;
  }
}
@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.sev {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 650;
  line-height: 1.4;
  white-space: nowrap;
}
.sev.critical {
  background: rgba(255, 61, 110, 0.16);
  color: #ff7d9c;
  box-shadow: inset 0 0 0 1px rgba(255, 61, 110, 0.4);
}
.sev.high {
  background: rgba(255, 106, 61, 0.16);
  color: #ff9a78;
  box-shadow: inset 0 0 0 1px rgba(255, 106, 61, 0.42);
}
.sev.medium {
  background: rgba(255, 181, 71, 0.14);
  color: #ffc876;
  box-shadow: inset 0 0 0 1px rgba(255, 181, 71, 0.38);
}
.sev.low {
  background: rgba(91, 155, 255, 0.14);
  color: #94bdff;
  box-shadow: inset 0 0 0 1px rgba(91, 155, 255, 0.38);
}
.sev.info {
  background: rgba(155, 167, 191, 0.12);
  color: #b9c3d8;
  box-shadow: inset 0 0 0 1px rgba(155, 167, 191, 0.3);
}
.sev.fixed {
  background: rgba(61, 220, 151, 0.14);
  color: #7cebbb;
  box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.38);
}

/* ---------- Proof strip ---------- */

.proof {
  padding-block: 34px;
  border-block: 1px solid var(--line);
  background: var(--bg-soft);
}
.proof p {
  color: var(--dim);
  font-size: 0.86rem;
  font-weight: 500;
  text-align: center;
}
.marquee {
  position: relative;
  margin-top: 22px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 64px;
  padding-right: 64px;
}
.marquee-track li {
  color: #aeb8cd;
  font-size: 1.28rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  white-space: nowrap;
}
@media (prefers-reduced-motion: no-preference) {
  .marquee-track {
    animation: marquee 42s linear infinite;
  }
  .marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Sections ---------- */

.section {
  position: relative;
  padding-block: var(--section);
}
.section.alt {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.head {
  max-width: 760px;
  margin-bottom: clamp(40px, 5vw, 64px);
}
.head.center {
  margin-inline: auto;
  text-align: center;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-2);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.kicker::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--grad);
}
.head h2 {
  margin-top: 16px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 620;
  line-height: 1.06;
  letter-spacing: -0.04em;
}
.head p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.1rem;
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  overflow: hidden;
}
.stats div {
  padding: 34px 28px;
  border-right: 1px solid var(--line);
}
.stats div:last-child {
  border-right: 0;
}
.stats dt {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.05em;
}
.stats dd {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

/* Cards */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  padding: 30px 28px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(420px circle at 20% 0%, rgba(255, 106, 61, 0.13), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 140, 90, 0.4);
  box-shadow: 0 24px 60px -30px rgba(255, 106, 61, 0.5);
}
.card:hover::before {
  opacity: 1;
}
.icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 140, 90, 0.32);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(255, 181, 71, 0.2), rgba(255, 61, 110, 0.08));
  color: var(--accent-2);
}
.icon svg {
  width: 24px;
  height: 24px;
}
.card h3 {
  margin-top: 22px;
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.card p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.98rem;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.tags li {
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: #b4bed3;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Bento: why Warnia */

.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}
.tile {
  position: relative;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-2), var(--card));
  overflow: hidden;
}
.tile.w4 {
  grid-column: span 4;
}
.tile.w3 {
  grid-column: span 3;
}
.tile.w2 {
  grid-column: span 2;
}
.tile h3 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.2;
}
.tile p {
  margin-top: 12px;
  max-width: 34em;
  color: var(--muted);
  font-size: 1rem;
}
.tile .glow {
  position: absolute;
  right: -120px;
  top: -120px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.22), transparent 65%);
  pointer-events: none;
}

.quote-mock {
  display: grid;
  gap: 10px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 7, 13, 0.6);
  font-size: 0.92rem;
}
.quote-mock div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
}
.quote-mock div b {
  color: var(--text);
  font-weight: 550;
  text-align: right;
}
.quote-mock div.total {
  padding-top: 12px;
  border-top: 1px dashed var(--line-strong);
}

.pipeline {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}
.pipeline li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 7, 13, 0.6);
  font-size: 0.88rem;
  color: #c9d1e2;
}

/* Finding sample */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.checks {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.checks li {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 12px;
  color: #cfd6e6;
  font-size: 1rem;
}
.checks svg {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  color: var(--green);
}

.finding {
  position: relative;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line-strong);
  border-radius: 20px;
  background: linear-gradient(180deg, #111828, #0a0f1a);
  box-shadow: 0 50px 110px -40px rgba(0, 0, 0, 0.95), 0 0 90px -30px rgba(255, 106, 61, 0.28);
}
.finding-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-family: var(--mono);
  font-size: 0.8rem;
}
.finding-head div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.finding h3 {
  margin-top: 20px;
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}
.finding .class {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.code {
  margin-top: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #060911;
  overflow: hidden;
}
.code-label {
  padding: 8px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.76rem;
  font-weight: 500;
}
.code pre {
  padding: 14px;
  font-family: var(--mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: #c3cce0;
  overflow-x: auto;
}
.facts {
  margin-top: 20px;
}
.facts div {
  display: grid;
  grid-template-columns: 5.4em minmax(0, 1fr);
  gap: 14px;
  padding-block: 12px;
  border-top: 1px solid var(--line);
  font-size: 0.94rem;
  line-height: 1.5;
}
.facts dt {
  color: var(--dim);
  font-weight: 500;
}
.facts dd {
  color: #d2d9e8;
}
.note {
  margin-top: 16px;
  color: var(--dim);
  font-size: 0.84rem;
}

/* Triggers */

.triggers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.trigger {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.trigger .icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}
.trigger .icon svg {
  width: 20px;
  height: 20px;
}
.trigger h3 {
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.trigger p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

/* Plans */

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 32px 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
}
.plan.featured {
  border-color: transparent;
  background: linear-gradient(180deg, #151c2e, #0c111d) padding-box, var(--grad) border-box;
  box-shadow: 0 40px 90px -40px rgba(255, 106, 61, 0.55);
}
.plan h3 {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.plan .scope {
  margin-top: 8px;
  min-height: 3.1em;
  color: var(--muted);
  font-size: 0.96rem;
}
.plan .days {
  margin-top: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 2.3rem;
  font-weight: 620;
  line-height: 1;
  letter-spacing: -0.05em;
}
.plan .days small {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 450;
  letter-spacing: 0;
}
.plan .checks {
  flex: 1;
  margin-top: 22px;
  gap: 11px;
}
.plan .checks li {
  font-size: 0.95rem;
}
.plan .btn {
  margin-top: 28px;
  width: 100%;
}
.plans-note {
  margin-top: 26px;
  color: var(--dim);
  font-size: 0.92rem;
  text-align: center;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.022);
  counter-increment: step;
}
.step::before {
  content: "0" counter(step);
  display: block;
  font-family: var(--mono);
  font-size: 0.86rem;
  font-weight: 600;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.step h3 {
  margin-top: 16px;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.step p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* Tester */

.tester {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}
.cred {
  display: grid;
  gap: 14px;
}
.cred li {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.cred .icon {
  width: 46px;
  height: 46px;
}
.cred strong {
  display: block;
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.cred span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.5;
}
.hof {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, var(--card-2), var(--card));
}
.hof h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.hof > p {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.92rem;
}
.hof ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 20px;
}
.hof li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(5, 7, 13, 0.55);
  font-size: 0.94rem;
  font-weight: 550;
  letter-spacing: -0.01em;
}
.hof li svg {
  flex: none;
  width: 16px;
  height: 16px;
  color: var(--accent-2);
}
.hof .nda {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

/* Partners band */

.band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  padding: clamp(32px, 5vw, 60px);
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(135deg, #131a2c, #0a0e18);
  overflow: hidden;
}
.band::before {
  content: "";
  position: absolute;
  left: -160px;
  bottom: -220px;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(76, 120, 255, 0.22), transparent 65%);
  pointer-events: none;
}
.band > * {
  position: relative;
}
.band h2 {
  margin-top: 16px;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.band .lead {
  margin-top: 16px;
  color: var(--muted);
}
.band .btn {
  margin-top: 28px;
}

/* FAQ */

.faq {
  display: grid;
  gap: 12px;
  max-width: 860px;
  margin-inline: auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 0.2s, background 0.2s;
}
.faq details[open] {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.045);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  font-size: 1.08rem;
  font-weight: 550;
  letter-spacing: -0.02em;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "";
  flex: none;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--accent-2);
  border-bottom: 2px solid var(--accent-2);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform 0.25s;
}
.faq details[open] summary::after {
  transform: rotate(-135deg) translate(-2px, -2px);
}
.faq details p {
  padding: 0 24px 22px;
  max-width: 46em;
  color: var(--muted);
}

/* CTA */

.cta {
  position: relative;
  padding: clamp(44px, 7vw, 88px) clamp(24px, 5vw, 64px);
  border-radius: 30px;
  border: 1px solid transparent;
  background: linear-gradient(180deg, #121829, #080b13) padding-box, var(--grad) border-box;
  text-align: center;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -260px;
  width: 760px;
  height: 520px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 106, 61, 0.3), transparent 65%);
  pointer-events: none;
}
.cta > * {
  position: relative;
}
.cta h2 {
  max-width: 15em;
  margin-inline: auto;
  font-size: clamp(2.1rem, 4.4vw, 3.5rem);
  font-weight: 620;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.cta p {
  max-width: 34em;
  margin: 20px auto 0;
  color: var(--muted);
  font-size: 1.1rem;
}
.cta .hero-actions {
  justify-content: center;
}
.cta .small {
  margin-top: 26px;
  color: var(--dim);
  font-size: 0.88rem;
}

/* Footer */

.footer {
  margin-top: var(--section);
  padding-block: 56px 40px;
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer p {
  margin-top: 16px;
  max-width: 26em;
  color: var(--muted);
  font-size: 0.94rem;
}
.footer h4 {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}
.footer ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.footer ul a {
  color: var(--muted);
  font-size: 0.94rem;
  transition: color 0.2s;
}
.footer ul a:hover {
  color: var(--text);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--dim);
  font-size: 0.86rem;
}

/* ---------- Document pages ---------- */

.doc-hero {
  position: relative;
  padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 64px);
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.doc-hero .container {
  position: relative;
}
.doc-hero h1 {
  margin-top: 18px;
  max-width: 14em;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 620;
  line-height: 1.03;
  letter-spacing: -0.045em;
}
.doc-hero p {
  margin-top: 22px;
  max-width: 38em;
  color: var(--muted);
  font-size: 1.14rem;
}
.doc {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  padding-block: clamp(48px, 7vw, 88px) 0;
  align-items: start;
}
.toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
}
.toc a {
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.toc a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.doc-body section {
  padding-bottom: clamp(40px, 5vw, 60px);
  margin-bottom: clamp(40px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
}
.doc-body section:last-child {
  margin-bottom: 0;
  border-bottom: 0;
}
.doc-body h2 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.12;
}
.doc-body h3 {
  margin-top: 30px;
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.doc-body p {
  margin-top: 14px;
  max-width: 44em;
  color: #c2cadb;
}
.doc-body ul {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-width: 44em;
}
.doc-body ul li {
  position: relative;
  padding-left: 22px;
  color: #c2cadb;
}
.doc-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--grad);
}
.doc-body a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.table-wrap {
  margin-top: 22px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow-x: auto;
  background: rgba(255, 255, 255, 0.02);
}
table.scale {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
}
.scale th,
.scale td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
  color: #c2cadb;
}
.scale thead th {
  color: var(--dim);
  font-size: 0.82rem;
  font-weight: 600;
}
.scale tbody tr:last-child td {
  border-bottom: 0;
}
.scale td:nth-child(2) {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 0.86rem;
}

/* ---------- Reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  }
  .js .reveal.in {
    opacity: 1;
    transform: none;
  }
  .js .reveal.d1 {
    transition-delay: 0.08s;
  }
  .js .reveal.d2 {
    transition-delay: 0.16s;
  }
  .js .reveal.d3 {
    transition-delay: 0.24s;
  }
}

/* ---------- Responsive ---------- */

@media (max-width: 1040px) {
  .hero .container,
  .split,
  .tester,
  .band {
    grid-template-columns: minmax(0, 1fr);
  }
  .visual {
    max-width: 620px;
    margin-inline: auto;
    width: 100%;
  }
  .float-card {
    left: -10px;
  }
  .float-chip {
    right: -6px;
  }
  .grid-3,
  .triggers,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 560px;
    margin-inline: auto;
  }
  .plan .scope {
    min-height: 0;
  }
  .tile.w4,
  .tile.w3,
  .tile.w2 {
    grid-column: span 6;
  }
  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .stats div:nth-child(2) {
    border-right: 0;
  }
  .stats div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .doc {
    grid-template-columns: minmax(0, 1fr);
  }
  .toc {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 880px) {
  .menu-btn {
    display: grid;
  }
  .nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 14px var(--pad) 22px;
    background: rgba(5, 7, 13, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav a {
    padding: 14px 12px;
    font-size: 1.05rem;
  }
  .nav-open .nav {
    display: flex;
  }
  .header-cta .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .grid-3,
  .triggers,
  .steps,
  .hof ul,
  .toc {
    grid-template-columns: minmax(0, 1fr);
  }
  .stats div {
    padding: 24px 18px;
  }
  .visual {
    padding-bottom: 150px;
    margin-top: 12px;
  }
  .console-body {
    min-height: 300px;
    font-size: 0.74rem;
    padding: 16px 16px 44px;
  }
  .float-card {
    left: 0;
    width: 92%;
  }
  .float-chip {
    top: -30px;
    right: 0;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .facts div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .tile {
    padding: 24px;
  }
}

/* Links inside running text */
.faq p a,
.cta p a {
  color: var(--accent-2);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.checks strong {
  color: var(--text);
  font-weight: 600;
}

/* Bento extras */
.same {
  display: grid;
  gap: 0;
  margin-top: 26px;
  counter-reset: same;
}
.same li {
  position: relative;
  padding: 0 0 18px 30px;
  color: #cfd6e6;
  font-size: 0.95rem;
  line-height: 1.3;
}
.same li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 4px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--grad);
  box-shadow: 0 0 0 4px rgba(255, 106, 61, 0.15);
}
.same li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 19px;
  bottom: 0;
  width: 1px;
  background: var(--line-strong);
}
.same li:last-child {
  padding-bottom: 0;
}
.same li:last-child::after {
  display: none;
}
.letter {
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(5, 7, 13, 0.6);
}
.letter-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line-strong);
  font-weight: 600;
  font-size: 0.95rem;
}
.letter dl {
  margin: 0;
}
.letter dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 10px;
  font-size: 0.9rem;
  color: var(--muted);
}
.letter dd {
  color: var(--text);
  font-weight: 550;
  text-align: right;
}
