/* ==========================================================================
   Report Sorted — landing page styles
   Light, warm-neutral base · indigo accent · system font stack (no webfonts)
   ========================================================================== */

:root {
  --ink: #17171f;
  --ink-2: #4d4d5c;
  --ink-3: #7e7e8c;
  --bg: #fbfaf8;
  --bg-tint: #f4f2ee;
  --surface: #ffffff;
  --border: #e7e5df;
  --border-strong: #d9d6ce;

  --brand: #4f46e5;
  --brand-deep: #4338ca;
  --brand-tint: #eef0fe;
  --brand-tint-2: #e3e6fd;

  --good: #0e8f7e;
  --good-tint: #e3f4f0;
  --warn: #b45309;
  --warn-tint: #fdf1e3;
  --bad: #d13b3b;
  --bad-tint: #fcebeb;

  --radius-xl: 22px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(23, 23, 31, 0.05);
  --shadow-md: 0 2px 6px rgba(23, 23, 31, 0.05), 0 12px 32px -12px rgba(23, 23, 31, 0.12);
  --shadow-lg: 0 4px 10px rgba(23, 23, 31, 0.05), 0 28px 60px -20px rgba(23, 23, 31, 0.22);

  --max: 1120px;

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
          Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 var(--radius-sm) 0;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease,
              background 0.15s ease, border-color 0.15s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 1px 2px rgba(79, 70, 229, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  background: var(--brand-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px -6px rgba(79, 70, 229, 0.55);
}
.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover {
  border-color: var(--ink-3);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-lg { padding: 14px 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 250, 248, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand), #0ea5a3);
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2.5px;
  padding: 6px 6px 5px;
  flex-shrink: 0;
}
.logo-mark span { width: 3.5px; background: #fff; border-radius: 2px; display: block; }
.logo-mark span:nth-child(1) { height: 40%; }
.logo-mark span:nth-child(2) { height: 68%; }
.logo-mark span:nth-child(3) { height: 100%; }

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

/* --------------------------------------------------------------------------
   Type & section scaffolding
   -------------------------------------------------------------------------- */

section { padding: 104px 0; }
section.tight { padding: 80px 0; }

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

.kicker {
  display: inline-block;
  color: var(--brand);
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  margin-bottom: 14px;
}

h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.14; }

.section-head { max-width: 620px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); margin-bottom: 16px; }
.section-head p { color: var(--ink-2); font-size: 1.08rem; margin: 0; }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

/* Scroll reveal (only when JS present; reduced-motion users skip it) */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding: 92px 0 110px; position: relative; overflow: hidden; }

.hero::before {
  content: "";
  position: absolute;
  top: -260px;
  left: 50%;
  transform: translateX(-50%);
  width: 1100px;
  height: 620px;
  background:
    radial-gradient(closest-side, rgba(79, 70, 229, 0.10), transparent 72%),
    radial-gradient(closest-side at 68% 40%, rgba(14, 165, 163, 0.08), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
  position: relative;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.5vw, 3.2rem);
  margin-bottom: 10px;
}
.hero h1 .accent {
  background: linear-gradient(100deg, var(--brand) 20%, #0ea5a3 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .subhead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.hero .lead {
  color: var(--ink-2);
  font-size: 1.08rem;
  margin: 0 0 30px;
  max-width: 46ch;
}

.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }

.hero-note { font-size: 0.88rem; color: var(--ink-3); margin: 0 0 30px; max-width: 44ch; }

.hero-integrations { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

.int-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 7px 14px 7px 9px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-2);
  box-shadow: var(--shadow-sm);
}
.int-badge .dot {
  width: 18px; height: 18px; border-radius: 6px;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 0.62rem; font-weight: 700;
}
.int-badge.g .dot { background: #4285f4; }
.int-badge.m .dot { background: #0866ff; }
.int-badge.a .dot { background: #e37400; }

.hero-coming { font-size: 0.82rem; color: var(--ink-3); margin: 12px 0 0; }

/* Hero visual — sheet window + floating stat cards */

.hero-visual { position: relative; min-width: 0; }

.sheet-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.sheet-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--border);
  background: linear-gradient(180deg, #fdfdfc, #f8f7f4);
}

.chrome-dots { display: flex; gap: 6px; flex-shrink: 0; }
.chrome-dots span { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }

.chrome-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.pill-good { background: var(--good-tint); color: var(--good); }
.pill .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--good);
  animation: pulse 2.2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }

.sheet-table-scroll { overflow-x: auto; }

.sheet-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.78rem;
  font-variant-numeric: tabular-nums;
  min-width: 460px;
}
.sheet-table th, .sheet-table td {
  padding: 10px 11px;
  text-align: right;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.sheet-table th:first-child, .sheet-table td:first-child { text-align: left; }
.sheet-table thead th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-3);
  font-weight: 600;
  background: #fafaf8;
}
.sheet-table td:first-child { font-weight: 600; }
.sheet-table .total td {
  border-bottom: none;
  background: #fafaf8;
  font-weight: 700;
}
.pace-ok { color: var(--good); font-weight: 600; }
.pace-over { color: var(--warn); font-weight: 600; }

.sheet-tabs {
  display: flex;
  gap: 2px;
  border-top: 1px solid var(--border);
  background: #f5f4f1;
  padding: 6px 12px 0;
}
.sheet-tabs span {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink-3);
  padding: 6px 14px;
  border-radius: 8px 8px 0 0;
}
.sheet-tabs .active {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--border);
  border-bottom-color: var(--surface);
}

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 14px 16px;
  width: 200px;
  font-size: 0.8rem;
}
.float-card .fc-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.float-card .fc-value { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.01em; }
.float-card .fc-sub { color: var(--ink-3); font-size: 0.74rem; margin-top: 2px; }

.fc-pace { top: 2px; right: -12px; }
.fc-cpa { bottom: -64px; left: -14px; }
.fc-changed { bottom: -78px; right: -12px; width: 228px; }

.hero-visual .sheet-window { margin-top: 58px; margin-bottom: 64px; }

.fc-bar { height: 6px; border-radius: 999px; background: var(--bg-tint); margin-top: 8px; overflow: hidden; }
.fc-bar i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #0ea5a3); }

.fc-changed ul { list-style: none; margin: 6px 0 0; padding: 0; }
.fc-changed li { display: flex; gap: 6px; align-items: baseline; padding: 3px 0; color: var(--ink-2); font-size: 0.76rem; }
.delta-up { color: var(--bad); font-weight: 700; }
.delta-down { color: var(--bad); font-weight: 700; }

/* --------------------------------------------------------------------------
   Problem section — old way vs Report Sorted
   -------------------------------------------------------------------------- */

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.flow-card { padding: 30px; display: flex; flex-direction: column; }
.flow-card h3 { font-size: 1.02rem; margin-bottom: 20px; display: flex; align-items: center; gap: 9px; }

.flow-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 3px 9px;
  border-radius: 999px;
}
.flow-tag.old { background: var(--bad-tint); color: var(--bad); }
.flow-tag.new { background: var(--good-tint); color: var(--good); }

.flow-steps { list-style: none; margin: 0; padding: 0; }
.flow-steps li {
  position: relative;
  padding: 8px 0 8px 30px;
  color: var(--ink-2);
  font-size: 0.94rem;
}
.flow-steps li::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}
.flow-steps li:first-child::before { top: 50%; }
.flow-steps li:last-child::before { bottom: 50%; }
.flow-steps li::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border-strong);
}
.flow-steps.sources li { font-weight: 600; color: var(--ink); }

