/* ================================================================
   mattymoe.ai · shared editorial design system
   Used by all top-level pages. Components are reusable; pages
   compose them. Keep this file the single source of truth.
   ================================================================ */

:root {
  color-scheme: light;          /* prevent browser auto-dark-mode inversion */
  --bg:           #FAF7F0;
  --surface:      #FFFFFF;
  --surface-warm: #F3EDE2;
  --surface-deep: #ECE3D2;
  --text:         #111111;
  --muted:        #5F5A52;
  --border:       rgba(17,17,17,0.12);
  --border-strong:rgba(17,17,17,0.24);
  --accent:       #3C5D3D;
  --accent-soft:  rgba(60,93,61,0.08);
  --accent-dark:  #111111;
  --accent-text:  #FFFFFF;

  --serif: "Fraunces","Source Serif 4",Georgia,serif;
  --sans:  "Geist","Source Sans 3",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;

  --maxw: 1180px;
  --maxw-narrow: 760px;
  --radius: 18px;
  --radius-lg: 24px;
  --radius-sm: 10px;

  /* Warm-tinted shadows (carry the cream hue, never pure black) */
  --shadow-sm: 0 1px 2px rgba(60,45,20,0.05), 0 2px 6px rgba(60,45,20,0.04);
  --shadow-md: 0 2px 4px rgba(60,45,20,0.05), 0 14px 30px rgba(60,45,20,0.07);
  --shadow-lg: 0 4px 8px rgba(60,45,20,0.06), 0 30px 60px rgba(60,45,20,0.10);
  --shadow-accent: 0 12px 28px rgba(60,93,61,0.20);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden; /* mobile safety: no accidental horizontal scroll/clip */
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
  padding-top: 76px;
  position: relative;
}

/* Premium grain: breaks the flat-cream sterility. Fixed, non-interactive. */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

/* Typography polish — balanced headlines, no orphans in body */
h1, h2, h3, .section-title, .band-head h2, .hero-mav h1 { text-wrap: balance; }
p, .hero-sub, .section-sub { text-wrap: pretty; }

.serif { font-family: var(--serif); }
.sans  { font-family: var(--sans); }

/* ================================================================
   NAV
   ================================================================ */
/* Nav morphs into a floating pill on scroll (restored from v1).
   At top: full-width translucent bar. Scrolled: the bar dissolves and
   .nav-inner contracts into a centered, floating, rounded pill. */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding-top: 0;
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
  transition: background .35s cubic-bezier(.4,0,.2,1),
              border-color .35s cubic-bezier(.4,0,.2,1),
              padding-top .35s cubic-bezier(.4,0,.2,1);
}
.nav.scrolled {
  background: transparent;
  border-bottom-color: transparent;
  padding-top: 14px;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  border: 1px solid transparent;
  border-radius: 0;
  transition: max-width .35s cubic-bezier(.4,0,.2,1),
              padding .35s cubic-bezier(.4,0,.2,1),
              background .35s cubic-bezier(.4,0,.2,1),
              border-color .35s cubic-bezier(.4,0,.2,1),
              border-radius .35s cubic-bezier(.4,0,.2,1),
              box-shadow .35s cubic-bezier(.4,0,.2,1);
}
.nav.scrolled .nav-inner {
  max-width: min(980px, calc(100vw - 36px));
  padding: 10px 12px 10px 20px;
  background: color-mix(in oklab, var(--bg) 82%, transparent);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-color: var(--border-strong);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(20,18,15,0.12), inset 0 1px 0 rgba(255,255,255,0.55);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1;
  color: var(--text);
  transition: opacity .15s ease;
}
.brand:hover { opacity: 0.72; }
/* MM monogram badge — forest-green logomark. Nav shows it solo; footer pairs it with the wordmark. */
.brand img {
  display: block;
  width: 34px; height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
}
.nav .brand img { width: 40px; height: 40px; }
.brand em {
  font-style: normal;
  color: var(--accent);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-left: 1px;
}

