/* sfagency — landing page styles */

:root {
  --bg: #f5f5f8;
  --surface: #ffffff;
  --border: #e2e2ea;
  --border-strong: #cfcfdb;
  --ink: #14141c;
  --ink-soft: #9ea0b8;
  --text: #17171f;
  --text-soft: #63636f;
  --accent: #5b4fe8;
  --accent-hover: #4b3fe0;
  --accent-soft: #edecfc;
  --accent-ink: #ffffff;
  --dark: #0d0d14;
  --dark-2: #17171f;
  --dark-border: #2a2a38;
  --dark-soft: #9394a8;
  --mint: #4fd1a5;

  --font-display: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  --max: 1180px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background:
    radial-gradient(720px 480px at 14% -6%, #e3defb 0%, transparent 62%),
    radial-gradient(720px 520px at 100% 10%, #fbe3f0 0%, transparent 58%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.025em;
}

p { margin: 0; }

ul { list-style: none; margin: 0; padding: 0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---------- Soft card system ---------- */

.corner-frame {
  box-shadow: 0 1px 2px rgba(20, 20, 28, 0.03), 0 16px 32px -22px rgba(20, 20, 28, 0.16);
}

/* ---------- Badges ---------- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-family: "Space Grotesk", var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.badge-quiet {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-soft);
}
.badge-quiet .badge-dot { background: var(--accent); }

.badge-dark {
  background: rgba(91, 79, 232, 0.16);
  color: #b9b2ff;
}
.badge-dark .badge-dot { background: #b9b2ff; }

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 220ms var(--ease-out), background 150ms ease, border-color 150ms ease, filter 120ms ease-out;
  will-change: transform;
}

.btn:active { filter: brightness(0.92); }

@media (hover: none), (pointer: coarse) {
  .btn:hover { transform: none; }
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
}
.btn-primary:hover { background: var(--accent-hover); }

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
  width: 100%;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-full { width: 100%; }

.btn-small { padding: 10px 20px; font-size: 14px; }

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

.site-header {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 0 20px;
}

.nav-pill {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--dark);
  border-radius: 999px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 18px 36px -16px rgba(20, 20, 28, 0.4);
}

.nav-pill .logo { color: #f3f1e9; }
.nav-pill .nav a { color: var(--dark-soft); }
.nav-pill .nav a:hover { color: #f3f1e9; }
.nav-pill .menu-toggle span { background: #f3f1e9; }

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-type {
  font-family: "Space Grotesk", var(--font-body);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #f3f1e9;
}

.logo-type-script {
  font-family: "Gwendolyn", cursive;
  font-weight: 700;
  font-size: 26px;
  margin-left: 1px;
  color: var(--accent);
}

.logo-footer.logo-type { color: #f3f1e9; }
.logo-footer .logo-type-script { color: #b9b2ff; }

.nav {
  display: flex;
  gap: 28px;
  font-size: 14.5px;
}
.nav a { text-decoration: none; color: var(--text-soft); font-weight: 500; transition: color 150ms ease; }
.nav a:hover { color: var(--text); }

/* ---------- Mobile menu ---------- */

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 220ms var(--ease-out), opacity 150ms ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: var(--dark);
  color: #f3f1e9;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 36px;
  padding: 0 32px;
  clip-path: circle(0% at calc(100% - 40px) 36px);
  transition: clip-path 500ms var(--ease-drawer);
  pointer-events: none;
}
.mobile-menu.is-open {
  clip-path: circle(150% at calc(100% - 40px) 36px);
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mobile-menu nav a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: #f3f1e9;
  opacity: 0;
  transform: translateY(14px);
}
.mobile-menu.is-open nav a {
  animation: menuLinkIn 450ms var(--ease-out) forwards;
}
.mobile-menu.is-open nav a:nth-child(1) { animation-delay: 120ms; }
.mobile-menu.is-open nav a:nth-child(2) { animation-delay: 165ms; }
.mobile-menu.is-open nav a:nth-child(3) { animation-delay: 210ms; }
.mobile-menu.is-open nav a:nth-child(4) { animation-delay: 255ms; }

@keyframes menuLinkIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu nav a { opacity: 1; transform: none; animation: none; }
}

/* ---------- Custom cursor ---------- */

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease, width 220ms var(--ease-out), height 220ms var(--ease-out), margin 220ms var(--ease-out), background 220ms ease;
}

