@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Source+Serif+4:opsz,wght@8..60,500;8..60,600&display=swap");

:root {
  --bg: #f7f3eb;
  --bg-accent: #eee8de;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --surface-subtle: #f0ebe2;
  --line: #ddd5c9;
  --line-strong: #c8beb0;
  --text: #132035;
  --ink: #0b1220;
  --ink-2: #344154;
  --muted: #5b6572;
  --text-subtle: #68717c;
  --navy: #0b1220;
  --navy-soft: #15243b;
  --mint: #7ce0b1;
  --mint-soft: #def5e9;
  --coral: #e9785d;
  --coral-soft: #fbe5df;
  --accent: #147159;
  --accent-hover: #0d5b47;
  --accent-soft: #dff4e9;
  --secondary: #b8513e;
  --secondary-soft: #fbe5df;
  --good: #0f765b;
  --good-soft: #def5e9;
  --warn: #a65b13;
  --warn-soft: #fff0d9;
  --danger: #ad3f3f;
  --danger-soft: #fde8e5;
  --shadow-sm: 0 1px 2px rgba(11, 18, 32, 0.06);
  --shadow: 0 12px 32px rgba(11, 18, 32, 0.09);
  --shadow-lg: 0 28px 70px rgba(11, 18, 32, 0.15);
  --radius: 18px;
  --radius-sm: 11px;
  --shell-width: min(1140px, calc(100% - 40px));
  --shell: var(--shell-width);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: var(--font);
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  background:
    linear-gradient(rgba(11, 18, 32, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.022) 1px, transparent 1px),
    radial-gradient(900px 420px at 6% -10%, rgba(124, 224, 177, 0.13), transparent 58%),
    var(--bg);
  background-size: 32px 32px, 32px 32px, auto, auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; }
img { max-width: 100%; }

.page-shell {
  width: var(--shell-width);
  margin: 0 auto;
  padding: 0 0 72px;
}

/* —— Header / nav —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(1.25) blur(18px);
  background: rgba(247, 243, 235, 0.91);
  border-bottom: 1px solid rgba(200, 190, 176, 0.72);
}

.public-nav {
  width: var(--shell-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 70px;
  padding: 0;
}

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

.brand-badge {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #111318;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.public-links,
.public-nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.public-links a,
.public-nav-links a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 600;
  font-size: 0.86rem;
  padding: 7px 10px;
  border-radius: 999px;
  transition: color 0.15s ease, background 0.15s ease;
}

.public-links a:hover,
.public-nav-links a:hover,
.public-links a.active,
.public-nav-links a.active,
.public-links a[aria-current="page"],
.public-nav-links a[aria-current="page"] {
  color: var(--navy);
  background: var(--mint-soft);
}

.nav-views,
a.nav-views {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 14px;
  border-radius: 999px;
  background: #111318;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(17, 19, 24, 0.18);
  cursor: pointer;
}

.nav-views:hover,
a.nav-views:hover,
.public-nav-links a.nav-views:hover,
.public-links a.nav-views:hover {
  background: #243049;
  color: #fff !important;
}

.site-updated {
  margin: 0;
  color: var(--ink-2, #5c564e);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.01em;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin: 18px 0 10px;
}

/* —— Type —— */
.eyebrow {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

h1, h2, h3 {
  letter-spacing: -0.03em;
  font-weight: 600;
}

/* —— Hero —— */
.hub-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 56px 0 36px;
}

.hub-hero-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.4vw, 3.15rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 12px;
}

.hub-hero-copy .hero-text {
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 560px;
  margin: 0;
  line-height: 1.6;
}

.hub-hero-meta { display: flex; gap: 10px; }

.hero-chip {
  display: grid;
  gap: 2px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: left;
  box-shadow: var(--shadow-sm);
}

.hero-chip span {
  color: var(--text-subtle);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-chip strong {
  font-size: 1.12rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* —— Cards / grid —— */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
  padding: 8px 0 40px;
}

.hub-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.15s;
}

.hub-card:hover {
  border-color: #c5c9d2;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.hub-card-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

.hub-card-icon-listing { background: var(--accent-soft); color: var(--accent); }
.hub-card-icon-jobs { background: var(--secondary-soft); color: var(--secondary); }
.hub-card-icon-survey { background: var(--good-soft); color: var(--good); }
.hub-card-icon-finn { background: var(--accent-soft); color: var(--accent); }
.hub-card-icon-social { background: #f3e8ff; color: #6d28d9; }
.hub-card-icon-posting { background: var(--warn-soft); color: var(--warn); }

.hub-card-expandable { cursor: pointer; }
.hub-card-arrow {
  display: inline-block;
  font-size: 1rem;
  color: var(--text-subtle);
  transition: transform 0.2s;
}
.hub-card-expandable.expanded .hub-card-arrow { transform: rotate(90deg); }

.hub-sub-section { padding: 0 0 32px; }
.hub-grid-sub { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.hub-card-body h2 {
  font-size: 1.12rem;
  font-weight: 600;
  margin: 0 0 6px;
}

.hub-card-body p {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 12px;
  line-height: 1.55;
}

.hub-card-pills { display: flex; flex-wrap: wrap; gap: 6px; }

.pill {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-subtle);
  letter-spacing: 0.02em;
}

.hub-card-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-strong);
  flex-shrink: 0;
}
.status-dot.online { background: var(--good); box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.15); }
.status-dot.offline { background: var(--line-strong); }
.status-label { color: var(--text-subtle); font-size: 0.8rem; }

