/* ModularMail — design tokens + base */

:root {
  /* Palette */
  --cream: #f6f2ea;
  --cream-2: #efe9dd;
  --ink: #1a1714;
  --ink-soft: #2a2520;
  --ink-2: #3a3631;
  --muted: #6b655d;
  --muted-2: #9a9389;
  --line: #e1d9c9;
  --line-soft: #ece4d3;
  --accent: #d97757;
  --accent-ink: #1a1714;
  --accent-soft: rgba(217, 119, 87, 0.12);
  --accent-strong: #b85a3d;
  --plum: #311539;
  --plum-light: #c9a3d6;

  /* Type */
  --serif: "Fraunces", "Tiempos Headline", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Density */
  --section-y: 120px;
  --gap: 24px;
  --radius: 12px;
  --radius-lg: 16px;

  --max: 1240px;
  --max-narrow: 980px;
}

[data-density="compact"] {
  --section-y: 80px;
  --gap: 18px;
}
[data-density="roomy"] {
  --section-y: 160px;
  --gap: 28px;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

button {
  font-family: inherit;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--accent);
  color: white;
}

/* Type primitives */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.018em;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.eyebrow.muted {
  color: var(--muted);
}

.eyebrow .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.h-display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
}

.h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.6vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.022em;
  margin: 0;
}

.h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.3;
  letter-spacing: -0.005em;
  margin: 0;
}

.lead {
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
  text-wrap: pretty;
}

.body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.accent {
  color: var(--accent);
  font-style: italic;
}

/* Layout */
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

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

section.section {
  padding: var(--section-y) 0;
  position: relative;
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  margin-bottom: 56px;
}

.section-head .eyebrow {
  margin-bottom: 4px;
}

.section-head .h1 {
  max-width: none;
}

.section-head.left {
  align-items: flex-start;
  text-align: left;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 500;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.btn-primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: transparent;
}
.btn-ghost:hover {
  background: rgba(0,0,0,0.04);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--cream);
}

.btn-dark {
  background: var(--ink);
  color: var(--cream);
}
.btn-dark:hover {
  background: var(--ink-soft);
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
  transition: gap 0.18s ease;
}
.btn-arrow:hover {
  gap: 10px;
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover {
  border-color: var(--ink-2);
  box-shadow: 0 8px 24px -16px rgba(26, 23, 20, 0.18);
}

.card-quiet {
  background: transparent;
  border: 1px solid var(--line);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 242, 234, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--line);
}
.site-header .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-lockup {
  height: 30px;
  width: auto;
  display: block;
}
.brand-accent { color: var(--accent); }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  font-size: 14px;
  color: var(--ink-soft);
  font-weight: 500;
  position: relative;
}
.nav a:hover {
  color: var(--ink);
}
.nav a.active {
  color: var(--accent);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Hero */
.hero {
  padding-top: 80px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
[data-hero-layout="centered"] .hero-grid {
  grid-template-columns: 1fr;
  text-align: center;
  justify-items: center;
  gap: 48px;
}
[data-hero-layout="centered"] .hero-copy { max-width: 760px; }
[data-hero-layout="centered"] .hero-actions { justify-content: center; }
[data-hero-layout="centered"] .hero-meta { justify-content: center; }

[data-hero-layout="split"] .hero-grid {
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}
[data-hero-layout="split"] .hero-copy {
  padding-right: 56px;
  border-right: 1px solid var(--line);
}
[data-hero-layout="split"] .hero-visual-wrap {
  padding-left: 56px;
}

.hero-copy .eyebrow {
  margin-bottom: 22px;
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 13px;
}
.hero-meta .stars {
  color: var(--accent);
  letter-spacing: 1px;
}
.hero-meta .divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
}

/* Hero visual: email composer mock */
.composer {
  background: var(--ink);
  color: var(--cream);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 30px 80px -30px rgba(26, 23, 20, 0.45),
              0 12px 30px -12px rgba(26, 23, 20, 0.25);
  position: relative;
  font-family: var(--sans);
  border: 1px solid #2a2520;
}
.composer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 8px 12px;
  border-bottom: 1px solid #2a2520;
}
.composer-bar .dots {
  display: flex;
  gap: 6px;
}
.composer-bar .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: #3a3530;
}
.composer-bar .dots span:nth-child(1) { background: #e0625a; }
.composer-bar .dots span:nth-child(2) { background: #e0b04f; }
.composer-bar .dots span:nth-child(3) { background: #6ab84f; }
.composer-bar .label {
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.composer-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 12px 4px;
}

.agent-log {
  background: #211d19;
  border-radius: 10px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 1px solid #2a2520;
}
.agent-log-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--muted-2);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.agent-log-head .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.6);
  animation: pulse 1.6s ease-out infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(217, 119, 87, 0); }
  100% { box-shadow: 0 0 0 0 rgba(217, 119, 87, 0); }
}

