/* ====== SSA Landing Page Styles ====== */
:root {
  --primary: #E91E63;
  --primary-dark: #C2185B;
  --primary-darker: #AD1457;
  --primary-light: #F06292;
  --primary-lighter: #FCE4EC;
  --primary-tint: #FDF2F6;
  --ink: #1A1A1A;
  --text: #1F1F1F;
  --text-light: #3A3A3A;
  --text-muted: #6B6B6B;
  --line: #ECECEC;
  --line-soft: #F4F4F4;
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-card: #FFFFFF;
  --green: #16A34A;
  --green-bg: #ECFDF3;
  --amber: #B45309;
  --amber-bg: #FEF7E6;
  --red: #DC2626;
  --red-bg: #FEF2F2;
  --shadow-sm: 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow: 0 2px 8px rgba(15, 15, 15, 0.05), 0 1px 2px rgba(15, 15, 15, 0.04);
  --shadow-lg: 0 20px 50px -20px rgba(15, 15, 15, 0.16), 0 8px 20px -10px rgba(15, 15, 15, 0.08);
  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 14px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--primary-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: relative;
  z-index: 20;
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { display: block; height: 40px; width: auto; }

/* ---------- Sticky bar ---------- */
.sticky-bar {
  position: fixed; top: 0; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transform: translateY(-100%);
  transition: transform .22s ease;
  z-index: 50;
}
.sticky-bar.visible { transform: translateY(0); }
.sticky-bar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px; gap: 16px;
}
.sticky-bar .countdown-mini {
  display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-light);
  flex-wrap: wrap;
}
.sticky-bar .countdown-mini strong { color: var(--ink); font-weight: 600; }
.sticky-bar .btn { padding: 10px 18px; font-size: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--primary); color: #fff;
  font-family: inherit; font-size: 16px; font-weight: 600;
  border: none; border-radius: var(--radius-sm);
  padding: 14px 22px;
  cursor: pointer;
  transition: background .15s ease, transform .05s ease;
  text-decoration: none;
  line-height: 1;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover { background: var(--bg-soft); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  padding: 72px 0 64px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.hero h1 {
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: var(--ink);
  max-width: 22ch;
  text-wrap: balance;
}
.hero h1 em {
  font-style: normal;
  color: var(--primary);
}
.hero .subhead {
  margin-top: 22px;
  font-size: 18px;
  color: var(--text-light);
  max-width: 56ch;
  line-height: 1.55;
}
.urgency {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-darker);
  background: var(--primary-tint);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(122, 15, 54, 0.12);
}
.urgency .dot {
  width: 7px; height: 7px; background: var(--primary); border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.55);
  animation: urgencyPulse 1.8s infinite ease-out;
}
@keyframes urgencyPulse {
  0%   { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0.55); }
  70%  { box-shadow: 0 0 0 8px rgba(233, 30, 99, 0); }
  100% { box-shadow: 0 0 0 0 rgba(233, 30, 99, 0); }
}

/* Subtle reveal on load */
.reveal { opacity: 0; transform: translateY(8px); animation: revealUp 700ms cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--reveal-delay, 0ms); }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

/* Countdown digit flip */
.countdown .n { display: inline-block; transition: transform 220ms ease, color 220ms ease; }
.countdown .n.flip { animation: digitFlip 320ms cubic-bezier(.2,.7,.2,1); }
@keyframes digitFlip {
  0%   { transform: translateY(-4px) scale(0.96); opacity: 0.5; }
  60%  { transform: translateY(1px)  scale(1.02); opacity: 1; }
  100% { transform: translateY(0)    scale(1);    opacity: 1; }
}