/* —— Detail / tabs —— */
.hub-detail-section { padding: 24px 0; }
.detail-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-header h2 { font-size: 1.4rem; font-weight: 600; margin: 0; }

.back-button {
  padding: 8px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--text);
  cursor: pointer;
}
.back-button:hover { background: var(--surface-subtle); }

.detail-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  background: var(--surface-subtle);
  border-radius: 10px;
  margin-bottom: 20px;
  width: fit-content;
}
.detail-tab {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 550;
  color: var(--text-subtle);
  cursor: pointer;
}
.detail-tab.active {
  background: var(--surface-strong);
  color: var(--text);
  box-shadow: var(--shadow-sm);
}
.detail-tab:hover:not(.active) { color: var(--text); }
.detail-panel { display: none; }
.detail-panel.active { display: block; }

/* —— Forms / buttons —— */
.panel {
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.panel h3 { font-size: 1.05rem; font-weight: 600; margin: 0 0 18px; }
.panel h4 { font-size: 0.92rem; font-weight: 600; margin: 16px 0 10px; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 550;
  color: var(--text-subtle);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  background: var(--surface-strong);
  color: var(--text);
  outline: none;
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-row { display: flex; gap: 10px; margin-top: 16px; }

.action-button {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 9px;
  font-size: 0.86rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  background: var(--surface);
  color: var(--text);
}
.action-button.primary {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.action-button.primary:hover { background: var(--accent-hover); }
.action-button.secondary:hover { background: var(--surface-subtle); }

hr { border: none; border-top: 1px solid var(--line); margin: 20px 0; }

/* —— Tables —— */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  text-align: left;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-subtle);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.data-table td {
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.88rem;
}
.data-table .empty-state {
  text-align: center;
  color: var(--text-subtle);
  padding: 32px 12px;
}

.log-output {
  margin-top: 16px;
  padding: 16px;
  background: #16181d;
  color: #d7dbe3;
  border-radius: 12px;
  font-family: var(--mono);
  font-size: 0.78rem;
  line-height: 1.6;
  max-height: 300px;
  overflow-y: auto;
  white-space: pre-wrap;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}
.platform-card {
  padding: 16px;
  background: var(--surface-subtle);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.platform-card h4 { margin: 0 0 8px; font-size: 0.9rem; }
.platform-card .stat { color: var(--text-subtle); font-size: 0.8rem; }
.platform-card .stat strong { color: var(--text); }

.status-badge {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
}
.status-badge.completed { background: var(--good-soft); color: var(--good); }
.status-badge.failed { background: var(--danger-soft); color: var(--danger); }
.status-badge.in_progress { background: var(--accent-soft); color: var(--accent); }
.status-badge.needs_review { background: var(--warn-soft); color: var(--warn); }
.status-badge.pending { background: var(--surface-subtle); color: var(--muted); }

.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 14px;
  margin-bottom: 32px;
}
.provider-card {
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.provider-card:hover { border-color: #c5c9d2; box-shadow: var(--shadow); }
.provider-card-active { border-color: var(--accent); background: var(--accent-soft); }
.provider-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.provider-card-header h4 { margin: 0; font-size: 1rem; font-weight: 600; }
.provider-url { color: var(--text-subtle); font-size: 0.75rem; }
.provider-icon {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 10px; flex-shrink: 0;
}
.provider-icon-ipsos { background: #eee7f8; color: #6b3fa0; }
.provider-icon-yougov { background: #fce8ef; color: #ad1457; }
.provider-icon-google { background: #e8f5e9; color: #2e7d32; }
.provider-icon-surveymonkey { background: #fff8e1; color: #f57f17; }
.provider-icon-typeform { background: #e3f2fd; color: #1565c0; }
.provider-icon-msforms { background: #fce4ec; color: #c62828; }
.provider-icon-qualtrics { background: #e0f7fa; color: #00695c; }
.provider-card p { color: var(--muted); font-size: 0.84rem; line-height: 1.5; margin: 0 0 12px; }
.provider-stats { display: flex; gap: 12px; }
.provider-stat {
  font-size: 0.72rem; font-weight: 600; color: var(--text-subtle);
  padding: 3px 10px; background: var(--surface-subtle); border-radius: 6px;
}
.provider-detail-section { padding: 0 0 24px; }
.panel-desc { color: var(--muted); font-size: 0.88rem; margin: -12px 0 20px; }

.toggle-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 550; cursor: pointer;
}
.toggle-label input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--accent); }

.credentials-box {
  margin-top: 20px; padding: 20px;
  background: var(--good-soft); border: 1px solid #bbf7d0; border-radius: 12px;
}
.credentials-box h4 { margin: 0 0 12px; font-size: 0.92rem; color: var(--good); }
.credentials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.credential-item { display: flex; flex-direction: column; gap: 2px; }
.credential-label {
  font-size: 0.68rem; font-weight: 600; color: var(--text-subtle);
  text-transform: uppercase; letter-spacing: 0.05em;
}
.credential-value {
  font-size: 0.84rem; font-family: var(--mono); color: var(--text);
  background: var(--surface); padding: 4px 8px; border-radius: 6px; word-break: break-all;
}

.hub-footer {
  padding: 40px 0 24px;
  text-align: center;
  color: var(--text-subtle);
  font-size: 0.78rem;
}

/* —— Public storefront chrome —— */
.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  clip-path: circle(50%);
}

.brand-logo-wrap {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  overflow: hidden;
  border-radius: 50%;
  background: var(--navy);
  box-shadow: 0 0 0 1px rgba(11, 18, 32, 0.12);
}

.btn,
.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  font-family: inherit;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  letter-spacing: -0.01em;
  transition: background 0.15s, border-color 0.15s, transform 0.12s, box-shadow 0.15s;
}
.btn:active, .sp-btn:active { transform: translateY(1px); }
.btn-primary, .sp-btn-primary {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 10px 24px rgba(11, 18, 32, 0.18);
}
.btn-primary:hover, .sp-btn-primary:hover { background: #182941; }
.btn-secondary, .sp-btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
}
.btn-secondary:hover, .sp-btn-secondary:hover { border-color: var(--navy); background: #fff; }
.btn-ghost { color: var(--muted); background: transparent; min-height: auto; padding: 8px 4px; }
.btn-ghost:hover { color: var(--accent); }
.btn-block { width: 100%; }

.site-footer {
  margin-top: 64px;
  padding: 36px 0 28px;
  border-top: 1px solid var(--line);
}
.site-footer-inner {
  width: var(--shell-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 28px;
  align-items: start;
}
.site-footer strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.site-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  max-width: 52ch;
  line-height: 1.55;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  justify-content: flex-end;
}
.site-footer nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 500;
}
.site-footer nav a:hover { color: var(--ink); }
.site-footer-meta {
  width: var(--shell-width);
  margin: 22px auto 0;
  color: var(--text-subtle);
  font-size: 0.76rem;
}

/* Legal / about */
.legal-shell {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
}
.legal-shell h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 16px;
}
.legal-shell h2 {
  font-size: 1.08rem;
  margin: 32px 0 8px;
}
.legal-shell p, .legal-shell li {
  color: var(--muted);
  line-height: 1.65;
}
.legal-shell p { margin: 0 0 14px; }
.legal-callout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
}
.legal-callout p { color: var(--ink); margin: 0; }

/* Tool / product route pages */
.route-page {
  width: var(--shell-width);
  margin: 0 auto;
  padding: 48px 0 24px;
}
.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 360px);
  gap: 40px;
  align-items: start;
}
.route-copy h1 {
  font-family: var(--serif);
  font-size: clamp(2.1rem, 4.2vw, 3.15rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 16px;
  max-width: 16ch;
}
.route-lede {
  margin: 0 0 28px;
  color: var(--ink-2);
  font-size: 1.08rem;
  line-height: 1.65;
  max-width: 46ch;
}
.route-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.route-points li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.route-points li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}
.route-points strong { color: var(--ink); font-weight: 600; }
.route-cta-card {
  position: sticky;
  top: 84px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.route-cta-card h2 {
  font-size: 1.05rem;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
}
.route-cta-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.route-cta-card .btn { width: 100%; margin-bottom: 10px; }
.route-meta {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  color: var(--text-subtle);
  font-size: 0.78rem;
  line-height: 1.45;
}
.route-offer {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 12px;
  background: var(--accent-soft);
  border: 1px solid #dbe4fb;
}
.route-offer strong { display: block; margin-bottom: 6px; font-size: 0.92rem; }
.route-offer span { display: block; color: var(--muted); font-size: 0.84rem; line-height: 1.45; margin-bottom: 12px; }
.route-offer a {
  display: block;
  text-align: center;
  padding: 11px 14px;
  border-radius: 9px;
  background: #111318;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
}
.route-offer small { display: block; margin-top: 10px; text-align: center; color: var(--muted); font-size: 0.74rem; }
.route-offer small a { display: inline; background: none; color: var(--accent); padding: 0; }

/* Product sales pages */
.product-hero {
  margin-top: 36px;
  padding: 36px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-sm);
}
.product-hero h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 8px 0 12px;
  max-width: 14ch;
}
.product-hero p { margin: 0; color: var(--muted); max-width: 58ch; font-size: 1.05rem; }
.price-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }

