:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, sans-serif;
  color: #18212f;
  background: #f4f7fb;
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #dfe7ef;
  --line-strong: #cbd8e6;
  --text: #18212f;
  --muted: #66758a;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #2563eb;
  --warning: #b45309;
  --danger: #b91c1c;
  --success: #15803d;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, .06);
  --radius: 8px;
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: #1f5fbf; text-decoration: none; }
a:hover { color: #174a94; }

.topbar {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 0 5vw;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
  backdrop-filter: blur(12px);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 850;
  color: var(--primary);
  text-decoration: none;
  font-size: 20px;
  white-space: nowrap;
}
.brand:before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: var(--primary);
  box-shadow: inset 0 -8px 0 rgba(255, 255, 255, .16);
}
nav { display: flex; gap: 6px; flex: 1; align-items: center; }
nav a, .nav-logout button {
  color: #415066;
  border-radius: 7px;
  padding: 8px 10px;
  font-size: 14px;
  font-weight: 700;
}
nav a:hover, .nav-logout button:hover { background: #eef6f5; color: var(--primary-dark); }
.nav-logout { display: inline; margin: 0 0 0 auto; }
.nav-logout button { font: inherit; border: 0; cursor: pointer; }

.shell { max-width: 1180px; margin: auto; padding: 38px 5vw 56px; }
h1, h2, h3 { color: #111827; letter-spacing: 0; }
h1 { margin: 0 0 18px; font-size: clamp(32px, 4vw, 48px); line-height: 1.05; }
h2 { margin: 0 0 14px; font-size: 22px; line-height: 1.2; }
h3 { margin: 0 0 10px; font-size: 17px; }
p { line-height: 1.6; }
.muted { color: var(--muted); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 170px);
}
.hero h1 { font-size: clamp(44px, 8vw, 76px); margin: 0 0 16px; }
.hero p { font-size: 20px; color: #4b5b70; max-width: 680px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px !important;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--primary-dark) !important;
  font-weight: 850;
}
.eyebrow:before { content: ""; width: 28px; height: 2px; background: var(--primary); }

.panel, .form-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.panel > :first-child, .form-card > :first-child { margin-top: 0; }
.panel > :last-child, .form-card > :last-child { margin-bottom: 0; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; margin-top: 18px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin: 18px 0; }

.button, button {
  appearance: none;
  background: var(--primary);
  color: #fff;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 11px 15px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  min-height: 42px;
  box-shadow: 0 8px 18px rgba(15, 118, 110, .18);
}
.button:hover, button:hover { background: var(--primary-dark); color: #fff; }
.ghost {
  background: #eef2f7;
  color: #253247;
  border-color: #d9e3ee;
  box-shadow: none;
}
.ghost:hover { background: #e2e8f0; color: #172033; }
.danger { background: var(--danger); box-shadow: 0 8px 18px rgba(185, 28, 28, .14); }
.badge {
  background: #172033;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 850;
}

.form-card { max-width: 500px; margin: 28px auto; }
form { display: grid; gap: 13px; }
label { display: grid; gap: 7px; font-weight: 750; color: #273449; }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  padding: 11px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  outline: 3px solid rgba(37, 99, 235, .14);
  border-color: var(--accent);
}
textarea { min-height: 96px; resize: vertical; }
.error, .ok {
  padding: 11px 12px;
  border-radius: 7px;
  border: 1px solid transparent;
  font-weight: 700;
}
.error { background: #fff1f2; color: #9f1239; border-color: #fecdd3; }
.ok { background: #ecfdf3; color: #166534; border-color: #bbf7d0; }
.success { border-color: #86efac; }

.portal {
  background: #ffffff;
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--tenant) 35%, #dfe7ef);
  border-left: 7px solid var(--tenant);
  border-radius: var(--radius);
  padding: 42px;
  box-shadow: var(--shadow);
}
.portal h1 { color: var(--tenant); }
.portal p { font-size: 20px; color: #4b5b70; }
.portal .ghost { background: #eef2f7; color: #253247; }

.settings-layout { display: grid; grid-template-columns: minmax(280px, .85fr) minmax(360px, 1.15fr); gap: 18px; align-items: start; }
.cfdi-list { display: grid; gap: 10px; margin-top: 14px; }
.cfdi-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; background: var(--surface-soft); }
.cfdi-edit { display: grid; grid-template-columns: 64px minmax(170px, 1fr) auto auto; gap: 10px; align-items: center; }
.cfdi-code { font-weight: 850; color: var(--primary); }
.cfdi-remove { display: block; }
.cfdi-remove button, .cfdi-edit button, .cfdi-add button { white-space: nowrap; }
.cfdi-add { display: grid; grid-template-columns: 110px minmax(180px, 1fr) auto; gap: 10px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.inline-check, .check-row { display: flex; align-items: center; gap: 8px; }
.inline-check input, .check-row input { width: auto; }

.table { overflow-x: auto; }
.table table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 980px; }
.table th, .table td { text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); padding: 14px 12px; font-size: 14px; }
.table th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); background: var(--surface-soft); font-weight: 850; }
.table th:first-child { border-top-left-radius: 7px; }
.table th:last-child { border-top-right-radius: 7px; }
.table tr:last-child td { border-bottom: 0; }
.table tr:hover td { background: #fbfdff; }
.table .button { padding: 8px 11px; min-height: 36px; white-space: nowrap; }
.table a { word-break: break-word; }
.table pre { white-space: pre-wrap; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.request-row { border-bottom: 1px solid var(--line); padding: 14px 0; }
.request-row:last-child { border-bottom: 0; }
.request-row p { margin: 0 0 8px; }
.request-row p:last-child { margin-bottom: 0; }

.demo-actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 16px; }
.demo-actions form { display: block; }
.demo-actions button { width: 100%; }
.divider { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; margin: 6px 0 14px; }
.divider:before, .divider:after { content: ""; height: 1px; background: var(--line); flex: 1; }
.secret-key, .secret-uri { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-soft); border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 12px; word-break: break-all; }
.secret-key { font-size: 18px; font-weight: 850; letter-spacing: .08em; color: var(--primary); }
.secret-uri { font-size: 12px; color: #475569; }

@media (max-width: 980px) {
  .topbar { min-height: auto; align-items: flex-start; padding: 14px 5vw; flex-wrap: wrap; }
  .brand { width: 100%; }
  nav { order: 3; width: 100%; overflow: auto; gap: 4px; padding-bottom: 2px; }
  .nav-logout { margin-left: 0; }
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .shell { padding-top: 24px; }
  .settings-layout { grid-template-columns: 1fr; }
  .cfdi-item { grid-template-columns: 1fr; }
  .cfdi-edit, .cfdi-add { grid-template-columns: 1fr; }
  .cfdi-remove button { width: 100%; }

  .table.panel, .panel.table { padding: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; }
  .table table, .table tbody, .table tr, .table td { display: block; width: 100%; min-width: 0; }
  .table thead { display: none; }
  .table tr, .table .request-row {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    margin: 0 0 14px;
    padding: 10px 14px;
  }
  .table td {
    border-bottom: 1px solid #edf2f7;
    padding: 10px 0 10px 42%;
    position: relative;
    min-height: 42px;
  }
  .table td:last-child { border-bottom: 0; }
  .table td::before {
    content: attr(data-label);
    position: absolute;
    left: 0;
    top: 10px;
    width: 36%;
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--muted);
  }
  .table td:not([data-label]) { padding-left: 0; }
  .table td:not([data-label])::before { content: none; }
  .table .button { width: 100%; text-align: center; }
  .table .actions { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 8px 0 0; }
  .table .actions form, .table .actions button { width: 100%; }
  .request-row { border-bottom: 0; }

  .tenants-table table, .tenants-table tbody, .tenants-table tr, .tenants-table td { display: block !important; width: 100% !important; min-width: 0 !important; }
  .tenants-table thead { display: none !important; }
  .tenants-table tr { background: #fff !important; border: 1px solid var(--line) !important; border-radius: var(--radius) !important; box-shadow: var(--shadow-sm) !important; margin: 0 0 14px !important; padding: 10px 14px !important; }
  .tenants-table td { border-bottom: 1px solid #edf2f7 !important; padding: 10px 0 10px 42% !important; position: relative !important; min-height: 42px !important; }
  .tenants-table td:last-child { border-bottom: 0 !important; }
  .tenants-table td::before { content: attr(data-label) !important; position: absolute !important; left: 0 !important; top: 10px !important; width: 36% !important; font-size: 12px !important; font-weight: 850 !important; text-transform: uppercase !important; letter-spacing: .04em !important; color: var(--muted) !important; }
  .tenants-table .button { width: 100% !important; text-align: center !important; }
}

@media (max-width: 560px) {
  h1 { font-size: 34px; }
  .hero h1 { font-size: 44px; }
  .hero p, .portal p { font-size: 17px; }
  .panel, .form-card, .portal { padding: 18px; }
  .actions { display: grid; grid-template-columns: 1fr; }
  .actions .button, .actions button { width: 100%; }
  .table td, .tenants-table td { padding-left: 0 !important; padding-top: 30px !important; }
  .table td::before, .tenants-table td::before { width: 100% !important; top: 8px !important; }
}

/* Public landing */
.landing-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .92fr);
  gap: 34px;
  align-items: center;
  min-height: calc(100vh - 150px);
  padding: 12px 0 28px;
}
.hero-copy h1 { font-size: clamp(38px, 6.5vw, 72px); max-width: 760px; }
.hero-copy > p { font-size: 20px; color: #46566d; max-width: 700px; }
.billing-mockup {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: center;
  justify-items: center;
}

.hero-media {
  min-height: 520px;
  align-items: stretch;
  justify-items: stretch;
}
.hero-media img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: 0 28px 70px rgba(15, 23, 42, .18);
  display: block;
}
.hero-media:after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 8px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.38);
  pointer-events: none;
}
.phone-frame {
  width: min(330px, 100%);
  background: #101827;
  color: #e5f2ff;
  border-radius: 28px;
  padding: 18px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, .24);
  border: 8px solid #1f2937;
}
.mock-header { display: flex; gap: 10px; align-items: center; margin-bottom: 14px; }
.mock-header span { width: 9px; height: 9px; border-radius: 50%; background: #22c55e; box-shadow: 16px 0 #38bdf8, 32px 0 #f59e0b; }
.mock-field { background: #172033; border: 1px solid rgba(255,255,255,.08); border-radius: 8px; padding: 12px; margin-bottom: 10px; }
.mock-field small { color: #93a4b8; display: block; font-size: 12px; }
.mock-field strong { color: #fff; display: block; margin-top: 3px; }
.mock-button { background: #14b8a6; color: #082f2a; border-radius: 8px; padding: 12px; text-align: center; font-weight: 900; margin-top: 14px; }
.dashboard-preview {
  position: absolute;
  right: 0;
  bottom: 44px;
  width: min(300px, 72%);
  background: rgba(255, 255, 255, .96);
  z-index: 2;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.dashboard-preview small { display: block; color: var(--muted); }
.dashboard-preview strong { display: block; margin: 3px 0 12px; }
.status-dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; background: #f59e0b; margin-right: 6px; }
.mini-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.mini-actions span { background: #eef7f6; color: #0f766e; border: 1px solid #cce7e4; border-radius: 7px; padding: 7px 9px; font-size: 12px; font-weight: 850; }
.clear-statement {
  background: #0f172a;
  color: #fff;
  border-radius: 8px;
  padding: 24px 28px;
  margin: 0 0 34px;
  box-shadow: var(--shadow-sm);
}
.clear-statement p { margin: 0; font-size: 20px; color: #dbeafe; }
.landing-section { margin-top: 54px; }
.section-heading { max-width: 790px; margin-bottom: 20px; }
.section-heading p { color: #526176; font-size: 18px; }
.pill-grid, .business-grid, .include-grid, .benefit-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
}
.pill-grid div, .business-grid div, .include-grid p, .benefit-list p {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
  font-weight: 800;
}
.problem-section .pill-grid div { border-left: 4px solid #38bdf8; }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.steps-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  box-shadow: var(--shadow-sm);
}
.steps-grid span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #0f766e;
  color: #fff;
  font-weight: 900;
  margin-bottom: 14px;
}
.benefit-band { background: #eaf7f6; border: 1px solid #cce7e4; border-radius: 8px; padding: 28px; }
.benefit-band .benefit-list p { background: #fff; border-color: #d6ece9; }
.split-section, .example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.price-card strong { color: #0f766e; }
.form-preview input { background: #f8fafc; color: #334155; }
.admin-preview { align-self: start; }
.faq-grid { display: grid; gap: 10px; }
details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}
summary { cursor: pointer; font-weight: 900; color: #111827; }
details p { margin-bottom: 0; color: #526176; }
.final-cta {
  margin-top: 58px;
  background: #111827;
  color: #fff;
  border-radius: 8px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.final-cta h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); }
.final-cta p { color: #dbeafe; font-size: 18px; max-width: 720px; }

@media (max-width: 980px) {
  .landing-hero { grid-template-columns: 1fr; min-height: auto; }
  .billing-mockup { min-height: 520px; }
  .hero-media img { min-height: 520px; }
  .dashboard-preview { right: 4px; bottom: 20px; }
  .steps-grid, .split-section, .example-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero-copy > p, .clear-statement p { font-size: 17px; }
  .billing-mockup { min-height: auto; justify-items: stretch; }
  .hero-media img { min-height: 320px; }
  .phone-frame { width: 100%; }
  .dashboard-preview { position: static; width: 100%; margin-top: 14px; }
  .clear-statement, .benefit-band, .final-cta { padding: 20px; }
  .pill-grid, .business-grid, .include-grid, .benefit-list { grid-template-columns: 1fr; }
}

/* Compact sales homepage */
.home-hero {
  position: relative;
  width: 100vw;
  min-height: calc(100vh - 88px);
  margin-left: calc(50% - 50vw);
  margin-top: -38px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #0f172a url('/static/img/facturando-hero.png') center / cover no-repeat;
  border-bottom: 1px solid rgba(15, 23, 42, .12);
}
.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 15, 28, .84) 0%, rgba(8, 15, 28, .66) 43%, rgba(8, 15, 28, .18) 100%);
}
.home-hero__content {
  position: relative;
  z-index: 2;
  width: min(720px, 90vw);
  margin-left: max(5vw, calc((100vw - 1180px) / 2 + 5vw));
  padding: 54px 0 104px;
  color: #fff;
}
.home-hero__content h1 {
  color: #fff;
  font-size: clamp(42px, 6.6vw, 82px);
  line-height: .98;
  margin-bottom: 18px;
  max-width: 760px;
}
.home-hero__content p:not(.eyebrow) {
  color: #e6f2ff;
  font-size: clamp(18px, 2vw, 24px);
  max-width: 660px;
  margin: 0;
}
.home-hero .eyebrow { color: #7dd3fc !important; }
.home-hero .eyebrow:before { background: #2dd4bf; }
.light-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.42); }
.light-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.hero-flow {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  width: min(900px, 90vw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.hero-flow div {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 8px;
  background: rgba(8, 15, 28, .62);
  color: #fff;
  backdrop-filter: blur(10px);
}
.hero-flow span {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  background: #14b8a6;
  color: #042f2e;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 950;
  flex: 0 0 auto;
}
.quick-proof {
  width: min(1180px, 90vw);
  margin: -34px auto 44px;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.quick-proof div, .flow-board article, .mini-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.quick-proof div { padding: 18px; }
.quick-proof strong, .quick-proof span { display: block; }
.quick-proof span { color: var(--muted); margin-top: 4px; line-height: 1.45; }
.compact-heading { margin-bottom: 14px; }
.compact-heading h2 { font-size: clamp(28px, 4vw, 44px); }
.compact-heading p { margin-top: 0; }
.flow-board {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.flow-board article { padding: 20px; }
.flow-board span { color: #0f766e; font-weight: 950; letter-spacing: .08em; }
.flow-board h3 { margin-top: 10px; }
.flow-board p { color: var(--muted); margin-bottom: 0; }
.split-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 22px;
  align-items: center;
  background: #0f172a;
  border-radius: 8px;
  padding: 30px;
  color: #fff;
}
.split-showcase h2 { color: #fff; font-size: clamp(28px, 4vw, 46px); max-width: 760px; }
.split-showcase p { color: #dbeafe; font-size: 18px; max-width: 720px; }
.business-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 18px; }
.business-tags span { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 8px 11px; font-weight: 800; }
.mini-panel {
  color: var(--text);
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border-color: #d7e3f0 !important;
}
.mini-panel h3 { font-size: 24px; color: #0f172a; }
.mini-panel p {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  margin: 0;
  padding: 12px 0;
  color: #475569;
  border-bottom: 1px solid #e5edf5;
  font-size: 15px;
}
.mini-panel p strong { color: #64748b; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.mini-panel p span { color: #111827; font-weight: 850; text-align: right; }
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 9px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412 !important;
  border: 1px solid #fed7aa;
  font-size: 12px;
}
.mini-actions { margin-top: 18px; }
.mini-actions span { border-radius: 7px; padding: 8px 10px; font-size: 12px; font-weight: 900; }
.mini-actions .approve { background: #ecfdf5; color: #047857; border-color: #a7f3d0; }
.mini-actions .reject { background: #fef2f2; color: #b91c1c; border-color: #fecaca; }
.mini-actions .files { background: #eff6ff; color: #1d4ed8; border-color: #bfdbfe; }
.pricing-strip {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: #eaf7f6;
  border: 1px solid #cce7e4;
  border-radius: 8px;
  padding: 24px 26px;
}
.pricing-strip h2 { margin-bottom: 6px; }
.pricing-strip p { margin: 0; color: #334155; font-size: 18px; }
.faq-slim h2 { font-size: clamp(28px, 4vw, 42px); }
.faq-grid.slim { grid-template-columns: repeat(3, 1fr); }
.compact-cta { padding: 28px 30px; }
.compact-cta h2 { max-width: 900px; }

@media (max-width: 980px) {
  .home-hero { min-height: auto; margin-top: -24px; }
  .home-hero__content { margin-left: 5vw; padding: 72px 0 126px; }
  .hero-flow, .quick-proof, .flow-board, .split-showcase, .faq-grid.slim { grid-template-columns: 1fr; }
  .hero-flow { position: relative; left: auto; bottom: auto; transform: none; margin: -104px auto 26px; }
  .quick-proof { margin-top: 0; }
  .split-showcase { padding: 22px; }
  .pricing-strip { display: grid; }
}

@media (max-width: 560px) {
  .home-hero__overlay { background: linear-gradient(180deg, rgba(8, 15, 28, .88), rgba(8, 15, 28, .62)); }
  .home-hero__content { padding: 58px 0 118px; }
  .home-hero__content h1 { font-size: 40px; }
  .home-hero__content p:not(.eyebrow), .pricing-strip p { font-size: 16px; }
  .hero-flow div { align-items: flex-start; }
  .quick-proof { width: 100%; }
  .pricing-strip, .split-showcase, .compact-cta { padding: 20px; }
}


.plan-options { display: grid; gap: 10px; margin: 4px 0 8px; }
.plan-option { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; border: 1px solid var(--line); border-radius: 8px; padding: 14px; background: #f8fafc; cursor: pointer; }
.plan-option input { margin-top: 5px; }
.plan-option strong, .plan-option span { display: block; }
.plan-option strong { color: var(--text); }
.plan-option span { color: var(--muted); margin-top: 3px; line-height: 1.35; }
.plan-price { color: #0f766e !important; font-weight: 900; }
.payment-result { text-align: left; }
