/* Devvizion Autopilot — storefront design system */
:root {
  --bg: #070a0f;
  --bg-soft: #0c1118;
  --surface: #121a24;
  --surface-2: #182232;
  --border: rgba(148, 163, 184, 0.14);
  --border-strong: rgba(148, 163, 184, 0.28);
  --text: #f1f5f9;
  --text-soft: #cbd5e1;
  --muted: #94a3b8;
  --accent: #5b9cff;
  --accent-hot: #3b82f6;
  --accent-dim: rgba(91, 156, 255, 0.14);
  --good: #34d399;
  --good-dim: rgba(52, 211, 153, 0.12);
  --warn: #fbbf24;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 999px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.28);
  --font: "Segoe UI", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: ui-monospace, "Cascadia Code", "Segoe UI Mono", Consolas, monospace;
  --max: 1120px;
  --focus: 2px solid var(--accent);
  font-family: var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 55% at 15% -10%, rgba(59, 130, 246, 0.22), transparent 50%),
    radial-gradient(ellipse 70% 45% at 95% 5%, rgba(52, 211, 153, 0.08), transparent 42%),
    radial-gradient(ellipse 50% 30% at 50% 100%, rgba(59, 130, 246, 0.06), transparent 50%),
    var(--bg);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.35;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 20%, #000 20%, transparent 75%);
}

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

a:focus:not(:focus-visible),
button:focus:not(:focus-visible),
summary:focus:not(:focus-visible) { outline: none; }

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
nav a:focus-visible,
summary:focus-visible,
.brand:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible { border-radius: 12px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}
.skip-link:focus { left: 16px; }

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* —— Header —— */
.top {
  position: sticky;
  top: 0;
  z-index: 60;
  border-bottom: 1px solid var(--border);
  background: rgba(7, 10, 15, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}
.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 750;
  font-size: 1.08rem;
  letter-spacing: -0.03em;
}
.brand:hover { color: var(--text); }
.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  background: linear-gradient(145deg, var(--accent) 0%, #1d4ed8 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,0.12), 0 8px 20px rgba(59, 130, 246, 0.35);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.brand-mark svg { width: 18px; height: 18px; }
.brand span { color: var(--accent); font-weight: 700; }
nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 4px 14px;
}
nav a:not(.btn) {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 550;
  padding: 8px 4px;
}
nav a:not(.btn):hover { color: var(--text-soft); }

/* Header nav: room for brand + CTA on narrow viewports */
.top .bar > .brand {
  flex: 1 1 auto;
  min-width: 0;
}
.top .bar > nav:not(.nav-legal) {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  gap: 8px 12px;
}

/* CSS-only mobile sections menu (<details>, no JS) */
.nav-drawer > summary {
  list-style: none;
  cursor: pointer;
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(24, 34, 50, 0.45);
  user-select: none;
}
.nav-drawer > summary::-webkit-details-marker { display: none; }
.nav-drawer > summary::marker { content: ""; }
.nav-drawer > summary:hover { color: var(--text-soft); }
.nav-drawer > summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.nav-drawer-panel {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 14px;
}
@media (min-width: 801px) {
  .has-nav-drawer .nav-drawer > summary { display: none; }
  .has-nav-drawer .nav-drawer { display: block; }
  .has-nav-drawer .nav-drawer .nav-drawer-panel {
    display: flex;
  }
}
@media (max-width: 800px) {
  .has-nav-drawer { position: relative; }
  .has-nav-drawer .nav-drawer > summary { display: inline-flex; align-items: center; min-height: 40px; }
  .has-nav-drawer .nav-drawer:not([open]) .nav-drawer-panel { display: none; }
  .has-nav-drawer .nav-drawer[open] .nav-drawer-panel {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: min(240px, calc(100vw - 32px));
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-strong);
    background: rgba(12, 18, 28, 0.98);
    box-shadow: var(--shadow-soft);
    z-index: 80;
  }
  .has-nav-drawer .nav-drawer-panel a:not(.btn) {
    display: block;
    padding: 10px 8px;
    border-radius: 8px;
  }
  .has-nav-drawer .nav-drawer-panel a:not(.btn):hover {
    background: rgba(59, 130, 246, 0.08);
  }
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 11px 18px;
  font-weight: 650;
  font-size: 14px;
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(24, 34, 50, 0.6);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease, border-color 0.15s ease, background 0.15s ease;
  text-align: center;
  white-space: nowrap;
}
.btn.primary {
  background: linear-gradient(165deg, #6aa8ff 0%, var(--accent-hot) 55%, #2563eb 100%);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn.primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(37, 99, 235, 0.45), inset 0 1px 0 rgba(255,255,255,0.22);
  color: #fff;
}
.btn.ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-soft);
}
.btn.ghost:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(148, 163, 184, 0.4);
  color: var(--text);
}
.btn.lg { padding: 15px 24px; font-size: 1rem; border-radius: 14px; }
.btn.sm { padding: 9px 14px; font-size: 13px; }
.btn.block { width: 100%; }

