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

:root {
  --bg:        #F9F8F6;
  --surface:   #FFFFFF;
  --ink:       #1A1916;
  --ink-2:     #4A4844;
  --ink-3:     #8A8780;
  --border:    #E4E2DC;
  --accent:    oklch(52% 0.09 195);
  --accent-dk: oklch(44% 0.10 195);
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── LAYOUT ── */
.container        { max-width: 1280px; margin: 0 auto; padding: 0 52px; }
.container--narrow{ max-width: 860px;  margin: 0 auto; padding: 0 52px; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 52px;
  background: rgba(249,248,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.nav-logo-text { font-family: 'Playfair Display'; font-size: 16px; font-weight: 500; color: var(--ink); letter-spacing: -0.01em; }
.nav-cta {
  display: inline-flex; align-items: center;
  padding: 7px 18px; border-radius: 4px;
  background: var(--ink); color: var(--bg);
  font-size: 13px; font-weight: 500; text-decoration: none;
  letter-spacing: 0.01em; transition: background 0.15s;
}
.nav-cta:hover { background: #2e2c28; }
.nav-login {
  display: inline-flex; align-items: center;
  padding: 7px 16px; border-radius: 4px;
  border: 1px solid var(--border);
  background: transparent; color: var(--ink);
  font-size: 13px; font-weight: 500; text-decoration: none;
  letter-spacing: 0.01em; transition: border-color 0.15s, background 0.15s;
}
.nav-login:hover { border-color: var(--ink); background: rgba(26,25,22,0.04); }
.nav-login.disabled { opacity: 0.35; cursor: not-allowed; pointer-events: none; }

/* ── HERO ── */
.hero {
  padding: 130px 52px 0;
  max-width: 1280px; margin: 0 auto;
}
.hero-eyebrow {
  font-family: 'DM Mono'; font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 24px;
}
.hero-headline {
  font-family: 'Playfair Display'; font-size: clamp(38px, 5vw, 60px);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.02em;
  color: var(--ink); max-width: 720px;
  text-wrap: pretty;
}
.hero-headline em { font-style: italic; }
.hero-sub {
  margin-top: 24px; font-size: 17px; line-height: 1.55;
  color: var(--ink-2); max-width: 520px;
  font-weight: 400;
}
.hero-form {
  margin-top: 36px;
  display: flex; gap: 0; align-items: stretch;
  max-width: 420px;
}
.hero-input {
  flex: 1; padding: 12px 16px;
  border: 1px solid var(--border); border-right: none;
  border-radius: 4px 0 0 4px;
  font-family: 'DM Sans'; font-size: 14px;
  color: var(--ink); background: var(--surface);
  outline: none; transition: border-color 0.15s;
}
.hero-input:focus { border-color: var(--accent); }
.hero-input::placeholder { color: var(--ink-3); }
.hero-btn {
  padding: 12px 22px;
  background: var(--accent); color: #fff;
  border: 1px solid var(--accent);
  border-radius: 0 4px 4px 0;
  font-family: 'DM Sans'; font-size: 14px; font-weight: 600;
  cursor: pointer; white-space: nowrap;
  transition: background 0.15s;
}
.hero-btn:hover { background: var(--accent-dk); }
.hero-note { margin-top: 10px; font-size: 12px; color: var(--ink-3); }

.vscode-cta-row { margin-top: 18px; }
.vscode-cta-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 15px;
  border: 1px solid var(--border); border-radius: 4px;
  background: var(--surface); color: var(--ink-2);
  font-family: 'DM Sans'; font-size: 13px; font-weight: 500;
  text-decoration: none; white-space: nowrap;
  transition: border-color 0.15s, color 0.15s;
}
.vscode-cta-btn:hover { border-color: var(--ink); color: var(--ink); }
.vscode-cta-btn-arrow { opacity: 0.45; }

/* ── INTEGRATIONS STRIP ── */
.int-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 52px;
  background: var(--bg);
}
.int-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 0;
}

/* Each section */
.int-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 2px 32px 2px 0;
}
.int-section + .int-section { padding: 2px 0 2px 32px; }

/* Section heading — DM Mono eyebrow */
.int-section-hd {
  font-family: 'DM Mono'; font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3);
}

/* Tool chips row */
.int-section-items { display: flex; align-items: center; gap: 6px; }

/* Individual chip */
.int-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 8px 5px 6px;
  border: 1px solid var(--border); border-radius: 6px;
  background: var(--surface);
  font-size: 13px; font-weight: 500; color: var(--ink);
  white-space: nowrap;
}