.nav-links {
  display: flex; align-items: center; gap: 6px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.nav-links a {
  padding: 8px 12px;
  border-radius: 999px;
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--text); background: rgba(17,17,17,0.05); }
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(17,17,17,0.06);
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent);
  color: var(--accent-text);
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--accent);
  transition: transform .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(60,93,61,0.22); }
.nav-cta .arrow { font-family: var(--sans); font-weight: 400; }

.nav-burger {
  display: none;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--text);
  align-items: center;
  gap: 6px;
}
.nav-burger:hover { border-color: var(--border-strong); }

.nav-drawer {
  position: fixed;
  top: 74px; left: 16px; right: 16px;
  z-index: 49;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(17,17,17,0.10);
  padding: 10px;
  display: none;
  flex-direction: column;
  gap: 2px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 14.5px;
  font-weight: 500;
}
.nav-drawer a:hover { background: var(--surface-warm); }
.nav-drawer .drawer-cta {
  margin-top: 4px;
  background: var(--accent);
  color: var(--accent-text);
  text-align: center;
  border-radius: 999px;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { display: none; }
}

/* ================================================================
   LAYOUT
   ================================================================ */
main { display: block; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--maxw-narrow); margin: 0 auto; padding: 0 24px; }

section.section { padding: 96px 0; position: relative; }
section.section.tight { padding: 64px 0; }
section.section + section.section { padding-top: 0; }

.section-head {
  margin-bottom: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 32px;
  align-items: end;
}
.section-head.center { grid-template-columns: 1fr; text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.section-head.center .section-sub { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.section-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.02em;
  margin: 14px 0 0;
  color: var(--text);
}
.section-title em { font-style: normal; color: var(--accent); }
.section-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 52ch;
}

@media (max-width: 820px) {
  section.section { padding: 64px 0; }
  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .section-title { font-size: clamp(28px, 8vw, 38px); }
  .section-sub { font-size: 16px; }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(60,93,61,0.22);
}
.btn-dark {
  background: var(--text);
  color: var(--accent-text);
  border-color: var(--text);
}
.btn-dark:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(17,17,17,0.22); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-ghost:hover { background: rgba(17,17,17,0.04); border-color: var(--text); }
.btn-link {
  padding: 0;
  background: transparent;
  border: 0;
  color: var(--text);
  font-weight: 500;
  font-size: 14.5px;
  border-bottom: 1px solid var(--border-strong);
  border-radius: 0;
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}
.btn-link:hover { color: var(--accent); border-color: var(--accent); }
.btn .arrow { font-weight: 400; transition: transform .15s ease; }
.btn:hover .arrow { transform: translateX(2px); }

/* ================================================================
   HERO (editorial)
   ================================================================ */
.hero {
  padding: 72px 0 56px;
}
.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero-copy { max-width: 38rem; }
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 18px 0 24px;
  color: var(--text);
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero h1 .line { display: block; }
.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 52ch;
}
.hero-ctas {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
}
.hero-meta {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}
.hero-meta a { color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 1px; }
.hero-meta a:hover { border-color: var(--text); }

.hero-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 0 rgba(17,17,17,0.04), 0 18px 40px rgba(17,17,17,0.05);
}
.hero-card .label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-card .price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 38px;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--text);
}
.hero-card .price del { color: var(--muted); font-size: 18px; margin-left: 8px; }
.hero-card .price em { font-style: normal; color: var(--accent); }
.hero-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0;
  color: var(--text);
}
.hero-card ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hero-card li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.hero-card li::before {
  content: "";
  position: absolute; left: 0; top: 10px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.hero-card .btn { width: 100%; }
.hero-card .note {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
  letter-spacing: 0.02em;
}

@media (max-width: 860px) {
  .hero { padding: 40px 0 32px; }
  .hero .container { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: clamp(38px, 10vw, 56px); }
  .hero-sub { font-size: 16px; }
}

/* ================================================================
   PROSE (used inside narrow pages like /start-here)
   ================================================================ */
.prose {
  max-width: 66ch;
  margin: 0 auto;
}
.prose h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 56px 0 14px;
  color: var(--text);
}
.prose h2 em { font-style: normal; color: var(--accent); }
.prose h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 36px 0 10px;
  color: var(--text);
}
.prose p, .prose li {
  font-size: 17px;
  line-height: 1.65;
  color: #2A2620;
  margin: 14px 0;
}
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--accent); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.prose a:hover { color: var(--text); }
.prose blockquote {
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 18px;
  margin: 20px 0;
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: var(--text);
}
.prose code {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", monospace;
  font-size: 14px;
  background: rgba(17,17,17,0.06);
  padding: 1px 6px;
  border-radius: 4px;
}