@media (max-width: 860px) {
  .route-layout, .site-footer-inner { grid-template-columns: 1fr; }
  .site-footer nav { justify-content: flex-start; }
  .route-cta-card { position: static; }
  .route-copy h1, .product-hero h1 { max-width: none; }
}

@media (max-width: 720px) {
  :root { --shell-width: min(100% - 24px, 1140px); }
  .public-nav { flex-wrap: wrap; min-height: auto; padding: 12px 0; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-hero { flex-direction: column; align-items: flex-start; padding-top: 36px; }
  .product-hero { padding: 24px; }
}

/* —— Editorial storefront homepage —— */
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus { transform: translateY(0); }

main#main-content {
  min-width: 0;
  max-width: 100%;
}

main#main-content h1 {
  overflow-wrap: anywhere;
}

:where(a, button, summary, input, select, textarea):focus-visible {
  outline: 3px solid #0b604c;
  outline-offset: 3px;
  box-shadow: 0 0 0 2px var(--surface);
}

.mobile-nav { display: none; }

.storefront-home {
  overflow-x: clip;
  color: var(--ink);
}

.storefront-home main { display: block; }

.home-shell {
  width: var(--shell-width);
  margin: 0 auto;
}

.storefront-home .home-eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.home-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: var(--navy);
  border-bottom: 5px solid var(--mint);
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: 0.42;
  background:
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, #000, transparent 82%);
  mask-image: linear-gradient(90deg, #000, transparent 82%);
}