/* —— Hero —— */
.hero {
  padding: clamp(48px, 9vw, 96px) 0 clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-copy { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: rgba(18, 26, 36, 0.7);
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 4px var(--good-dim);
}
.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(2.35rem, 5.2vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 780;
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(120deg, #93c5fd 0%, var(--accent) 40%, var(--good) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  margin: 0 0 28px;
  max-width: 38em;
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.7;
}
.lead strong { color: var(--text); font-weight: 650; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}
.hero-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 22px;
}
.fine { color: var(--muted); font-size: 13.5px; margin: 0; }
.trust-note { color: var(--text-soft); }

.trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 16px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.trust li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-soft);
  font-size: 14px;
  line-height: 1.45;
}
.trust li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--good-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* Hero trust strip (under CTAs) */
.trust.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 8px 10px;
  margin-top: 2px;
  padding: 14px 16px 12px;
  border-radius: calc(var(--radius-sm) + 2px);
  border: 1px solid var(--border-strong);
  background:
    linear-gradient(145deg, rgba(24, 34, 50, 0.55) 0%, rgba(12, 17, 24, 0.75) 55%, rgba(7, 10, 15, 0.85) 100%);
  box-shadow:
    var(--shadow-soft),
    0 1px 0 rgba(255, 255, 255, 0.05) inset;
}
.trust.trust-strip::before {
  content: "Kit includes";
  flex: 0 0 100%;
  margin: 0 0 2px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust.trust-strip li {
  flex: 1 1 calc(50% - 6px);
  min-width: min(100%, 220px);
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 9px 12px 9px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(7, 10, 15, 0.5);
  color: var(--text);
  font-size: 13.5px;
  font-weight: 550;
  line-height: 1.35;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.trust.trust-strip li::before {
  width: 17px;
  height: 17px;
  margin-top: 0;
  background-size: 11px;
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.15);
}
.trust.trust-strip li:hover {
  border-color: rgba(91, 156, 255, 0.28);
  background: rgba(18, 26, 36, 0.65);
  box-shadow: 0 0 0 1px rgba(91, 156, 255, 0.08);
}

/* Hero product panel */
.hero-panel {
  position: relative;
  border-radius: calc(var(--radius) + 10px);
  border: 1px solid rgba(148, 163, 184, 0.22);
  background:
    linear-gradient(168deg, rgba(28, 40, 58, 0.98) 0%, rgba(14, 20, 30, 0.99) 48%, rgba(10, 14, 22, 1) 100%);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(91, 156, 255, 0.06) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
  overflow: hidden;
  min-height: 380px;
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
  transform-origin: center right;
}
.hero-panel-aura {
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse 60% 50% at 50% 0%, rgba(59, 130, 246, 0.28), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(125deg, rgba(91, 156, 255, 0.14) 0%, transparent 38%),
    linear-gradient(320deg, rgba(52, 211, 153, 0.06) 0%, transparent 42%);
  pointer-events: none;
  z-index: 1;
}
.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.4;
  background-image: radial-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 20px 20px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 55%);
  pointer-events: none;
  z-index: 1;
}
.panel-chrome {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.28) 100%);
  backdrop-filter: blur(8px);
}
.panel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #475569;
  box-shadow: inset 0 -1px 2px rgba(0, 0, 0, 0.35);
}
.panel-dot:nth-child(1) { background: #f87171; }
.panel-dot:nth-child(2) { background: #fbbf24; }
.panel-dot:nth-child(3) { background: #34d399; }
.panel-title {
  margin-left: 6px;
  flex: 1;
  min-width: 0;
  font-size: 11.5px;
  color: var(--muted);
  font-family: var(--mono);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.panel-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(52, 211, 153, 0.28);
  background: rgba(52, 211, 153, 0.08);
  color: var(--good);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.panel-status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--good);
  box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.5);
  animation: panel-pulse 2.4s ease-out infinite;
}
@keyframes panel-pulse {
  0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.45); }
  70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
  100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}
