/* =====================================================================
   Jet1 — minimal black & white enterprise design
   ===================================================================== */

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

:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --bg-elev: #f5f5f5;
  --bg-card: #ffffff;
  --border: #e7e7e7;
  --border-strong: #d4d4d4;
  --text: #0a0a0a;
  --text-mute: #525252;
  --text-dim: #737373;
  --accent: #0a0a0a;
  --accent-hover: #262626;
  --link: #0a0a0a;
  --danger: #b91c1c;
  --success: #15803d;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-lg: 12px;
  --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.08);
  --container: 1160px;
  --grid-line: var(--border);
  --grid-inset: max(0px, calc((100vw - var(--container)) / 2));
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Source Serif Pro", "Iowan Old Style", "Charter", Cambria, Georgia, serif;
  --font-mono: ui-monospace, "JetBrains Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 64px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "cv02", "cv03", "cv11", "ss01";
  overflow-x: hidden;
}

/* Site grid — vertical rails (main content only) + section horizontals */
main {
  position: relative;
}

.site-grid-rails {
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 45;
}

.site-grid-rails::before,
.site-grid-rails::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--grid-line);
}

.site-grid-rails::before { left: var(--grid-inset); }
.site-grid-rails::after { right: var(--grid-inset); }

@media (max-width: 900px) {
  .site-grid-rails { display: none; }
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover { color: var(--text-mute); }

img, svg { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  font-weight: 500;
}

h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  letter-spacing: -0.028em;
  font-weight: 500;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

h4 { font-size: 1rem; font-weight: 600; }

p { margin: 0 0 1rem; color: var(--text-mute); }

p.lead { font-size: 1.125rem; color: var(--text); }

ul { padding-left: 1.2rem; }

code, pre, .mono { font-family: var(--font-mono); font-size: 0.9em; }

::selection { background: var(--text); color: var(--bg); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.container-narrow {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: clamp(64px, 8vw, 110px) 0; }
.section-tight { padding: clamp(48px, 6vw, 72px) 0; }
.section-divider {
  border-top: 1px solid var(--grid-line);
  position: relative;
}
.section-soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 400;
  margin-bottom: 18px;
}

.text-mute { color: var(--text-mute); }
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 40px; }
.mb-4 { margin-bottom: 40px; }

/* =====================================================================
   Buttons
   ===================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  line-height: 1;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--bg); border-color: var(--accent-hover); }

.btn-ghost {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: var(--bg-soft); color: var(--text); border-color: var(--text-dim); }

.btn-sm { padding: 8px 14px; font-size: 0.84rem; }
.btn-lg { padding: 14px 24px; font-size: 0.95rem; }

.btn-arrow::after {
  content: "›";
  font-weight: 400;
  transition: transform 0.18s ease;
  margin-left: 2px;
}
.btn-arrow:hover::after { transform: translateX(3px); }

/* =====================================================================
   Header / Nav
   ===================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}

.site-header.scrolled { border-bottom-color: var(--grid-line); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  color: var(--text);
}

.nav-brand .dot { display: none; }

.nav-brand .brand-logo {
  height: 32px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.88rem;
  color: var(--text-mute);
  font-weight: 450;
}

.nav-links a:hover { color: var(--text); }

.nav-links a.active { color: var(--text); font-weight: 500; }

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

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.nav-toggle svg { width: 18px; height: 18px; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: inline-flex; }
}

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  padding: 24px;
  display: flex;
  flex-direction: column;
}

.mobile-nav[hidden] { display: none; }

.mobile-nav .mn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-nav ul a {
  display: block;
  padding: 16px 4px;
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.mobile-nav-close {
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-nav .btn { margin-top: 24px; align-self: flex-start; }

/* =====================================================================
   Hero
   ===================================================================== */

.hero {
  padding: clamp(72px, 11vw, 130px) 0 clamp(56px, 8vw, 96px);
  border-bottom: 1px solid var(--grid-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.accent {
  font-family: "Caveat", cursive;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0;
  font-size: 1.15em;
  line-height: 0.9;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text-mute);
  max-width: 540px;
  margin: 22px 0 32px;
  line-height: 1.6;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

@media (max-width: 720px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }
}

.hero-stat .v {
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--text);
}

.hero-stat .l {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 4px;
}

/* Terminal mockup — restrained */
.terminal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  font-family: var(--font-mono);
  font-size: 0.84rem;
}