.home-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 680px;
  height: 680px;
  right: -260px;
  top: -310px;
  border-radius: 50%;
  background: rgba(124, 224, 177, 0.19);
  filter: blur(2px);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(360px, 0.86fr);
  gap: clamp(44px, 7vw, 92px);
  align-items: center;
  padding: clamp(76px, 9vw, 116px) 0 clamp(72px, 8vw, 104px);
}

.home-hero .home-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mint);
}

.home-hero .home-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.hero-copy-block h1 {
  max-width: 10.8ch;
  margin: 0;
  color: #fffdf8;
  font-family: var(--serif);
  font-size: clamp(3.15rem, 6.2vw, 5.55rem);
  font-weight: 550;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-lede {
  max-width: 60ch;
  margin: 26px 0 0;
  color: #cbd4df;
  font-size: clamp(1.02rem, 1.6vw, 1.16rem);
  line-height: 1.68;
}

.storefront-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 30px;
}

.home-hero .btn-primary,
.final-cta .btn-primary {
  background: var(--mint);
  color: var(--navy);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.home-hero .btn-primary:hover,
.final-cta .btn-primary:hover {
  background: #95e8c2;
}

.home-hero .btn-secondary,
.final-cta .btn-secondary {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
}

.home-hero .btn-secondary:hover,
.final-cta .btn-secondary:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.72);
}

.editorial-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 58ch;
  margin: 22px 0 0;
  color: #9fabb9;
  font-size: 0.78rem;
  line-height: 1.55;
}

.editorial-note > span {
  width: 7px;
  height: 7px;
  margin-top: 5px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--coral);
}

.starting-stack {
  position: relative;
  overflow: hidden;
  padding: 28px;
  color: var(--ink);
  background: #fffdf8;
  border: 1px solid rgba(124, 224, 177, 0.5);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.27);
}

.starting-stack::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -85px;
  right: -65px;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.34;
}

.starting-stack-head {
  position: relative;
  padding-right: 22px;
}

.panel-kicker,
.resource-label {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.starting-stack h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.72rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.starting-stack-head > p:last-child {
  max-width: 38ch;
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.5;
}

.stack-list {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.stack-list li { border-bottom: 1px solid var(--line); }

.stack-list a {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  padding: 18px 2px;
  color: inherit;
  text-decoration: none;
}

.stack-list a:hover strong { color: var(--accent); }

.stack-number {
  padding-top: 2px;
  color: var(--coral);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 600;
}

.stack-content {
  display: grid;
  min-width: 0;
}

.stack-job {
  color: var(--text-subtle);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.stack-content strong {
  margin-top: 2px;
  font-size: 1rem;
  letter-spacing: -0.02em;
  transition: color 0.15s ease;
}

.stack-content strong span { color: var(--coral); }

.stack-reason {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.45;
}

.home-section { padding: clamp(76px, 9vw, 112px) 0; }

.section-intro {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 0.72fr);
  justify-content: space-between;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.section-intro h2,
.method-heading h2,
.final-cta h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4.4vw, 3.75rem);
  font-weight: 550;
  letter-spacing: -0.048em;
  line-height: 1.02;
  text-wrap: balance;
}

.section-intro > p {
  max-width: 54ch;
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.65;
}

.job-section { background: rgba(255, 253, 248, 0.62); }

.job-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}