/* ================================================================
   PRODUCT CARDS / OFFER LADDER
   ================================================================ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
@media (max-width: 720px) { .card-grid { grid-template-columns: 1fr; } }

.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}
.product-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  box-shadow: 0 18px 40px rgba(17,17,17,0.06);
}
.product-card .row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
}
.product-card .tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-card .price {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  color: var(--text);
}
.product-card .price.muted { color: var(--muted); font-size: 13px; font-family: var(--sans); font-weight: 500; letter-spacing: 0.02em; }
.product-card h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 4px 0 0;
  color: var(--text);
}
.product-card h3 em { font-style: normal; color: var(--accent); }
.product-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  flex: 1;
}
.product-card .cta {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color .15s ease, border-color .15s ease;
}
.product-card:hover .cta { color: var(--accent); border-color: var(--accent); }
.product-card.featured {
  background: var(--surface-warm);
  border-color: var(--border-strong);
  position: relative;
}
.product-card.featured::before {
  content: "";
  position: absolute; top: 0; left: 24px; right: 24px;
  height: 3px;
  background: var(--accent);
  border-radius: 0 0 3px 3px;
}
.product-card.featured .tag { color: var(--accent); }
.product-card.featured h3 em { color: var(--accent); }
.product-card.featured .price em { color: var(--accent); }
.product-card.featured .cta { color: var(--text); border-color: var(--accent); }
.product-card.featured:hover { border-color: var(--accent); }
.product-card.featured:hover .cta { color: var(--accent); }
.product-card.featured ul li { color: var(--muted) !important; }
.product-card.featured ul li::before { background: var(--accent) !important; }
.product-card.coming { opacity: 0.78; pointer-events: none; }
.product-card.coming .cta { color: var(--muted); }

/* ================================================================
   HOW IT WORKS (3-step strip)
   ================================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 14px; } }
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.step .num {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
}
.step h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.step p { margin: 0; font-size: 15px; color: var(--muted); line-height: 1.55; }

/* ================================================================
   BULLETS / FEATURES LIST
   ================================================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 32px;
}
@media (max-width: 720px) { .feature-grid { grid-template-columns: 1fr; gap: 14px; } }
.feature {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}
.feature .dot {
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 9px;
  justify-self: center;
}
.feature h5 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.005em;
  margin: 0 0 4px;
  color: var(--text);
}
.feature p { margin: 0; font-size: 14.5px; color: var(--muted); line-height: 1.55; }

/* ================================================================
   TOOL STRIP
   ================================================================ */