.panel-scene {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 14px 12px 6px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background:
    linear-gradient(180deg, rgba(7, 10, 15, 0.55) 0%, rgba(12, 17, 24, 0.35) 100%);
}
.panel-scene-svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 108px;
}
.panel-wire {
  opacity: 0.85;
}
.panel-node rect {
  transition: stroke 0.2s ease;
}
.hero-panel:hover .panel-node rect {
  stroke-opacity: 1;
}
.panel-body {
  position: relative;
  z-index: 2;
  padding: 18px 18px 20px;
}
.flow-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}
.flow-list::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(91, 156, 255, 0.5), rgba(52, 211, 153, 0.35) 55%, rgba(251, 191, 36, 0.35));
  opacity: 0.55;
}
.flow-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
}
.flow-step:last-child { margin-bottom: 0; }
.flow-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, rgba(91, 156, 255, 0.18) 0%, rgba(91, 156, 255, 0.06) 100%);
  border: 1px solid rgba(91, 156, 255, 0.32);
  color: var(--accent);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}
.flow-icon svg {
  width: 20px;
  height: 20px;
}
.flow-icon-good {
  color: var(--good);
  background: linear-gradient(145deg, rgba(52, 211, 153, 0.16) 0%, rgba(52, 211, 153, 0.05) 100%);
  border-color: rgba(52, 211, 153, 0.32);
}
.flow-icon-warn {
  color: var(--warn);
  background: linear-gradient(145deg, rgba(251, 191, 36, 0.14) 0%, rgba(251, 191, 36, 0.04) 100%);
  border-color: rgba(251, 191, 36, 0.3);
}
.flow-copy strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
  letter-spacing: -0.01em;
}
.flow-copy p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.45;
}
.panel-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px dashed rgba(148, 163, 184, 0.18);
}
.panel-file {
  padding: 5px 10px;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  color: #93c5fd;
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(91, 156, 255, 0.22);
  letter-spacing: 0.01em;
}
.panel-file-muted {
  color: var(--muted);
  background: rgba(148, 163, 184, 0.06);
  border-color: rgba(148, 163, 184, 0.15);
}
.panel-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-pill);
  background: var(--good-dim);
  border: 1px solid rgba(52, 211, 153, 0.25);
  color: var(--good);
  font-size: 12px;
  font-weight: 650;
}
.panel-badge::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  background: var(--good-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/10px no-repeat;
}