.terminal-head {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 14px;
  background: var(--bg-soft);
  border-bottom: 1px solid var(--border);
}

.terminal-head .dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border-strong);
}

.terminal-head .title {
  margin-left: 12px;
  font-size: 0.76rem;
  color: var(--text-dim);
  font-family: var(--font-sans);
}

.terminal-body {
  padding: 20px 22px;
  background: var(--bg);
  line-height: 1.7;
  min-height: 300px;
  color: var(--text);
}

.terminal-line { display: flex; gap: 10px; }
.terminal-line .prompt { color: var(--text-dim); user-select: none; }
.terminal-line.muted { color: var(--text-dim); }
.terminal-line.ok { color: var(--text); }
.terminal-line.ok::before {
  content: "✓";
  color: var(--success);
  margin-right: -4px;
}
.terminal-line.warn { color: #a16207; }

.terminal .blink {
  display: inline-block;
  width: 7px;
  height: 1em;
  background: var(--text);
  animation: blink 1.1s steps(1) infinite;
  vertical-align: text-bottom;
  margin-left: 2px;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* =====================================================================
   Section heading
   ===================================================================== */

.section-head {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head.start { text-align: left; margin-left: 0; }
.section-head p { font-size: 1.05rem; color: var(--text-mute); }

/* =====================================================================
   Cards / Features
   ===================================================================== */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.card .icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft);
  color: var(--text);
  margin-bottom: 18px;
  border: 1px solid var(--border);
}

.card .icon svg { width: 18px; height: 18px; }

.card h3 { margin-bottom: 6px; font-size: 1.05rem; }
.card p { margin: 0; font-size: 0.93rem; line-height: 1.55; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* problem cards — restrained */
.problem-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}

.problem-card .num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-dim);
  letter-spacing: 0.08em;
}

.problem-card .tag {
  margin-top: 6px;
  display: inline-block;
  font-size: 0.8rem;
  color: var(--text-dim);
  letter-spacing: 0.1em;
  font-weight: 500;
}

.problem-card h3 {
  font-size: 1.05rem;
  margin: 12px 0 8px;
}

.problem-card p { font-size: 0.93rem; margin: 0; }

/* =====================================================================
   How we work
   ===================================================================== */

.process-section .eyebrow {
  justify-content: flex-start;
  margin-bottom: 16px;
}

.process-section h2 {
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  max-width: 480px;
}

.process-section .hero-sub {
  margin-bottom: 0;
}

.process-roadmap {
  list-style: none;
  padding: 8px 0 0;
  margin: 0;
  position: relative;
}

.process-roadmap::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 36px;
  bottom: 36px;
  width: 2px;
  background: linear-gradient(
    180deg,
    var(--text) 0%,
    var(--border-strong) 100%
  );
}

.process-roadmap-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 18px;
  align-items: start;
  position: relative;
}

.process-roadmap-step + .process-roadmap-step {
  margin-top: 22px;
}

.process-roadmap-step + .process-roadmap-step::before {
  content: "";
  position: absolute;
  left: 19px;
  top: -22px;
  width: 2px;
  height: 22px;
  background: var(--border-strong);
}

.process-roadmap-node {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--text);
  border-radius: 50%;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px var(--bg);
}

.process-roadmap-num {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--bg);
  letter-spacing: -0.01em;
}

.process-roadmap-content {
  padding-top: 6px;
}

.process-roadmap-content strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}

.process-roadmap-content > span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-mute);
  line-height: 1.45;
}

@media (max-width: 980px) {
  .process-roadmap {
    max-width: 420px;
  }
}

/* =====================================================================
   Comparison table
   ===================================================================== */

.compare {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg);
}

.compare-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
}

.compare-row + .compare-row { border-top: 1px solid var(--border); }

.compare-row > div {
  padding: 16px 22px;
  font-size: 0.9rem;
  color: var(--text-mute);
  display: flex;
  align-items: center;
}

.compare-row > div + div { border-left: 1px solid var(--border); }

.compare-row.head > div {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}

.compare-row .feat { font-weight: 500; color: var(--text); }

.compare-row .yes::before { content: "✅"; color: var(--text); margin-right: 8px; font-size: 0.9em; }
.compare-row .no::before  { content: "❌"; color: var(--text-dim); margin-right: 8px; font-size: 0.9em; }
.compare-row .warn::before{ content: "⚠️"; color: var(--text-dim); margin-right: 8px; font-size: 0.9em; }