.has-custom-cursor .cursor-dot { opacity: 1; }

.cursor-dot--active {
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  background: rgba(91, 79, 232, 0.12);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot { display: none; }
}

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

.hero {
  padding: 64px 0 40px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero h1 {
  font-size: clamp(2.3rem, 4.4vw, 3.4rem);
  line-height: 1.1;
  max-width: 16ch;
  color: var(--text);
}

.word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: 0.1em;
}
.word-mask .word {
  display: inline-block;
  transform: translateY(115%);
  opacity: 0;
  animation: wordIn 720ms var(--ease-out) forwards;
}
@keyframes wordIn {
  to { transform: translateY(0); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .word-mask .word { transform: none; opacity: 1; animation: none; }
}

.lead {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-soft);
  max-width: 46ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 30px;
}

.hero-note {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--text-soft);
  max-width: 40ch;
}
.hero-note a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Phone mockup (devices.css) ---------- */

.phone-stage {
  --device-scale: 0.62;
  --device-scale-side: 0.5;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 48px;
  padding: 8px 0 24px;
  height: calc(868px * var(--device-scale) + 40px);
}

.device-wrap {
  position: relative;
  z-index: 3;
  width: calc(428px * var(--device-scale));
  height: calc(868px * var(--device-scale));
}

.device-wrap .device {
  transform: scale(var(--device-scale));
  transform-origin: top left;
}

.device-wrap-side {
  position: absolute;
  top: 24px;
  width: calc(428px * var(--device-scale-side));
  height: calc(868px * var(--device-scale-side));
  z-index: 1;
  opacity: 0.9;
  filter: saturate(0.85);
}
.device-wrap-side .device {
  transform: scale(var(--device-scale-side));
  transform-origin: top left;
}

.device-wrap-left {
  left: calc(50% - 300px);
  transform: rotate(-9deg);
}
.device-wrap-right {
  right: calc(50% - 300px);
  transform: rotate(9deg);
}

@media (max-width: 1080px) {
  .device-wrap-side { display: none; }
}