/* —— Sections —— */
.section {
  padding: clamp(40px, 7vw, 80px) 0;
}
.section-head {
  max-width: 36em;
  margin-bottom: clamp(24px, 4vw, 36px);
}
.section-head h2 {
  margin: 0 0 10px;
  font-size: clamp(1.55rem, 3vw, 2rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
  font-weight: 750;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
}
.section-alt {
  border-block: 1px solid var(--border);
  background: rgba(12, 17, 24, 0.55);
}

/* Steps — how-it-works icons */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.steps li {
  position: relative;
  padding: 22px 18px 20px;
  padding-top: 20px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(165deg, var(--surface-2) 0%, var(--surface) 55%);
  box-shadow: var(--shadow-soft);
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.steps li:hover {
  border-color: rgba(91, 156, 255, 0.26);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32);
}
.steps li::before {
  content: "";
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 14px;
  border-radius: 12px;
  border: 1px solid rgba(91, 156, 255, 0.22);
  background-color: var(--accent-dim);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 22px 22px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 14px rgba(0, 0, 0, 0.18);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.steps li:hover::before {
  border-color: rgba(91, 156, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(91, 156, 255, 0.12),
    0 6px 18px rgba(59, 130, 246, 0.12);
}
/* 1 Buy once — card */
.steps li:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Crect x='3' y='6' width='18' height='13' rx='2' stroke='%235b9cff' stroke-width='1.75'/%3E%3Cpath d='M3 10h18' stroke='%235b9cff' stroke-width='1.75'/%3E%3Cpath d='M7 15h4' stroke='%235b9cff' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* 2 Get the zip — download */
.steps li:nth-child(2)::before {
  background-color: var(--good-dim);
  border-color: rgba(52, 211, 153, 0.28);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 4v11' stroke='%2334d399' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M8.5 11.5L12 15l3.5-3.5' stroke='%2334d399' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 19h14' stroke='%2334d399' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
}
.steps li:nth-child(2):hover::before {
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(52, 211, 153, 0.14),
    0 6px 18px rgba(52, 211, 153, 0.1);
}
/* 3 Import into n8n — upload */
.steps li:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M12 16V8' stroke='%235b9cff' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M8.5 11.5L12 8l3.5 3.5' stroke='%235b9cff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M5 18h14' stroke='%235b9cff' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M8 18v-2M16 18v-2' stroke='%235b9cff' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
}
/* 4 Point webhooks — link */
.steps li:nth-child(4)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M10.5 13.5a4.5 4.5 0 016.36 0l1.06 1.06a4.5 4.5 0 01-6.36 6.36l-1.2-1.2' stroke='%23fbbf24' stroke-width='1.75' stroke-linecap='round'/%3E%3Cpath d='M13.5 10.5a4.5 4.5 0 00-6.36 0L6.08 11.56a4.5 4.5 0 006.36 6.36l1.2-1.2' stroke='%23fbbf24' stroke-width='1.75' stroke-linecap='round'/%3E%3C/svg%3E");
  border-color: rgba(251, 191, 36, 0.28);
  background-color: rgba(251, 191, 36, 0.1);
}
.steps li:nth-child(4):hover::before {
  border-color: rgba(251, 191, 36, 0.45);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(251, 191, 36, 0.14),
    0 6px 18px rgba(251, 191, 36, 0.08);
}
.steps li::after {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--muted);
  background: rgba(7, 10, 15, 0.55);
  border: 1px solid var(--border);
}
.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
@media (min-width: 901px) {
  .steps li:not(:last-child) {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 20' fill='none'%3E%3Cpath d='M2 2l8 8-8 8' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round' opacity='0.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% + 7px) 38px;
    background-size: 8px auto;
  }
}

/* Cards */
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.card {
  padding: 24px 22px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-soft);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover {
  border-color: rgba(91, 156, 255, 0.28);
  transform: translateY(-2px);
}
.card-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  border: 1px solid rgba(91, 156, 255, 0.2);
  font-size: 18px;
}
.card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
  letter-spacing: -0.02em;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}