.compare-row .yes { color: var(--text); }
.compare-row .no  { color: var(--text-dim); }
.compare-row .warn { color: var(--text-dim); }

@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1fr; }
  .compare-row > div + div { border-left: 0; border-top: 1px solid var(--border); }
}

/* =====================================================================
   Pricing
   ===================================================================== */

.pricing-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-bottom: 48px;
}

.slider-label { font-size: 0.92rem; color: var(--text-mute); }
.slider-label strong { color: var(--text); font-weight: 600; }

.slider-wrap {
  --thumb-size: 18px;
  width: 100%;
  max-width: 440px;
  padding-inline: calc(var(--thumb-size) / 2);
  box-sizing: border-box;
}

.slider-wrap input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 3px;
  background: var(--border);
  border-radius: 3px;
  outline: none;
  margin: 0;
}

.slider-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--text);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--text);
}

.slider-wrap input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--text);
  border-radius: 50%;
  cursor: pointer;
  border: 3px solid var(--bg);
  box-shadow: 0 0 0 1px var(--text);
}

.slider-ticks {
  position: relative;
  height: 1.2em;
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-dim);
}

.slider-ticks span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
}

.slider-ticks span:nth-child(1) { left: 0%; }
.slider-ticks span:nth-child(2) { left: 25%; }
.slider-ticks span:nth-child(3) { left: 50%; }
.slider-ticks span:nth-child(4) { left: 75%; }
.slider-ticks span:nth-child(5) { left: 100%; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 980px) {
  .plans { grid-template-columns: 1fr; }
}

.plan {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

.plan.featured {
  border-color: var(--text);
  border-width: 1.5px;
  position: relative;
}

.plan.featured .badge {
  position: absolute;
  top: -10px;
  right: 24px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.68rem;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.plan h3 { font-size: 1.15rem; margin-bottom: 6px; font-weight: 600; }
.plan .tag { color: var(--text-mute); font-size: 0.9rem; min-height: 44px; }

.plan .price {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin: 26px 0 6px;
}

.plan .price .amt {
  font-size: 2.4rem;
  font-weight: 500;
  letter-spacing: -0.035em;
  color: var(--text);
}

.plan .price .cur { color: var(--text); font-size: 1.1rem; font-weight: 500; }
.plan .price .per { color: var(--text-dim); font-size: 0.9rem; margin-left: 4px; }

.plan ul {
  list-style: none;
  padding: 0;
  margin: 24px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 11px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-mute);
  line-height: 1.5;
}

.plan li::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 4px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.3l2.5 2.5L10 3.2' stroke='%230a0a0a' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan .btn { width: 100%; margin-top: auto; }

/* =====================================================================
   FAQ
   ===================================================================== */

.faq-list {
  max-width: 740px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

.faq-item:first-child { border-top: 1px solid var(--border); }

.faq-item button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 22px 4px;
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-item button:hover { color: var(--text-mute); }

.faq-item button .ico {
  width: 14px; height: 14px;
  flex-shrink: 0;
  position: relative;
  margin-left: 16px;
}

.faq-item button .ico::before,
.faq-item button .ico::after {
  content: "";
  position: absolute;
  background: var(--text);
  border-radius: 1px;
}

.faq-item button .ico::before {
  top: 6px; left: 0; right: 0; height: 2px;
}

.faq-item button .ico::after {
  left: 6px; top: 0; bottom: 0; width: 2px;
  transition: transform 0.2s ease;
}

.faq-item button[aria-expanded="true"] .ico::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease;
}

.faq-answer.open { max-height: 320px; }

.faq-answer-inner {
  padding: 0 4px 22px;
  color: var(--text-mute);
  font-size: 0.93rem;
  line-height: 1.6;
  max-width: 640px;
}

/* =====================================================================
   AWS Partner band
   ===================================================================== */

.partner-band {
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.partner-band .row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 720px) {
  .partner-band .row { grid-template-columns: 1fr; gap: 24px; text-align: center; justify-items: center; }
}

.partner-band img {
  width: 96px;
  height: auto;
}

.partner-band p { margin: 0; max-width: 620px; font-size: 0.95rem; }
.partner-band h3 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 600; }

/* =====================================================================
   CTA
   ===================================================================== */

