/* Mirrors the main landing's design tokens (landing/src/index.css): white + graphite, platinum
   gradient CTAs, cold-blue hover, Inter / Inter Tight / JetBrains Mono (self-hosted, CSP 'self'). */

@font-face { font-family: "Inter"; font-weight: 400; font-display: swap; src: url(/fonts/inter-400.woff2) format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 500; font-display: swap; src: url(/fonts/inter-500.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 400; font-display: swap; src: url(/fonts/inter-tight-400.woff2) format("woff2"); }
@font-face { font-family: "Inter Tight"; font-weight: 500; font-display: swap; src: url(/fonts/inter-tight-500.woff2) format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url(/fonts/jetbrains-mono-400.woff2) format("woff2"); }

:root {
  --bg: hsl(0 0% 100%);
  --fg: hsl(220 20% 6%);
  --muted: hsl(220 14% 30%);
  --border: hsl(220 14% 82%);
  --link-hover: hsl(222 85% 48%);
  --platinum: linear-gradient(135deg, hsl(220 14% 18%) 0%, hsl(220 10% 32%) 50%, hsl(220 14% 14%) 100%);
  --sans: "Inter", ui-sans-serif, system-ui, sans-serif;
  --display: "Inter Tight", "Inter", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; color-scheme: light; }
body { background: var(--bg); color: var(--fg); font-family: var(--sans); font-feature-settings: "ss01", "cv11"; line-height: 1.5; }
a { color: inherit; text-decoration: none; }
img { display: block; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -0.018em; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .container { padding: 0 40px; } }

.eyebrow { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em; color: hsl(220 20% 6% / .7); }
.mono { font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.2em; color: var(--muted); }
.muted { color: hsl(220 14% 30% / .9); }
.link { font-size: 14px; font-weight: 500; color: var(--muted); transition: color .15s; }
.link:hover { color: var(--link-hover); }
.platinum { background: var(--platinum); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Buttons — same as .btn-platinum / .btn-outline-quiet */
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 40px; }
.btn, .btn-outline { display: inline-block; border-radius: 9999px; padding: 12px 24px; font-size: 14px; font-weight: 500; transition: all .15s; }
.btn { background: var(--platinum); color: #fff; box-shadow: 0 1px 2px hsl(220 14% 10% / .12), 0 8px 24px -8px hsl(220 14% 10% / .25); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 1px 2px hsl(220 14% 10% / .16), 0 12px 32px -8px hsl(220 14% 10% / .35); }
.btn-outline { border: 1px solid var(--border); color: var(--fg); }
.btn-outline:hover { border-color: hsl(222 85% 48% / .5); color: var(--link-hover); }
.btn-sm { padding: 10px 20px; font-size: 12px; }

/* Header */
.header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 64px; }
.logo { height: 28px; width: auto; }
.header__nav { display: flex; gap: 32px; }
.header__cta { justify-self: end; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero__grid {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(hsl(220 14% 82% / .5) 1px, transparent 1px), linear-gradient(90deg, hsl(220 14% 82% / .5) 1px, transparent 1px);
  background-size: 72px 72px; background-position: -1px -1px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
  mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%);
}
.hero__inner { position: relative; max-width: 1024px; text-align: center; padding-top: 128px; padding-bottom: 80px; }
.display { margin-top: 24px; font-weight: 400; font-size: clamp(48px, 9vw, 112px); line-height: .98; letter-spacing: -0.025em; }
.hero__sub { margin: 32px auto 0; max-width: 576px; font-size: 18px; line-height: 1.65; color: hsl(220 14% 30% / .9); }

/* Sections */
.section { margin-top: 160px; }
.h2 { margin-top: 20px; font-weight: 400; font-size: clamp(36px, 5vw, 60px); line-height: 1.05; letter-spacing: -0.02em; }

.split { display: grid; grid-template-columns: 5fr 1fr 6fr; gap: 0 64px; }
.split > :first-child { grid-column: 1; }
.split__body { grid-column: 3; display: grid; gap: 20px; font-size: 18px; line-height: 1.65; color: hsl(220 20% 6% / .8); }

.rows { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.row { border-bottom: 1px solid var(--border); padding: 24px 0; }
.row h3 { font-size: 24px; }
.row p { margin-top: 8px; max-width: 448px; font-size: 16px; line-height: 1.65; color: var(--muted); }

.steps { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid hsl(220 14% 82% / .5); border-left: 1px solid hsl(220 14% 82% / .5); }
.step { display: flex; flex-direction: column; justify-content: flex-end; min-height: 260px; padding: 32px; border-right: 1px solid hsl(220 14% 82% / .5); border-bottom: 1px solid hsl(220 14% 82% / .5); }
.step h3 { margin-top: 8px; font-size: 20px; }
.step p { margin-top: 12px; font-size: 14px; line-height: 1.65; color: hsl(220 14% 30% / .9); }

.cta { margin-top: 144px; margin-bottom: 112px; padding-top: 80px; border-top: 1px solid hsl(220 14% 82% / .5); text-align: center; }
.cta .h2 { margin: 0 auto; max-width: 768px; }
.cta__sub { margin: 24px auto 0; max-width: 576px; font-size: 18px; line-height: 1.65; color: hsl(220 14% 30% / .9); }

.footer { border-top: 1px solid hsl(220 14% 82% / .5); }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 40px; }
.footer p { font-size: 11px; color: hsl(220 14% 30% / .7); }

@media (max-width: 1023px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split__body { grid-column: 1; }
}

@media (max-width: 767px) {
  .header__nav { display: none; }
  .header__inner { grid-template-columns: 1fr auto; }
  .hero__inner { padding-top: 80px; padding-bottom: 48px; }
  .hero__sub, .split__body, .cta__sub { font-size: 16px; }
  .section { margin-top: 96px; }
  .rows { grid-template-columns: 1fr; }
  .row h3 { font-size: 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { min-height: 0; padding: 24px; }
  .cta { margin-top: 96px; margin-bottom: 80px; padding-top: 56px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .steps { grid-template-columns: 1fr 1fr; }
}