/* Sixty grid */
.sixty-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.sixty-item {
  display: flex;
  gap: 14px;
  padding: 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.sixty-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 750;
  font-size: 14px;
  color: var(--accent);
  background: var(--accent-dim);
}
.sixty-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  letter-spacing: -0.01em;
}
.sixty-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.sixty-cta { margin-top: 24px; }

/* Requirements / who */
.need-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.need-item {
  padding: 18px 18px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--surface);
}
.need-item strong {
  display: block;
  margin-bottom: 6px;
  font-size: 14.5px;
}
.need-item p, .need-item {
  color: var(--text-soft);
  font-size: 14px;
}
.need-item p { margin: 0; color: var(--muted); }

.who-lead {
  max-width: 40em;
  margin: 0;
  color: var(--text-soft);
  font-size: 1.08rem;
}

/* Pricing */
.section.pricing {
  position: relative;
  isolation: isolate;
}
.section.pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse 55% 70% at 78% 42%, rgba(59, 130, 246, 0.14), transparent 58%),
    radial-gradient(ellipse 40% 50% at 12% 55%, rgba(52, 211, 153, 0.06), transparent 52%);
}
.pricing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(28px, 4.5vw, 56px);
  align-items: stretch;
}
.pricing-aside {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(8px, 2vw, 20px) clamp(0px, 2vw, 12px) clamp(8px, 2vw, 20px) clamp(16px, 2.5vw, 22px);
}
.pricing-aside::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  bottom: 10%;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--accent), var(--good));
}
.pricing-aside h2 {
  margin: 0 0 12px;
  font-size: clamp(1.4rem, 2.8vw, 1.65rem);
  letter-spacing: -0.035em;
  font-weight: 750;
  line-height: 1.2;
}
.pricing-aside .lead {
  margin-bottom: 22px;
  font-size: 1.02rem;
  line-height: 1.65;
  max-width: 28em;
}
.pricing-aside .trust {
  grid-template-columns: 1fr;
  gap: 12px;
}
.pricing-aside .trust li {
  font-size: 14.5px;
  padding: 10px 12px 10px 0;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.pricing-aside .trust li:hover {
  border-color: var(--border);
  background: rgba(18, 26, 36, 0.45);
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3.5vw, 34px) clamp(22px, 3vw, 30px) clamp(24px, 3vw, 28px);
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(91, 156, 255, 0.38);
  background:
    linear-gradient(155deg, rgba(36, 64, 102, 0.55) 0%, rgba(18, 26, 36, 0.92) 38%, rgba(12, 17, 24, 0.98) 100%);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(91, 156, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.price-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent) 0%, #7dd3fc 45%, var(--good) 100%);
}
.price-card::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -25%;
  width: 55%;
  height: 70%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(91, 156, 255, 0.12), transparent 68%);
}
.price-card .eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
  text-transform: none;
  letter-spacing: 0.02em;
  border-color: rgba(91, 156, 255, 0.25);
  background: rgba(7, 10, 15, 0.55);
}
.price-card h2 {
  position: relative;
  z-index: 1;
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2.5vw, 1.65rem);
  letter-spacing: -0.035em;
  font-weight: 750;
}
.price {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 8px;
  margin: 0 0 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.price-currency {
  font-size: clamp(1.65rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--text-soft);
  letter-spacing: -0.02em;
  align-self: flex-start;
  margin-top: 0.35em;
}
.price-amount {
  font-size: clamp(2.75rem, 6vw, 3.35rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  background: linear-gradient(120deg, #f8fafc 0%, #93c5fd 55%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-term {
  flex: 1 0 100%;
  margin: 6px 0 0;
  font-size: 0.95rem;
  font-weight: 550;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.price-features,
.price-card > ul:not(.price-objections) {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  color: var(--text-soft);
}
.price-features li,
.price-card > ul:not(.price-objections) li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 10px;
  font-size: 14.5px;
  line-height: 1.45;
}
.price-features li::before,
.price-card > ul:not(.price-objections) li::before {
  content: "";
  width: 20px;
  height: 20px;
  margin-top: 1px;
  flex-shrink: 0;
  border-radius: 6px;
  background: var(--good-dim) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M3.5 8.5L6.5 11.5L12.5 4.5' stroke='%2334d399' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.price-objections-label {
  position: relative;
  z-index: 1;
  margin: 4px 0 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.price-objections {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  padding: 14px 16px 14px 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--border);
  border-left: 3px solid rgba(148, 163, 184, 0.35);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
.price-objections li { margin-bottom: 6px; }
.price-objections li:last-child { margin-bottom: 0; }
.price-card .btn.block {
  position: relative;
  z-index: 1;
  margin-top: auto;
  min-height: 52px;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.28);
}
.price-card .btn.block:hover {
  box-shadow: 0 14px 36px rgba(59, 130, 246, 0.36);
}
#pay-note {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.45;
}
#pay-note::before {
  content: "";
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.85;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 7V5.5A2.5 2.5 0 0 1 6.5 3h3A2.5 2.5 0 0 1 12 5.5V7' stroke='%2394a3b8' stroke-width='1.4' stroke-linecap='round'/%3E%3Crect x='3' y='7' width='10' height='6.5' rx='1.5' stroke='%2394a3b8' stroke-width='1.4'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* FAQ */
.faq h2 {
  margin: 0 0 18px;
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  letter-spacing: -0.03em;
}
.faq details:last-of-type {
  margin-bottom: 0;
}
.faq details {
  margin-bottom: 10px;
  padding: 2px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--surface) 100%);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.faq details:hover {
  border-color: rgba(91, 156, 255, 0.22);
}
.faq details[open] {
  border-color: rgba(91, 156, 255, 0.32);
  background: linear-gradient(
    168deg,
    rgba(28, 40, 58, 0.55) 0%,
    var(--surface) 42%,
    rgba(12, 17, 24, 0.98) 100%
  );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(91, 156, 255, 0.06) inset;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 16px 0;
  font-weight: 650;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}
.faq summary:hover { color: var(--text); }
.faq details[open] summary {
  color: var(--text);
  padding-bottom: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::marker { content: ""; }
.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--accent-dim);
  border: 1px solid rgba(91, 156, 255, 0.18);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='M4 6l4 4 4-4' stroke='%235b9cff' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  transition: transform 0.22s ease, background-color 0.18s ease, border-color 0.18s ease;
}
.faq summary:hover::after {
  background-color: rgba(91, 156, 255, 0.2);
  border-color: rgba(91, 156, 255, 0.28);
}
.faq details[open] summary::after {
  transform: rotate(180deg);
  background-color: rgba(91, 156, 255, 0.22);
  border-color: rgba(91, 156, 255, 0.35);
}
.faq summary:focus-visible {
  outline: var(--focus);
  outline-offset: 3px;
  border-radius: 8px;
}
.faq details p {
  margin: 0 0 18px;
  padding-top: 2px;
  padding-left: 2px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.65;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}
