/* Public landing page. Builds on the shared tokens and components. */

body.landing {
  background: var(--bg);
  overflow-x: hidden;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}
.wrap.narrow {
  width: min(820px, calc(100% - 40px));
}
.mono {
  font-family: var(--mono);
}

/* ---------------------------------------------------------------- nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: saturate(1.5) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled {
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 680;
  font-size: 16px;
  letter-spacing: -0.02em;
  color: var(--text);
}
.wordmark:hover {
  text-decoration: none;
}
.mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  color: #fff;
  background: none;
  filter: drop-shadow(0 4px 10px color-mix(in oklab, var(--accent) 45%, transparent));
}
.wordmark.small .mark {
  width: 26px;
  height: 26px;
  border-radius: 8px;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: 12px;
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-2);
  font-weight: 550;
  font-size: 14px;
}
.nav-links a:hover {
  color: var(--text);
  background: var(--surface-3);
  text-decoration: none;
}
.nav-actions {
  margin-left: auto;
  display: flex;
  gap: 8px;
  align-items: center;
}
.nav-burger {
  display: none;
}

/* --------------------------------------------------------------- hero */
.hero {
  position: relative;
  padding: clamp(48px, 9vw, 110px) 0 clamp(48px, 7vw, 90px);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
}
.hero-bg .o1 {
  width: 620px;
  height: 620px;
  left: -160px;
  top: -220px;
  background: oklch(0.62 0.2 var(--hue));
  animation: drift 20s ease-in-out infinite alternate;
}
.hero-bg .o2 {
  width: 520px;
  height: 520px;
  right: -140px;
  top: 40px;
  background: oklch(0.65 0.18 calc(var(--hue) + 60));
  opacity: 0.4;
  animation: drift 26s ease-in-out infinite alternate-reverse;
}
.hero-bg .grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}
@keyframes drift {
  to {
    transform: translate(60px, 40px) scale(1.12);
  }
}
.hero-grid {
  position: relative;
  display: grid;
  gap: 56px;
  align-items: center;
}
@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: color-mix(in oklab, var(--surface) 80%, transparent);
  backdrop-filter: blur(8px);
  color: var(--text-2);
  font-size: 13px;
  font-weight: 550;
  box-shadow: var(--shadow-xs);
}
.pill:hover {
  text-decoration: none;
  border-color: color-mix(in oklab, var(--accent) 50%, var(--border-strong));
}
.pill-sep {
  width: 1px;
  height: 14px;
  background: var(--border-strong);
}
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
  flex: none;
}
.live-dot.ok {
  background: var(--success);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--success) 60%, transparent);
  animation: ping 2.2s infinite;
}
.live-dot.bad {
  background: var(--danger);
}
@keyframes ping {
  70% {
    box-shadow: 0 0 0 8px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}
.hero h1 {
  margin-top: 22px;
  font-size: clamp(38px, 6.2vw, 68px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 750;
}
.grad {
  background: linear-gradient(100deg, var(--accent-strong), oklch(0.68 0.2 calc(var(--hue) + 70)));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lede {
  margin-top: 22px;
  max-width: 560px;
  font-size: clamp(16px, 1.6vw, 18.5px);
  line-height: 1.65;
  color: var(--text-2);
}
.cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.hero-points {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  color: var(--text-2);
  font-size: 14px;
}
.hero-points li {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.hero-points .icon {
  color: var(--success);
}

/* hero visual */
.hero-visual {
  position: relative;
  display: grid;
  justify-items: center;
  padding-bottom: 128px;
}
.hero-grid > *,
.sdk-grid > *,
.check-wrap > * {
  min-width: 0;
}
.license-card {
  width: min(100%, 440px);
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(160deg, color-mix(in oklab, var(--surface) 92%, var(--accent)), var(--surface));
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lg), 0 0 0 1px color-mix(in oklab, var(--accent) 10%, transparent);
  display: grid;
  gap: 18px;
  transform: rotate(-2.5deg);
  animation: bob 7s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: rotate(-2.5deg) translateY(-8px);
  }
}
.lc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lc-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--success-soft);
  color: var(--success);
  font-size: 12.5px;
  font-weight: 650;
}
.lc-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}
.lc-product {
  color: var(--text-3);
  font-size: 13px;
  font-weight: 550;
}
.lc-key {
  font-family: var(--mono);
  font-size: clamp(15px, 2.4vw, 19px);
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-3);
  border: 1px dashed var(--border-strong);
  overflow-wrap: anywhere;
}
.lc-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.lc-meta small {
  display: block;
  color: var(--text-3);
  font-size: 12px;
  margin-bottom: 3px;
}
.lc-meta b {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  font-size: 13.5px;
  font-weight: 600;
}
.lc-bar {
  height: 6px;
  border-radius: 999px;
  background: var(--surface-3);
  overflow: hidden;
}
.lc-bar i {
  display: block;
  width: var(--w);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--accent), oklch(0.7 0.2 calc(var(--hue) + 60)));
}
.lc-foot {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 12.5px;
  color: var(--text-3);
}
.lc-foot .icon {
  color: var(--success);
}
.code-window {
  border-radius: 14px;
  background: #0d0d12;
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  color: #e8e8ee;
  color-scheme: dark;
}
.hero-visual .code-window.float {
  position: absolute;
  right: -14px;
  bottom: 0;
  width: min(350px, 88%);
  transform: rotate(1.5deg);
  animation: bob2 8s ease-in-out infinite;
}
@keyframes bob2 {
  50% {
    transform: rotate(1.5deg) translateY(8px);
  }
}
.cw-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgb(255 255 255 / 0.05);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.cw-bar > i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a3a44;
}
.cw-bar > i:nth-child(1) {
  background: #ff5f57;
}
.cw-bar > i:nth-child(2) {
  background: #febc2e;
}
.cw-bar > i:nth-child(3) {
  background: #28c840;
}
.cw-bar > span {
  margin-left: 8px;
  font-size: 12px;
  color: #8b8b98;
}
.cw-code {
  margin: 0;
  padding: 16px 18px;
  font: 13px/1.75 var(--mono);
  overflow: auto;
  white-space: pre;
  tab-size: 4;
}
/* .tok-* colours now come from tokens.css (shared by every code sample on the site) - .code-window's own
   color-scheme: dark above makes them resolve to their dark-mode shade here regardless of the page's theme,
   exactly like the flat hex values this used to hard-code. */

