:root {
  --bg: #ffffff;
  --bg-soft: #fafbff;
  --ink: #0b1020;
  --ink-soft: #475569;
  --ink-mute: #94a3b8;
  --line: #e6e8f0;
  --line-soft: #eef0f6;

  --accent: #4f46e5;
  --accent-2: #7c3aed;
  --accent-3: #ec4899;
  --accent-soft: #eef2ff;
  --accent-ink: #1e1b4b;

  --good: #16a34a;
  --warn: #d97706;
  --bad: #dc2626;

  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow: 0 24px 60px -20px rgba(15, 23, 42, 0.18), 0 8px 24px -12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 60px 120px -40px rgba(79, 70, 229, 0.30), 0 24px 60px -20px rgba(15, 23, 42, 0.20);
  --shadow-glow: 0 0 0 1px rgba(79, 70, 229, 0.10), 0 24px 60px -20px rgba(124, 58, 237, 0.35);

  --max: 1180px;
  --grad-text: linear-gradient(135deg, #1e1b4b 0%, #4f46e5 45%, #7c3aed 75%, #ec4899 100%);
  --grad-button: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  --grad-mesh: radial-gradient(60% 70% at 15% 10%, rgba(165, 180, 252, 0.55) 0%, rgba(255, 255, 255, 0) 60%),
               radial-gradient(50% 60% at 85% 15%, rgba(236, 72, 153, 0.20) 0%, rgba(255, 255, 255, 0) 60%),
               radial-gradient(70% 80% at 70% 90%, rgba(124, 58, 237, 0.18) 0%, rgba(255, 255, 255, 0) 60%),
               radial-gradient(50% 60% at 10% 90%, rgba(56, 189, 248, 0.18) 0%, rgba(255, 255, 255, 0) 60%);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-feature-settings: "cv11", "ss01", "ss03";
  font-variation-settings: "opsz" 32;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.55;
  scroll-behavior: smooth;
}

body { overflow-x: hidden; }

a { color: var(--accent); text-decoration: none; transition: color 0.15s ease; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.muted { color: var(--ink-mute); }
.dim { color: var(--ink-soft); }

/* ---------- Type system ---------- */
h1, h2, h3, h4 {
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  color: var(--ink);
  font-feature-settings: "cv11", "ss01";
}
h1 {
  font-size: clamp(2.75rem, 7vw, 5.25rem);
  line-height: 0.96;
  letter-spacing: -0.045em;
  font-weight: 700;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}
h3 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.16em; color: var(--ink-soft); margin-bottom: 14px; }
p { color: var(--ink-soft); font-size: 1.05rem; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent);
  border: 1px solid rgba(79, 70, 229, 0.14);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.15);
}

.tag {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-ink);
  font-size: 0.72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-dot {
  width: 16px; height: 16px; border-radius: 999px;
  background: conic-gradient(from 210deg, #c4b5fd, #4f46e5, #7c3aed, #ec4899, #c4b5fd);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.10), inset 0 0 6px rgba(255,255,255,0.4);
  position: relative;
}
.brand-dot::after {
  content: ""; position: absolute; inset: 3px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.7), transparent 60%);
}
.brand-name { font-size: 1.05rem; letter-spacing: -0.025em; font-weight: 700; }

.nav-links { display: flex; gap: 6px; }
.nav-links a {
  color: var(--ink-soft); font-weight: 500; font-size: 0.93rem;
  padding: 8px 12px; border-radius: 999px; transition: all .15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(15, 23, 42, 0.04); text-decoration: none; }

.nav-cta { display: flex; gap: 10px; align-items: center; }