#chatMock .device-screen {
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 26px 2px;
  font-size: 15px;
  font-weight: 700;
  color: #14141c;
  flex-shrink: 0;
}
.phone-status-icons { font-size: 11px; letter-spacing: 1px; color: #8b8b98; }

.phone-app-bar {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: #85859a;
  padding: 10px 0 14px;
  margin: 10px 22px 0;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.phone-body {
  padding: 20px 22px 32px;
  flex: 1;
  overflow: hidden;
}

.phone-caption {
  margin-top: 24px;
  font-size: 13px;
  color: var(--text-soft);
  max-width: 46ch;
  text-align: center;
}

.msg { font-size: 14px; line-height: 1.55; }

.msg-row { margin-bottom: 18px; }

.msg-row-user { display: flex; justify-content: flex-end; }

.msg-user {
  background: #f2f2f7;
  border-radius: 14px;
  padding: 10px 14px;
  max-width: 88%;
  width: fit-content;
}

.msg-row-bot {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-bot {
  background: radial-gradient(circle at 30% 30%, #2c2f45, #0d0d14 70%);
}
.avatar-bot::before {
  content: "";
  width: 10px;
  height: 10px;
  background: #f3f1e9;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
}

.msg-bot { flex: 1; min-width: 0; }
.msg-bot p { margin: 0 0 10px; color: #2a2c33; }
.msg-bot ul { margin: 0 0 14px; padding-left: 18px; list-style: disc; color: #2a2c33; }
.msg-bot li { margin-bottom: 3px; }

.ad-card {
  border: 1px solid #e6e6ee;
  background: #ffffff;
  border-radius: 12px;
  padding: 14px 14px 12px;
  margin-top: 4px;
  box-shadow: 0 1px 2px rgba(20, 20, 28, 0.04);
  opacity: 0;
  transform: translateY(6px);
  animation: sponsoredReveal 0.5s ease forwards;
  animation-delay: 0.9s;
}
@media (prefers-reduced-motion: reduce) {
  .ad-card { opacity: 1; transform: none; animation: none; }
}

@keyframes sponsoredReveal {
  to { opacity: 1; transform: translateY(0); }
}

.ad-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ad-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ad-logo {
  width: 20px;
  height: 20px;
  border-radius: 5px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ad-brand-name { font-size: 13px; font-weight: 600; color: #1b1d24; }

.ad-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  color: #8b8b98;
}

.ad-more { letter-spacing: 1px; }

.ad-card-body {
  display: flex;
  gap: 12px;
}

.ad-thumb {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  flex-shrink: 0;
  background: linear-gradient(155deg, #2c2f45 0%, #454a6e 45%, #7c8fae 100%);
}

.ad-copy { min-width: 0; }

.ad-headline {
  font-size: 14px;
  font-weight: 700;
  color: #14141c;
  margin-bottom: 4px;
  line-height: 1.3;
}

.ad-desc {
  font-size: 13px;
  color: #63636f;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ad-disclaimer {
  margin: 12px -14px -12px;
  padding: 12px 14px 0;
  border-top: 1px solid #edecf2;
  font-size: 11.5px;
  line-height: 1.5;
  color: #9a9aa6;
}
.ad-disclaimer a {
  color: #9a9aa6;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---------- Marquee ---------- */

.marquee {
  background: var(--surface);
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  animation: marqueeScroll 32s linear infinite;
  padding: 14px 0;
}

.marquee-track span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  padding: 0 16px;
  color: var(--text-soft);
}

.marquee-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  padding: 0 !important;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ---------- Sections ---------- */

.section { padding: 96px 0; }

.section-dark {
  background: var(--dark);
  color: #f3f1e9;
}

.section-paper2 { background: var(--surface); }

.section-head { max-width: 56ch; margin-bottom: 52px; }
.section-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.section-head p { margin-top: 14px; font-size: 17px; color: var(--text-soft); line-height: 1.55; }

.section-head-dark p { color: var(--dark-soft); }

.section-footnote {
  margin-top: 36px;
  font-size: 13px;
  color: var(--text-soft);
  max-width: 60ch;
}
.section-footnote-dark { color: var(--dark-soft); }

/* ---------- Search shift ---------- */

.shift-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.shift-card {
  border-radius: 16px;
  background: var(--surface);
  padding: 28px;
}

.shift-card-accent {
  background: var(--dark);
}

.shift-label {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 10px;
}
.shift-card-accent .shift-label { color: #b9b2ff; }

.shift-text {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  max-width: 34ch;
}
.shift-card-accent .shift-text { color: #f3f1e9; }

/* ---------- Process ---------- */

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

.process-step {
  border-radius: 14px;
  background: var(--surface);
  padding: 30px 26px;
}

.process-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  margin-bottom: 16px;
}

.process-step h3 { font-size: 19px; margin-bottom: 10px; }
.process-step p { font-size: 15px; color: var(--text-soft); line-height: 1.55; }

.checklist {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 40px;
}

.checklist li {
  font-family: var(--font-mono);
  font-size: 14.5px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  color: var(--text);
}

/* ---------- Stat grid ---------- */

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark-border);
  border-radius: 16px;
  overflow: hidden;
}

.stat-tile {
  background: var(--dark-2);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stat-tile-wide { grid-column: 1 / -1; }

.stat-label {
  font-size: 13px;
  color: var(--dark-soft);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 500;
  color: #f3f1e9;
}

.stat-trend { color: var(--mint); font-size: 18px; }

/* ---------- Comparison chart ---------- */

.compare-panel {
  border-radius: 16px;
  background: var(--dark-2);
  padding: 28px 30px 24px;
  margin-bottom: 20px;
}

.compare-head { max-width: 62ch; }

.compare-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: #f3f1e9;
  margin-bottom: 8px;
}

.compare-sub {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--dark-soft);
}

.compare-legend {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--dark-border);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: var(--dark-soft);
}

.legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.legend-dot-conv { background: #565868; }
.legend-dot-gpt { background: var(--accent); }

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

.compare-metric { text-align: center; }

.compare-bars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  height: 130px;
}

.compare-bar {
  width: 34px;
  height: var(--h);
  border-radius: 5px 5px 2px 2px;
  position: relative;
  display: flex;
  justify-content: center;
}

.compare-bar-conv { background: #565868; }
.compare-bar-gpt { background: var(--accent); }

.compare-value {
  position: absolute;
  top: -22px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #f3f1e9;
  white-space: nowrap;
}

.compare-label {
  margin-top: 14px;
  font-size: 13px;
  color: var(--dark-soft);
}

/* ---------- Trend mini-chart ---------- */

.trend-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 70px;
  margin-top: 4px;
}

.trend-bar {
  flex: 1;
  height: var(--h);
  background: var(--accent);
  border-radius: 4px 4px 2px 2px;
  position: relative;
  max-width: 40px;
}

.trend-value {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--dark-soft);
  white-space: nowrap;
}

/* ---------- Transparency ---------- */

.transparency-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.concept-card {
  border-radius: 14px;
  padding: 28px;
  background: var(--surface);
}

.concept-card h3 { font-size: 18px; margin-bottom: 10px; }
.concept-card p { font-size: 15px; color: var(--text-soft); line-height: 1.55; }

.ledger {
  border-radius: 16px;
  padding: 32px 32px 28px;
  background: var(--surface);
  max-width: 620px;
}

.ledger-title {
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: var(--text-soft);
  margin-bottom: 20px;
}

.ledger-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  padding: 10px 0;
}

.ledger-dots {
  flex: 1;
  border-bottom: 1px dotted var(--border-strong);
  transform: translateY(-4px);
}

.ledger-amount {
  font-family: var(--font-mono);
  font-size: 15px;
}

.ledger-total {
  border-top: 1px solid var(--text);
  margin-top: 6px;
  padding-top: 14px;
  font-weight: 700;
}
.ledger-total .ledger-amount { font-size: 17px; color: var(--accent); }

.ledger-note {
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-soft);
}

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}

.plan {
  border-radius: 16px;
  padding: 32px 28px;
  background: var(--surface);
  display: flex;
  flex-direction: column;
}

.plan h3 { font-size: 19px; margin-bottom: 14px; }

.plan-price {
  font-family: var(--font-mono);
  font-size: 34px;
  margin-bottom: 8px;
}
.plan-price span { font-size: 15px; color: var(--text-soft); font-family: var(--font-body); }

.plan-desc {
  font-size: 14px;
  color: var(--text-soft);
  margin-bottom: 22px;
  min-height: 42px;
}

.plan-list {
  margin-bottom: 28px;
  flex: 1;
}
.plan-list li {
  font-size: 14.5px;
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

.plan-featured {
  background: var(--dark);
  color: #f3f1e9;
  transform: translateY(-10px);
  box-shadow: 0 24px 48px -20px rgba(20, 20, 28, 0.5);
}
.plan-featured .plan-price span,
.plan-featured .plan-desc { color: var(--dark-soft); }
.plan-featured .plan-list li { border-bottom-color: var(--dark-border); }

.plan-flag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent-ink);
  background: var(--accent);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  width: fit-content;
}