.faq details[open] p {
  animation: faq-answer-in 0.28s ease;
}
@keyframes faq-answer-in {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.faq details p a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(91, 156, 255, 0.35);
  text-underline-offset: 2px;
}
.faq details p a:hover {
  text-decoration-color: var(--accent);
}
.faq-more { margin-top: 20px; }

/* Guides / prose */
.guide-main, .prose-main, .page-main {
  padding: 40px 0 64px;
  max-width: 720px;
}
.guide-main h1, .prose-main h1 {
  margin: 0 0 14px;
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  letter-spacing: -0.035em;
  line-height: 1.15;
}
.guide-main .lead {
  margin-bottom: 1.75rem;
  max-width: 42em;
}
.guide-main > h2 {
  margin: 2.5rem 0 0.75rem;
  font-size: clamp(1.32rem, 2.4vw, 1.52rem);
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.28;
  color: var(--text);
}
.guide-main > h2:first-of-type {
  margin-top: 2rem;
}
.guide-main > p:not(.eyebrow):not(.lead) {
  margin: 0 0 1.2em;
  color: var(--text-soft);
  line-height: 1.75;
}
.guide-main > p:not(.eyebrow):not(.lead) strong {
  color: var(--text);
  font-weight: 650;
}
.guide-main > ul,
.guide-main > ol {
  margin: 0 0 1.4em;
  padding-left: 1.4em;
  color: var(--text-soft);
  line-height: 1.72;
}
.guide-main > ul li,
.guide-main > ol li {
  margin-bottom: 0.6em;
  padding-left: 0.15em;
}
.guide-main > ul li:last-child,
.guide-main > ol li:last-child {
  margin-bottom: 0;
}
.guide-main > ul li strong,
.guide-main > ol li strong {
  color: var(--text);
  font-weight: 650;
}
.guide-main > ul li::marker {
  color: var(--accent);
}
.guide-main > ol li::marker {
  color: var(--muted);
  font-weight: 650;
}
.guide-main > h2 + p,
.guide-main > h2 + ul,
.guide-main > h2 + ol {
  margin-top: 0.15rem;
}
.guide-main > .lead + ul,
.guide-main > .lead + ol {
  margin-top: 0.25rem;
}
.guide-main code {
  font-family: var(--mono);
  font-size: 0.88em;
  padding: 0.12em 0.38em;
  border-radius: 6px;
  background: rgba(10, 14, 20, 0.85);
  border: 1px solid var(--border);
  color: #c5d4e8;
}
.guide-nav, .nav-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 13.5px;
}
.guide-cta, .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 8px;
}
.code-block, pre {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  background: #0a0e14;
  border: 1px solid var(--border);
  overflow-x: auto;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Footer */
.foot {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  margin-top: 24px;
}
.foot p { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.guide-links-foot {
  line-height: 1.8;
  max-width: 52em;
}
.foot-compact { margin-top: 0; padding-top: 28px; }

/* Mobile CTA */
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(7, 10, 15, 0.92);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(12px);
  box-shadow: 0 -12px 40px rgba(0,0,0,0.35);
}
.mobile-cta-bar .btn { width: 100%; min-height: 48px; }
body.has-mobile-cta { padding-bottom: 0; }

/* Page intros */
.page-intro { margin-bottom: 24px; }

@media (max-width: 960px) {
  .top .bar > nav:not(.nav-legal):not(.has-nav-drawer) a:not(.btn) { display: none; }
  .top .bar > nav:not(.nav-legal) .btn.sm { display: inline-flex; }
  .hero {
    grid-template-columns: 1fr;
    gap: clamp(28px, 6vw, 40px);
    align-items: stretch;
    padding-bottom: clamp(32px, 5vw, 48px);
  }
  .hero-copy {
    order: 1;
    display: flex;
    flex-direction: column;
  }
  .hero-panel {
    order: -1;
    width: 100%;
    max-width: min(480px, 100%);
    margin-inline: auto;
    min-height: 0;
    transform: none;
  }
  .steps { grid-template-columns: 1fr 1fr; }
  .pricing-layout { grid-template-columns: 1fr; }
  .pricing-aside {
    padding-left: 0;
    order: 2;
  }
  .pricing-aside::before { display: none; }
  .price-card { order: 1; }
  .grid3 { grid-template-columns: 1fr; }
}

@media (max-width: 800px) {
  .hero {
    padding-top: clamp(36px, 9vw, 56px);
    gap: 28px;
  }
  .hero .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
  }
  .hero h1 {
    margin-bottom: 16px;
    line-height: 1.08;
  }
  .hero .lead {
    margin-bottom: 22px;
    font-size: 1rem;
    line-height: 1.65;
    max-width: none;
  }
  .hero .cta-row {
    margin-bottom: 16px;
    gap: 10px;
  }
  .hero-meta {
    margin-bottom: 18px;
    gap: 5px;
  }
  .trust.trust-strip {
    padding: 12px 14px 10px;
    gap: 8px;
  }
  .trust.trust-strip li {
    flex: 1 1 100%;
    min-width: 0;
    font-size: 13.5px;
    padding: 8px 12px 8px 10px;
  }
  .hero-panel {
    max-width: 100%;
    border-radius: calc(var(--radius) + 4px);
  }
  .panel-chrome {
    padding: 10px 12px;
    gap: 6px;
  }
  .panel-title {
    font-size: 10.5px;
  }
  .panel-body {
    padding: 16px 14px 18px;
  }
  .flow-step {
    margin-bottom: 10px;
  }
  /* Secondary header links: hidden; primary CTA stays (Stripe #buy-nav wired in JS) */
  .top .bar > nav:not(.nav-legal):not(.has-nav-drawer) a:not(.btn) { display: none; }
  .top .bar > nav:not(.nav-legal) .btn.sm { display: inline-flex; flex-shrink: 0; }
  body.has-mobile-cta .top #buy-nav { display: none; }
  .top .bar { padding: 12px 0; gap: 12px; }
  .nav-legal { flex-wrap: wrap; justify-content: flex-end; gap: 6px 10px; font-size: 13px; }
  .nav-legal .sep { display: none; }
  .trust { grid-template-columns: 1fr; }
  .sixty-grid, .need-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .cta-row .btn.lg { width: 100%; min-height: 50px; }
  body.has-mobile-cta { padding-bottom: 76px; }
  body.has-mobile-cta .mobile-cta-bar { display: block; }
  .guide-main .btn-row .btn,
  .guide-cta .btn {
    width: 100%;
    min-height: 48px;
  }
  .guide-nav {
    flex-direction: column;
    align-items: stretch;
  }
  .guide-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .wrap { width: min(var(--max), calc(100% - 28px)); }
  .top .bar > .brand { font-size: 1rem; }
  .top .bar > nav:not(.nav-legal) .btn.sm { padding: 8px 12px; font-size: 12px; }
  .has-nav-drawer .nav-drawer > summary { padding: 7px 10px; font-size: 13px; }
  .hero {
    gap: 24px;
    padding-top: 32px;
  }
  .hero h1 {
    font-size: 2.1rem;
    letter-spacing: -0.035em;
  }
  .hero .lead {
    font-size: 0.97rem;
  }
  .hero-meta .fine,
  .hero-meta .trust-note {
    font-size: 12.5px;
    line-height: 1.5;
  }
  .trust.trust-strip {
    padding: 11px 12px 10px;
  }
  .trust.trust-strip::before {
    font-size: 10px;
    letter-spacing: 0.07em;
  }
  .panel-scene {
    padding: 10px 8px 4px;
  }
  .panel-scene-svg {
    max-height: 84px;
  }
  .panel-chrome {
    flex-wrap: wrap;
  }
  .panel-status {
    font-size: 9px;
    padding: 3px 8px;
  }
  .panel-files {
    margin-top: 12px;
    padding-top: 12px;
    gap: 6px;
  }
  .price { font-size: 2.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .steps li { transition: none; }
  .btn.primary:hover, .card:hover, .steps li:hover { transform: none; }
  .panel-status-pulse { animation: none; }
  .faq details,
  .faq summary::after { transition: none; }
  .faq details[open] p { animation: none; }
}

/* Reliability: hero always visible */
.hero {
  display: grid !important;
  visibility: visible !important;
  opacity: 1 !important;
}
.hero-copy, .hero-panel {
  visibility: visible !important;
  opacity: 1 !important;
  min-height: 1px;
}
.hero h1 {
  color: #f1f5f9 !important;
}
.hero h1 em {
  color: #93c5fd !important;
  -webkit-text-fill-color: #93c5fd;
  background: none !important;
}