.log-line {
  display: grid;
  grid-template-columns: 16px 1fr auto;
  gap: 8px;
  align-items: baseline;
  font-size: 13px;
  color: var(--cream);
}
.log-line .check {
  color: var(--accent);
  font-size: 12px;
  line-height: 1.3;
}
.log-line .desc { color: rgba(246, 242, 234, 0.85); }
.log-line .num { color: var(--accent); font-variant-numeric: tabular-nums; font-size: 12px; }
.log-line.muted .desc { color: rgba(246, 242, 234, 0.55); }
.log-line.thinking .check {
  color: var(--accent);
  animation: spin 1.6s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes logIn { to { opacity: 1; transform: translateY(0); } }

.email-preview {
  background: var(--cream);
  color: var(--ink);
  border-radius: 10px;
  padding: 18px 18px 14px;
  border: 1px solid #2a2520;
  position: relative;
  overflow: hidden;
}
.email-preview .ep-from {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.email-preview .ep-subject {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}
.email-preview .ep-divider {
  height: 1px;
  background: var(--line);
  margin: 8px 0 12px;
}
.email-preview .ep-block {
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 8px;
}
.email-preview .ep-block-title {
  font-size: 11px;
  font-weight: 600;
  margin-bottom: 4px;
}
.email-preview .ep-line {
  height: 5px;
  background: var(--line-soft);
  border-radius: 2px;
  margin: 4px 0;
}
.email-preview .ep-line.short { width: 60%; }
.email-preview .ep-line.med { width: 82%; }
.email-preview .ep-cta {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-size: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  margin-top: 4px;
}

/* --- Illustrated newsletter preview --- */
.email-preview.newsletter {
  padding: 0;
  overflow: hidden;
  border: 1px solid #2a2520;
}
.nl-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 1px solid #2a2520;
}
.nl-logo {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: #2a2520;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nl-brand-text { flex: 1; min-width: 0; }
.nl-brand-name {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--cream);
}
.nl-brand-sub {
  font-size: 9px;
  color: rgba(246, 242, 234, 0.55);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nl-date {
  font-size: 10px;
  color: rgba(246, 242, 234, 0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.nl-hero {
  padding: 14px 14px 10px;
}
.nl-eyebrow {
  font-size: 9px;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 6px;
}
.nl-headline {
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1.18;
  color: var(--ink);
  letter-spacing: -0.018em;
  text-wrap: balance;
}

.nl-chart {
  margin: 0 14px 12px;
  padding: 12px 12px 6px;
  background: #faf6ee;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.nl-chart-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 4px;
}
.nl-chart-label {
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2px;
}
.nl-chart-stat {
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.nl-chart-stat .nl-pct {
  font-size: 14px;
  color: var(--muted);
}
.nl-chip {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  letter-spacing: 0.02em;
}
.nl-chart-svg {
  width: 100%;
  height: 44px;
  display: block;
  margin-top: 4px;
}

.nl-articles-title {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  margin: 2px 14px 8px;
}
.nl-articles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 0 14px;
}
.nl-article {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 8px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 6px;
  align-items: center;
}
.nl-thumb {
  width: 28px;
  height: 28px;
  border-radius: 5px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.nl-article-text { min-width: 0; }
.nl-article-source {
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1px;
}
.nl-article-title {
  font-size: 11px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.25;
  letter-spacing: -0.005em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nl-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 12px 14px 14px;
  margin-top: 8px;
  border-top: 1px dashed var(--line);
}
.nl-signoff {
  font-family: var(--serif);
  font-size: 11px;
  font-style: italic;
  color: var(--muted);
}
.email-preview.newsletter .ep-cta {
  margin: 0;
  padding: 5px 10px;
  background: var(--accent);
  font-weight: 500;
  font-size: 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.composer-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px 6px;
  border-top: 1px solid #2a2520;
  margin-top: 4px;
}
.composer-foot .input {
  flex: 1;
  background: #211d19;
  border: 1px solid #2a2520;
  border-radius: 8px;
  padding: 9px 12px;
  font-size: 12px;
  color: var(--muted-2);
  font-family: var(--sans);
}
.composer-foot .send {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent);
  display: grid;
  place-items: center;
  color: white;
  font-size: 14px;
}

/* --- Placeholder email preview (hero) --- */
.email-preview.ph-mail {
  padding: 0;
  overflow: hidden;
  border: 1px solid #2a2520;
  display: flex;
  flex-direction: column;
}
.ph-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: var(--line);
  width: 100%;
}
.ph-line.sm { height: 5px; }
.ph-img {
  position: relative;
  background: var(--cream-2);
  background-image: repeating-linear-gradient(
    -45deg, transparent, transparent 7px,
    rgba(26, 23, 20, 0.05) 7px, rgba(26, 23, 20, 0.05) 8px);
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
}
.ph-tag {
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: lowercase;
  color: var(--muted-2);
}
.ph-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: var(--ink);
  border-bottom: 1px solid #2a2520;
}
.ph-logo {
  width: 30px; height: 26px;
  flex-shrink: 0;
}
.ph-logo svg { width: 100%; height: 100%; display: block; }
.ph-head-lines { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.ph-head-lines .ph-line { background: rgba(246, 242, 234, 0.32); }
.ph-head-lines .ph-line.sm { background: rgba(246, 242, 234, 0.18); }
.ph-chip {
  width: 30px; height: 14px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.85;
  flex-shrink: 0;
}
.ph-hero {
  height: 124px;
  border-left: none;
  border-right: none;
  border-top: none;
}
.ph-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.ph-lines { display: flex; flex-direction: column; gap: 7px; }
.ph-btn {
  align-self: flex-start;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 8px 16px;
  border-radius: 999px;
}
.ph-block {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 12px;
  align-items: center;
}
.ph-block.rev { grid-template-columns: 1fr 74px; }
.ph-img.sm { height: 60px; border-radius: 7px; }
.ph-foot {
  margin-top: 2px;
  padding: 14px 16px 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.ph-dots { display: flex; gap: 6px; margin-bottom: 4px; }
.ph-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--muted-2);
  opacity: 0.6;
}

/* Mo character */
.mo-portrait {
  position: absolute;
  z-index: 3;
  width: 110px;
  pointer-events: none;
  filter: drop-shadow(0 18px 24px rgba(26, 23, 20, 0.18));
}

.hero-visual-wrap {
  position: relative;
}
.hero-visual-wrap .mo-portrait {
  bottom: -28px;
  left: -42px;
  width: 150px;
  transform: rotate(-4deg);
}

/* Trust strip */
.trust {
  padding: 28px 0 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}
.trust-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: center;
}
.trust-row .eyebrow.muted {
  color: var(--muted);
}
.marquee {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}
.marquee-track {
  display: inline-flex;
  gap: 10px;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  padding-right: 10px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  color: var(--ink-soft);
  background: white;
  white-space: nowrap;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pill .dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--muted-2);
  margin-right: 8px;
}