@media (max-width: 760px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 18px; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem; line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .18s ease, color .18s ease, box-shadow .18s ease, border-color .18s ease;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 8px 24px -8px rgba(11, 16, 32, 0.55); }
.btn-primary:hover { background: #1e293b; color: #fff; box-shadow: 0 12px 32px -10px rgba(11, 16, 32, 0.7); }

.btn-accent {
  color: #fff;
  background: var(--grad-button);
  box-shadow: 0 14px 32px -10px rgba(124, 58, 237, 0.55), inset 0 1px 0 rgba(255,255,255,0.18);
}
.btn-accent:hover { color: #fff; box-shadow: 0 22px 50px -12px rgba(124, 58, 237, 0.65), inset 0 1px 0 rgba(255,255,255,0.22); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: rgba(15, 23, 42, 0.10);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover { border-color: rgba(15, 23, 42, 0.20); color: var(--ink); background: #fff; }

.btn-block { width: 100%; padding: 14px 18px; }
.btn-icon { width: 14px; height: 14px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: -10% -10% auto -10%; height: 130%;
  background: var(--grad-mesh);
  filter: blur(0px);
  z-index: 0;
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.5;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
}
.hero h1 { margin-top: 18px; }
.hero p.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 560px; }
.hero-ctas { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-meta {
  margin-top: 22px;
  font-size: .85rem;
  color: var(--ink-mute);
  display: flex; align-items: center; gap: 14px;
}
.hero-meta::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px; background: var(--good);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.18);
}

.hero-image {
  position: relative;
  display: flex; justify-content: center;
  perspective: 1200px;
}
.hero-image img {
  width: 100%; max-width: 620px; height: auto;
  filter: drop-shadow(0 40px 60px rgba(79, 70, 229, 0.25));
  animation: float 9s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0) rotateZ(0deg); }
  50% { transform: translateY(-12px) rotateZ(0.4deg); }
}

/* ---------- Sections ---------- */
section.section { padding: 96px 0; position: relative; }
section.section h2 { max-width: 780px; }
section.section .lead { max-width: 660px; margin-bottom: 36px; font-size: 1.1rem; }