.tool-strip {
  background: var(--surface-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.tool-strip .label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tool-strip .tools { display: flex; gap: 22px; flex-wrap: wrap; }
.tool-strip .tool {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.005em;
  color: var(--text);
}
.tool-strip .tool em { font-style: normal; color: var(--accent); }
.tool-strip .more {
  font-size: 13px;
  color: var(--muted);
  font-style: italic;
}

/* ================================================================
   COLUMNS (who's for / not for, etc)
   ================================================================ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 720px) { .two-col { grid-template-columns: 1fr; } }
.col {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.col.dashed { background: transparent; border-style: dashed; }
.col h4 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  color: var(--text);
}
.col ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.col li {
  font-size: 15px;
  color: var(--muted);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.col li::before {
  content: "→";
  position: absolute; left: 0; top: 0;
  color: var(--accent);
  font-weight: 500;
}
.col.dashed li::before { content: "×"; color: var(--muted); }

/* ================================================================
   VALUE ANCHOR TABLE
   ================================================================ */
.value-table {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.vt-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-bottom: 1px solid var(--border);
}
.vt-row:last-child { border-bottom: 0; }
.vt-row > div { padding: 18px 24px; font-size: 15px; color: var(--muted); }
.vt-row > div:first-child { border-right: 1px solid var(--border); color: var(--text); }
.vt-row.header > div { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 14px 24px; background: var(--surface-warm); }
.vt-row .price {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--text);
}
.vt-row.kit { background: var(--text); color: #fff; border: 0; }
.vt-row.kit > div { border-color: rgba(255,255,255,0.18); color: rgba(255,255,255,0.78); }
.vt-row.kit > div:first-child { color: #fff; }
.vt-row.kit .price { color: #fff; }
.vt-row.kit .price em { color: #fff; font-style: normal; }
@media (max-width: 640px) {
  .vt-row > div { padding: 14px 18px; font-size: 14px; }
  .vt-row.header > div { padding: 12px 18px; }
}

/* ================================================================
   PRICING CARD
   ================================================================ */
.pricing {
  background: var(--text);
  color: #fff;
  border-radius: 20px;
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.pricing::before {
  content: "";
  position: absolute;
  right: -30%; bottom: -50%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: 0.34;
  pointer-events: none;
}
@media (max-width: 860px) { .pricing { grid-template-columns: 1fr; padding: 36px 28px; gap: 32px; } }
.pricing h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 14px 0 14px;
  color: #fff;
}
.pricing h2 em { font-style: normal; color: var(--accent-text); opacity: 0.86; }
.pricing .eyebrow { color: rgba(255,255,255,0.6); }
.pricing p { color: rgba(255,255,255,0.76); margin: 0; font-size: 15.5px; line-height: 1.55; max-width: 42ch; }
.pricing-block {
  position: relative; z-index: 1;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.pricing-block .price-row { display: flex; align-items: baseline; gap: 12px; }
.pricing-block .price-now {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fff;
}
.pricing-block .price-now em { font-style: normal; color: var(--accent-text); }
.pricing-block .price-was {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  text-decoration: line-through;
}
.pricing-block .price-tag {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.pricing-block ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.pricing-block li {
  font-size: 14px; color: rgba(255,255,255,0.84);
  padding-left: 18px; position: relative; line-height: 1.5;
}
.pricing-block li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 6px; height: 6px; border-radius: 50%; background: #fff;
}
.pricing-block .btn { margin-top: 8px; }
.pricing-block .fine {
  font-size: 12px; color: rgba(255,255,255,0.55);
  letter-spacing: 0.02em; text-align: center;
}

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
  cursor: pointer;
}
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--text);
}
.faq-q em { font-style: normal; color: var(--accent); }
.faq-q .plus {
  width: 24px; height: 24px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  flex-shrink: 0;
}
.faq-item.open .plus { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, margin .35s ease;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 420px; margin-top: 14px; }
.faq-a a { color: var(--text); border-bottom: 1px solid var(--border-strong); padding-bottom: 1px; }
.faq-a a:hover { color: var(--accent); border-color: var(--accent); }

/* ================================================================
   FORMS
   ================================================================ */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input, .field select, .field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  font-size: 15px;
  color: var(--text);
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(60,93,61,0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.field select { appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' stroke='%235F5A52' stroke-width='1.5' fill='none'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }

.inline-form {
  display: flex; gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px;
  max-width: 480px;
  box-shadow: 0 1px 0 rgba(17,17,17,0.04);
}
.inline-form input {
  flex: 1; border: 0; background: transparent;
  padding: 10px 14px;
  font: inherit; font-size: 15px;
  color: var(--text);
  outline: none;
}
.inline-form input::placeholder { color: var(--muted); }
.inline-form button {
  background: var(--accent); color: var(--accent-text);
  border: 0; padding: 10px 18px;
  border-radius: 999px;
  font-weight: 500; font-size: 14px;
  white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease;
}
.inline-form button:hover { transform: translateY(-1px); box-shadow: 0 8px 20px rgba(60,93,61,0.22); }
.inline-form button:disabled { opacity: 0.6; transform: none; cursor: not-allowed; }

.form-status { font-size: 12.5px; color: var(--muted); min-height: 16px; letter-spacing: 0.02em; }
.form-status.error { color: #B0341C; }
.form-status.ok { color: #1A6B2E; }

/* ================================================================
   CTA CARD (final CTA / contact)
   ================================================================ */
.cta-card {
  background: var(--text);
  color: #fff;
  border-radius: 20px;
  padding: 64px 48px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: "";
  position: absolute;
  right: -30%; bottom: -60%;
  width: 80%; aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: 0.34;
  pointer-events: none;
}
@media (max-width: 860px) { .cta-card { grid-template-columns: 1fr; padding: 40px 28px; gap: 32px; } }
.cta-card h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 14px 0 16px;
  color: #fff;
}
.cta-card h2 em { font-style: normal; color: var(--accent-text); opacity: 0.86; }
.cta-card p { color: rgba(255,255,255,0.76); margin: 0; max-width: 40ch; font-size: 15.5px; line-height: 1.6; }
.cta-card .eyebrow { color: rgba(255,255,255,0.6); }
.cta-card .actions { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; }
.cta-card .actions .btn { width: 100%; }
.cta-card .meta { font-size: 12.5px; color: rgba(255,255,255,0.6); margin-top: 6px; text-align: center; letter-spacing: 0.04em; }
.cta-card .meta a { color: #fff; border-bottom: 1px solid rgba(255,255,255,0.36); padding-bottom: 1px; }

/* dark form variant inside cta-card */
.cta-card .field input, .cta-card .field select, .cta-card .field textarea {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.18);
  color: #fff;
}
.cta-card .field input::placeholder, .cta-card .field textarea::placeholder { color: rgba(255,255,255,0.4); }
.cta-card .field input:focus, .cta-card .field select:focus, .cta-card .field textarea:focus {
  border-color: var(--accent-text);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}
.cta-card .field label { color: rgba(255,255,255,0.6); }
.cta-card .field select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' stroke='rgba(255,255,255,0.55)' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 13px 13px;
  padding-right: 40px;
}
.cta-card .form-status { color: rgba(255,255,255,0.6); }
.cta-card .form-status.error { color: #FFA89A; }
.cta-card .form-status.ok { color: #9CE5AE; }

/* ================================================================
   FOOTER
   ================================================================ */
footer.site-footer {
  margin-top: 96px;
  padding: 56px 0;
  border-top: 1px solid var(--border);
}
footer.site-footer .footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) {
  footer.site-footer .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer.site-footer .footer-brand { grid-column: 1 / -1; }
}
footer.site-footer .footer-brand .brand { font-size: 22px; }
footer.site-footer .footer-brand p {
  margin: 12px 0 0;
  font-size: 14.5px;
  color: var(--muted);
  max-width: 36ch;
  line-height: 1.55;
}
footer.site-footer h6 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
footer.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
footer.site-footer ul a {
  font-size: 14.5px;
  color: var(--text);
  font-weight: 500;
  transition: color .15s ease;
}
footer.site-footer ul a:hover { color: var(--accent); }
footer.site-footer .legal {
  max-width: var(--maxw);
  margin: 36px auto 0;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--muted);
}
footer.site-footer .legal a:hover { color: var(--text); }

/* ================================================================
   VAULT MODAL (preserved — gates Notion playbook behind subscribe)
   ================================================================ */
.vault-modal {
  position: fixed; inset: 0; z-index: 200;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.vault-modal.open { display: flex; animation: vmFade .25s ease-out; }
@keyframes vmFade { from { opacity: 0; } to { opacity: 1; } }
.vault-backdrop {
  position: absolute; inset: 0;
  background: rgba(17,17,17,0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.vault-card {
  position: relative; z-index: 1;
  max-width: 480px; width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px 28px;
  text-align: center;
  animation: vmIn .35s cubic-bezier(.2,.8,.2,1);
  box-shadow: 0 30px 80px rgba(17,17,17,0.25);
}
@keyframes vmIn { from { transform: translateY(20px) scale(.98); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.vault-close {
  position: absolute; top: 12px; right: 12px;
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  font-size: 18px; color: var(--muted);
  display: grid; place-items: center; cursor: pointer;
  line-height: 1;
}
.vault-close:hover { border-color: var(--text); color: var(--text); }
.vault-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}
.vault-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  color: var(--text);
}
.vault-title em { font-style: normal; color: var(--accent); }
.vault-sub {
  font-size: 14.5px;
  color: var(--muted);
  margin: 0 0 22px;
  line-height: 1.55;
}
.vault-form { display: flex; flex-direction: column; gap: 10px; margin: 0 0 14px; }
.vault-form input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font: inherit; font-size: 14.5px;
  background: var(--surface); color: var(--text);
  outline: none;
}
.vault-form input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(60,93,61,0.12); }
.vault-form button {
  background: var(--accent); color: var(--accent-text);
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 0; font: inherit; font-size: 14.5px; font-weight: 500;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vault-form button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(60,93,61,0.22); }
.vault-form button:disabled { opacity: .6; transform: none; cursor: not-allowed; }
.vault-note { font-size: 12px; color: var(--muted); margin: 0; }
.vault-note a { color: var(--text); text-decoration: underline; }
.vault-cta {
  display: block;
  background: var(--accent); color: var(--accent-text);
  padding: 16px 20px;
  border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 500;
  border: 0; width: 100%; margin: 8px 0 14px;
  text-decoration: none; text-align: center;
  transition: transform .15s ease, box-shadow .15s ease;
}
.vault-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(60,93,61,0.28); }

/* ================================================================
   MISC
   ================================================================ */
.divider { height: 1px; background: var(--border); margin: 0; border: 0; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.kicker .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(60,93,61,0.2);
  animation: kdot 2.4s ease-in-out infinite;
}
@keyframes kdot { 0%,100% { box-shadow: 0 0 0 3px rgba(60,93,61,0.2); } 50% { box-shadow: 0 0 0 6px rgba(60,93,61,0.05); } }
.kicker em { font-style: normal; font-weight: 500; color: var(--text); text-transform: none; letter-spacing: 0; font-size: 13px; }

.small { font-size: 13px; color: var(--muted); }

/* ================================================================
   MAV-STYLE COMPONENTS (2026-05-29 redesign)
   ================================================================ */

/* Band: one-idea-per-section wrapper, generous air, centered head */
.band { padding: 104px 0; }
.band.tight { padding: 72px 0; }
.band + .band { padding-top: 0; }
@media (max-width: 820px){ .band { padding: 64px 0; } }

.band-head {
  max-width: 720px;
  margin: 0 0 48px;
}
.band-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.band-head .eyebrow { margin-bottom: 14px; }
.band-head h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.05;
  letter-spacing: -0.022em;
  margin: 0;
  color: var(--text);
}
.band-head h2 em { font-style: normal; color: var(--accent); }
.band-head p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 16px 0 0;
  max-width: 60ch;
}
.band-head.center p { margin-left: auto; margin-right: auto; }

/* Typewriter rotator (prompts → workflows → tools …) */
.type-rotate { white-space: nowrap; }
.type-word { color: var(--accent); }
.type-caret {
  display: inline-block;
  width: 2px;
  height: 0.92em;
  margin-left: 3px;
  vertical-align: -0.08em;
  background: var(--accent);
  border-radius: 1px;
  animation: type-blink 1s steps(1) infinite;
}
@keyframes type-blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .type-caret { animation: none; opacity: 0; }
}

.band-actions { margin-top: 36px; display: flex; gap: 12px; flex-wrap: wrap; }
.band-head.center + .band-actions, .band-actions.center { justify-content: center; }

/* HERO (Mav portrait pattern) */
.hero-mav { padding: 64px 0 72px; }
.hero-mav .container {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 56px;
  align-items: center;
}
.hero-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface-warm);
  border: 1px solid color-mix(in oklab, var(--border) 50%, transparent);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 4;
}
.hero-portrait img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-stack { max-width: 40rem; }
.name-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid rgba(60,93,61,0.18);
  padding: 7px 14px; border-radius: 999px;
}
.hero-mav h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.026em;
  margin: 20px 0 20px;
  color: var(--text);
}
.hero-mav h1 em { font-style: normal; color: var(--accent); }
.hero-mav .hero-sub {
  font-size: 18px; line-height: 1.58; color: var(--muted);
  margin: 0 0 28px; max-width: 52ch;
}
.hero-mav .hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Social icon row */
.social-row { display: flex; gap: 10px; align-items: center; margin-top: 28px; }
.social-row a {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  color: var(--text);
  transition: transform .15s ease, border-color .15s ease, background .15s ease, color .15s ease;
}
.social-row a:hover { transform: translateY(-2px); border-color: var(--accent); background: var(--accent); color: #fff; }
.social-row svg { width: 18px; height: 18px; fill: currentColor; display: block; }

@media (max-width: 860px){
  .hero-mav { padding: 28px 0 40px; }
  .hero-mav .container { grid-template-columns: 1fr; gap: 32px; }
  .hero-portrait { max-width: 360px; margin: 0 auto; }
  .hero-stack { text-align: left; }
}

/* Resource cards (homepage featured + resources page library) */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 20px;
}
@media (max-width: 900px){ .resource-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .resource-grid { grid-template-columns: 1fr; } }
/* Centered 2-up variant (Free Resources: only two cards) */
.resource-grid--center { grid-template-columns: repeat(2, minmax(0,1fr)); max-width: 720px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px){ .resource-grid--center { grid-template-columns: 1fr; } }
.resource-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--border) 55%, transparent);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.resource-card:hover { transform: translateY(-4px); border-color: color-mix(in oklab, var(--accent) 35%, var(--border)); box-shadow: var(--shadow-lg); }
.resource-card:active { transform: translateY(-1px); transition-duration: .08s; }
.resource-card .thumb { aspect-ratio: 16 / 10; background: var(--surface-deep); overflow: hidden; }
.resource-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.resource-card:hover .thumb img { transform: scale(1.04); }
/* editorial (thumb-less) card: accent hairline at top of the body */
.resource-card .body { padding: 26px 26px 28px; display: flex; flex-direction: column; gap: 11px; flex: 1; position: relative; }
.resource-card > .body:first-child::before {
  content: ""; position: absolute; top: 0; left: 26px; width: 28px; height: 2px;
  background: var(--accent); border-radius: 2px;
}
.resource-card .tag {
  font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase;
  color: var(--accent);
}
.resource-card h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 23px; letter-spacing: -0.018em; line-height: 1.16; margin: 0; color: var(--text);
}
.resource-card h3 em { font-style: normal; color: var(--accent); }
.resource-card p { font-size: 14.5px; line-height: 1.58; color: var(--muted); margin: 0; flex: 1; }
.resource-card .go { font-size: 13.5px; font-weight: 600; color: var(--text); margin-top: 6px; transition: color .2s ease, transform .2s ease; }
.resource-card:hover .go { color: var(--accent); transform: translateX(3px); }