/* Problem section: quote cards */
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  margin-bottom: 56px;
}
.quote-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  display: flex;
  flex-direction: column;
}
.quote-card:hover {
  transform: translateY(-2px);
  border-color: var(--ink-2);
  box-shadow: 0 12px 24px -16px rgba(26,23,20,0.2);
}
.quote-card .mark {
  font-family: var(--serif);
  font-size: 38px;
  color: var(--accent);
  line-height: 0.4;
  margin-bottom: 12px;
}
.quote-card p {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.35;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.quote-card .who {
  margin-top: auto;
  padding-top: 16px;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}

/* Problem section: stacked editorial statements */
.problem-statements {
  max-width: 940px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2.6vw, 34px);
  text-align: center;
}
.problem-statement {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
  text-wrap: balance;
}
.problem-statement.turn {
  font-size: clamp(22px, 2.7vw, 36px);
  color: var(--muted);
  max-width: 780px;
  margin: 10px auto 0;
}
.problem-statement.turn .accent {
  color: var(--accent);
  font-style: italic;
}

.resolution {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-soft);
  letter-spacing: -0.01em;
}
.resolution strong {
  color: var(--ink);
  font-weight: 500;
}

/* Channel section */
.channel-stats {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 16px;
  margin: 56px 0 64px;
  align-items: end;
}
.channel-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  background: white;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.channel-card:hover {
  transform: translateY(-3px);
  border-color: var(--ink);
}
.channel-card.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  padding: 36px 32px;
}
.channel-card.featured .channel-name { color: var(--cream); }
.channel-card.featured .channel-pct { color: var(--accent); }
.channel-card.featured .channel-icon { color: var(--accent); }
.channel-card.featured .channel-note { color: rgba(246, 242, 234, 0.7); }