/* Coming-soon chip — dimmed, dashed border */
.int-chip-soon {
  opacity: 0.42;
  border-style: dashed;
}

/* Live indicator dot */
.int-live-dot {
  display: inline-block;
  width: 6px; height: 6px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.18);
  flex-shrink: 0;
}

/* Coming-soon text tag */
.int-soon-tag {
  font-family: 'DM Mono'; font-size: 9px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--border);
  padding: 1px 5px; border-radius: 3px;
}

/* Vertical separator between sections */
.int-vsep {
  width: 1px;
  background: var(--border);
  flex-shrink: 0;
  margin: 0 32px;
  align-self: stretch;
}

/* Models row (supporting detail under BYOK section) */
.int-models {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.55;
  margin-top: 1px;
}
.int-via {
  font-family: 'DM Mono'; font-size: 9.5px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-3);
}

/* ── HERO VISUAL ── */
.hero-visual-wrap {
  margin-top: 56px;
  width: 100%;
  height: 780px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  position: relative;
  background: var(--bg);
}
.hero-visual-inner {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%) scale(0.52);
  transform-origin: top center;
  will-change: transform;
  width: 1200px;
}
.mac-window {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 24px rgba(0,0,0,0.08),
    0 32px 64px rgba(0,0,0,0.10);
}
.mac-titlebar {
  background: #EBEBEB;
  height: 36px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  gap: 7px;
  border-bottom: 1px solid #D8D8D8;
  flex-shrink: 0;
}
.mac-dot { width: 12px; height: 12px; border-radius: 50%; }
.mac-dot-r { background: #FF5F57; border: 0.5px solid #E0443E; }
.mac-dot-y { background: #FEBC2E; border: 0.5px solid #D4A017; }
.mac-dot-g { background: #28C840; border: 0.5px solid #1DAD2B; }
.mac-titlebar-label {
  flex: 1; text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px; color: #666; font-weight: 500;
  margin-right: 38px;
}
.mac-content {
  height: 740px;
  overflow: hidden;
  position: relative;
  background: #F9F8F6;
}

/* ── SECTION SPACING ── */
section { padding: 96px 0; }
section + section { border-top: 1px solid var(--border); }

/* ── SECTION LABEL ── */
.section-label {
  font-family: 'DM Mono'; font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 48px;
  display: flex; align-items: center; gap: 12px;
}
.section-label::before {
  content: ''; display: block; width: 24px; height: 1px; background: var(--ink-3);
}

/* ── PAIN ── */
.pain-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--border); border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
}
.pain-item { background: var(--bg); padding: 40px 36px 44px; }
.pain-number {
  font-family: 'DM Mono'; font-size: 11px; font-weight: 500;
  letter-spacing: 0.1em; color: var(--ink-3); margin-bottom: 20px;
}
.pain-headline {
  font-family: 'Playfair Display'; font-size: 22px; font-weight: 500;
  line-height: 1.25; letter-spacing: -0.01em; color: var(--ink);
  text-wrap: pretty; margin-bottom: 14px;
}
.pain-body { font-size: 14px; color: var(--ink-2); line-height: 1.6; }

/* ── HOW IT WORKS ── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; position: relative;
}
.steps::before {
  content: '';
  position: absolute; top: 16px; left: calc(33.33% - 0px); right: calc(33.33% - 0px);
  height: 1px; background: var(--border);
}
.step { padding: 0 32px 0 0; }
.step:last-child { padding-right: 0; }
.step-num {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: 'DM Mono'; font-size: 12px; color: var(--ink-3);
  margin-bottom: 24px; background: var(--bg); position: relative; z-index: 1;
}
.step-title {
  font-family: 'Playfair Display'; font-size: 18px; font-weight: 500;
  line-height: 1.3; letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px;
}
.step-body { font-size: 14px; color: var(--ink-2); line-height: 1.65; }
.step-detail {
  margin-top: 10px; font-family: 'DM Mono'; font-size: 11.5px;
  color: var(--ink-3); letter-spacing: 0.01em;
}

/* ── STAT CALLOUT ── */
.stat-section { background: var(--ink); border-top: none !important; }
.stat-section .section-label { color: rgba(255,255,255,0.35); }
.stat-section .section-label::before { background: rgba(255,255,255,0.25); }
.stat-number {
  font-family: 'Playfair Display'; font-size: clamp(52px, 7vw, 88px);
  font-weight: 500; color: #fff; line-height: 1;
  letter-spacing: -0.03em;
}
.stat-number span { color: var(--accent); }
.stat-body {
  margin-top: 28px; font-size: 18px; color: rgba(255,255,255,0.65);
  max-width: 600px; line-height: 1.55;
}
.stat-body strong { color: rgba(255,255,255,0.9); font-weight: 500; }

/* ── QUOTE ── */
.quote-section { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.quote-mark {
  font-family: 'Playfair Display'; font-size: 72px; line-height: 0.6;
  color: var(--border); margin-bottom: 24px; display: block;
}
.quote-text {
  font-family: 'Playfair Display'; font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400; font-style: italic;
  line-height: 1.45; color: var(--ink); text-wrap: pretty;
  max-width: 720px;
}
.quote-attr {
  margin-top: 28px; font-size: 13px; color: var(--ink-3);
  font-family: 'DM Mono'; letter-spacing: 0.05em;
}

/* ── PRICING ── */
.pricing-box {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 52px 56px;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 48px;
  background: var(--surface);
}
.pricing-left { flex: 1; }
.pricing-badge {
  display: inline-block;
  font-family: 'DM Mono'; font-size: 10px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); border: 1px solid currentColor;
  padding: 3px 9px; border-radius: 2px; margin-bottom: 20px;
}
.pricing-price {
  font-family: 'Playfair Display'; font-size: 48px; font-weight: 500;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1;
}
.pricing-period { font-size: 16px; color: var(--ink-3); font-family: 'DM Sans'; font-weight: 400; }
.pricing-includes { margin-top: 16px; font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.pricing-right {
  display: flex; flex-direction: column; align-items: flex-end;
  justify-content: center; gap: 12px; flex-shrink: 0;
}
.pricing-cta {
  display: inline-flex; align-items: center;
  padding: 14px 32px; border-radius: 4px;
  background: var(--ink); color: var(--bg);
  font-size: 14px; font-weight: 600; text-decoration: none;
  letter-spacing: 0.01em; white-space: nowrap;
  transition: background 0.15s;
}
.pricing-cta:hover { background: #2e2c28; }
.pricing-note { font-size: 12px; color: var(--ink-3); }

/* ── FOOTER ── */
footer {
  padding: 32px 52px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.footer-logo-text { font-family: 'Playfair Display'; font-size: 15px; font-weight: 500; color: var(--ink); }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-link {
  font-size: 12px; color: var(--ink-3); font-family: 'DM Mono';
  letter-spacing: 0.04em; text-decoration: none;
  transition: color 0.15s;
}
.footer-link:hover { color: var(--ink); }
.footer-right { font-size: 12px; color: var(--ink-3); font-family: 'DM Mono'; letter-spacing: 0.04em; }

/* ── STATIC BILLING UI FACSIMILE ── */
.tw-app { font-family: 'DM Sans', sans-serif; background: #F9F8F6; height: 100%; display: flex; flex-direction: column; }
.tw-header { display: flex; align-items: center; justify-content: space-between; padding: 0 28px; height: 48px; background: #fff; border-bottom: 1px solid #E4E2DC; flex-shrink: 0; }
.tw-header-logo { display: flex; align-items: center; gap: 8px; }
.tw-header-name { font-family: 'Playfair Display'; font-size: 15px; font-weight: 500; color: #1A1916; }
.tw-header-org { font-size: 11px; color: #9E9B95; }
.tw-body { flex: 1; padding: 22px 28px 20px; overflow: hidden; }
.tw-page-title-row { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.tw-page-title { font-family: 'Playfair Display'; font-size: 20px; font-weight: 500; color: #1A1916; letter-spacing: -0.02em; }
.tw-page-sub { font-size: 11px; color: #9E9B95; margin-top: 2px; }
.tw-filter-tabs { display: flex; background: #F9F8F6; border: 1px solid #E4E2DC; border-radius: 4px; padding: 2px; gap: 2px; }
.tw-tab { padding: 4px 10px; border-radius: 3px; font-size: 11px; font-weight: 500; color: #6B6860; cursor: default; }
.tw-tab-active { background: #fff; color: #1A1916; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.tw-date-btn { display: flex; align-items: center; gap: 5px; padding: 5px 11px; background: #fff; border: 1px solid #E4E2DC; border-radius: 4px; font-size: 12px; color: #1A1916; cursor: default; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.tw-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 9px; margin-bottom: 14px; }
.tw-card { background: #fff; border: 1px solid #E4E2DC; border-radius: 5px; padding: 14px 18px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.tw-card-label { font-size: 9px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #9E9B95; margin-bottom: 4px; }
.tw-card-value { font-family: 'Playfair Display'; font-size: 24px; font-weight: 500; color: #1A1916; line-height: 1; }
.tw-card-value-primary { font-size: 28px; font-weight: 600; color: oklch(52% 0.09 195); }
.tw-card-sub { font-size: 10px; color: #9E9B95; margin-top: 3px; }
.tw-spike-callout { display: flex; align-items: center; gap: 10px; padding: 8px 13px; border-radius: 4px; background: oklch(97% 0.025 60); border: 1px solid oklch(88% 0.05 58); font-size: 12px; margin-bottom: 12px; }
.tw-spike-icon { font-size: 13px; }
.tw-spike-label { color: oklch(48% 0.11 58); font-weight: 600; }
.tw-spike-text { color: #6B6860; }
.tw-spike-text strong { color: #1A1916; }
.tw-table-wrap { background: #fff; border: 1px solid #E4E2DC; border-radius: 5px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.tw-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.tw-thead-row { background: #F9F8F6; }
.tw-th { padding: 7px 12px; font-size: 9.5px; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: #9E9B95; border-bottom: 1px solid #C8C4BA; white-space: nowrap; }
.tw-th-left { text-align: left; }
.tw-th-right { text-align: right; }
.tw-td { padding: 11px 12px; font-size: 12px; color: #1A1916; }
.tw-td-right { text-align: right; }
.tw-row { background: #fff; cursor: default; }
.tw-row:not(.tw-row-last) .tw-td { border-bottom: 1px solid #E4E2DC; }
.tw-row-expanded { background: oklch(97.5% 0.006 195); }
.tw-row-expanded .tw-td { border-bottom: none; }
.tw-row-last .tw-td { border-bottom: none; }
.tw-td-client { padding-left: 14px; }
.tw-td-client > div { display: inline-flex; flex-direction: column; }
.tw-chevron { color: #9E9B95; font-size: 14px; margin-right: 6px; display: inline-block; line-height: 1; vertical-align: middle; }
.tw-chevron-open { transform: rotate(90deg); display: inline-block; }
.tw-client-name { font-weight: 600; font-size: 13px; color: #1A1916; }
.tw-project-name { font-size: 11px; color: #9E9B95; margin-top: 1px; }
.tw-spike-tag { font-size: 9px; padding: 1px 4px; border-radius: 2px; background: oklch(97% 0.025 60); color: oklch(48% 0.11 58); border: 1px solid oklch(88% 0.05 58); font-weight: 600; letter-spacing: 0.03em; white-space: nowrap; }
.tw-dev-row { background: oklch(97.5% 0.006 195); }
.tw-dev-row .tw-td { border-bottom: 1px solid #E4E2DC; font-size: 12px; }
.tw-dev-row-last .tw-td { border-bottom: 1px solid #C8C4BA; }
.tw-td-dev { padding-left: 40px; display: flex; align-items: center; gap: 6px; }
.tw-avatar { width: 20px; height: 20px; border-radius: 50%; background: #E4E2DC; display: inline-flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 600; color: #6B6860; flex-shrink: 0; }
.tw-dev-name { font-size: 12px; color: #6B6860; }
.tw-spike-badge { display: inline-flex; align-items: center; padding: 1px 5px; border-radius: 2px; font-size: 9px; font-weight: 600; background: oklch(97% 0.025 60); color: oklch(48% 0.11 58); border: 1px solid oklch(88% 0.05 58); white-space: nowrap; }
.tw-badge { display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 3px; font-size: 10px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; }
.tw-badge-billed { background: oklch(96% 0.025 152); color: oklch(44% 0.10 152); }
.tw-badge-unbilled { background: oklch(96% 0.02 235); color: oklch(42% 0.07 235); }
.tw-mark-btn { margin-left: 5px; border: 1px solid #E4E2DC; border-radius: 3px; background: #fff; color: #6B6860; font: 500 10px/1 'DM Sans',sans-serif; padding: 3px 7px; cursor: default; }
.tw-margin-flag { display: inline-block; font-family: 'DM Mono'; font-size: 11px; font-weight: 600; color: oklch(48% 0.11 58); background: oklch(97% 0.025 60); padding: 2px 5px; border-radius: 3px; border: 1px solid oklch(88% 0.05 58); }
.tw-tfoot-row { background: #F9F8F6; }
.tw-tfoot-label { padding: 9px 12px; font-size: 11px; color: #9E9B95; border-top: 2px solid #C8C4BA; }
.tw-mono { font-family: 'DM Mono', monospace; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.tw-bold { font-weight: 600; }
.tw-dim { color: #6B6860; }
.tw-accent { color: oklch(52% 0.09 195); }
.tw-td-status { padding: 11px 14px; white-space: nowrap; vertical-align: middle; }
.tw-td-status-inner { display: inline-flex; align-items: center; gap: 6px; }
.tw-export-bar { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; }
.tw-sync-note { font-size: 11px; color: #9E9B95; }
.tw-export-btn { display: inline-flex; align-items: center; gap: 5px; padding: 6px 13px; background: #fff; color: #6B6860; border: 1px solid #E4E2DC; border-radius: 4px; cursor: default; font: 500 12px/1 'DM Sans',sans-serif; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.tw-export-btn-primary { background: #1A1916; color: #F9F8F6; border-color: transparent; }

/* ── MODAL ── */
.modal-backdrop {
  display: none; position: fixed; inset: 0; z-index: 200;
  background: rgba(26,25,22,0.55);
  align-items: center; justify-content: center;
}
.modal-backdrop.open { display: flex; }
.modal-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 6px; padding: 44px 52px;
  max-width: 400px; width: calc(100% - 48px);
  text-align: center;
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}
.modal-eyebrow {
  font-family: 'DM Mono'; font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: oklch(44% 0.10 152); margin-bottom: 14px;
}
.modal-headline {
  font-family: 'Playfair Display'; font-size: 26px; font-weight: 500;
  letter-spacing: -0.01em; color: var(--ink); margin-bottom: 12px;
}
.modal-body { font-size: 14px; color: var(--ink-2); line-height: 1.6; }
.modal-close {
  margin-top: 28px; padding: 10px 28px;
  background: var(--ink); color: var(--bg);
  border: none; border-radius: 4px;
  font-family: 'DM Sans'; font-size: 14px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.modal-close:hover { background: #2e2c28; }

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp 0.6s ease both; }
.fade-up-1 { animation-delay: 0.05s; }
.fade-up-2 { animation-delay: 0.15s; }
.fade-up-3 { animation-delay: 0.25s; }
.fade-up-4 { animation-delay: 0.35s; }

/* ── LEGAL PAGES ── */
.legal-wrap { padding-top: 52px; }

.legal-hero {
  padding: 64px 0 52px;
  border-bottom: 1px solid var(--border);
}
.legal-hero .section-label { margin-bottom: 20px; }

.legal-title {
  font-family: 'Playfair Display';
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500; line-height: 1.1;
  letter-spacing: -0.02em; color: var(--ink);
}
.legal-meta {
  margin-top: 12px;
  font-family: 'DM Mono'; font-size: 11px;
  color: var(--ink-3); letter-spacing: 0.05em;
}

.legal-body { padding: 52px 0 96px; }

.legal-body p {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 18px;
}
.legal-body h2 {
  font-family: 'Playfair Display'; font-size: 21px;
  font-weight: 500; letter-spacing: -0.01em;
  color: var(--ink); line-height: 1.3;
  margin: 48px 0 14px;
}
.legal-body h2:first-child { margin-top: 0; }
.legal-body h3 {
  font-family: 'DM Mono'; font-size: 10.5px; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--ink-3); margin: 28px 0 10px;
}
.legal-body ul, .legal-body ol {
  margin: 0 0 18px 20px;
}
.legal-body li {
  font-size: 15px; color: var(--ink-2);
  line-height: 1.75; margin-bottom: 6px;
}
.legal-body a { color: var(--accent); text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body strong { color: var(--ink); font-weight: 600; }
.legal-body em { font-style: italic; }
.legal-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 40px 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .pain-grid  { grid-template-columns: 1fr; }
  .steps      { grid-template-columns: 1fr; gap: 40px; }
  .steps::before { display: none; }
  .pricing-box { flex-direction: column; padding: 36px 28px; }
  .pricing-right { align-items: flex-start; }
  .hero { padding: 110px 24px 0; }
  .container, .container--narrow { padding: 0 24px; }
  nav { padding: 0 24px; }
  footer {
    padding: 28px 24px;
    flex-wrap: wrap;
    gap: 12px;
  }
  .footer-links {
    order: 3;
    flex: 0 0 100%;
    gap: 16px;
  }
  .int-strip { padding: 16px 24px; }
  .int-inner { flex-direction: column; gap: 0; }
  .int-section { padding: 12px 0 !important; border-bottom: 1px solid var(--border); }
  .int-section:last-child { border-bottom: none; }
  .int-vsep { display: none; }
}