/* Solution tiles (4-up) */
.solution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px){ .solution-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .solution-grid { grid-template-columns: 1fr; } }
.solution-tile {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--border) 55%, transparent);
  border-radius: var(--radius);
  padding: 26px;
  display: flex; flex-direction: column; gap: 9px;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), box-shadow .28s ease, border-color .28s ease;
}
.solution-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: color-mix(in oklab, var(--accent) 30%, var(--border)); }
.solution-tile h4 {
  font-family: var(--serif); font-weight: 400; font-size: 21px;
  letter-spacing: -0.012em; margin: 0; color: var(--text);
}
.solution-tile p { font-size: 14px; line-height: 1.55; color: var(--muted); margin: 0; }
/* 3-up variant (AI Solutions tiers) — own breakpoints so it collapses on mobile */
.solution-grid.tri { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px){ .solution-grid.tri { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px){ .solution-grid.tri { grid-template-columns: 1fr; } }

/* Logo wall */
.logo-wall {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; align-items: center;
}
@media (max-width: 760px){ .logo-wall { grid-template-columns: repeat(3,1fr); } }
@media (max-width: 480px){ .logo-wall { grid-template-columns: repeat(2,1fr); gap: 12px; } }
.logo-wall .cell {
  min-width: 0; /* allow cells to shrink inside the grid track */
  background: color-mix(in oklab, var(--surface) 70%, var(--bg));
  border: 1px solid color-mix(in oklab, var(--border) 45%, transparent);
  border-radius: var(--radius-sm);
  aspect-ratio: 5 / 3;
  display: grid; place-items: center;
  padding: 18px;
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background .25s ease;
}
@media (max-width: 480px){ .logo-wall .cell { padding: 12px; } .logo-wall .cell span { font-size: 16px; } }
.logo-wall .cell:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); background: var(--surface); }
.logo-wall .cell img {
  max-height: 36px; max-width: 100%;
  filter: grayscale(1); opacity: 0.6;
  transition: filter .2s ease, opacity .2s ease;
}
.logo-wall .cell:hover img { filter: grayscale(0); opacity: 1; }
.logo-wall .cell span {
  font-family: var(--serif); font-size: 19px; color: var(--muted); letter-spacing: -0.01em;
  transition: color .2s ease;
}
.logo-wall .cell:hover span { color: var(--text); }