.channel-icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  color: var(--ink);
  margin-bottom: 22px;
}
.channel-card.featured .channel-icon {
  width: 56px; height: 56px;
}
.channel-pct {
  font-family: var(--serif);
  font-size: 36px;
  letter-spacing: -0.025em;
  color: var(--ink);
  line-height: 1;
}
.channel-card.featured .channel-pct {
  font-size: 80px;
}
.channel-name {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  color: var(--muted);
  margin-top: 8px;
  letter-spacing: 0.01em;
}
.channel-card.featured .channel-name {
  font-size: 18px;
  color: var(--cream);
}
.channel-note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 6px;
}

.channel-leader {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  position: absolute;
  top: 16px;
  right: 16px;
}

/* Cards: icon inline with name */
.channel-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.channel-name-row .channel-icon { margin: 0; width: auto; height: auto; }
.channel-name-row .channel-name { margin-top: 0; }
.channel-card.featured .channel-name-row { gap: 12px; }

/* Channel layout: horizontal bar chart */
.ch-bars { display: flex; flex-direction: column; gap: 16px; }
.ch-bar-row {
  display: grid;
  grid-template-columns: 176px 1fr 66px;
  gap: 20px;
  align-items: center;
}
.ch-bar-label { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ch-bar-ic { color: var(--muted); display: grid; place-items: center; flex-shrink: 0; }
.ch-bar-row.featured .ch-bar-ic { color: var(--accent); }
.ch-bar-name { font-weight: 600; font-size: 17px; color: var(--ink); letter-spacing: -0.01em; }
.ch-bar-track {
  height: 42px;
  background: rgba(26, 23, 20, 0.05);
  border-radius: 9px;
  overflow: hidden;
}
.ch-bar-fill {
  height: 100%;
  width: 0;
  background: var(--muted);
  border-radius: 9px;
  display: flex;
  align-items: center;
  padding-left: 14px;
  transition: width 0.7s cubic-bezier(0.32,0.72,0,1);
}
.ch-bar-row.featured .ch-bar-fill { background: var(--accent); }
.ch-bar-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ch-bar-pct {
  font-family: var(--serif);
  font-size: 30px;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-align: right;
}
.ch-bar-row.featured .ch-bar-pct { color: var(--accent); }
.ch-bars-foot {
  margin-top: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
}

/* Channel layout: ranked comparison rows */
.ch-rows { border-top: 1px solid var(--line); }
.ch-row {
  display: grid;
  grid-template-columns: 26px 30px minmax(150px, 1.3fr) 86px 1fr;
  gap: 20px;
  align-items: center;
  padding: 22px 6px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s ease;
}
.ch-row.featured {
  background: var(--accent-soft);
  border-radius: 10px;
  border-bottom-color: transparent;
  padding-left: 16px;
  padding-right: 16px;
  margin: 4px 0;
}
.ch-row-rank {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--muted-2);
}
.ch-row.featured .ch-row-rank { color: var(--accent); }
.ch-row-ic { color: var(--muted); display: grid; place-items: center; }
.ch-row.featured .ch-row-ic { color: var(--accent); }
.ch-row-main { min-width: 0; }
.ch-row-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
}
.ch-row-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  background: var(--accent);
  color: white;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
}
.ch-row-line { height: 6px; background: rgba(26, 23, 20, 0.07); border-radius: 4px; overflow: hidden; }
.ch-row-fill { display: block; height: 100%; background: var(--muted); border-radius: 4px; }
.ch-row.featured .ch-row-fill { background: var(--accent); }
.ch-row-pct {
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.ch-row.featured .ch-row-pct { color: var(--accent); }
.ch-row-pct .ch-row-unit { font-size: 16px; color: var(--muted); }
.ch-row-note { font-size: 13px; color: var(--muted); text-align: right; }

.ownership-block {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
.ownership-block .h2 { color: var(--cream); }
.ownership-block .body { color: rgba(246,242,234,0.75); font-size: 17px; line-height: 1.55; }
.ownership-block .body strong { color: var(--cream); font-weight: 500; }

/* Meet Mo cards */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.cap-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 240px;
}
.cap-card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -18px rgba(26,23,20,0.2);
}
.cap-card .icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 10px;
}
.cap-card .h3 { color: var(--ink); }
.cap-card .body { font-size: 15px; }