.flow-card.new-way { border-color: var(--brand-tint-2); background: linear-gradient(180deg, #fff, var(--brand-tint) 240%); }
.flow-steps.sorted li::after { border-color: var(--brand); }
.flow-steps.sorted .done { color: var(--good); font-weight: 700; }
.flow-steps.sorted .done::after { background: var(--good); border-color: var(--good); }

.flow-quote {
  margin: 22px 0 0;
  padding: 16px 18px;
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--ink-2);
  border-left: 3px solid var(--border-strong);
}
.new-way .flow-quote { background: var(--brand-tint); border-left-color: var(--brand); color: var(--brand-deep); font-weight: 600; }
.flow-spacer { flex: 1; }

/* --------------------------------------------------------------------------
   How it works
   -------------------------------------------------------------------------- */

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

.step-card { padding: 30px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.step-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.step-num {
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--brand-tint);
  color: var(--brand);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.step-card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.step-card p { margin: 0; color: var(--ink-2); font-size: 0.95rem; }

/* --------------------------------------------------------------------------
   Feature split rows
   -------------------------------------------------------------------------- */

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 104px; }
.feature-row.reverse .f-visual { order: 2; }
.feature-row.reverse .f-copy { order: 1; }

.f-copy h2 { font-size: clamp(1.55rem, 2.6vw, 2.1rem); margin-bottom: 16px; }
.f-copy .desc { color: var(--ink-2); font-size: 1.04rem; margin: 0 0 22px; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; font-size: 0.95rem; }
.checklist .tick {
  flex-shrink: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--good-tint);
  color: var(--good);
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.checklist .tick svg { width: 11px; height: 11px; }

.f-visual .card { padding: 24px; box-shadow: var(--shadow-md); }

/* Pacing visual */
.pace-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pace-cell {
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}
.pace-cell .k { font-size: 0.72rem; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.pace-cell .v { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.pace-cell .v.warn-c { color: var(--warn); }
.pace-cell.wide { grid-column: 1 / -1; }

.pace-meter { margin-top: 10px; }
.pace-meter .track { position: relative; height: 9px; border-radius: 999px; background: #e8e6e0; overflow: visible; }
.pace-meter .fill { position: absolute; inset: 0 auto 0 0; border-radius: 999px; background: linear-gradient(90deg, var(--brand), #f59e0b); }
.pace-meter .marker {
  position: absolute;
  top: -4px; bottom: -4px;
  width: 2px;
  background: var(--ink);
  border-radius: 2px;
}
.pace-meter .legend { display: flex; justify-content: space-between; font-size: 0.7rem; color: var(--ink-3); margin-top: 7px; }

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

.kv-row { display: flex; justify-content: space-between; align-items: baseline; padding: 7px 0; font-size: 0.9rem; }
.kv-row .k { color: var(--ink-2); }
.kv-row .v { font-weight: 700; font-variant-numeric: tabular-nums; }

/* Insight visuals */
.insight-quote {
  padding: 22px 24px;
  border-left: 3px solid var(--brand);
  background: var(--surface);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: 0.97rem;
  color: var(--ink-2);
}
.insight-quote p { margin: 0 0 12px; }
.insight-quote p:last-child { margin: 0; }
.insight-quote strong { color: var(--ink); }

.chip-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.chip {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-2);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 6px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}

/* Context notes visual */
.notes-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.note {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-tint);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 0.88rem;
}
.note .ic {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 9px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
}
.note .nt { color: var(--ink-2); }
.note .nt strong { color: var(--ink); display: block; font-size: 0.85rem; }
.note .nd { margin-left: auto; flex-shrink: 0; color: var(--ink-3); font-size: 0.74rem; font-variant-numeric: tabular-nums; }

.note.callout {
  background: var(--brand-tint);
  border: 1px solid var(--brand-tint-2);
}
.note.callout .nt { color: var(--brand-deep); }

/* --------------------------------------------------------------------------
   Agencies
   -------------------------------------------------------------------------- */

.agency-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }

.roi-card { padding: 34px; text-align: center; box-shadow: var(--shadow-md); }
.roi-math {
  font-family: var(--mono);
  font-size: 0.95rem;
  color: var(--ink-2);
  display: grid;
  gap: 6px;
  margin-bottom: 18px;
}
.roi-math .big { font-family: var(--font); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--brand); }
.roi-card .roi-note { font-size: 0.92rem; color: var(--ink-2); margin: 0; }

/* --------------------------------------------------------------------------
   Integrations
   -------------------------------------------------------------------------- */

.int-group-label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  margin: 0 0 16px;
}
.int-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 14px;
  margin-bottom: 40px;
}
.int-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.int-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.int-card .ic {
  width: 38px; height: 38px;
  border-radius: 11px;
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.int-card h3 { font-size: 0.94rem; margin: 0; }
.int-card p { font-size: 0.76rem; color: var(--ink-3); margin: 1px 0 0; }
.int-card.soon { border-style: dashed; opacity: 0.75; box-shadow: none; }
.int-card.soon:hover { transform: none; box-shadow: none; }
.int-card.soon .ic { background: var(--bg-tint); color: var(--ink-3); border: 1px solid var(--border); }

.ic-gads { background: linear-gradient(135deg, #4285f4, #34a853); }
.ic-meta { background: linear-gradient(135deg, #0866ff, #0043b3); }
.ic-ga4  { background: linear-gradient(135deg, #f9ab00, #e37400); }

.int-footnote { text-align: center; color: var(--ink-3); font-size: 0.88rem; margin: 0; }

/* --------------------------------------------------------------------------
   Time saved
   -------------------------------------------------------------------------- */

.before-after { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 780px; margin: 0 auto 48px; }

.ba-card { padding: 28px; }
.ba-card .ba-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.ba-card.before .ba-tag { background: var(--bad-tint); color: var(--bad); }
.ba-card.after .ba-tag { background: var(--good-tint); color: var(--good); }
.ba-card p { margin: 0; font-size: 1.05rem; font-weight: 600; letter-spacing: -0.01em; }
.ba-card .ba-sub { display: block; font-weight: 400; font-size: 0.88rem; color: var(--ink-3); margin-top: 6px; }
.ba-card.after { border-color: var(--brand-tint-2); }

.big-line {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0;
}
.big-line .accent {
  background: linear-gradient(100deg, var(--brand), #0ea5a3);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Signup
   -------------------------------------------------------------------------- */

.signup-panel {
  background: linear-gradient(135deg, #423cc9, #2f6f8f 130%);
  border-radius: var(--radius-xl);
  padding: 60px;
  color: #fff;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.signup-panel::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  pointer-events: none;
}

.signup-panel h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin-bottom: 14px; }
.signup-panel .signup-copy p { margin: 0; opacity: 0.9; font-size: 1.02rem; max-width: 42ch; }

.signup-form {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 28px;
  color: var(--ink);
  position: relative;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 15px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.form-group input[type="email"],
.form-group input[type="text"] {
  width: 100%;
  padding: 11px 13px;
  border-radius: 9px;
  border: 1px solid var(--border-strong);
  font-size: 0.95rem;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.form-group input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.18);
}

.hp-field {
  position: absolute;
  left: -9999px; top: -9999px;
  width: 1px; height: 1px;
  overflow: hidden;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.84rem;
  color: var(--ink-2);
  cursor: pointer;
}
.checkbox-row input[type="checkbox"] {
  width: 16px; height: 16px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--brand);
}

.form-status { margin-top: 12px; font-size: 0.86rem; font-weight: 600; text-align: center; min-height: 1.3em; }
.form-status.success { color: var(--good); }
.form-status.error { color: var(--bad); }

.form-note { font-size: 0.76rem; color: var(--ink-3); margin: 12px 0 0; text-align: center; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 40px; background: var(--bg); }

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.footer-brand p { color: var(--ink-3); font-size: 0.88rem; margin: 10px 0 0; }

.footer-links { display: flex; gap: 26px; list-style: none; margin: 6px 0 0; padding: 0; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: var(--ink-2); font-size: 0.9rem; transition: color 0.15s ease; }
.footer-links a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ink-3);
  font-size: 0.8rem;
}

/* --------------------------------------------------------------------------
   Subpages (privacy / terms / contact)
   -------------------------------------------------------------------------- */

.subpage { padding: 72px 0 96px; }
.subpage-inner { max-width: 720px; margin: 0 auto; }
.subpage h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); margin-bottom: 10px; }
.subpage .updated { color: var(--ink-3); font-size: 0.88rem; margin: 0 0 40px; }
.subpage h2 { font-size: 1.25rem; margin: 38px 0 12px; }
.subpage p, .subpage li { color: var(--ink-2); font-size: 0.98rem; }
.subpage ul { padding-left: 22px; }
.subpage a { color: var(--brand); }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1020px) {
  .fc-pace { top: -20px; right: 0; }
  .fc-cpa { left: -10px; }
  .fc-changed { right: 8px; }
}

@media (max-width: 900px) {
  section { padding: 72px 0; }

  .hero { padding: 56px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }

  .hero-visual { padding-bottom: 0; }
  .hero-visual .sheet-window { margin-top: 0; margin-bottom: 0; }
  .float-card { position: static; width: auto; }
  .hero-float-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
  }

  .problem-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 36px; }
  .feature-row.reverse .f-visual, .feature-row.reverse .f-copy { order: initial; }
  .feature-row + .feature-row { margin-top: 72px; }

  .agency-grid { grid-template-columns: 1fr; gap: 36px; }
  .before-after { grid-template-columns: 1fr; }

  .signup-panel { grid-template-columns: 1fr; padding: 36px 26px; gap: 32px; }

  .nav-links { display: none; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .hero-float-cards { grid-template-columns: 1fr; }
  .pace-grid { grid-template-columns: 1fr 1fr; }
  .hero-ctas .btn { flex: 1; }
}
