/* Kolvey — Stripe-craft light marketing system */
:root {
  --bg: #ffffff;
  --bg-subtle: #f6f9fc;
  --bg-muted: #f0f4f8;
  --border: #e6ebf1;
  --border-strong: #d0d7e2;
  --text: #0a2540;
  --text-secondary: #425466;
  --text-muted: #697386;
  --accent: #00d4c8;
  --accent-hover: #00a8a0;
  --accent-deep: #0891b2;
  --accent-soft: rgba(0, 212, 200, 0.12);
  --accent-border: rgba(0, 212, 200, 0.35);
  --link: #0a2540;
  --link-hover: #067a8a;
  --good: #0d9488;
  --good-bg: #ecfdf8;
  --bad: #c41c1c;
  --bad-bg: #fef2f2;
  --radius: 8px;
  --radius-lg: 12px;
  --radius-sm: 6px;
  --shadow-sm: 0 1px 1px rgba(0, 0, 0, 0.02), 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 2px 4px rgba(0, 0, 0, 0.02), 0 12px 24px rgba(10, 37, 64, 0.07);
  --font: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --wrap: 1100px;
  --header-h: 64px;
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --duration: 200ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--link);
  text-decoration: none;
  transition: color var(--duration) var(--ease);
}
a:hover { color: var(--link-hover); }
a:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent);
  color: var(--text);
  padding: 0.75rem 1rem;
  z-index: 100;
  font-weight: 600;
  border-radius: var(--radius-sm);
}
.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap.narrow { --wrap: 680px; }

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 500;
  font-size: 0.9375rem;
  line-height: 1.2;
  padding: 0.625rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--duration) var(--ease),
    color var(--duration) var(--ease),
    border-color var(--duration) var(--ease),
    box-shadow var(--duration) var(--ease),
    transform var(--duration) var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 3px;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--accent);
  color: var(--text);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04);
  font-weight: 600;
}
.btn-primary:hover {
  background: var(--accent-hover);
  color: var(--text);
}

.btn-secondary {
  background: var(--bg);
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover {
  background: var(--bg-subtle);
  color: var(--text);
  border-color: var(--text-muted);
}

.btn-sm {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
}
.btn-lg {
  padding: 0.8125rem 1.25rem;
  font-size: 0.9375rem;
}
.btn-block {
  width: 100%;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
  text-decoration: none;
}
.logo:hover { color: var(--text); text-decoration: none; }

.logo-mark {
  display: block;
  width: 11px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent);
}
.logo-mark path { fill: currentColor; }

.logo-word {
  font-size: 1.0625rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text);
  position: relative;
}
/* Unique y detail: cyan tick under the last letter */
.logo-word::after {
  content: "";
  position: absolute;
  right: 0.02em;
  bottom: -0.12em;
  width: 0.42em;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.125rem 1.5rem;
}
.nav a:not(.btn) {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.375rem 0;
  text-decoration: none;
}
.nav a:not(.btn):hover { color: var(--text); }
.nav .nav-secondary { color: var(--text-muted); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text);
  border-radius: 1px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.mobile-nav a:not(.btn) {
  color: var(--text);
  font-weight: 500;
  font-size: 1rem;
  padding: 0.875rem 0.5rem;
  text-decoration: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-nav .btn { margin-top: 0.5rem; width: 100%; }
.mobile-nav.is-open { display: flex; }

@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
}

/* ——— Hero ——— */
.hero {
  padding: 4.5rem 0 5rem;
  background:
    linear-gradient(180deg, var(--bg-subtle) 0%, var(--bg) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-copy h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.5rem, 4.5vw, 3.75rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--text);
}