.job-card {
  display: flex;
  min-width: 0;
  min-height: 310px;
  flex-direction: column;
  padding: 28px 24px;
  color: inherit;
  background: rgba(255, 253, 248, 0.74);
  border-left: 1px solid var(--line);
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.job-card:first-child { border-left: 0; }

.job-card:hover {
  z-index: 1;
  color: #fff;
  background: var(--navy);
  transform: translateY(-5px);
}

.job-number {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.job-card:hover .job-number,
.job-card:hover .text-link { color: var(--mint); }

.job-card h3 {
  margin: 54px 0 12px;
  font-family: var(--serif);
  font-size: 1.52rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.08;
}

.job-card p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.58;
}

.job-card:hover p { color: #bec8d4; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: var(--accent);
  font-size: 0.87rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.job-card .text-link { margin-top: auto; }
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

.shortlist-section {
  position: relative;
  background: var(--bg);
}

.shortlist-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 16px;
}

.tool-card {
  grid-column: span 4;
  display: flex;
  min-height: 286px;
  flex-direction: column;
  gap: 24px;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tool-card-wide {
  grid-column: span 6;
  min-height: 304px;
}

.tool-card:hover {
  border-color: var(--mint);
  border-top-color: var(--coral);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.tool-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tool-monogram {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  border-radius: 50%;
  color: #fff;
  background: var(--navy);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.tool-monogram-purple { background: #6451a4; }
.tool-monogram-blue { background: #275c91; }
.tool-monogram-mint { color: var(--navy); background: var(--mint); }
.tool-monogram-coral { background: #bb5945; }

.fit-label {
  padding: 5px 10px;
  color: #125c49;
  background: var(--mint-soft);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: right;
}

.tool-card h3 {
  margin: 0 0 9px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.tool-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.58;
}

.tool-card > a {
  width: fit-content;
  margin-top: auto;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
}

.tool-card > a:hover { text-decoration: underline; text-underline-offset: 4px; }

.section-action {
  display: flex;
  justify-content: flex-end;
  margin-top: 26px;
}

.method-section {
  padding: clamp(74px, 8vw, 102px) 0;
  background:
    linear-gradient(rgba(11, 18, 32, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 18, 32, 0.025) 1px, transparent 1px),
    var(--mint-soft);
  background-size: 36px 36px;
  border-top: 1px solid rgba(20, 113, 89, 0.16);
  border-bottom: 1px solid rgba(20, 113, 89, 0.16);
}

.method-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.5fr) minmax(360px, 1.1fr);
  gap: 44px;
  align-items: end;
  margin-bottom: 46px;
}

.method-heading .home-eyebrow { margin-bottom: 6px; }

.method-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(11, 18, 32, 0.28);
}

.method-grid li {
  min-height: 225px;
  padding: 26px 28px 6px;
  border-left: 1px solid rgba(11, 18, 32, 0.17);
}

.method-grid li:first-child { border-left: 0; padding-left: 0; }

.method-grid li > span {
  color: var(--secondary);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
}

.method-grid h3 {
  margin: 42px 0 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.method-grid p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.88rem;
  line-height: 1.6;
}

.resources-section { background: rgba(255, 253, 248, 0.72); }

.resource-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
  gap: 18px;
  align-items: stretch;
}

.resource-card {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 4vw, 48px);
  border-radius: 22px;
}

.resource-card-featured {
  min-height: 350px;
  color: var(--navy);
  background: var(--mint);
}

.resource-card-featured::after {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  right: -88px;
  bottom: -118px;
  border: 50px solid rgba(255, 255, 255, 0.27);
  border-radius: 50%;
}

.resource-card-store {
  display: flex;
  flex-direction: column;
  min-height: 350px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.resource-label { color: #0c5a45; }
.resource-card-store .resource-label { color: var(--secondary); }

.resource-card h3 {
  position: relative;
  z-index: 1;
  max-width: 14ch;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2rem, 3.7vw, 3.2rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.resource-card-store h3 {
  max-width: 13ch;
  font-size: clamp(1.75rem, 2.8vw, 2.35rem);
}

.resource-card > p:not(.resource-label) {
  position: relative;
  z-index: 1;
  max-width: 50ch;
  margin: 20px 0 26px;
  color: rgba(11, 18, 32, 0.75);
  font-size: 0.93rem;
  line-height: 1.62;
}

.resource-card-store > p:not(.resource-label) { color: var(--muted); }

.resource-card .btn,
.resource-card .text-link {
  position: relative;
  z-index: 1;
  margin-top: auto;
}

.final-cta-section {
  padding: 0 0 clamp(76px, 9vw, 112px);
  background: rgba(255, 253, 248, 0.72);
}

.final-cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(44px, 7vw, 76px);
  color: #fff;
  background: var(--navy);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
}

.final-cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -210px;
  border-radius: 50%;
  background: rgba(124, 224, 177, 0.2);
}

.final-cta .home-eyebrow { color: var(--mint); }
.final-cta h2 { max-width: 14ch; color: #fffdf8; }

.final-cta > p:not(.home-eyebrow) {
  max-width: 55ch;
  margin: 20px 0 0;
  color: #bdc8d5;
  line-height: 1.65;
}

.storefront-home .site-footer {
  margin-top: 0;
  background: var(--bg-accent);
  border-top-color: var(--line-strong);
}

.storefront-home .site-footer strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.storefront-home .site-footer-meta { max-width: none; }

@media (max-width: 980px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
    gap: 38px;
  }

  .hero-copy-block h1 { font-size: clamp(3rem, 6.3vw, 4.7rem); }
  .job-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .job-card:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .job-card:nth-child(4) { border-top: 1px solid var(--line); }
}

@media (max-width: 860px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-copy-block { max-width: 690px; }
  .hero-copy-block h1 { max-width: 11.5ch; }
  .starting-stack { max-width: 660px; }
  .tool-card,
  .tool-card-wide { grid-column: span 6; }
  .method-heading { grid-template-columns: 1fr; gap: 14px; }
  .method-grid { grid-template-columns: 1fr; }
  .method-grid li,
  .method-grid li:first-child {
    min-height: 0;
    padding: 24px 0;
    border-left: 0;
    border-top: 1px solid rgba(11, 18, 32, 0.16);
  }
  .method-grid li:first-child { border-top: 0; }
  .method-grid h3 { margin-top: 24px; }
  .resource-grid { grid-template-columns: 1fr; }
  .resource-card-featured,
  .resource-card-store { min-height: 320px; }
}

@media (max-width: 720px) {
  .public-nav {
    min-height: 64px;
    flex-wrap: nowrap;
    padding: 9px 0;
  }

  .public-links {
    max-width: calc(100% - 118px);
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .public-links::-webkit-scrollbar { display: none; }
  .public-links a { flex: 0 0 auto; }

  .public-nav-links { display: none; }
  a.nav-views-always { display: inline-flex; flex: 0 0 auto; }
  .site-updated { font-size: 0.68rem; white-space: normal; max-width: 11rem; text-align: right; }

  .mobile-nav {
    position: relative;
    display: block;
    margin-left: auto;
  }

  .mobile-nav summary {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 13px;
    color: var(--navy);
    background: var(--surface);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    list-style: none;
    cursor: pointer;
  }

  .mobile-nav summary::-webkit-details-marker { display: none; }

  .mobile-nav summary svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.6;
  }

  .mobile-nav[open] summary {
    color: var(--navy);
    background: var(--mint-soft);
    border-color: var(--mint);
  }

  .mobile-nav-panel {
    position: absolute;
    top: calc(100% + 11px);
    right: 0;
    z-index: 80;
    display: grid;
    width: min(250px, calc(100vw - 24px));
    padding: 8px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-lg);
  }

  .mobile-nav-panel a {
    padding: 11px 12px;
    color: var(--ink-2);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
  }

  .mobile-nav-panel a:hover,
  .mobile-nav-panel a[aria-current="page"] {
    color: var(--navy);
    background: var(--mint-soft);
  }

  .hero-layout { padding: 66px 0 68px; }
  .home-hero::after { right: -420px; }
  .hero-copy-block h1 {
    max-width: 12ch;
    font-size: clamp(3rem, 12vw, 4.25rem);
  }

  .section-intro {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-bottom: 30px;
  }

  .section-intro > p { margin: 0; }
  .home-section { padding: 76px 0; }
  .resource-card { padding: 34px 28px; }
  .final-cta { border-radius: 20px; }
}

@media (max-width: 600px) {
  .starting-stack { padding: 24px 20px; border-radius: 19px; }
  .job-grid { grid-template-columns: 1fr; }
  .job-card {
    min-height: 265px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .job-card:first-child { border-top: 0; }
  .job-card h3 { margin-top: 40px; }
  .tool-card,
  .tool-card-wide {
    grid-column: 1 / -1;
    min-height: 275px;
  }
  .section-action { justify-content: flex-start; }
  .resource-card-featured,
  .resource-card-store { min-height: 310px; }
  .storefront-home .site-footer nav {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 460px) {
  .brand-mark { gap: 8px; }
  .brand-logo,
  .brand-logo-wrap {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .hero-copy-block h1 { font-size: clamp(2.75rem, 13vw, 3.55rem); }
  .storefront-home .hero-actions { display: grid; }
  .storefront-home .hero-actions .btn { width: 100%; }
  .editorial-note { font-size: 0.75rem; }
  .stack-list a { padding: 16px 0; }
  .fit-label { max-width: 128px; }
  .final-cta { padding: 40px 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* —— Public channel performance —— */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  max-width: 520px;
}
.subscribe-form input[type="email"] {
  flex: 1 1 220px;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.subscribe-form button {
  min-height: 46px;
}
.subscribe-form .subscribe-status {
  flex: 1 1 100%;
  margin: 0;
  color: var(--accent);
  font-size: 0.92rem;
}

.software-page .software-block { margin: 28px 0; }
.software-page .software-block h2 { font-size: 1.15rem; letter-spacing: -0.02em; }
.software-table-wrap { overflow-x: auto; margin: 12px 0 8px; }
.software-table { width: 100%; border-collapse: collapse; font-size: 0.92rem; }
.software-table th, .software-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.software-table thead th { font-size: 0.72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--text-subtle); }
.also-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.performance-section {
  padding: 36px 0 0;
  background: rgba(255, 253, 248, 0.62);
}

.performance-panel {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.performance-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.52fr);
  gap: 32px;
  align-items: end;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.performance-heading .home-eyebrow { margin-bottom: 9px; }

.performance-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.04;
}

.performance-intro {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.performance-meta {
  display: grid;
  justify-items: end;
  gap: 8px;
  text-align: right;
}

.performance-source {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  color: var(--ink-2);
  background: var(--coral-soft);
  border: 1px solid rgba(184, 81, 62, 0.16);
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.performance-source > span {
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--coral);
}

.performance-meta p {
  max-width: 42ch;
  margin: 0;
  color: var(--text-subtle);
  font-size: 0.74rem;
  line-height: 1.45;
}

.performance-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
  padding-top: 24px;
}

.performance-totals {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
}

.performance-totals > div {
  display: flex;
  min-height: 118px;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  color: #fff;
  background: var(--navy);
  border-radius: 14px;
}

.performance-totals > div:nth-child(2) {
  color: var(--navy);
  background: var(--mint);
}

.performance-totals > div:nth-child(3) {
  color: var(--navy);
  background: var(--coral-soft);
  border: 1px solid rgba(184, 81, 62, 0.16);
}

.performance-totals dt {
  max-width: 14ch;
  color: #b8c2cf;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.performance-totals > div:nth-child(n + 2) dt { color: rgba(11, 18, 32, 0.64); }

.performance-totals dd {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
  line-height: 1;
}

.channel-table-wrap {
  min-width: 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.channel-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.channel-table th,
.channel-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.channel-table thead th {
  padding-top: 11px;
  padding-bottom: 11px;
  color: var(--text-subtle);
  background: var(--surface-subtle);
  border-top: 0;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.channel-table th:first-child { width: 48%; }

.channel-table th:not(:first-child),
.channel-table td {
  text-align: right;
}

.channel-table tbody th { font-weight: 600; }

.channel-table td {
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.channel-name {
  display: inline-flex;
  align-items: center;
  gap: 0;
  color: var(--ink);
  text-decoration: none;
}

a.channel-name:hover strong {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.channel-name > span:last-child {
  display: grid;
  gap: 2px;
}

.channel-name strong {
  font-size: 0.88rem;
  letter-spacing: -0.015em;
  transition: color 0.15s ease;
}

.channel-name small {
  color: var(--text-subtle);
  font-size: 0.66rem;
  font-weight: 600;
}

.performance-note,
.performance-noscript {
  margin: 15px 0 0;
  color: var(--text-subtle);
  font-size: 0.7rem;
  line-height: 1.5;
}

.performance-noscript {
  padding: 9px 11px;
  background: var(--warn-soft);
  border-radius: 8px;
}

@media (max-width: 900px) {
  .performance-heading {
    grid-template-columns: minmax(0, 1fr) minmax(230px, 0.72fr);
  }

  .performance-layout { grid-template-columns: 1fr; }
  .performance-totals { max-width: none; }
}

@media (max-width: 650px) {
  .performance-section { padding-top: 24px; }
  .performance-panel { padding: 24px 20px; border-radius: 18px; }

  .performance-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .performance-meta {
    justify-items: start;
    text-align: left;
  }

  .performance-layout { gap: 18px; }
  .performance-totals { max-width: none; }

  .channel-table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .channel-table {
    display: block;
    min-width: 0;
  }

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

  .channel-table tbody { display: grid; gap: 10px; }

  .channel-table tr {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
  }

  .channel-table th,
  .channel-table td {
    display: flex;
    width: auto;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border-top: 0;
    text-align: left;
  }

  .channel-table tbody th,
  .channel-table tbody th:first-child {
    grid-column: 1 / -1;
    width: auto;
    border-bottom: 1px solid var(--line);
  }

  .channel-table td {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .channel-table td + td { border-left: 1px solid var(--line); }

  .channel-table td::before {
    content: attr(data-label);
    color: var(--text-subtle);
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
  }
}

@media (max-width: 410px) {
  .performance-totals { grid-template-columns: 1fr; }
  .performance-totals > div { min-height: 112px; }
}

/* —— V5 static channel proof —— */
#main-content:focus { outline: none; }

.home-hero :where(a, button, summary):focus-visible,
.final-cta :where(a, button, summary):focus-visible {
  outline-color: var(--mint);
  box-shadow: 0 0 0 2px var(--navy);
}

.hero-proof {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  padding: 7px 11px;
  color: #e8fff4;
  background: rgba(124, 224, 177, 0.1);
  border: 1px solid rgba(124, 224, 177, 0.42);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.hero-proof:hover {
  color: #fff;
  background: rgba(124, 224, 177, 0.17);
  border-color: var(--mint);
}

.channel-glance-section {
  scroll-margin-top: 82px;
  padding-top: 30px;
}

.channel-glance-panel { padding: 26px 30px 20px; }

.channel-glance-heading {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.62fr);
  align-items: center;
  padding-bottom: 20px;
}

.channel-summary {
  display: grid;
  justify-self: end;
  gap: 5px;
  width: 100%;
  max-width: 390px;
  padding: 4px 0 4px 20px;
  border-left: 3px solid var(--mint);
  text-align: left;
}

.channel-summary strong {
  color: var(--navy);
  font-family: var(--serif);
  font-size: clamp(1.18rem, 2vw, 1.48rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.16;
}

.channel-summary span {
  color: #4d5865;
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.4;
}

.channel-summary p {
  margin: 2px 0 0;
  color: #5a6470;
  font-size: 0.7rem;
  line-height: 1.4;
}

.channel-summary data,
.channel-glance-table data {
  font-variant-numeric: tabular-nums;
}

.channel-glance-table-wrap { margin-top: 18px; }

.channel-glance-table {
  min-width: 780px;
}

.channel-glance-table th:first-child { width: 32%; }

.channel-glance-table thead th {
  color: #34404d;
  background: #eee8de;
}

.channel-glance-table td {
  color: #243247;
}

.channel-glance-table .channel-action-cell {
  width: 146px;
  padding-left: 10px;
}

.channel-action {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 12px;
  color: #fff;
  background: var(--navy);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.15s ease;
}

.channel-action:hover {
  color: #fff;
  background: #1c304b;
  transform: translateY(-1px);
}

.channel-name small { color: #525d6a; }

.performance-method {
  margin: 12px 0 0;
  color: #505b68;
  font-size: 0.71rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .channel-glance-heading {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  }
}

@media (max-width: 650px) {
  .channel-glance-panel { padding: 22px 18px 17px; }

  .channel-glance-heading {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .channel-summary {
    justify-self: start;
    max-width: none;
    padding: 13px 0 0;
    border-top: 3px solid var(--mint);
    border-left: 0;
  }

  .channel-glance-table { min-width: 0; }

  .channel-glance-table th,
  .channel-glance-table td {
    padding: 10px 11px;
  }

  .channel-glance-table td {
    min-width: 0;
    font-size: 0.88rem;
  }

  .channel-glance-table td::before {
    font-size: 0.56rem;
    letter-spacing: 0.055em;
  }

  .channel-glance-table .channel-action-cell {
    grid-column: 1 / -1;
    width: auto;
    padding: 9px 11px;
    align-items: stretch;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .channel-glance-table .channel-action-cell::before { display: none; }
  .channel-action { width: 100%; }
}

@media (max-width: 460px) {
  .hero-proof {
    justify-content: center;
    width: 100%;
  }
}

/* —— Review desk —— */
.review-shell { width: var(--shell-width); margin: 0 auto; padding: 28px 0 80px; }
.review-article { display: grid; gap: 28px; }
.review-hero h1 { font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.04em; line-height: 1.05; margin: 8px 0 12px; }
.review-verdict { font-size: 1.22rem; line-height: 1.45; color: var(--ink); margin: 0 0 10px; max-width: 46ch; }
.review-verdict-sm { font-size: 1.02rem; color: var(--ink); }
.review-kicker { color: var(--muted); margin: 0; }
.review-score { display: inline-flex; align-items: baseline; gap: 8px; margin: 0 0 12px; padding: 8px 12px; border-radius: 999px; background: var(--mint-soft); color: var(--navy); }
.review-score strong { font-size: 1.2rem; }
.review-score-inline { margin: 0; font-weight: 700; color: var(--accent); }
.review-cta-card { padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow-sm); display: grid; gap: 10px; }
.review-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.review-list { margin: 8px 0 0; padding-left: 18px; }
.review-list li { margin: 0 0 6px; }
.review-pros li::marker { color: var(--good); }
.review-cons li::marker { color: var(--danger); }
.review-steps { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.review-faq-item { border-top: 1px solid var(--line); padding: 12px 0; }
.review-faq-item summary { cursor: pointer; font-weight: 650; }
.review-faq-item p { margin: 8px 0 0; color: var(--muted); }
.review-index-grid, .review-compare-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.review-index-card, .review-compare-card { display: grid; gap: 8px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.review-index-card:hover, .review-compare-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.review-index-card small, .review-compare-card small { color: var(--text-subtle); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; font-weight: 700; }
.review-index-card h2, .review-index-card h3, .review-compare-card h2 { margin: 0; font-size: 1.15rem; }
.review-index-card p, .review-compare-card p { margin: 0; color: var(--muted); }
.featured-review-card { padding: 24px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); display: grid; gap: 10px; }
.featured-review-card h2 { margin: 0; font-family: var(--serif); font-size: 2rem; }
.home-schedule { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.schedule-item { display: grid; grid-template-columns: 160px 180px 1fr auto; gap: 12px; align-items: start; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.schedule-item.staged { opacity: 0.78; }
.schedule-when { color: var(--text-subtle); font-size: .82rem; font-weight: 650; }
.schedule-channel { font-weight: 700; }
.schedule-topic { color: var(--ink-2); }
.calendar-day { margin: 28px 0; }
.calendar-day h2 { display: flex; justify-content: space-between; gap: 12px; font-size: 1.2rem; }
.calendar-day h2 span { color: var(--muted); font-weight: 500; }
.tools-hero { margin-top: 12px; padding: 32px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-sm); }
.tools-hero h1 { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); font-weight: 550; letter-spacing: -0.035em; line-height: 1.08; margin: 8px 0 12px; max-width: 18ch; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; padding: 8px 0 28px; }
.route-card { display: grid; gap: 8px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; color: inherit; box-shadow: var(--shadow-sm); }
.route-card:hover { border-color: var(--accent); transform: translateY(-1px); }
.route-card small { color: var(--text-subtle); text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; font-weight: 700; }
.route-card h2 { margin: 0; font-size: 1.12rem; }
.route-card p { margin: 0; color: var(--muted); }
@media (max-width: 820px) {
  .schedule-item { grid-template-columns: 1fr; }
}

.analytics-home .analytics-hero { padding: 36px 0 12px; }
.analytics-home h1 { font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -0.04em; line-height: 1.08; max-width: 18ch; }
.analytics-totals { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin: 22px 0 12px; }
.analytics-totals > div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.analytics-totals span { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-subtle); font-weight: 700; }
.analytics-totals strong { display: block; margin-top: 6px; font-size: 1.35rem; }
.sales-note { color: var(--muted); max-width: 70ch; }
.analytics-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.analytics-card { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); display: grid; gap: 10px; }
.analytics-card.is-staged { opacity: 0.78; }
.analytics-card h3 { margin: 0; font-size: 1.15rem; }
.analytics-card .handle { margin: 0; color: var(--muted); }
.card-kicker { margin: 0; text-transform: uppercase; letter-spacing: .06em; font-size: .68rem; font-weight: 700; color: var(--text-subtle); }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0; }
.stat-grid dt { font-size: .68rem; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .04em; }
.stat-grid dd { margin: 2px 0 0; font-weight: 750; }
.channel-recent { margin: 0; padding-left: 16px; }
.channel-recent li { margin: 0 0 4px; }
.channel-recent span { color: var(--muted); font-size: .82rem; }
.card-copy { margin: 0; color: var(--muted); font-size: .9rem; }
.analytics-video-table { font-size: .9rem; }
.muted { color: var(--muted); }