/* Logo marquee — infinite scrolling row of real tool logos */
.fineprint { display: block; margin-top: 8px; font-size: 13.5px; color: var(--muted-2, var(--muted)); opacity: 0.85; }
.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 8px;
  padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 30s linear infinite;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
@keyframes logo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-chip {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 12px;
  margin-right: 16px;
  padding: 11px 22px 11px 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
}
.logo-chip img {
  width: 30px; height: 30px;
  border-radius: 7px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-chip span {
  font-family: var(--serif); font-size: 19px; color: var(--text); letter-spacing: -0.01em;
}
@media (prefers-reduced-motion: reduce) {
  .logo-track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* Favorite tools grid */
.tool-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 900px){ .tool-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 520px){ .tool-grid { grid-template-columns: 1fr; } }
.tool-tile {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--border) 55%, transparent);
  border-radius: var(--radius);
  padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  text-decoration: none; color: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform .28s cubic-bezier(.2,.7,.2,1), border-color .28s ease, box-shadow .28s ease;
}
.tool-tile:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--accent) 30%, var(--border)); box-shadow: var(--shadow-md); }
.tool-tile:active { transform: translateY(-1px); transition-duration: .08s; }
.tool-tile .go { transition: transform .2s ease; }
.tool-tile:hover .go { transform: translateX(3px); }
.tool-tile .tool-name { font-family: var(--serif); font-size: 19px; letter-spacing: -0.01em; color: var(--text); }
.tool-tile p { font-size: 13.5px; line-height: 1.5; color: var(--muted); margin: 0; flex: 1; }
.tool-tile .go { font-size: 13px; font-weight: 500; color: var(--accent); }