.lede {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 34rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.hero-note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

/* Product proof mock */
.product-proof {
  position: relative;
}

.proof-window {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.proof-chrome {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.625rem 0.875rem;
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
}

.proof-dots {
  display: flex;
  gap: 5px;
}
.proof-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border-strong);
}
.proof-dots span:nth-child(1) { background: #ff5f57; opacity: 0.85; }
.proof-dots span:nth-child(2) { background: #febc2e; opacity: 0.85; }
.proof-dots span:nth-child(3) { background: #28c840; opacity: 0.85; }

.proof-tabs {
  display: flex;
  gap: 0.25rem;
}
.proof-tab {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.25rem 0.625rem;
  border-radius: 4px;
}
.proof-tab.is-active {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
}

.proof-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
}

.proof-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.proof-lane {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
}
.proof-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
}
.proof-count {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.proof-table-wrap {
  display: flex;
  flex-direction: column;
}

.proof-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 0.7fr 0.9fr;
  gap: 0.5rem;
  padding: 0.7rem 1rem;
  align-items: center;
  border-bottom: 1px solid var(--border);
  font-size: 0.75rem;
}
.proof-row:last-of-type { border-bottom: none; }
.proof-row:not(.proof-head):hover { background: var(--bg-subtle); }

.proof-head {
  background: var(--bg-subtle);
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  padding-block: 0.5rem;
}

.proof-row strong {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
}
.proof-row em {
  display: block;
  font-style: normal;
  font-size: 0.6875rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}
.proof-row > span { color: var(--text-secondary); }

.signal {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--good);
  background: var(--good-bg);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
}
.signal-muted {
  color: var(--text-secondary);
  background: var(--bg-muted);
}

.proof-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.625rem 1rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
  font-size: 0.6875rem;
  color: var(--text-muted);
}
.proof-foot-right { font-weight: 500; color: var(--text-secondary); }

/* ——— Sections ——— */
.section {
  padding: 5rem 0;
}
.section-alt {
  background: var(--bg-subtle);
}

.section-head {
  margin-bottom: 2.75rem;
  max-width: 38rem;
}
.section-head.center {
  text-align: center;
  margin-inline: auto;
  max-width: 36rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.section-head h2,
.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  color: var(--text);
}

.section-sub {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.section-head.center .section-sub { margin-inline: auto; }

/* ——— Audience ——— */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.audience-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.625rem;
  transition: border-color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.audience-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-sm);
}

.audience-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 1rem;
}

.audience-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.audience-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.audience-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
}
.audience-chips li {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.375rem 0.75rem;
  border-radius: 999px;
}
.audience .section-head.center { margin-bottom: 2rem; }

/* ——— Compare ——— */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.compare-panel {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}
.compare-panel-accent {
  border-color: var(--accent-border);
  background: linear-gradient(180deg, #fff 0%, #f0fffd 100%);
  box-shadow: var(--shadow-sm);
}

.compare-panel h3 {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.compare-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.compare-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.6875rem;
  font-weight: 700;
  margin-top: 0.1rem;
}
.compare-bad .compare-mark {
  background: var(--bad-bg);
  color: var(--bad);
}
.compare-good .compare-mark {
  background: var(--good-bg);
  color: var(--good);
}

/* ——— Steps ——— */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.step {
  position: relative;
  padding: 0;
}

.step-ui {
  margin-bottom: 1.25rem;
  height: 100px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ui-fragment {
  width: 78%;
}
.ui-feed .ui-bar {
  height: 6px;
  width: 40%;
  background: var(--accent);
  border-radius: 3px;
  margin-bottom: 0.625rem;
  opacity: 0.7;
}
.ui-line {
  height: 8px;
  background: var(--border-strong);
  border-radius: 4px;
  margin-bottom: 0.4rem;
  opacity: 0.5;
}
.ui-line.wide { width: 100%; }
.ui-line:not(.wide) { width: 70%; }
.ui-chips {
  display: flex;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.ui-chips span {
  height: 14px;
  width: 40px;
  border-radius: 4px;
  background: var(--accent-soft);
  border: 1px solid var(--accent-border);
}
.ui-chips span.dim {
  background: var(--bg-muted);
  border-color: var(--border);
}

.ui-filter { display: flex; flex-direction: column; gap: 0.4rem; }
.ui-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.35rem 0.5rem;
  border-radius: 4px;
  background: var(--bg);
  border: 1px solid var(--border);
  opacity: 0.45;
}
.ui-row.on { opacity: 1; border-color: var(--accent-border); }
.ui-row > span:first-child {
  height: 6px;
  width: 55%;
  background: var(--border-strong);
  border-radius: 3px;
}
.ui-row .tag {
  height: 12px;
  width: 28px;
  border-radius: 3px;
  background: var(--accent-soft);
}
.ui-row .tag.dim { background: var(--bg-muted); }

.ui-csv-head {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.ui-csv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.35rem;
}
.ui-csv-grid span {
  height: 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 3px;
}

.step-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}
.step h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.step p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ——— Spec / pack ——— */
.spec-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.85fr;
  gap: 1.5rem;
  align-items: start;
}