/* On-scroll reveal for sections */
@media (prefers-reduced-motion: no-preference) {
  .section .section-head, .section .pain-grid, .section .feature-grid, .section .steps, .section .wp-frame, .section .digest-wrap, .section .inside-wp, .section .cmp-table, .section .faq, .section .proof-list {
    opacity: 0; transform: translateY(14px);
    transition: opacity 700ms ease, transform 700ms cubic-bezier(.2,.7,.2,1);
  }
  .section.in-view .section-head, .section.in-view .pain-grid, .section.in-view .feature-grid, .section.in-view .steps, .section.in-view .wp-frame, .section.in-view .digest-wrap, .section.in-view .inside-wp, .section.in-view .cmp-table, .section.in-view .faq, .section.in-view .proof-list {
    opacity: 1; transform: translateY(0);
  }
  .pain-item, .feature-card, .step { transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease; }
  .pain-item:hover, .feature-card:hover { transform: translateY(-2px); }
  .btn { transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease; }
  .btn:hover { transform: translateY(-1px); }
}

.countdown {
  margin-top: 24px;
  display: flex;
  align-items: flex-end;
  gap: 14px;
}
.countdown .label {
  font-size: 13px; color: var(--text-light); margin-right: 4px;
  padding-bottom: 8px;
}
.countdown .unit {
  display: flex; flex-direction: column; align-items: center;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px; min-width: 72px;
}
.countdown .unit .n {
  font-size: 30px; font-weight: 700; color: var(--ink); line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.countdown .unit .u {
  font-size: 11px; color: var(--text-muted); margin-top: 6px;
  text-transform: uppercase; letter-spacing: 0.08em;
}

.hero-form {
  margin-top: 32px;
  display: flex; gap: 8px;
  max-width: 520px;
}
.hero-form input[type="email"] {
  flex: 1; padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 16px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.hero-form input[type="email"]:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12);
}
.form-sub {
  margin-top: 10px; font-size: 13px; color: var(--text-muted);
}
.founder-line {
  margin-top: 36px;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; color: var(--text-light);
}
.founder-line img {
  width: 36px; height: 36px; border-radius: 50%; object-fit: cover;
  border: 1px solid var(--line);
}