.cta-card {
  background: var(--text);
  color: var(--bg);
  border-radius: var(--radius-lg);
  padding: clamp(48px, 6vw, 80px);
  text-align: center;
}

.cta-card .eyebrow { color: rgba(255,255,255,0.6); }
.cta-card .eyebrow::before { background: rgba(255,255,255,0.5); }
.cta-card h2 { color: var(--bg); margin-bottom: 14px; font-weight: 500; }
.cta-card p { color: rgba(255,255,255,0.72); max-width: 540px; margin: 0 auto 30px; font-size: 1.02rem; }

.cta-card .btn-primary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--bg);
}
.cta-card .btn-primary:hover { background: var(--bg-soft); border-color: var(--bg-soft); color: var(--text); }

.cta-banner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: clamp(300px, 42vw, 440px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.cta-banner-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 35% center;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    transparent 0%,
    rgba(10, 10, 10, 0.02) 45%,
    rgba(10, 10, 10, 0.12) 65%,
    rgba(10, 10, 10, 0.18) 100%
  );
  pointer-events: none;
}

.cta-banner-content {
  position: relative;
  z-index: 1;
  color: var(--text);
  padding: clamp(40px, 6vw, 72px);
  max-width: min(520px, 92%);
  text-align: left;
  margin-left: auto;
}

.cta-banner .eyebrow { color: var(--text); }
.cta-banner .eyebrow::before { background: var(--text); }
.cta-banner h2 { color: var(--text); margin-bottom: 14px; font-weight: 500; }
.cta-banner p { color: var(--text); margin: 0 0 28px; font-size: 1.02rem; line-height: 1.6; }

.cta-banner .btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}
.cta-banner .btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--bg); }

@media (max-width: 900px) {
  .cta-banner {
    min-height: 0;
    display: block;
    background: var(--text);
    text-align: center;
  }

  .cta-banner::before,
  .cta-banner::after {
    display: none;
  }

  .cta-banner-bg {
    display: none;
  }

  .cta-banner-content {
    max-width: none;
    width: auto;
    margin: 0;
    padding: clamp(48px, 6vw, 80px);
    text-align: center;
    color: var(--bg);
  }

  .cta-banner .eyebrow {
    color: rgba(255, 255, 255, 0.6);
    justify-content: center;
  }

  .cta-banner .eyebrow::before { background: rgba(255, 255, 255, 0.5); }
  .cta-banner h2 { color: var(--bg); }
  .cta-banner p {
    color: rgba(255, 255, 255, 0.72);
    max-width: 540px;
    margin: 0 auto 30px;
    font-size: 1.02rem;
  }

  .cta-banner .btn-primary {
    background: var(--bg);
    color: var(--text);
    border-color: var(--bg);
  }

  .cta-banner .btn-primary:hover {
    background: var(--bg-soft);
    border-color: var(--bg-soft);
    color: var(--text);
  }
}

/* =====================================================================
   Footer
   ===================================================================== */

.site-footer {
  border-top: 1px solid var(--grid-line);
  padding: 64px 0 32px;
  background: var(--bg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p {
  font-size: 0.9rem;
  color: var(--text-mute);
  max-width: 320px;
  margin-top: 14px;
  line-height: 1.55;
}

.footer-col h4 {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-mute);
}

.footer-col a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom .socials { display: flex; gap: 12px; }

.footer-bottom .socials a {
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mute);
}

.footer-bottom .socials a:hover { color: var(--text); border-color: var(--text); }

/* =====================================================================
   Page hero (sub-pages)
   ===================================================================== */

.page-hero {
  padding: clamp(72px, 9vw, 110px) 0 clamp(40px, 5vw, 64px);
  text-align: center;
  border-bottom: 1px solid var(--grid-line);
}

.page-hero .eyebrow { justify-content: center; }
.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  max-width: 860px;
  margin: 0 auto 14px;
  font-weight: 500;
}

.page-hero p {
  max-width: 620px;
  margin: 0 auto;
  font-size: 1.05rem;
  color: var(--text-mute);
}

/* =====================================================================
   Forms
   ===================================================================== */

.form-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
  max-width: 720px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }

.field {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.field label {
  font-size: 0.84rem;
  color: var(--text);
  font-weight: 500;
}

.field input, .field select, .field textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.93rem;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input::placeholder, .field textarea::placeholder { color: var(--text-dim); }

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--text);
  box-shadow: 0 0 0 3px rgba(10,10,10,0.08);
}