.plan-custom { border: 1px dashed var(--border-strong); }

/* ---------- Study / free audit ---------- */

.study-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.study-copy h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); max-width: 18ch; }
.study-copy > p { margin-top: 18px; font-size: 17px; color: var(--text-soft); line-height: 1.55; max-width: 48ch; }

.study-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.study-list li {
  font-size: 15px;
  padding-left: 20px;
  position: relative;
}
.study-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.lead-form {
  background: var(--surface);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 2px rgba(20, 20, 28, 0.03), 0 20px 40px -24px rgba(20, 20, 28, 0.2);
}

.lead-form-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}
.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 11px 13px;
  outline: none;
  transition: border-color 150ms ease, background 150ms ease;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
}

.lead-form-note {
  font-size: 12.5px;
  color: var(--text-soft);
  text-align: center;
}

.lead-form-success {
  display: none;
  align-items: center;
  gap: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.lead-form-success.is-visible { display: flex; }

.lead-form-error {
  display: none;
  align-items: center;
  gap: 10px;
  background: #fbeaea;
  color: #b3352c;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-weight: 600;
}
.lead-form-error.is-visible { display: flex; }

/* ---------- Onboarding ---------- */

.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.onboarding-grid li {
  background: var(--surface);
  padding: 20px 22px;
  font-size: 14.5px;
}

/* ---------- Final CTA ---------- */

.cta-final-inner {
  text-align: left;
  max-width: 700px;
  border-radius: 20px;
  background: var(--surface);
  padding: 56px;
}

.cta-final-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }

.cta-final-inner p {
  margin-top: 16px;
  font-size: 17px;
  color: var(--text-soft);
  margin-bottom: 30px;
}

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

.site-footer {
  background: var(--dark);
  color: var(--dark-soft);
  padding: 44px 0 0;
  overflow: hidden;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 40px;
}

.logo-footer { color: #f3f1e9; }

.footer-legal {
  font-size: 12.5px;
  max-width: 46ch;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 13px;
  color: var(--dark-soft);
  text-decoration: none;
}
.footer-links a:hover { color: #f3f1e9; }

/* ---------- Cookie banner ---------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  max-width: 620px;
  margin: 0 auto;
  z-index: 70;
  background: var(--dark);
  color: #f3f1e9;
  border-radius: 16px;
  padding: 20px 22px;
  box-shadow: 0 24px 48px -20px rgba(0, 0, 0, 0.5);
  display: none;
  flex-direction: column;
  gap: 14px;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 300ms var(--ease-out), opacity 300ms ease;
}
.cookie-banner.is-visible {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
  color: var(--dark-soft);
}
.cookie-text a { color: #b9b2ff; }

.cookie-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.footer-wordmark {
  font-family: "Space Grotesk", var(--font-display);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 11rem);
  letter-spacing: -0.03em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(243, 241, 233, 0.18);
  text-align: center;
  margin: 0;
  padding-bottom: 0.05em;
  user-select: none;
}

.footer-wordmark-script {
  font-family: "Gwendolyn", cursive;
  font-weight: 700;
  -webkit-text-stroke: 1px rgba(185, 178, 255, 0.4);
  letter-spacing: 0;
}

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

@media (max-width: 980px) {
  .hero h1 { max-width: none; }
  .shift-grid { grid-template-columns: 1fr; }
  .transparency-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .process { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-tile-wide { grid-column: 1 / -1; }
  .study-layout { grid-template-columns: 1fr; }
  .onboarding-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-final-inner { padding: 40px 32px; }
}

@media (max-width: 620px) {
  .nav { display: none; }
  .nav-pill .btn-small { display: none; }
  .menu-toggle { display: flex; }
  .nav-pill { width: 100%; justify-content: space-between; }
  .section { padding: 64px 0; }
  .hero { padding: 32px 0 48px; }
  .checklist { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .onboarding-grid { grid-template-columns: 1fr; }
  .mobile-menu nav a { font-size: 28px; }
  .phone-stage { margin-top: 40px; }
}