.spec-table-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
}
.spec-table th,
.spec-table td {
  text-align: left;
  padding: 0.875rem 1.125rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.spec-table th {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  background: var(--bg-subtle);
}
.spec-table tbody tr:last-child td { border-bottom: none; }
.spec-table td:first-child {
  font-weight: 500;
  color: var(--text);
  width: 42%;
}
.spec-table td:last-child { color: var(--text-secondary); }
.spec-table tbody tr:hover td { background: rgba(246, 249, 252, 0.7); }

.spec-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.spec-block {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.375rem;
}
.spec-block h3 {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.spec-block p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}
.spec-block .muted { color: var(--text-muted); }
.spec-aside .btn { align-self: flex-start; }

/* ——— Trust ——— */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.trust-card {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-subtle);
}
.trust-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.trust-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ——— Pricing ——— */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  max-width: 820px;
  margin-inline: auto;
}

.price-card {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.price-card-featured {
  border-color: var(--accent-border);
  box-shadow: var(--shadow-md);
  background: linear-gradient(180deg, #fff 0%, #f0fffd 100%);
}

.price-badge {
  position: absolute;
  top: -0.625rem;
  left: 1.5rem;
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--accent);
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
}

.price-label {
  margin: 0 0 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text);
}
.price {
  margin: 0;
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text);
}
.price .currency {
  font-size: 1.5rem;
  font-weight: 600;
  vertical-align: super;
  margin-right: 0.1rem;
  letter-spacing: 0;
}
.price-period {
  margin: 0.5rem 0 1rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.price-desc {
  margin: 0 0 1.25rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.55;
  flex-grow: 0;
}
.price-features {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  flex-grow: 1;
}
.price-features li {
  position: relative;
  padding-left: 1.375rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}
.price-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--good-bg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14'%3E%3Cpath d='M3.5 7.2l2.2 2.2 4.8-4.8' fill='none' stroke='%230d9488' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.pricing-assurance {
  text-align: center;
  margin: 1.5rem 0 0;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.pricing-note {
  text-align: center;
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
}
.pricing-note a { font-weight: 500; color: var(--link); }
.pricing-note a:hover { color: var(--link-hover); }

/* ——— FAQ ——— */
.faq {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.faq details {
  border-bottom: 1px solid var(--border);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.125rem 2rem 1.125rem 0;
  font-size: 1rem;
  font-weight: 550;
  letter-spacing: -0.015em;
  color: var(--text);
  position: relative;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--duration) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 1.5px solid var(--text-muted);
  border-bottom: 1.5px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform var(--duration) var(--ease);
}
.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}
.faq summary:hover { color: var(--link-hover); }
.faq summary:focus-visible {
  outline: 2px solid var(--accent-deep);
  outline-offset: 4px;
  border-radius: 2px;
}
.faq details p {
  margin: 0 0 1.25rem;
  padding-right: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ——— CTA band ——— */
.cta-band {
  padding: 4rem 0;
  background: var(--text);
  color: #fff;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.cta-inner h2 { color: #fff; }
.cta-inner p {
  margin: 0.5rem 0 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.0625rem;
  max-width: 28rem;
}
.cta-band .btn-primary {
  background: var(--accent);
  color: var(--text);
  flex-shrink: 0;
}
.cta-band .btn-primary:hover {
  background: #fff;
  color: var(--text);
}

/* ——— Footer ——— */
.site-footer {
  padding: 3.5rem 0 2rem;
  background: var(--bg-subtle);
  border-top: 1px solid var(--border);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p {
  margin: 0.875rem 0 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 16rem;
  line-height: 1.5;
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.footer-cols h4 {
  margin: 0 0 0.875rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.footer-cols a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.3rem 0;
  text-decoration: none;
  min-height: 32px;
}
.footer-cols a:hover { color: var(--text); }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding-top: 1.5rem;
}
.footer-bottom p {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}
.disclaimer { max-width: 28rem; }

/* ——— Legal and post-checkout pages ——— */
.legal-main {
  min-height: calc(100vh - var(--header-h));
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, var(--bg-subtle) 0, var(--bg) 15rem);
}

.legal-document {
  --wrap: 760px;
}

.legal-document h1,
.confirmation-card h1 {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.legal-updated {
  margin: 0.75rem 0 2.5rem;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.legal-document > p:not(.eyebrow):not(.legal-updated),
.legal-document li {
  color: var(--text-secondary);
}

.legal-document h2 {
  margin: 2.25rem 0 0.6rem;
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.legal-document p {
  margin: 0 0 1rem;
}

.legal-document a,
.legal-footer a,
.confirmation-card a:not(.btn) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.confirmation-main {
  min-height: calc(100vh - var(--header-h) - 110px);
  display: grid;
  place-items: center;
  padding: 4rem 0;
  background: var(--bg-subtle);
}

.confirmation-card {
  --wrap: 680px;
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  text-align: center;
}

.confirmation-mark {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  color: var(--good);
  background: var(--good-bg);
  font-size: 1.4rem;
  font-weight: 700;
}

.confirmation-card > p:not(.eyebrow) {
  margin: 1rem auto 0;
  max-width: 34rem;
  color: var(--text-secondary);
}

.confirmation-card .confirmation-note {
  padding: 1rem 1.125rem;
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  background: var(--accent-soft);
  font-size: 0.9375rem;
}

.confirmation-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.confirmation-card .confirmation-support {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.legal-footer {
  padding-top: 1.5rem;
}

/* ——— Responsive ——— */
@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero { padding: 3rem 0 3.5rem; }
  .proof-row {
    grid-template-columns: 1.3fr 1fr 0.85fr;
  }
  .proof-row > span:nth-child(3) { display: none; }
  .audience-grid,
  .steps,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .steps { gap: 2rem; }
  .compare,
  .spec-layout,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cta-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 1.75rem, var(--wrap)); }
  .section { padding: 3.5rem 0; }
  .hero-copy h1 { font-size: clamp(2rem, 9vw, 2.5rem); }
  .lede { font-size: 1.0625rem; }
  .proof-row {
    grid-template-columns: 1fr 0.9fr;
  }
  .proof-row > span:nth-child(2) { display: none; }
  .proof-foot { flex-direction: column; gap: 0.25rem; }
  .footer-cols { grid-template-columns: 1fr 1fr; gap: 1.5rem 1rem; }
  .footer-cols > div:last-child { grid-column: 1 / -1; }
  .hero-cta .btn { width: 100%; }
  .price { font-size: 2.5rem; }
  .legal-nav a:not(.btn) { display: none; }
  .legal-main { padding: 3rem 0 3.5rem; }
  .confirmation-actions .btn { width: 100%; }
}

@media (max-width: 400px) {
  .footer-cols { grid-template-columns: 1fr; }
}

.site-header.is-scrolled {
  box-shadow: 0 1px 0 rgba(10, 37, 64, 0.05), 0 4px 16px rgba(10, 37, 64, 0.05);
}