/* How it works */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
  position: relative;
}
.step-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
}
.step-num {
  font-family: var(--serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-style: italic;
}
.step-card .h2 {
  font-size: 26px;
}

/* Results section (big stats with attribution) */
.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}
.result-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: relative;
  transition: border-color 0.25s ease, transform 0.25s ease;
}
.result-card:hover {
  border-color: var(--ink-2);
  transform: translateY(-2px);
}
.result-stat {
  font-family: var(--serif);
  font-size: 42px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.result-stat .accent-num {
  color: var(--accent);
}
.result-desc {
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.4;
}
.result-who {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}
.result-who .avatar {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--sans);
}
.result-who .who-text { font-size: 12px; color: var(--muted); line-height: 1.35; }
.result-who .who-text strong { color: var(--ink); font-weight: 500; display: block; }

/* Pricing */
.pricing-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.pricing-left .h1 { color: var(--cream); margin-bottom: 24px; }
.pricing-frame {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(246,242,234,0.75);
  margin-bottom: 32px;
}
.pricing-frame strong { color: var(--cream); font-weight: 500; }
.price-tag {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 8px;
}
.price-tag .num {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.price-tag .per {
  font-size: 16px;
  color: rgba(246,242,234,0.65);
}
.price-strike {
  color: var(--muted-2);
  text-decoration: line-through;
  font-size: 14px;
  margin-bottom: 24px;
}

.feat-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: grid;
  gap: 14px;
}
.feat-list li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(246,242,234,0.85);
}
.feat-list li .check {
  color: var(--accent);
  font-weight: 600;
}
.feat-list li strong {
  color: var(--cream);
  font-weight: 500;
}

.pricing-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.pricing-fine {
  color: rgba(246,242,234,0.55);
  font-size: 12px;
}

/* Team section */
.team-block {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 56px;
  align-items: start;
}
.team-copy .h1 { margin-bottom: 24px; }
.team-copy p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0 0 16px;
}
.team-copy p.tight {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--ink);
  margin: 18px 0;
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  letter-spacing: -0.01em;
}
.team-copy .signoff {
  font-family: var(--serif);
  font-size: 22px;
  margin-top: 32px;
  color: var(--ink);
}

.team-image {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
}