/* -------------------------------------------------------------- strip */
.strip {
  border-block: 1px solid var(--border);
  background: var(--surface);
}
.strip-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
@media (min-width: 800px) {
  .strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.strip-grid > div {
  padding: 26px 20px;
  display: grid;
  gap: 2px;
  border-left: 1px solid var(--border);
}
.strip-grid > div:first-child {
  border-left: 0;
}
@media (max-width: 799px) {
  .strip-grid > div:nth-child(3) {
    border-left: 0;
  }
  .strip-grid > div:nth-child(n + 3) {
    border-top: 1px solid var(--border);
  }
}
.strip-grid b {
  font-size: 24px;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.strip-grid span {
  color: var(--text-3);
  font-size: 13px;
}

/* ------------------------------------------------------------ sections */
.section {
  padding: clamp(64px, 9vw, 110px) 0;
}
.section.alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section-head {
  max-width: 720px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head.left {
  margin: 0;
  text-align: left;
}
.eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
}
.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 720;
}
.section-head p {
  margin-top: 16px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-2);
}
.section-head .fine {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-3);
}

/* ------------------------------------------------------------ features */
.feature-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
/* each card tints its own icon (--f-hue, set inline) so the grid reads as a set, not ten copies of one card */
.feature {
  --f-hue: 165;
  --f-tint: oklch(0.72 0.15 var(--f-hue));
  position: relative;
  padding: 22px;
  border-radius: 18px;
  background:
    radial-gradient(120% 90% at 0% 0%, color-mix(in oklab, var(--f-tint) 9%, transparent), transparent 55%),
    var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.2s, box-shadow 0.25s;
}
.feature::before {
  /* a hairline of the card's own colour along the top edge */
  content: '';
  position: absolute;
  inset: 0 18px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--f-tint) 70%, transparent), transparent);
  opacity: 0.55;
  transition: opacity 0.25s;
}
.feature:hover {
  transform: translateY(-3px);
  border-color: color-mix(in oklab, var(--f-tint) 45%, var(--border));
  box-shadow: var(--shadow-md), 0 14px 40px -20px var(--f-tint);
}
.feature:hover::before {
  opacity: 1;
}
.f-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 16px;
  color: light-dark(oklch(0.48 0.14 var(--f-hue)), oklch(0.8 0.13 var(--f-hue)));
  background: color-mix(in oklab, var(--f-tint) 15%, transparent);
  border: 1px solid color-mix(in oklab, var(--f-tint) 28%, transparent);
}
.feature h3 {
  font-size: 16.5px;
  letter-spacing: -0.02em;
}
.feature p {
  margin-top: 7px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.6;
}