/* ---------- Section primitives ---------- */
.section { padding: 88px 0; border-bottom: 1px solid var(--line); }
.section.alt { background: var(--bg-soft); }
.eyebrow {
  font-size: 12px; font-weight: 600;
  color: var(--primary); letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section h2 {
  font-size: clamp(28px, 3.4vw, 38px);
  font-weight: 700; color: var(--ink);
  letter-spacing: -0.02em; line-height: 1.15;
  margin-top: 10px; max-width: 24ch;
  text-wrap: balance;
}
.section .lede {
  margin-top: 16px; font-size: 17px;
  color: var(--text-light); max-width: 60ch;
}
.section-head { margin-bottom: 48px; }

/* ---------- Pain bullets ---------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}
.pain-item {
  display: flex; gap: 14px;
  padding: 4px 0;
}
.pain-item .marker {
  flex-shrink: 0; width: 28px; height: 28px;
  border-radius: 50%; background: var(--primary-tint);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  font-size: 14px; font-weight: 600;
  margin-top: 2px;
}
.pain-item p {
  font-size: 17px;
  color: var(--text);
  line-height: 1.55;
}

/* ---------- Mockup frame: wp-admin chrome ---------- */
.wp-frame {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.wp-topbar {
  background: #1d2327;
  color: #c3c4c7;
  padding: 0 6px;
  height: 32px;
  display: flex; align-items: stretch;
  font-size: 13px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}
.wp-topbar .wpt-item {
  display: inline-flex; align-items: center; gap: 5px;
  color: #c3c4c7;
  padding: 0 10px;
  text-decoration: none;
  font-size: 13px;
  line-height: 32px;
}
.wp-topbar .wpt-item svg { display: block; }
.wp-topbar .wpt-wp { padding-right: 8px; padding-left: 8px; }
.wp-topbar .wpt-site { font-weight: 600; }
.wp-topbar .wpt-spacer { flex: 1; }
.wp-topbar .wpt-user { gap: 8px; }
.wp-topbar .wpt-avatar {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
}
.wp-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 520px;
  background: #f0f0f1;
}
.wp-sidebar {
  background: #1d2327;
  color: #c3c4c7;
  padding: 0;
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.wp-sidebar a {
  display: flex; align-items: center; gap: 9px;
  color: #c3c4c7; padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  line-height: 18px;
  border-left: 4px solid transparent;
  margin-left: 0;
}
.wp-sidebar a .ico {
  width: 18px; height: 18px;
  color: #a7aaad;
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.wp-sidebar a .ico svg { width: 18px; height: 18px; }
.wp-sidebar a:hover { color: #72aee6; }
.wp-sidebar a:hover .ico { color: #72aee6; }
.wp-sidebar a.active {
  background: #2271b1; color: #fff;
  border-left-color: #fff;
}
.wp-sidebar a.active .ico { color: #fff; }
.wp-sidebar .sb-sep { display: block; height: 12px; }
.wp-content {
  padding: 24px;
  background: #f0f0f1;
  overflow: hidden;
}
.wp-page-title {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 18px;
  flex-wrap: wrap; gap: 10px;
}
.wp-page-title h3 {
  font-size: 22px; font-weight: 400; color: #1d2327; letter-spacing: -0.01em;
}
.wp-page-title .sync {
  font-size: 12px; color: #646970;
}
.wp-page-title .sync .dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); margin-right: 5px; vertical-align: middle;
}

/* ---------- Dashboard metric cards ---------- */
.metric-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
.metric {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  padding: 14px 14px 16px;
}
.metric .label {
  font-size: 11px; color: #646970;
  text-transform: uppercase; letter-spacing: 0.06em; font-weight: 600;
}
.metric .value {
  font-size: 22px; font-weight: 700; color: #1d2327;
  margin-top: 8px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.metric .sub {
  font-size: 12px; color: #646970; margin-top: 6px;
  line-height: 1.4;
}
.metric .sub.up { color: var(--green); }
.metric .sub.down { color: var(--red); }
.metric.risk { background: #FEF5F5; border-color: #F5C2C2; }
.metric.risk .value { color: #B81818; }

/* ---------- Dashboard row 2: chart + cohort + churn ---------- */
.dash-row2 {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 14px;
  margin-bottom: 18px;
}
.dash-card {
  background: #fff;
  border: 1px solid #dcdcde;
  border-radius: 8px;
  padding: 16px;
}
.dash-card h4 {
  font-size: 13px; font-weight: 600; color: #1d2327;
  margin-bottom: 14px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.dash-card h4 .meta {
  font-size: 11px; color: #646970; font-weight: 400;
}
.chart-svg { width: 100%; height: 200px; display: block; }
.mini-stats { display: grid; grid-template-columns: 1fr; gap: 10px; }
.mini-stat {
  border-top: 1px solid #f0f0f1;
  padding-top: 10px;
  display: flex; justify-content: space-between; align-items: center;
}
.mini-stat:first-child { border-top: none; padding-top: 0; }
.mini-stat .ms-label { font-size: 12px; color: #646970; }
.mini-stat .ms-value { font-size: 16px; font-weight: 700; color: #1d2327; font-variant-numeric: tabular-nums; }
.mini-stat .ms-value.green { color: var(--green); }

/* Cohort table */
.cohort-table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 12px; }
.cohort-table th, .cohort-table td {
  padding: 8px 10px; text-align: center;
  border-bottom: 1px solid #f0f0f1;
}
.cohort-table th { font-weight: 600; color: #646970; font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; }
.cohort-table td.label { text-align: left; font-weight: 600; color: #1d2327; }
.cohort-table td.size { color: #646970; }
.cell-good { background: #ECFDF3; color: #166534; font-weight: 600; }
.cell-mid { background: #F0FDF4; color: #166534; }
.cell-warn { background: #FEF7E6; color: #92400E; font-weight: 600; }
.cell-na { color: #c0c0c0; }

/* Plan economics + actions */
.dash-row3 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin-bottom: 18px;
}
.plan-table { width: 100%; font-size: 13px; }
.plan-table th, .plan-table td {
  padding: 10px 4px; text-align: left; border-bottom: 1px solid #f0f0f1;
}
.plan-table th { font-size: 11px; color: #646970; text-transform: uppercase; letter-spacing: 0.04em; font-weight: 600; }
.plan-table td { color: #1d2327; }
.plan-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.plan-table th.num { text-align: right; }
.tag-detected {
  display: inline-block;
  background: var(--primary-tint); color: var(--primary-darker);
  padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  margin-left: 6px;
}

.action-list { display: flex; flex-direction: column; gap: 8px; }
.action-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px solid #f0f0f1;
  font-size: 13px; gap: 12px;
}
.action-row:last-child { border-bottom: none; }
.action-row .who { color: #1d2327; font-weight: 600; }
.action-row .meta { color: #646970; font-size: 12px; }
.action-row .link { color: var(--primary-dark); font-size: 12px; white-space: nowrap; }
.action-row .reason { color: #646970; font-style: italic; font-size: 12px; }

.dash-section-head {
  font-size: 11px; color: #646970;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  margin: 14px 0 6px;
}

.caption {
  text-align: center; font-size: 14px;
  color: var(--text-light); margin-top: 18px;
  font-style: italic;
}

/* ---------- Feature cards ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature-card {
  background: #fff;
  padding: 32px 28px;
}
.feature-q {
  font-size: 19px; font-weight: 700; color: var(--ink);
  letter-spacing: -0.01em; line-height: 1.3;
  margin-bottom: 14px;
  text-wrap: balance;
}
.feature-name {
  font-size: 13px; color: var(--primary-dark);
  font-weight: 600; margin-bottom: 8px;
}
.feature-desc {
  font-size: 15px; color: var(--text-light);
  line-height: 1.55;
}

/* ---------- Subscriber table mockup ---------- */
.sub-toolbar {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 14px; flex-wrap: wrap;
}
.sub-toolbar .search {
  flex: 1; min-width: 200px;
  padding: 8px 12px; border: 1px solid #dcdcde; border-radius: 4px;
  background: #fff; font-size: 13px;
}
.sub-toolbar select {
  padding: 8px 28px 8px 12px; border: 1px solid #dcdcde; border-radius: 4px;
  background: #fff; font-size: 13px; font-family: inherit;
}
.btn-export {
  background: var(--primary); color: #fff;
  border: none; padding: 8px 16px;
  border-radius: 4px; font-size: 13px; font-weight: 600;
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-export:hover { background: var(--primary-dark); }

.sub-table {
  width: 100%; background: #fff;
  border: 1px solid #dcdcde; border-radius: 4px;
  border-collapse: separate; border-spacing: 0;
  font-size: 13px;
}
.sub-table th, .sub-table td {
  padding: 10px 14px; text-align: left;
  border-bottom: 1px solid #f0f0f1;
}
.sub-table th {
  font-size: 11px; color: #646970;
  text-transform: uppercase; letter-spacing: 0.04em;
  font-weight: 600; background: #fafafa;
}
.sub-table tbody tr:last-child td { border-bottom: none; }
.sub-table td.num { text-align: right; font-variant-numeric: tabular-nums; }
.sub-table th.num { text-align: right; }
.status-pill {
  display: inline-block; padding: 2px 8px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
}
.status-active { background: var(--green-bg); color: var(--green); }
.status-cancelled { background: #f0f0f1; color: #646970; }
.status-pastdue { background: var(--red-bg); color: var(--red); }
.sub-pager {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 12px; font-size: 13px; color: #646970;
}
.sub-pager .pages { display: flex; gap: 4px; }
.sub-pager .pages button {
  width: 28px; height: 28px; border: 1px solid #dcdcde; background: #fff;
  border-radius: 4px; font-size: 12px; cursor: pointer; color: #1d2327;
}
.sub-pager .pages button.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ---------- Email digest mockup ---------- */
.digest-wrap {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: center;
}
.phone {
  width: 320px; height: 640px;
  background: #1a1a1a;
  border-radius: 44px;
  padding: 12px;
  box-shadow: var(--shadow-lg);
  position: relative;
  margin: 0 auto;
}
.phone::before {
  content: ''; position: absolute; top: 18px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 26px; background: #1a1a1a;
  border-radius: 20px;
  z-index: 3;
}
.phone-screen {
  width: 100%; height: 100%;
  background: #f5f5f7;
  border-radius: 34px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}
.phone-status {
  height: 44px; padding: 0 28px;
  display: flex; align-items: flex-end; justify-content: space-between;
  padding-bottom: 6px;
  font-size: 13px; font-weight: 600; color: #1a1a1a;
}
.phone-status .icons { display: flex; gap: 5px; align-items: center; }
.mail-header {
  padding: 12px 18px 10px;
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
}
.mail-header .from {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px;
}
.mail-header .avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--primary-tint);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.mail-header .avatar svg { width: 18px; height: 18px; }
.mail-header .sender { font-weight: 600; color: #1a1a1a; font-size: 13px; }
.mail-header .addr { color: #888; font-size: 11px; }
.mail-header .time { color: #888; font-size: 11px; margin-left: auto; }
.mail-subject {
  padding: 14px 18px 4px; background: #fff;
  font-size: 15px; font-weight: 600; color: #1a1a1a;
  letter-spacing: -0.01em;
}
.mail-body {
  padding: 14px 18px 18px;
  background: #fff;
  flex: 1;
  font-size: 13px;
  color: #2D2D2D;
  line-height: 1.6;
  overflow: hidden;
}
.mail-body .greet { margin-bottom: 12px; color: #555; }
.mail-stat {
  display: flex; justify-content: space-between;
  padding: 9px 0; border-bottom: 1px solid #f0f0f0;
}
.mail-stat:last-of-type { border-bottom: none; }
.mail-stat .k { color: #555; }
.mail-stat .v { font-weight: 700; color: #1a1a1a; font-variant-numeric: tabular-nums; }
.mail-stat .v.up { color: var(--green); }
.mail-note {
  margin-top: 12px; padding: 10px 12px;
  background: var(--primary-tint); border-radius: 8px;
  font-size: 12px; color: var(--primary-darker);
}
.mail-cta {
  display: inline-block; margin-top: 14px;
  color: var(--primary-dark); font-weight: 600; font-size: 13px;
  text-decoration: none;
}
.mail-footer {
  margin-top: 14px; padding-top: 10px;
  border-top: 1px solid #f0f0f0;
  font-size: 10px; color: #999;
}

/* Email blurb side */
.digest-copy h2 { max-width: none; }

/* ---------- Inside WordPress callout ---------- */
.inside-wp {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px; align-items: center;
}
.wp-sidebar-illust {
  background: #1d2327;
  border-radius: var(--radius-lg);
  padding: 16px 0;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.wp-sidebar-illust .item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 18px;
  color: #c3c4c7; font-size: 13px;
}
.wp-sidebar-illust .item .ico {
  width: 18px; height: 18px; background: currentColor; opacity: 0.5;
  border-radius: 3px;
}
.wp-sidebar-illust .item.active {
  background: var(--primary); color: #fff;
}
.wp-sidebar-illust .item.active .ico { opacity: 1; background: #fff; }

/* ---------- Comparison table ---------- */
.cmp {
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.cmp-row {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.cmp-row:last-child { border-bottom: none; }
.cmp-row.header { background: var(--bg-soft); }
.cmp-row.header > div { font-weight: 700; color: var(--ink); font-size: 14px; }
.cmp-cell {
  padding: 18px 24px;
  font-size: 15px;
  display: flex; gap: 10px; align-items: flex-start;
}
.cmp-cell.left { color: var(--text-light); }
.cmp-cell.right { border-left: 1px solid var(--line); }
.cmp-mark {
  display: inline-flex; width: 18px; height: 18px;
  border-radius: 50%; flex-shrink: 0; margin-top: 2px;
  align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.cmp-mark.no { background: #f0f0f1; color: #888; }
.cmp-mark.yes { background: var(--primary); color: #fff; }
.cmp-foot {
  text-align: center; margin-top: 16px;
  font-size: 14px; color: var(--text-light);
}
.woo-callout {
  margin-top: 28px;
  padding: 22px 26px;
  background: var(--primary-tint);
  border-radius: var(--radius-lg);
  border-left: none;
  font-size: 15px;
  color: var(--ink);
}
.woo-callout strong { color: var(--primary-darker); }

/* ---------- Setup steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  position: relative;
}
.step .num {
  width: 36px; height: 36px;
  background: var(--primary); color: #fff;
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  margin-bottom: 16px;
  font-size: 16px;
}
.step h4 {
  font-size: 16px; font-weight: 700; color: var(--ink);
  margin-bottom: 6px;
}
.step p { font-size: 14px; color: var(--text-light); }
.steps-foot {
  text-align: center; margin-top: 28px;
  font-size: 18px; color: var(--ink); font-weight: 500;
}

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 0;
  font-size: 17px; font-weight: 600; color: var(--ink);
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; font-size: 22px; color: var(--primary); font-weight: 400;
  transition: transform .2s;
  flex-shrink: 0;
}
.faq-item[open] summary::after { content: '–'; }
.faq-item .ans {
  padding: 0 0 22px;
  font-size: 16px; color: var(--text-light);
  line-height: 1.6;
  max-width: 60ch;
}

/* Highlighted FAQ */
.faq-item.faq-highlight {
  margin-top: 18px;
  background: linear-gradient(180deg, var(--primary-tint) 0%, #FFF7FA 100%);
  border: 1px solid rgba(233, 30, 99, 0.18);
  border-radius: 14px;
  padding: 4px 22px;
  box-shadow: 0 6px 24px -16px rgba(233, 30, 99, 0.45);
}
.faq-item.faq-highlight summary {
  color: var(--primary-darker);
}
.faq-item.faq-highlight summary::after {
  color: var(--primary);
}
.faq-item.faq-highlight .face {
  display: inline-block;
  font-size: 20px;
  margin-left: 6px;
  vertical-align: -2px;
  animation: faqWobble 3.6s ease-in-out infinite;
  transform-origin: 50% 80%;
}
@keyframes faqWobble {
  0%, 100% { transform: rotate(0deg); }
  20%      { transform: rotate(-8deg); }
  40%      { transform: rotate(8deg); }
  60%      { transform: rotate(-4deg); }
  80%      { transform: rotate(4deg); }
}
.faq-item.faq-highlight .ans {
  color: var(--text);
  font-weight: 500;
}

/* ---------- Final form ---------- */
.final-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 640px; margin: 0 auto;
  box-shadow: var(--shadow);
}
.final-form h2 { margin-top: 0; max-width: none; }
.final-form .ledep {
  margin-top: 14px; color: var(--text-light); font-size: 16px; line-height: 1.6;
}
.final-form .ledep + .ledep { margin-top: 12px; }
.final-form .form-fields { margin-top: 28px; }
.final-form input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-size: 16px; font-family: inherit;
  background: #fff;
}
.final-form input[type="email"]:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(233, 30, 99, 0.12);
}
.checkbox-row {
  margin-top: 14px;
  display: flex; gap: 10px; align-items: flex-start;
  cursor: pointer;
  padding: 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: border-color .15s, background .15s;
}
.checkbox-row:hover { border-color: var(--primary-light); background: var(--primary-tint); }
.checkbox-row input { margin-top: 4px; accent-color: var(--primary); width: 16px; height: 16px; }
.checkbox-row .lbl { font-weight: 600; color: var(--ink); font-size: 15px; }
.checkbox-row .note { color: var(--text-light); font-weight: 400; font-size: 13px; display: block; margin-top: 4px; line-height: 1.5; }
.final-form .btn { margin-top: 20px; }
.final-form .small { display: block; text-align: center; margin-top: 12px; font-size: 13px; color: var(--text-muted); }

/* ---------- Social proof ---------- */
.proof-list {
  display: flex; gap: 12px; flex-wrap: wrap;
  justify-content: center; margin-top: 28px;
}
.proof-list span {
  padding: 10px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 999px;
  font-size: 14px; color: var(--text);
}
.testimonial-placeholders { display: none; }
.tp {
  border: 1px dashed var(--line);
  background: var(--bg-soft);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 13px;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px 0;
  background: #fafafa;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--text-light);
}
.site-footer .wrap {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px;
}
.site-footer .left { display: flex; align-items: center; gap: 18px; }
.site-footer .left .footer-logo { height: 56px; width: auto; display: block; }
.site-footer .left svg { height: 56px; }
.site-footer .left span { font-size: 14px; color: var(--text-light); }

/* ---------- Density toggle ---------- */
body[data-density="compact"] .section { padding: 64px 0; }
body[data-density="compact"] .hero { padding: 56px 0 48px; }
body[data-density="compact"] .feature-card { padding: 24px 22px; }

/* ---------- Density: dashboard mockup ---------- */
body[data-dash-density="compact"] .metric { padding: 10px 12px 12px; }
body[data-dash-density="compact"] .metric .value { font-size: 18px; }
body[data-dash-density="compact"] .chart-svg { height: 160px; }

body[data-dash-density="rich"] .metric { padding: 18px 18px 20px; }
body[data-dash-density="rich"] .metric .value { font-size: 26px; }
body[data-dash-density="rich"] .chart-svg { height: 240px; }

/* ---------- Hero variants ---------- */
body[data-hero="left"] .hero-inner { display: block; }
body[data-hero="centered"] .hero-inner { text-align: center; }
body[data-hero="centered"] .hero h1 { margin-left: auto; margin-right: auto; }
body[data-hero="centered"] .hero .subhead { margin-left: auto; margin-right: auto; }
body[data-hero="centered"] .hero-form { margin-left: auto; margin-right: auto; }
body[data-hero="centered"] .urgency { margin-left: auto; margin-right: auto; }
body[data-hero="centered"] .countdown { justify-content: center; }
body[data-hero="centered"] .founder-line { justify-content: center; }

body[data-hero="split"] .hero-inner {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start;
}
body[data-hero="split"] .hero-side {
  background: var(--primary-tint);
  border-radius: var(--radius-lg);
  padding: 28px;
  font-size: 14px;
}
body[data-hero="split"] .hero-side h5 {
  font-size: 12px; color: var(--primary-darker); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 14px;
}
body[data-hero="split"] .hero-side .preview-line {
  padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,0.05);
  display: flex; justify-content: space-between; color: var(--ink);
}
body[data-hero="split"] .hero-side .preview-line:last-child { border-bottom: none; }
body[data-hero="split"] .hero-side .preview-line strong { font-weight: 700; }
.hero-side { display: none; }
body[data-hero="split"] .hero-side { display: block; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pain-grid, .feature-grid, .steps, .dash-row2, .dash-row3,
  .testimonial-placeholders { grid-template-columns: 1fr; }
  .digest-wrap, .inside-wp { grid-template-columns: 1fr; gap: 40px; }
  .cmp-cell.right { border-left: none; border-top: 1px solid var(--line); }
  .cmp-row { grid-template-columns: 1fr; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  body[data-hero="split"] .hero-inner { grid-template-columns: 1fr; }
  .wp-body { grid-template-columns: 44px 1fr; }
  .wp-sidebar a .lbl { display: none; }
  .wp-sidebar a { justify-content: center; padding: 8px 4px; }
  .wp-sidebar .sb-sep { display: none; }
  .section { padding: 64px 0; }
  .hero { padding: 56px 0 48px; }
  .final-form { padding: 28px 22px; }
  .hero-form { flex-direction: column; }
  .hero-form .btn { width: 100%; }
}
@media (max-width: 560px) {
  .countdown .unit { padding: 10px 12px; min-width: 60px; }
  .countdown .unit .n { font-size: 24px; }
  .metric-row { grid-template-columns: repeat(2, 1fr); }
  .metric-row .metric:nth-child(5),
  .metric-row .metric:nth-child(6) { /* keep visible */ }
  .wp-content { padding: 14px; }
}