.section-soft {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

/* ---------- Bento grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: minmax(220px, auto);
  gap: 16px;
  margin-top: 40px;
}
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; }
}

.bento-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.bento-card > * { min-width: 0; max-width: 100%; }
.bento-card pre { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; word-break: normal; }
.bento-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: rgba(79, 70, 229, 0.22); }

/* span helpers (6-col grid) */
.col-3 { grid-column: span 3; }
.col-2 { grid-column: span 2; }
.col-4 { grid-column: span 4; }
.col-6 { grid-column: span 6; }
.row-2 { grid-row: span 2; }
@media (max-width: 980px) {
  .col-3, .col-4 { grid-column: span 2; }
  .col-2 { grid-column: span 1; }
  .row-2 { grid-row: auto; }
}
@media (max-width: 600px) {
  .col-2, .col-3, .col-4, .col-6 { grid-column: span 1; }
}

.bento-eyebrow { font-size: .72rem; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 700; }
.bento-card h3 { margin: 8px 0 10px; }
.bento-card p { margin: 0; color: var(--ink-soft); }

.bento-art {
  margin-top: auto; padding-top: 16px;
  display: flex; align-items: flex-end; justify-content: center;
}
.bento-art img { width: 100%; height: auto; max-height: 220px; object-fit: contain; }

/* dark accent bento */
.bento-card.dark {
  background:
    radial-gradient(120% 120% at 100% 0%, rgba(124, 58, 237, 0.28), transparent 50%),
    radial-gradient(140% 100% at 0% 100%, rgba(79, 70, 229, 0.40), transparent 60%),
    #0b1020;
  color: #f8fafc;
  border-color: rgba(255,255,255,0.08);
}
.bento-card.dark h3 { color: #fff; }
.bento-card.dark p { color: rgba(255,255,255,0.72); }
.bento-card.dark .bento-eyebrow { color: #c4b5fd; }

/* ---------- Code preview ---------- */
.code-card {
  background: #0b1020;
  color: #e2e8f0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow-lg);
  padding: 18px 18px 14px;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace;
  font-size: 0.85rem;
  line-height: 1.6;
  overflow: hidden;
  position: relative;
  min-width: 0;
  max-width: 100%;
}
.code-card pre {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: pre;
  word-break: normal;
}
.code-card::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(120% 100% at 50% 0%, rgba(124, 58, 237, 0.15), transparent 50%);
  pointer-events: none;
}
.code-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 12px; margin-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  position: relative;
}
.code-head .dot { width: 12px; height: 12px; border-radius: 999px; }
.code-head .dot:nth-child(1) { background: #ff6058; }
.code-head .dot:nth-child(2) { background: #ffbd2e; }
.code-head .dot:nth-child(3) { background: #28ca41; }
.code-head .file { margin-left: 12px; color: #94a3b8; font-size: .82rem; }
.code-card pre { background: transparent; color: inherit; padding: 0; margin: 0; font-size: inherit; }
.tok-c { color: #94a3b8; }
.tok-k { color: #c4b5fd; }
.tok-s { color: #86efac; }
.tok-n { color: #fbbf24; }
.tok-p { color: #f472b6; }

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 40px;
}
.steps > * { min-width: 0; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }
.step {
  position: relative;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.step-no {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 999px;
  background: var(--grad-button); color: #fff; font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 8px 20px -6px rgba(124, 58, 237, 0.55);
  margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin: 0 0 6px; }
.step p { margin: 0; font-size: .98rem; }

/* ---------- Pricing ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 36px;
}
.plans > * { min-width: 0; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex; flex-direction: column; gap: 10px;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.plan.featured {
  border-color: transparent;
  background: linear-gradient(180deg, #ffffff 0%, #faf9ff 100%);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.plan.featured::before {
  content: ""; position: absolute; inset: 0;
  border-radius: inherit; padding: 1.5px;
  background: var(--grad-button);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.plan.featured::after {
  content: "Recommended";
  position: absolute; top: -12px; right: 28px;
  background: var(--grad-button); color: #fff;
  font-size: 0.68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(124, 58, 237, 0.55);
}
.plan h3 { margin: 0; }
.plan .price { font-size: 2.4rem; font-weight: 800; color: var(--ink); margin: 4px 0; letter-spacing: -0.03em; }
.plan .price small { font-size: 0.95rem; font-weight: 500; color: var(--ink-mute); }
.plan ul { list-style: none; padding: 0; margin: 14px 0; color: var(--ink-soft); }
.plan li { padding: 8px 0; border-bottom: 1px dashed var(--line); display: flex; align-items: center; gap: 8px; }
.plan li:last-child { border-bottom: 0; }
.plan li::before {
  content: ""; width: 14px; height: 14px; border-radius: 999px;
  background: var(--accent-soft);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f46e5' stroke-width='3'><polyline points='20 6 9 17 4 12'/></svg>");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
  flex-shrink: 0;
}
.plan .btn { margin-top: auto; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; margin-top: 36px; }
@media (max-width: 900px) { .faq { grid-template-columns: 1fr; } }
.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; transition: border-color .15s ease, box-shadow .15s ease;
}
.faq details[open] { border-color: rgba(79, 70, 229, 0.25); box-shadow: var(--shadow-sm); }
.faq summary { font-weight: 600; cursor: pointer; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; line-height: 1; transition: transform .2s ease; }
.faq details[open] summary::after { content: "−"; }
.faq p { margin-top: 10px; }

/* ---------- Logos strip ---------- */
.logos {
  display: flex; justify-content: center; align-items: center; gap: 56px; flex-wrap: wrap;
  margin-top: 40px; opacity: 0.7;
  font-family: ui-monospace, monospace;
  color: var(--ink-mute);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
}
.logos span { padding: 6px 0; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 80px 0 32px;
  background: linear-gradient(180deg, #fff 0%, #f5f6fc 100%);
  margin-top: 96px;
  position: relative;
}
.site-footer::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 80% at 50% 0%, rgba(124, 58, 237, 0.07), transparent 60%);
  pointer-events: none;
}
.footer-row { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; position: relative; z-index: 1; }
@media (max-width: 760px) { .footer-row { grid-template-columns: 1fr; } }
.footer-brand .muted { margin-top: 14px; max-width: 320px; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 760px) { .footer-cols { grid-template-columns: repeat(2, 1fr); } }
.footer-cols h4 { margin-bottom: 14px; }
.footer-cols a { display: block; padding: 5px 0; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.footer-cols a:hover { color: var(--ink); text-decoration: none; }
.footer-fine { display: flex; justify-content: space-between; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-mute); position: relative; z-index: 1; }

/* ---------- Generic auth/dashboard surfaces ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.card.glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: saturate(180%) blur(14px);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 30px 80px -20px rgba(79, 70, 229, 0.18), inset 0 1px 0 rgba(255,255,255,0.5);
}
.card h2 { margin-top: 0; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: 12px;
  background: #fff; color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.14);
}
.formhelp { font-size: 0.85rem; color: var(--ink-mute); margin-top: 4px; }

.notice { padding: 12px 16px; border-radius: 12px; font-size: 0.95rem; margin-bottom: 16px; border: 1px solid transparent; }
.notice.info { background: var(--accent-soft); color: var(--accent-ink); border-color: rgba(79, 70, 229, 0.18); }
.notice.error { background: #fef2f2; color: var(--bad); border-color: #fecaca; }
.notice.success { background: #f0fdf4; color: #14532d; border-color: #bbf7d0; }

/* ---------- Dashboard ---------- */
.dash-wrap { padding: 48px 0 96px; display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
@media (max-width: 900px) { .dash-wrap { grid-template-columns: 1fr; } }
.dash-side { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 96px; align-self: start; }
.dash-side a { color: var(--ink-soft); padding: 9px 14px; border-radius: 10px; font-weight: 500; font-size: 0.95rem; }
.dash-side a:hover { background: var(--accent-soft); color: var(--accent-ink); text-decoration: none; }
.dash-side a.active { background: var(--accent-soft); color: var(--accent-ink); }
.dash-main { display: flex; flex-direction: column; gap: 24px; }

table.data { width: 100%; border-collapse: collapse; }
table.data th, table.data td { padding: 12px 8px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.data th { color: var(--ink-mute); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .08em; }
table.data code { background: var(--bg-soft); padding: 2px 6px; border-radius: 6px; }

code, pre { font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, monospace; }
pre { background: #0b1020; color: #e2e8f0; border-radius: 14px; padding: 18px 20px; overflow: auto; line-height: 1.55; font-size: 0.9rem; border: 1px solid rgba(255,255,255,0.08); }
pre code { background: transparent; color: inherit; }
.kbd { font-family: ui-monospace, monospace; background: var(--bg-soft); border: 1px solid var(--line); padding: 2px 6px; border-radius: 6px; font-size: 0.8rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .hero-image img { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Mobile polish ---------- */
@media (max-width: 760px) {
  .container { padding: 0 18px; }
  .hero { padding: 56px 0 32px; }
  section.section { padding: 64px 0; }
  .site-footer { padding: 56px 0 24px; margin-top: 64px; }
  .site-footer .footer-fine { flex-direction: column; gap: 8px; }
  .nav-row { height: 60px; }
  .nav-cta .btn-ghost { display: none; } /* keep just the primary CTA */
  .hero-ctas .btn { flex: 1 1 auto; min-width: 0; justify-content: center; }
  .code-card { font-size: 0.78rem; padding: 14px 14px 12px; }
  .code-card pre { padding-bottom: 4px; }
  .bento-card { padding: 22px; }
  .bento-card pre { font-size: 0.72rem; padding: 12px 14px; }
  .plan { padding: 24px; }
  h1 { font-size: clamp(2.25rem, 9vw, 3rem); }
  h2 { font-size: clamp(1.75rem, 6vw, 2.25rem); }
  .dash-wrap { padding: 24px 0 64px; gap: 16px; }
  .dash-side { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .card { padding: 22px; }
  pre { padding: 14px 16px; font-size: 0.82rem; }
}