/* the two headline features: twice as wide, copy beside a small illustration */
.feature-wide {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 26px;
}
.feature-wide h3 {
  font-size: 19px;
}
.f-visual {
  display: grid;
  gap: 10px;
}
.fv-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font-size: 13px;
}
.fv-dev {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--surface-3);
  color: var(--text-2);
}
.fv-dev .icon {
  width: 16px;
  height: 16px;
}
.fv-name {
  display: grid;
  flex: 1;
  min-width: 0;
  font-weight: 600;
  color: var(--text);
}
.fv-name small {
  font: 11.5px var(--mono);
  color: var(--text-3);
  font-weight: 400;
}
.fv-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 650;
  white-space: nowrap;
}
.fv-badge .icon {
  width: 13px;
  height: 13px;
}
.fv-row.ok .fv-badge {
  color: var(--success);
  background: var(--success-soft);
}
.fv-row.bad {
  opacity: 0.8;
}
.fv-row.bad .fv-badge {
  color: var(--danger);
  background: var(--danger-soft);
}
.fv-code {
  margin: 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  font: 12.5px/1.7 var(--mono);
  color: var(--text-2);
  white-space: pre;
  overflow: hidden;
}
.fv-verified {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 650;
  color: light-dark(oklch(0.45 0.16 265), oklch(0.82 0.12 265));
  background: color-mix(in oklab, oklch(0.7 0.15 265) 15%, transparent);
}
.fv-verified .icon {
  width: 14px;
  height: 14px;
}

@media (max-width: 1100px) {
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 720px) {
  .feature-wide {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 560px) {
  .feature-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .feature-wide {
    grid-column: auto;
  }
  /* compact: icon beside the text, so eight stacked cards don't turn into a long scroll */
  .feature:not(.feature-wide) {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 14px;
    align-items: start;
    padding: 18px;
  }
  .feature:not(.feature-wide) .f-icon {
    grid-row: span 2;
    margin: 0;
  }
  .feature:not(.feature-wide) p {
    margin-top: 4px;
  }
}

/* ---------------------------------------------------------- how it works */
.steps {
  display: grid;
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 860px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
    position: relative;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 36px;
    left: 16%;
    right: 16%;
    border-top: 2px dashed var(--border-strong);
    z-index: 0;
  }
}
.step {
  position: relative;
  z-index: 1;
  padding: 26px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  display: grid;
  gap: 10px;
  align-content: start;
}
.step-n {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(140deg, var(--accent), oklch(0.62 0.2 calc(var(--hue) + 40)));
  box-shadow: 0 8px 20px -8px var(--accent);
}
.step h3 {
  font-size: 18px;
  letter-spacing: -0.02em;
  margin-top: 6px;
}
.step p {
  color: var(--text-2);
  font-size: 14.5px;
  line-height: 1.6;
}
.mini-key,
.mini-code {
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  font: 12.5px var(--mono);
  background: var(--surface-3);
  border: 1px solid var(--border);
  overflow-wrap: anywhere;
}
.mini-code .tok-k {
  color: var(--accent-strong);
  font-weight: 700;
}