/* Resources filter bar (tool + topic chips) */
.filter-bar { display: flex; flex-direction: column; gap: 14px; margin: 0 0 12px; }
.filter-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter-row .filter-label {
  font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted); margin-right: 4px;
}
.filter-chip {
  display: inline-flex; align-items: center; gap: 7px;
  font: inherit; font-size: 13.5px; font-weight: 500;
  padding: 7px 15px; border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: transparent; color: var(--text);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.filter-chip img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; flex-shrink: 0; }
.filter-chip:hover { border-color: var(--accent); color: var(--accent); }
.filter-chip.active { background: var(--accent); color: #fff; border-color: var(--accent); }
.filter-count { font-size: 13px; color: var(--muted); margin: 6px 0 28px; }
.res-group { margin-bottom: 44px; }
.res-group.hidden { display: none; }
.res-group h3.group-title {
  font-family: var(--serif); font-weight: 400; font-size: 26px; letter-spacing: -0.015em;
  margin: 0 0 4px; color: var(--text);
}
.res-group .group-count { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 20px; }
.resource-card.hidden { display: none; }

/* Big stat row (brand page) */
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 700px){ .stat-row { grid-template-columns: 1fr; } }
.stat {
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--border) 50%, transparent);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.stat .num {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(36px, 5vw, 54px); letter-spacing: -0.025em; line-height: 1;
  color: var(--text);
}
.stat .num em { font-style: normal; color: var(--accent); }
.stat .lbl { font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