/* Closing CTA */
.closing {
  background: var(--ink);
  color: var(--cream);
  padding: 140px 0 100px;
  position: relative;
  overflow: hidden;
}
.closing .h-display { color: var(--cream); }
.closing .lead { color: rgba(246,242,234,0.7); max-width: 640px; margin: 24px auto; }
.closing .closing-inner {
  text-align: center;
  position: relative;
  z-index: 2;
}
.closing .actions {
  display: inline-flex; align-items: center; gap: 12px; margin-top: 24px;
}
.closing .fine {
  color: rgba(246,242,234,0.5);
  font-size: 12px;
  margin-top: 32px;
}
.closing .mo-action {
  position: absolute;
  bottom: -10px;
  right: 6%;
  width: 240px;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 30px 40px rgba(0,0,0,0.4));
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 60px 0 32px;
  border-top: 1px solid #2a2520;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
}
.footer-grid .col h4 {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin: 0 0 18px;
  font-weight: 600;
}
.footer-grid .col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-grid .col li a {
  font-size: 14px;
  color: rgba(246,242,234,0.7);
}
.footer-grid .col li a:hover { color: var(--cream); }

.footer-brand .brand-lockup { height: 32px; }
.footer-brand p {
  margin-top: 14px;
  color: rgba(246,242,234,0.55);
  font-size: 14px;
  max-width: 32ch;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #2a2520;
  margin-top: 48px;
  padding-top: 24px;
  font-size: 12px;
  color: var(--muted-2);
}

/* Section connectors and transitions */
.dark-section {
  background: var(--ink);
  color: var(--cream);
}
.dark-section .h1, .dark-section .h2, .dark-section .h3 { color: var(--cream); }
.dark-section .body, .dark-section .lead { color: rgba(246,242,234,0.75); }
.dark-section .eyebrow.muted { color: var(--muted-2); }

/* ------- Why-it's-free card (replaces pricing card) ------- */
.free-card {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
  position: relative;
  overflow: hidden;
}
.free-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(800px 240px at 15% 0%, rgba(217, 119, 87, 0.18), transparent 60%);
  pointer-events: none;
}
.free-left { position: relative; z-index: 1; }
.free-right { position: relative; z-index: 1; }

.free-body {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(246, 242, 234, 0.78);
  margin: 18px 0 0;
}
.free-body strong { color: var(--cream); font-weight: 500; }
.free-left .pricing-cta-row { margin-top: 32px; }

.free-price {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  margin-bottom: 18px;
}
.free-price-strike {
  font-size: 13px;
  color: var(--muted-2);
  text-decoration: line-through;
  margin-bottom: 6px;
}
.free-price-num {
  font-family: var(--serif);
  font-size: 96px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--accent);
}
.free-price-sub {
  font-size: 13px;
  color: rgba(246,242,234,0.55);
  margin-top: 4px;
}

.free-includes {
  padding: 24px 28px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
}
.free-includes-title {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
  margin-bottom: 14px;
}
.free-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}
.free-includes li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  font-size: 14px;
  color: rgba(246, 242, 234, 0.85);
  align-items: center;
}
.free-includes li .check {
  color: var(--accent);
  display: inline-flex;
}

/* ------- Team video (replaces team photo slot) ------- */
.team-video {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  width: 240px;
  max-width: 100%;
  position: relative;
  position: sticky;
  top: 110px;
}
.team-video .team-video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .free-card { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .free-price-num { font-size: 72px; }
}
@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .quote-grid { display: flex; flex-direction: column; }
  .quote-card { grid-column: auto !important; margin-top: 0 !important; }
  .channel-stats { grid-template-columns: repeat(4, 1fr); }
  .cap-grid, .steps-grid, .results-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card, .ownership-block, .team-block { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .price-tag .num { font-size: 72px; }
}
@media (max-width: 720px) {
  .wrap, .wrap-narrow { padding: 0 20px; }
  .channel-stats { grid-template-columns: 1fr 1fr; }
  .cap-grid, .steps-grid, .results-grid { grid-template-columns: 1fr; }
  .nav { display: none; }
}