.field textarea { min-height: 120px; resize: vertical; font-family: inherit; }

.form-foot {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 22px;
}

.form-foot .btn { align-self: flex-start; }
.form-foot small { color: var(--text-dim); font-size: 0.82rem; }

/* =====================================================================
   Legal / long-form prose pages
   ===================================================================== */

.prose {
  color: var(--text-mute);
  font-size: 0.98rem;
  line-height: 1.7;
}

.prose h2 {
  color: var(--text);
  margin-top: 2.4em;
  margin-bottom: 0.4em;
  font-size: 1.3rem;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.prose h2:first-of-type { margin-top: 0.6em; }

.prose h3 {
  color: var(--text);
  margin-top: 1.6em;
  margin-bottom: 0.4em;
  font-size: 1.02rem;
  font-weight: 600;
}

.prose p { margin: 0 0 1em; }
.prose ul, .prose ol { margin: 0 0 1em 0; padding-left: 1.3rem; }
.prose li { margin-bottom: 0.4em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--text-mute); }

.cs-meta .item .v a.link-blue {
  color: #2563eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cs-meta .item .v a.link-blue:hover { color: #1d4ed8; }

.prose .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 0.84rem;
  color: var(--text-dim);
  padding: 14px 0 22px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px;
}

.prose .meta strong { color: var(--text-mute); font-weight: 500; }

/* SLA table */
.sla-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 0.92rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.sla-table th, .sla-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.sla-table th {
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
  font-size: 0.84rem;
  letter-spacing: 0.01em;
}

.sla-table tr:last-child td { border-bottom: 0; }
.sla-table td { color: var(--text); }

/* =====================================================================
   Case study list
   ===================================================================== */

.case-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 820px) { .case-list { grid-template-columns: 1fr; } }

.case-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  color: inherit;
}

.case-card:hover {
  border-color: var(--text);
  box-shadow: var(--shadow-sm);
  color: inherit;
}

.case-card .tags {
  display: flex;
  gap: 6px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.case-card .tags span {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--bg-soft);
  color: var(--text-mute);
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.case-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 600;
}

.case-card p { font-size: 0.93rem; color: var(--text-mute); }

.case-card .stat {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--text-mute);
}

.case-card .stat .v { font-size: 1.4rem; font-weight: 500; color: var(--text); letter-spacing: -0.025em; }

.case-card .more {
  margin-top: 18px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.9rem;
}

/* Case study page */
.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 28px auto 0;
  max-width: 760px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  text-align: left;
  justify-content: center;
}

.cs-meta .item { font-size: 0.85rem; }

.cs-meta .item .l { color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.7rem; }
.cs-meta .item .v { color: var(--text); font-weight: 500; margin-top: 4px; }

.cs-toc {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.cs-toc h4 {
  font-size: 0.74rem;
  color: var(--text-dim);
  margin-bottom: 14px;
  font-weight: 600;
}

.cs-toc ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
}

@media (max-width: 620px) { .cs-toc ol { grid-template-columns: 1fr; } }

.cs-toc li {
  display: flex;
  gap: 10px;
  font-size: 0.92rem;
}

.cs-toc li .n {
  color: var(--text-dim);
  font-family: var(--font-mono);
  font-size: 0.8rem;
}

.cs-toc a { color: var(--text-mute); text-decoration: none; }
.cs-toc a:hover { color: var(--text); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 8px;
}

@media (max-width: 720px) { .kpi-grid { grid-template-columns: repeat(2, 1fr); } }

.kpi {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}

.kpi .v { font-size: 1.5rem; font-weight: 500; color: var(--text); letter-spacing: -0.025em; }
.kpi .l { font-size: 0.82rem; color: var(--text-dim); margin-top: 4px; }

.code-block {
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-family: var(--font-mono);
  font-size: 0.84rem;
  color: var(--text);
  margin: 18px 0;
  overflow-x: auto;
  line-height: 1.65;
}

.code-block .kw  { color: #0a0a0a; font-weight: 600; }
.code-block .str { color: #525252; }
.code-block .com { color: #a3a3a3; font-style: italic; }
.code-block .num { color: #525252; }

/* =====================================================================
   Misc utilities
   ===================================================================== */

.divider { border-top: 1px solid var(--border); margin: 0; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--text);
  color: var(--bg);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 500;
  z-index: 200;
}
.skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

.hidden {
  display: none;
}