/* ---------------------------------------------------------------- SDKs */
.sdk-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}
@media (min-width: 960px) {
  .sdk-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }
}
.checks {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
  display: grid;
  gap: 10px;
  color: var(--text-2);
  font-size: 15px;
}
.checks li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.checks .icon {
  color: var(--success);
  margin-top: 3px;
}
.sdk-links {
  margin-top: 22px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.code-window.big .cw-bar {
  padding: 0;
}
.cw-tabs {
  display: flex;
  overflow-x: auto;
}
.cw-tabs button {
  padding: 12px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: #8b8b98;
  font: 600 13px var(--font);
}
.cw-tabs button:hover {
  color: #fff;
}
.cw-tabs button[aria-selected="true"] {
  color: #fff;
  border-bottom-color: var(--accent);
  background: rgb(255 255 255 / 0.04);
}
.cw-body {
  position: relative;
}
.cw-body .cw-code {
  min-height: 300px;
  padding-right: 90px;
}
.cw-copy {
  position: absolute;
  top: 12px;
  right: 12px;
  --btn-bg: rgb(255 255 255 / 0.08);
  --btn-fg: #e8e8ee;
  --btn-border: rgb(255 255 255 / 0.14);
  --btn-hover: rgb(255 255 255 / 0.16);
}

/* ---------------------------------------------------------- check card */
.check-wrap {
  display: grid;
  gap: 40px;
  align-items: start;
}
@media (min-width: 960px) {
  .check-wrap {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }
}
.check-card {
  padding: clamp(20px, 3vw, 30px);
  border-radius: 22px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  display: grid;
  gap: 18px;
}
.check-card label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 14px;
}
.check-row {
  display: flex;
  gap: 10px;
}
.check-row .input {
  height: 46px;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.check-row .btn {
  height: 46px;
  padding-inline: 22px;
}
.check-card .hint {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 13px;
}
.result {
  display: grid;
  gap: 16px;
  padding: 20px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  animation: rise 0.35s var(--ease);
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}
.result-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.result-top h3 {
  font-size: 19px;
  letter-spacing: -0.02em;
}
.result-top p {
  color: var(--text-3);
  font-size: 13px;
}
.result-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.result-grid > div {
  display: grid;
  gap: 2px;
}
.result-grid small {
  color: var(--text-3);
  font-size: 12px;
}
.result-grid b {
  font-size: 14.5px;
  font-weight: 600;
}
.reset-form {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.reset-form .field label {
  margin: 0 0 6px;
  font-size: 13px;
}

/* ------------------------------------------------------------ security */
.sec-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
}
.sec {
  display: flex;
  gap: 16px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.sec > .icon {
  color: var(--accent-strong);
  margin-top: 2px;
}
.sec h3 {
  font-size: 16px;
  letter-spacing: -0.015em;
}
.sec p {
  margin-top: 5px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.55;
}
.honest {
  display: flex;
  gap: 12px;
  margin: 28px auto 0;
  max-width: 860px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--info-soft);
  border: 1px solid color-mix(in oklab, var(--info) 28%, transparent);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-2);
}
.honest .icon {
  color: var(--info);
  margin-top: 3px;
}
.honest b {
  color: var(--text);
}

/* ---------------------------------------------------------- key box */
.keybox {
  padding: 22px;
  border-radius: 18px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: grid;
  gap: 14px;
}
.kb-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 14px;
}
.kb-label {
  color: var(--text-3);
}
.kb-key {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--surface-3);
}
.kb-key code {
  flex: 1;
  font-size: 12.5px;
  overflow-wrap: anywhere;
  user-select: all;
}

/* ------------------------------------------------------------------ FAQ */
.faq {
  display: grid;
  gap: 10px;
}
.faq details {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: border-color 0.15s;
}
.faq details[open] {
  border-color: color-mix(in oklab, var(--accent) 35%, var(--border));
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  font-size: 15.5px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  font-size: 22px;
  line-height: 1;
  color: var(--text-3);
  transition: transform 0.2s var(--ease);
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  padding: 0 22px 20px;
  color: var(--text-2);
  font-size: 15px;
  line-height: 1.65;
}

/* -------------------------------------------------------------- CTA band */
.cta-band {
  padding: clamp(56px, 8vw, 96px) 0;
  text-align: center;
  background: radial-gradient(ellipse 70% 100% at 50% 100%, var(--accent-soft), transparent 70%), var(--bg);
  border-top: 1px solid var(--border);
}
.cta-band h2 {
  font-size: clamp(28px, 4.4vw, 46px);
  letter-spacing: -0.04em;
  font-weight: 740;
}
.cta-band p {
  margin-top: 12px;
  color: var(--text-2);
  font-size: 17px;
}
.cta-band .cta {
  justify-content: center;
}

/* --------------------------------------------------------------- footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
  background: var(--surface);
}
.foot-inner {
  display: flex;
  gap: 32px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}
.foot-brand p {
  margin-top: 8px;
  color: var(--text-3);
  font-size: 13.5px;
}
.foot-links {
  display: flex;
  gap: 8px 24px;
  flex-wrap: wrap;
}
.foot-links a {
  color: var(--text-2);
  font-size: 14px;
}
.foot-status {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  font-size: 13.5px;
  color: var(--text-2);
}

/* ------------------------------------------------------------- reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
}
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------- mobile */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    padding: 12px 20px 20px;
    margin: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
  }
  .nav-links.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-links a {
    padding: 12px 10px;
    font-size: 16px;
  }
  .nav-burger {
    display: inline-grid;
  }
  .nav-actions .btn:not(.icon-only):not(.primary) {
    display: none;
  }
  .hero-visual .code-window.float {
    position: relative;
    right: auto;
    margin-top: -24px;
  }
  .hero-visual {
    padding-bottom: 0;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .nav-actions .btn.primary {
    display: none;
  }
  .check-row {
    flex-direction: column;
  }
}

.brand-mark img,
.mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
