/* ====================================================
   BRIOFORZ · Ghost Theme
   La fuerza de entrenar en orden
   ==================================================== */

@font-face {
  font-family: "Lustra";
  src: url("../fonts/lustra-text-bold.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Brand */
  --orange: #f75519;
  --orange-deep: #c63a0c;
  --orange-soft: #ff7a3d;
  --orange-tint: #ffece1;
  --orange-cream: #fff5ed;

  /* Neutrals */
  --ink: #0d0d0f;
  --smoke: #1a1a1d;
  --stone: #6c6c72;
  --line: #ece8de;
  --bone: #f5f2ec;
  --cream: #faf8f3;
  --white: #ffffff;

  /* Type */
  --gh-font-heading: "Lustra", "Manrope", sans-serif;
  --gh-font-body: "Manrope", system-ui, sans-serif;
  --f-display: var(--gh-font-heading);
  --f-body: var(--gh-font-body);
  --f-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Layout */
  --maxw: 1280px;
  --pad: clamp(24px, 4.5vw, 64px);
  --header-h: 76px;
  --r-sm: 14px;
  --r-md: 24px;
  --r-lg: 36px;
  --r-pill: 999px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--f-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }

.mono {
  font-family: var(--f-mono);
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  font-size: 13px;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 243, 0.78);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}
.site-header.scrolled {
  background: rgba(250, 248, 243, 0.94);
  box-shadow: 0 1px 0 rgba(13,13,15,0.05), 0 12px 32px -24px rgba(13,13,15,0.18);
}

.header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 var(--pad);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700;
  font-size: 22px;
  font-family: var(--f-display);
  font-style: italic;
  letter-spacing: -0.01em;
}
.brand-iso {
  width: 36px; height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

.primary-nav { flex: 1; }
.nav-list,
.nav {
  display: flex;
  gap: 2px;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-item { position: relative; }
.nav-link,
.nav a {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 16px;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.nav-link:hover,
.nav a:hover { background: rgba(13,13,15,0.06); }
.nav-item.has-menu .nav-link svg { transition: transform 0.2s ease; }
.nav-item.has-menu.open .nav-link svg { transform: rotate(180deg); }
.nav-item.has-menu.open > .nav-link { background: var(--ink); color: var(--cream); }

/* Mega menu */
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  width: 560px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-md);
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.45);
}
.nav-item.has-menu.open .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mega-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: lowercase;
  color: var(--orange);
  margin: 0 0 14px;
  letter-spacing: 0.05em;
}
.mega-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  color: var(--cream);
  transition: background 0.12s ease, transform 0.12s ease;
}
.mega-item:hover { background: rgba(255,255,255,0.07); transform: translateX(2px); }
.mega-num {
  font-family: var(--f-mono);
  font-size: 10px;
  color: var(--stone);
  padding-top: 3px;
  min-width: 18px;
}

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

.ghost-btn {
  display: inline-flex; align-items: center;
  padding: 11px 16px;
  font-size: 15px; font-weight: 500;
  border-radius: var(--r-pill);
  color: var(--ink);
  white-space: nowrap;
  transition: background 0.15s ease;
}
.ghost-btn:hover { background: rgba(13,13,15,0.06); }
.ghost-btn.inverted { color: var(--cream); border: 1px solid rgba(255,255,255,0.22); }
.ghost-btn.inverted:hover { background: rgba(255,255,255,0.1); }
.ghost-btn.xl { padding: 18px 28px; font-size: 16px; }

.solid-btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 15px; font-weight: 600;
  border-radius: var(--r-pill);
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
  box-shadow: 0 2px 0 rgba(0,0,0,0.05);
}
.solid-btn:hover {
  background: var(--orange);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px -8px rgba(247,85,25,0.45);
}
.solid-btn.full { width: 100%; justify-content: center; padding: 16px 22px; font-size: 16px; }
.solid-btn.xl {
  padding: 20px 32px; font-size: 17px; gap: 12px;
  background: var(--ink); color: var(--white);
}
.solid-btn.xl:hover { background: var(--white); color: var(--ink); box-shadow: 0 16px 32px -10px rgba(0,0,0,0.3); }

.ink-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 18px 28px;
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 16px;
  transition: background 0.18s ease, transform 0.18s ease;
}
.ink-btn:hover { background: var(--orange); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  border-radius: 50%;
  flex-direction: column; gap: 5px;
  justify-content: center; align-items: center;
  background: var(--ink);
  color: var(--cream);
}
.menu-toggle span { display: block; width: 18px; height: 2px; background: currentColor; }

.mobile-drawer {
  display: none;
  padding: 12px var(--pad) 28px;
  background: var(--cream);
}
.mobile-drawer.open { display: flex; flex-direction: column; gap: 2px; }
.m-link { padding: 14px 12px; font-size: 18px; border-radius: 12px; }
.m-link:hover { background: rgba(13,13,15,0.05); }
.m-cta { margin-top: 16px; justify-content: center; }

/* Ghost navigation in mobile drawer */
.mobile-drawer .nav {
  flex-direction: column;
  align-items: stretch;
  gap: 2px;
}
.mobile-drawer .nav a {
  padding: 14px 12px;
  font-size: 18px;
  border-radius: 12px;
}

/* ============ SHARED SECTION ============ */
.section-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 140px) var(--pad);
}
.section-head { max-width: 980px; margin-bottom: 64px; }
.kicker {
  margin: 0 0 22px;
  color: var(--stone);
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--orange);
}
.kicker.dark { color: rgba(255,255,255,0.7); }
.section-h2 {
  font-family: var(--f-body);
  font-size: clamp(34px, 4.5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  margin: 0 0 22px;
  text-wrap: balance;
}
.section-h2.huge {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 800;
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-transform: none;
}
.section-h2.inverted { color: var(--cream); }
.section-sub {
  font-size: clamp(18px, 1.6vw, 21px);
  color: var(--stone);
  max-width: 640px;
  margin: 0;
  line-height: 1.55;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad) 0;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
.hero-content {
  grid-column: 1;
  grid-row: 1;
  padding-bottom: clamp(40px, 7vw, 80px);
}
.hero-visual {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  align-self: stretch;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 600px;
  box-shadow: 0 24px 60px -28px rgba(13,13,15,0.25);
}
.hero-visual img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center right;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--cream) 0%, transparent 22%);
  z-index: 1;
  pointer-events: none;
}
.hero-marquee-wrap, .hero-marquee {
  grid-column: 1 / -1;
  grid-row: 2;
}

.hero-meta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: var(--white);
  color: var(--stone);
  margin-bottom: 32px;
  box-shadow: 0 1px 0 rgba(13,13,15,0.05), 0 8px 24px -12px rgba(13,13,15,0.12);
  white-space: nowrap;
}
.hero-meta .dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(247,85,25,0.2);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(247,85,25,0.18); }
  50% { box-shadow: 0 0 0 9px rgba(247,85,25,0); }
}

.hero-h1 {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-h1 em {
  font-style: italic;
  font-family: var(--f-display);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--orange);
}
.hero-h1 .hl {
  position: relative;
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 0 0.16em 0.04em;
  border-radius: 14px;
  margin-left: 0.05em;
  transform: rotate(-1.2deg);
}

.hero-lead {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--stone);
  margin: 0 0 8px;
  line-height: 1.5;
  max-width: 36ch;
}
.hero-strong {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 36px;
  color: var(--ink);
}

.hero-actions {
  display: flex; gap: 12px; flex-wrap: wrap;
  margin-bottom: 20px;
}
.hero-cta {
  background: var(--ink);
  color: var(--cream);
}
.hero-cta:hover {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 16px 32px -10px rgba(247,85,25,0.45);
}
.hero-note {
  margin: 0;
  font-size: 14px;
  color: var(--stone);
  max-width: 40ch;
}
.hero-note strong {
  color: var(--ink);
  font-weight: 700;
}

/* Marquee */
.hero-marquee {
  margin-top: 32px;
  overflow: hidden;
  margin-left: calc(-1 * var(--pad));
  margin-right: calc(-1 * var(--pad));
  padding: 32px 0;
  background: linear-gradient(180deg, transparent 0%, var(--orange-cream) 100%);
}
.marquee-track {
  display: flex; gap: 40px;
  white-space: nowrap;
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(56px, 10vw, 144px);
  line-height: 1;
  animation: marquee 32s linear infinite;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.marquee-track span { color: var(--ink); }
.marquee-track .sep {
  color: var(--orange);
  font-style: normal;
  font-family: var(--f-body);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============ PRICING ============ */
.pricing { background: var(--bone); }
.plan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.plan {
  padding: 32px 28px 28px;
  background: var(--white);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  min-height: 460px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 1px 0 rgba(13,13,15,0.04), 0 24px 48px -28px rgba(13,13,15,0.15);
}
.plan:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(13,13,15,0.04), 0 40px 80px -28px rgba(13,13,15,0.25);
}
.plan--free { background: var(--orange); color: var(--white); }
.plan--featured { background: var(--ink); color: var(--cream); }

.plan-badge {
  position: absolute;
  top: -12px; left: 24px;
  padding: 6px 14px;
  background: var(--orange);
  color: var(--white);
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  font-weight: 500;
}
.plan--featured .plan-badge { background: var(--orange); }

.plan-top {
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid currentColor;
  border-color: rgba(0,0,0,0.08);
}
.plan--free .plan-top, .plan--featured .plan-top { border-color: rgba(255,255,255,0.18); }

.plan-name {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  margin: 0 0 14px;
  letter-spacing: -0.035em;
}
.plan-price {
  margin: 0;
  display: flex; align-items: baseline; gap: 4px;
  font-family: var(--f-body);
}
.plan-price .amount {
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
}
.plan-price .per {
  font-size: 14px;
  opacity: 0.65;
  font-weight: 500;
}

.plan-for { font-size: 15px; line-height: 1.5; margin: 0 0 24px; opacity: 0.82; }
.plan--free .plan-for { color: rgba(255,255,255,0.95); opacity: 1; }
.plan--featured .plan-for { color: rgba(245,242,236,0.85); opacity: 1; }

.plan-list {
  display: flex; flex-direction: column; gap: 9px;
  font-size: 14.5px;
  margin-bottom: 28px;
}
.plan-list li {
  padding-left: 18px; position: relative;
  color: var(--stone);
  line-height: 1.45;
}
.plan-list li::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 10px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.plan--free .plan-list li { color: rgba(255,255,255,0.92); }
.plan--free .plan-list li::before { background: var(--white); }
.plan--featured .plan-list li { color: rgba(245,242,236,0.85); }
.plan--featured .plan-list li::before { background: var(--orange); }
.plan-cta {
  margin-top: auto;
  font-weight: 600;
  font-size: 14.5px;
  display: inline-flex; align-items: center;
  padding: 14px 20px;
  background: var(--bone);
  color: var(--ink);
  border-radius: var(--r-pill);
  transition: background 0.18s ease, color 0.18s ease, padding 0.18s ease;
  align-self: stretch;
  justify-content: center;
}
.plan-cta:hover { background: var(--ink); color: var(--cream); }
.plan--free .plan-cta { background: var(--white); color: var(--ink); }
.plan--free .plan-cta:hover { background: var(--ink); color: var(--cream); }
.plan--featured .plan-cta { background: var(--orange); color: var(--white); }
.plan--featured .plan-cta:hover { background: var(--white); color: var(--ink); }

/* ============ PLANS SOON ============ */
.plans-soon {
  margin-top: 48px;
  padding: 40px 48px;
  background: var(--ink);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  gap: 40px;
}
.plans-soon-label {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--orange);
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}
.plans-soon p {
  margin: 0;
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(245,242,236,0.75);
  line-height: 1.5;
  max-width: 38ch;
}
@media (max-width: 680px) {
  .plans-soon { flex-direction: column; gap: 16px; padding: 32px 28px; align-items: flex-start; }
}

/* ============ INTERIOR (gallery) ============ */
.interior { background: var(--cream); }

.gallery {
  display: flex;
  gap: 14px;
  height: 560px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.g-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--bone);
  border-radius: var(--r-md);
  text-align: left;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0;
  transition: flex 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  cursor: pointer;
}
.g-panel.active { flex: 4; background: var(--ink); }
.g-cover {
  position: absolute;
  inset: 0;
  background: var(--ink);
  transition: opacity 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.g-meta {
  position: relative;
  z-index: 2;
  padding: 28px;
  background: linear-gradient(0deg, rgba(13,13,15,0.92) 0%, transparent 100%);
  color: var(--cream);
}
.g-panel:not(.active) .g-meta {
  background: linear-gradient(0deg, rgba(13,13,15,0.95) 0%, transparent 100%);
  padding: 28px 18px;
}
.g-panel:not(.active) .g-meta h3 {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  position: absolute;
  bottom: 96px; left: 18px;
  font-size: 17px;
  white-space: nowrap;
  margin: 0;
}
.g-panel:not(.active) .g-meta p { display: none; }
.g-meta .mono { color: var(--orange); }
.g-meta h3 {
  font-family: var(--f-body);
  font-style: normal;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 8px 0 8px;
  line-height: 1.05;
}
.g-meta p { margin: 0; font-size: 15px; color: rgba(245,242,236,0.78); max-width: 44ch; line-height: 1.5; }

/* ============ PROFES (dark section) ============ */
.profes {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: -1px;
}
.profes .section-inner { position: relative; z-index: 2; }
.profes::before {
  content: "";
  position: absolute;
  top: -15%; right: -15%;
  width: 60%; height: 90%;
  background: radial-gradient(circle, var(--orange) 0%, transparent 60%);
  opacity: 0.22;
  pointer-events: none;
}
.profes::after {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 50%; height: 70%;
  background: radial-gradient(circle, var(--orange) 0%, transparent 60%);
  opacity: 0.1;
  pointer-events: none;
}

.profes-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 72px;
  align-items: start;
}
.profes-lead {
  font-size: clamp(19px, 1.6vw, 22px);
  color: rgba(245,242,236,0.82);
  max-width: 52ch;
  margin: 0 0 52px;
  line-height: 1.55;
}

.benefit-list {
  display: flex; flex-direction: column;
  margin-bottom: 56px;
}
.benefit-list li {
  display: flex; gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  align-items: baseline;
}
.benefit-list li:first-child { border-top: 1px solid rgba(255,255,255,0.12); }
.b-num {
  font-family: var(--f-body);
  font-weight: 800;
  font-size: 30px;
  color: var(--orange);
  width: 44px;
  flex-shrink: 0;
  line-height: 1;
  letter-spacing: -0.02em;
}
.benefit-list h4 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 6px;
  letter-spacing: -0.015em;
}
.benefit-list p {
  margin: 0;
  color: rgba(245,242,236,0.72);
  font-size: 16px;
  line-height: 1.55;
}

.profes-stack {
  display: flex; flex-direction: column; gap: 16px;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}
.stat-card {
  padding: 32px 28px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  position: relative;
}
.stat-card .mono { color: var(--orange); }
.stat-card strong {
  display: block;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 88px;
  font-weight: 800;
  line-height: 0.92;
  margin: 14px 0 10px;
  letter-spacing: -0.045em;
}
.stat-card p { margin: 0; color: rgba(245,242,236,0.7); font-size: 15px; line-height: 1.45; }
.stat-card.horse {
  background: var(--orange);
  border-color: var(--orange);
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}
.stat-card.horse img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ============ COMPARE TABLE ============ */
.compare { background: var(--cream); }

.compare-table {
  display: flex; flex-direction: column;
  gap: 16px;
}
.ct-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
}
.ct-head .ct-col {
  padding: 18px 24px;
  font-family: var(--f-mono);
  font-size: 13px;
  text-transform: lowercase;
  letter-spacing: 0.04em;
  background: var(--bone);
  border-radius: var(--r-pill);
  color: var(--stone);
}
.ct-head .ct-mid {
  background: var(--orange);
  color: var(--white);
}

.ct-row {
  display: grid;
  grid-template-columns: 1fr 1.2fr 1fr;
  gap: 16px;
}
.ct-row .ct-col {
  padding: 28px;
  border-radius: var(--r-md);
  display: flex; gap: 14px;
  align-items: flex-start;
  font-size: 17px;
  line-height: 1.5;
}
.ct-bad { background: var(--bone); color: var(--stone); }
.ct-good { background: var(--ink); color: var(--cream); }
.ct-result {
  background: var(--orange-tint);
  color: var(--ink);
  font-weight: 500;
}
.ct-bullet {
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
  padding-top: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ct-bad .ct-bullet { color: var(--stone); background: rgba(13,13,15,0.06); }
.ct-good .ct-bullet { color: var(--orange); background: rgba(247,85,25,0.15); }
.ct-row p { margin: 0; }

/* ============ FAQ ============ */
.faq { background: var(--cream); }
.faq-list {
  display: flex; flex-direction: column;
  gap: 12px;
  margin-bottom: 80px;
}
.faq-item {
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 1px 0 rgba(13,13,15,0.04), 0 12px 32px -28px rgba(13,13,15,0.18);
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq-item[open] {
  box-shadow: 0 1px 0 rgba(13,13,15,0.04), 0 24px 48px -28px rgba(13,13,15,0.22);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 28px 32px;
  display: flex; align-items: center; gap: 24px;
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 700;
  letter-spacing: -0.015em;
  transition: color 0.18s ease, background 0.18s ease;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: var(--bone); }
.faq-item[open] summary { color: var(--orange); padding-bottom: 12px; }

.faq-q { flex: 1; text-wrap: balance; }

.faq-icon {
  position: relative;
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--bone);
  transition: background 0.2s ease, transform 0.3s ease;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--ink);
  border-radius: 1.5px;
  top: 50%; left: 50%;
  transition: background 0.2s ease, transform 0.3s ease;
}
.faq-icon::before {
  width: 12px; height: 2px;
  transform: translate(-50%, -50%);
}
.faq-icon::after {
  width: 2px; height: 12px;
  transform: translate(-50%, -50%);
}
.faq-item[open] .faq-icon {
  background: var(--orange);
  transform: rotate(180deg);
}
.faq-item[open] .faq-icon::before { background: var(--white); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }

.faq-a {
  padding: 0 32px 32px;
  color: var(--stone);
  font-size: 17px;
  line-height: 1.65;
  max-width: 70ch;
}
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a em {
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
}
.faq-a strong {
  color: var(--ink);
  font-weight: 700;
}
.faq-a a {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.faq-a a:hover { color: var(--orange-deep); }
.faq-bullets {
  display: flex; flex-direction: column; gap: 6px;
  margin: 12px 0;
}
.faq-bullets li {
  padding-left: 18px; position: relative;
}
.faq-bullets li::before {
  content: ""; position: absolute; left: 0; top: 12px;
  width: 10px; height: 2px;
  background: var(--orange);
  border-radius: 2px;
}

/* Contact callout */
.faq-contact {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-lg);
  padding: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.faq-contact-strong {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
.faq-contact-links {
  display: flex; flex-direction: column; gap: 14px;
}
.contact-link {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 22px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--r-md);
  color: var(--cream);
  transition: background 0.2s ease, transform 0.2s ease;
}
.contact-link:hover {
  background: var(--orange);
  transform: translateX(4px);
}
.contact-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,255,255,0.08);
  color: var(--orange);
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.contact-link:hover .contact-icon {
  background: var(--white);
  color: var(--ink);
}
.contact-meta {
  display: flex; flex-direction: column; gap: 2px;
}
.contact-label { color: var(--orange); }
.contact-link:hover .contact-label { color: var(--white); }
.contact-handle {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-contact-ig-link {
  color: inherit;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  transition: border-color 0.15s ease;
}
.faq-contact-ig-link:hover { border-color: rgba(255,255,255,0.9); }

/* ============ ROADMAP ============ */
.roadmap { background: var(--bone); }
.roadmap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.roadmap-col {
  padding: 40px 36px 32px;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: 0 1px 0 rgba(13,13,15,0.04), 0 24px 48px -28px rgba(13,13,15,0.15);
}
.col-soon { background: var(--ink); color: var(--cream); }

.rc-head {
  display: flex; align-items: center; gap: 12px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 10px;
}
.col-soon .rc-head { border-color: rgba(255,255,255,0.15); }
.rc-dot {
  width: 11px; height: 11px; border-radius: 50%;
  flex-shrink: 0;
}
.rc-dot.ok { background: var(--orange); box-shadow: 0 0 0 5px rgba(247,85,25,0.18); }
.rc-dot.soon { background: var(--orange); box-shadow: 0 0 0 5px rgba(247,85,25,0.18); animation: pulse 2.6s ease-in-out infinite; }
.rc-head h3 {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 800;
  font-size: 38px;
  margin: 0;
  letter-spacing: -0.035em;
  line-height: 1;
  flex: 1;
}
.dim { color: var(--stone); }
.col-soon .dim { color: rgba(255,255,255,0.55); }

.rc-list { display: flex; flex-direction: column; }
.rc-list li {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 18px;
  align-items: baseline;
}
.col-soon .rc-list li { border-color: rgba(255,255,255,0.12); }
.rc-list li:last-child { border-bottom: 0; }
.rc-num {
  font-family: var(--f-mono);
  color: var(--stone);
  font-size: 12px;
  min-width: 26px;
}
.col-soon .rc-num { color: var(--orange); }

/* ============ FOOTER CTA ============ */
.footer-cta {
  background: var(--orange);
  color: var(--white);
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  margin-top: -1px;
}
.fcta-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 11vw, 160px) var(--pad);
  position: relative;
  z-index: 2;
}
.footer-cta .kicker { color: rgba(255,255,255,0.9); margin-bottom: 36px; }
.footer-cta .kicker::before { background: var(--white); }

.fcta-h2 {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0 0 36px;
  text-wrap: balance;
  max-width: 17ch;
}
.fcta-h2 em {
  font-style: italic;
  background: var(--ink);
  color: var(--white);
  padding: 0 0.18em 0.04em;
  border-radius: 18px;
  display: inline-block;
  transform: rotate(-1.5deg);
}
.fcta-strong {
  font-size: clamp(20px, 1.9vw, 26px);
  max-width: 50ch;
  margin: 0 0 44px;
  line-height: 1.4;
  color: rgba(255,255,255,0.95);
  font-weight: 500;
}
.fcta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.solid-btn.xl { background: var(--ink); color: var(--white); }
.solid-btn.xl:hover { background: var(--white); color: var(--ink); }

.fcta-stamp {
  position: absolute;
  bottom: -0.18em;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(180px, 30vw, 540px);
  line-height: 0.8;
  color: rgba(13,13,15,0.09);
  letter-spacing: -0.06em;
  white-space: nowrap;
  pointer-events: none;
  z-index: 1;
  font-weight: 700;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 72px var(--pad) 28px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 64px;
  padding-bottom: 52px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-logo { width: 200px; height: auto; border-radius: 6px; }
.footer-brand .mono { display: block; margin-top: 22px; color: rgba(245,242,236,0.6); font-size: 14px; }

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.f-eyebrow { color: var(--orange); margin: 0 0 16px; }
.footer-cols ul { display: flex; flex-direction: column; gap: 10px; }
.footer-cols a {
  font-size: 15px;
  color: rgba(245,242,236,0.78);
  transition: color 0.12s ease, padding 0.12s ease;
}
.footer-cols a:hover { color: var(--orange); padding-left: 4px; }

.footer-base {
  max-width: var(--maxw);
  margin: 28px auto 0;
  display: flex; justify-content: space-between;
  color: rgba(245,242,236,0.5);
  font-size: 13px;
}
.footer-powered {
  max-width: var(--maxw);
  margin: 16px auto 0;
  padding-bottom: 28px;
  text-align: center;
}
.footer-powered a {
  color: rgba(245,242,236,0.3);
  font-size: 11px;
  transition: color 0.15s ease;
}
.footer-powered a:hover { color: rgba(245,242,236,0.7); }
.footer-base a {
  color: rgba(245,242,236,0.5);
  transition: color 0.15s ease;
}
.footer-base a:hover { color: var(--orange); }

/* ============ BLOG LISTING ============ */
.blog-hero {
  background: var(--bone);
  padding: clamp(72px, 10vw, 120px) var(--pad);
}
.blog-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
}
.blog-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 16px;
}
.blog-hero p {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--stone);
  margin: 0;
}

.post-feed {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.post-card {
  background: var(--white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(13,13,15,0.04), 0 24px 48px -28px rgba(13,13,15,0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
}
.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 1px 0 rgba(13,13,15,0.04), 0 40px 80px -28px rgba(13,13,15,0.25);
}

.post-card-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bone);
}
.post-card-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.post-card:hover .post-card-image-link img { transform: scale(1.03); }

.post-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.post-card-tag {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--orange);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
}
.post-card-title {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin: 0 0 12px;
  color: var(--ink);
}
.post-card-title a { color: inherit; }
.post-card-title a:hover { color: var(--orange); }
.post-card-excerpt {
  font-size: 15px;
  color: var(--stone);
  line-height: 1.55;
  margin: 0 0 20px;
  flex: 1;
}
.post-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--stone);
  font-family: var(--f-mono);
}
.blog-directory-page {
  background: var(--cream);
}
.blog-directory-hero {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.blog-directory-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.blog-directory-title {
  max-width: 840px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 18px;
}
.blog-directory-lead {
  max-width: 680px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--stone);
  margin: 0;
}
.blog-directory-body {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad) clamp(72px, 10vw, 120px);
}
.blog-directory-tools {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin: 0 0 32px;
}
.blog-search-field {
  width: min(100%, 560px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.blog-search-field span {
  color: var(--orange);
}
.blog-search-field input {
  width: 100%;
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 15px 18px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.blog-search-field input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,85,25,0.12);
}
.blog-results-count {
  color: var(--stone);
  margin: 0 0 16px;
  white-space: nowrap;
}
.blog-directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.blog-directory-card[hidden] {
  display: none;
}
.blog-card-search-text {
  display: none;
}
.blog-empty-state {
  margin: 40px 0 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  color: var(--stone);
  text-align: center;
}
.blog-client-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin: 40px 0 0;
}
.blog-page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 112px;
  min-height: 44px;
  padding: 12px 18px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.blog-page-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}
.blog-page-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}
.blog-page-status {
  color: var(--stone);
}

/* ============ ARTICLE ============ */
.blog-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.article-header {
  max-width: 740px;
  margin: 0 auto 52px;
}
.article-tag {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--orange);
  text-transform: lowercase;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}
.article-tag a { color: inherit; }
.article-tag a:hover { color: var(--orange-deep); }
.article-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 24px;
}
.article-excerpt {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--stone);
  line-height: 1.5;
  margin: 0 0 28px;
}
.article-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.article-byline-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-list { display: flex; gap: 4px; }
.author-avatar { display: block; }
.author-profile-image {
  width: 40px; height: 40px;
  border-radius: 50%;
  object-fit: cover;
}
.author-name {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 2px;
  color: var(--ink);
}
.byline-meta-content {
  font-size: 13px;
  color: var(--stone);
  font-family: var(--f-mono);
}
.byline-reading-time { margin-left: 4px; }
.bull { margin: 0 2px; }
.article-image {
  max-width: 960px;
  margin: 0 auto 52px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.article-image img { width: 100%; display: block; }
.article-image figcaption {
  padding: 12px 0;
  font-size: 14px;
  color: var(--stone);
  text-align: center;
  font-family: var(--f-mono);
}

/* Ghost content (Koenig editor output) */
.gh-content {
  max-width: 740px;
  margin: 0 auto;
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.7;
  color: var(--ink);
}
.gh-content > * + * { margin-top: 0; }
.gh-content h2 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 48px 0 20px;
  line-height: 1.1;
}
.gh-content h3 {
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 40px 0 16px;
  line-height: 1.15;
}
.gh-content h4 {
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 700;
  margin: 32px 0 12px;
}
.gh-content p { margin: 0 0 24px; }
.gh-content a {
  color: var(--orange);
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}
.gh-content a:hover { color: var(--orange-deep); }
.gh-content ul, .gh-content ol {
  padding-left: 24px;
  margin: 0 0 24px;
}
.gh-content li { margin-bottom: 8px; }
.gh-content blockquote {
  border-left: 3px solid var(--orange);
  padding-left: 24px;
  margin: 32px 0;
  font-size: 1.1em;
  color: var(--stone);
  font-style: italic;
}
.gh-content code {
  font-family: var(--f-mono);
  font-size: 0.88em;
  background: var(--bone);
  padding: 2px 7px;
  border-radius: 6px;
  color: var(--orange-deep);
}
.gh-content pre {
  background: var(--ink);
  color: var(--cream);
  padding: 28px;
  border-radius: var(--r-md);
  overflow-x: auto;
  margin: 0 0 24px;
}
.gh-content pre code {
  background: none;
  padding: 0;
  color: inherit;
}
.gh-content img {
  border-radius: var(--r-md);
  margin: 32px 0;
}
.gh-content figure { margin: 32px 0; }
.gh-content .kg-width-wide {
  width: min(960px, calc(100vw - (var(--pad) * 2)));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.gh-content .kg-width-full {
  width: calc(100vw - (var(--pad) * 2));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}
.gh-content .kg-width-wide img,
.gh-content .kg-width-full img {
  width: 100%;
}
.gh-content figcaption {
  font-size: 14px;
  color: var(--stone);
  text-align: center;
  font-family: var(--f-mono);
  margin-top: 10px;
}
.gh-content hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 48px 0;
}

/* ============ PAGINATION ============ */
.pagination {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(56px, 8vw, 96px);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.pagination .newer-posts,
.pagination .older-posts {
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  background: var(--white);
  border-radius: var(--r-pill);
  font-size: 15px;
  font-weight: 500;
  box-shadow: 0 1px 0 rgba(13,13,15,0.05);
  transition: background 0.15s ease, color 0.15s ease;
}
.pagination .newer-posts:hover,
.pagination .older-posts:hover {
  background: var(--ink);
  color: var(--cream);
}
.pagination .page-number {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--stone);
}

/* ============ STATIC PAGE ============ */
.page-main {
  max-width: 740px;
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.page-title {
  font-size: clamp(36px, 5vw, 60px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 40px;
}

/* ============ READ MORE ============ */
.read-more-wrap { background: var(--bone); }

/* ============ ERROR PAGES ============ */
.error-main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(96px, 14vw, 180px) var(--pad);
  text-align: center;
}
.error-code {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(120px, 20vw, 240px);
  font-weight: 700;
  line-height: 0.9;
  color: var(--orange);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.error-description {
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.error-sub {
  font-size: 17px;
  color: var(--stone);
  margin: 0 0 40px;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1100px) {
  .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .post-feed { grid-template-columns: repeat(2, 1fr); }
  .blog-directory-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 880px) {
  .primary-nav { display: none; }
  .header-cta .ghost-btn, .header-cta .solid-btn { display: none; }
  .menu-toggle { display: inline-flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { grid-column: 1; padding-bottom: 0; }
  .hero-visual {
    grid-column: 1; grid-row: 2;
    margin-left: 0;
    margin-right: 0;
    border-radius: var(--r-md);
    min-height: 360px;
    aspect-ratio: 16 / 10;
  }
  .hero-marquee { grid-row: 3; }
  .plan-grid { grid-template-columns: 1fr; }
  .plan { min-height: auto; }
  .profes-grid { grid-template-columns: 1fr; gap: 48px; }
  .profes-stack { position: relative; top: auto; flex-direction: row; flex-wrap: wrap; }
  .stat-card { flex: 1; min-width: 240px; }
  .stat-card.horse { display: none; }
  .ct-head, .ct-row { grid-template-columns: 1fr; gap: 12px; }
  .ct-head .ct-col { border-radius: var(--r-md); }
  .roadmap-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .gallery { flex-direction: column; height: auto; }
  .g-panel { min-height: 140px; }
  .g-panel.active { min-height: 320px; }
  .g-panel:not(.active) .g-meta h3 { writing-mode: horizontal-tb; transform: none; position: static; }
  .faq-contact { grid-template-columns: 1fr; }
  .faq-item summary { padding: 22px 24px; }
  .faq-a { padding: 0 24px 24px; }
}

@media (max-width: 680px) {
  .post-feed { grid-template-columns: 1fr; }
  .blog-directory-grid { grid-template-columns: 1fr; }
  .blog-directory-tools { align-items: stretch; flex-direction: column; }
  .blog-results-count { margin-bottom: 0; white-space: normal; }
  .blog-client-pagination { flex-wrap: wrap; }
  .article-byline { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 580px) {
  body { font-size: 17px; }
  .footer-cols { grid-template-columns: 1fr; }
  .profes-stack { flex-direction: column; }
  .stat-card strong { font-size: 72px; }
  .footer-base { flex-direction: column; gap: 10px; }
}

/* ============ PAGE: LEGAL ============ */
.legal-hero {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.legal-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.legal-h1 {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 16px;
}
.legal-updated {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--stone);
  margin: 0;
}
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  padding: 8px 8px 8px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  box-shadow: 0 10px 28px -22px rgba(13,13,15,0.35);
}
.language-switcher-label {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--stone);
  text-transform: lowercase;
}
.language-switcher-select {
  min-width: 142px;
  padding: 10px 34px 10px 14px;
  border: 0;
  border-radius: var(--r-pill);
  background: var(--ink);
  color: var(--cream);
  font: 600 14px/1 var(--f-body);
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, currentColor 50%),
    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.language-switcher-select:focus {
  outline: 2px solid var(--orange);
  outline-offset: 2px;
}

.legal-body {
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.legal-section h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--line);
}
.legal-section h3 {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  margin: 28px 0 12px;
  color: var(--ink);
}
.legal-section p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--stone);
  margin: 0 0 14px;
}
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.legal-section ul li {
  padding-left: 20px;
  position: relative;
  font-size: 17px;
  line-height: 1.6;
  color: var(--stone);
}
.legal-section ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  width: 8px;
  height: 2px;
  background: var(--orange);
  border-radius: 2px;
}
.legal-section a {
  color: var(--orange);
  font-weight: 500;
  border-bottom: 1px solid currentColor;
}
.legal-section a:hover { color: var(--orange-deep); }

/* ============ PAGE: COFUNDADORES ============ */
.cofo-hero {
  background: var(--ink);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.cofo-hero::before {
  content: "";
  position: absolute;
  top: -20%; right: -10%;
  width: 55%; height: 90%;
  background: radial-gradient(circle, var(--orange) 0%, transparent 65%);
  opacity: 0.18;
  pointer-events: none;
}
.cofo-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(72px, 10vw, 120px) var(--pad);
  position: relative;
  z-index: 1;
  max-width: 860px;
}
.cofo-hero .kicker { color: rgba(245,242,236,0.6); margin-bottom: 28px; }
.cofo-hero .kicker::before { background: var(--orange); }
.cofo-h1 {
  font-size: clamp(56px, 9vw, 120px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin: 0 0 32px;
}
.cofo-h1 em {
  font-family: var(--f-display);
  font-style: italic;
  color: var(--orange);
}
.cofo-lead {
  font-size: clamp(18px, 1.6vw, 22px);
  color: rgba(245,242,236,0.78);
  max-width: 52ch;
  line-height: 1.55;
  margin: 0 0 52px;
}

.cofo-benefits {
  display: flex;
  flex-direction: column;
  gap: 0;
  list-style: none;
  padding: 0;
  margin: 0;
}
.cofo-benefits li {
  display: flex;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.cofo-benefits li:first-child { border-top: 1px solid rgba(255,255,255,0.1); }
.cofo-b-num {
  font-weight: 800;
  font-size: 26px;
  color: var(--orange);
  width: 40px;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}
.cofo-benefits strong {
  display: block;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 2px;
}
.cofo-benefits span {
  font-size: 15px;
  color: rgba(245,242,236,0.65);
}

/* Form section */
.cofo-form-section {
  background: var(--bone);
  padding: clamp(72px, 10vw, 120px) var(--pad);
}
.cofo-form-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.cofo-form-header {
  margin-bottom: 48px;
}
.cofo-form-h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 12px;
}
.cofo-form-header p {
  font-size: 17px;
  color: var(--stone);
  margin: 0;
}

/* Fields */
.cofo-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row { display: flex; gap: 20px; }
.form-row--2 > .form-field { flex: 1; }
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.form-hint {
  font-weight: 400;
  color: var(--stone);
  font-size: 13px;
}
.req { color: var(--orange); margin-left: 2px; }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  font-family: var(--f-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--r-md);
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  width: 100%;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--stone); opacity: 0.7; }
.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,85,25,0.12);
}
.g-recaptcha {
  max-width: 100%;
  overflow-x: auto;
}

/* File upload */
.file-upload-wrap { display: flex; flex-direction: column; gap: 10px; }
.file-input {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.file-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--white);
  border: 1.5px dashed var(--line);
  border-radius: var(--r-md);
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
  color: var(--stone);
}
.file-label:hover {
  border-color: var(--orange);
  background: var(--orange-cream);
  color: var(--ink);
}
.file-input:focus + .file-label {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247,85,25,0.12);
}
.file-label-text { font-size: 15px; font-weight: 600; }
.file-label-types {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--stone);
  margin-left: auto;
}
.file-name {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--stone);
  margin: 0;
}

/* Submit */
.form-submit {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 8px;
}
.cofo-submit { align-self: flex-start; }
.form-legal {
  font-size: 13px;
  color: var(--stone);
  margin: 0;
  max-width: 56ch;
  line-height: 1.55;
}

@media (max-width: 680px) {
  .form-row--2 { flex-direction: column; }
  .cofo-submit { width: 100%; justify-content: center; }
}

/* Content sections (intro, what, expect, benefits, disclaimer…) */
.cofo-section {
  padding: clamp(56px, 8vw, 100px) var(--pad);
  border-bottom: 1px solid var(--line);
}
.cofo-section:nth-child(even) { background: var(--bone); }
.cofo-section:nth-child(odd)  { background: var(--cream); }
.cofo-section-inner {
  max-width: 760px;
  margin: 0 auto;
}
.cofo-section-inner p {
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink);
  line-height: 1.7;
  margin: 0 0 18px;
}
.cofo-section-inner p:last-child { margin-bottom: 0; }
.cofo-section-h2 {
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 24px;
  color: var(--ink);
}
.cofo-highlight {
  font-size: clamp(17px, 1.6vw, 20px) !important;
  font-weight: 700;
  color: var(--orange) !important;
  border-left: 3px solid var(--orange);
  padding-left: 16px;
  margin-top: 24px !important;
}
.cofo-note {
  font-size: 15px !important;
  color: var(--stone) !important;
  margin-top: 16px !important;
}
.cofo-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cofo-list li {
  padding-left: 24px;
  position: relative;
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.6;
  color: var(--ink);
}
.cofo-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

/* Benefits section on light bg */
.cofo-benefits-section .cofo-benefits li {
  border-bottom-color: var(--line);
}
.cofo-benefits-section .cofo-benefits li:first-child {
  border-top-color: var(--line);
}
.cofo-benefits-section .cofo-benefits span {
  color: var(--stone);
}

/* Disclaimer */
.cofo-disclaimer { background: var(--bone) !important; }
.cofo-disclaimer .cofo-section-inner p {
  font-size: 15px !important;
  color: var(--stone) !important;
}

/* Fieldset reset */
.form-fieldset {
  border: none;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.form-fieldset legend {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  padding: 0;
}

/* Checkboxes */
.checkbox-group,
.radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.checkbox-label,
.radio-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.4;
}
.checkbox-label input[type="checkbox"],
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--orange);
  cursor: pointer;
}

/* Form notice (success / error) */
.form-notice {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  min-height: 1em;
  color: #1a7a3f;
}

/* Form header with multiple paragraphs */
.cofo-form-header p + p {
  margin-top: 10px;
}

@media (max-width: 680px) {
  .checkbox-group,
  .radio-group { gap: 14px; }
}

/* ============ PAGE: CONTACT ============ */
.contact-page {
  background: var(--cream);
}
.contact-hero {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.contact-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.contact-title {
  max-width: 780px;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 18px;
}
.contact-lead {
  max-width: 640px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--stone);
  margin: 0;
}
.contact-body {
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.contact-layout {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-info {
  display: grid;
  gap: 18px;
}
.contact-info-block {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.contact-label {
  color: var(--orange);
  margin: 0 0 10px;
}
.contact-info-block a {
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  overflow-wrap: anywhere;
}
.contact-info-block a:hover {
  color: var(--orange);
}
.contact-form-card {
  padding: clamp(24px, 4vw, 40px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.contact-submit {
  align-self: flex-start;
}

@media (max-width: 880px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .contact-submit {
    width: 100%;
    justify-content: center;
  }
  .language-switcher {
    width: 100%;
    justify-content: space-between;
    border-radius: var(--r-md);
  }
  .language-switcher-select {
    flex: 1;
    min-width: 0;
  }
}

/* ============ PAGE: DOCUMENTATION ============ */
.docs-page {
  background: var(--cream);
}
.docs-hero {
  background: var(--bone);
  border-bottom: 1px solid var(--line);
}
.docs-hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 96px) var(--pad);
}
.docs-title {
  max-width: 880px;
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 18px;
}
.docs-lead {
  max-width: 720px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--stone);
  margin: 0;
}
.docs-layout {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 72px) var(--pad) clamp(72px, 10vw, 120px);
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.docs-sidebar {
  position: sticky;
  top: calc(var(--header-h) + 24px);
}
.docs-sidebar-inner {
  border-left: 2px solid var(--line);
  padding-left: 18px;
}
.docs-sidebar-title {
  color: var(--stone);
  margin: 0 0 14px;
}
.docs-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.docs-nav a {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
  padding: 9px 0;
  color: var(--stone);
  font-size: 14px;
  line-height: 1.35;
  transition: color 0.15s ease;
}
.docs-nav a:hover {
  color: var(--orange);
}
.docs-nav span {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--orange);
}
.docs-content {
  min-width: 0;
}
.docs-section {
  scroll-margin-top: calc(var(--header-h) + 24px);
  padding: 0 0 clamp(56px, 8vw, 96px);
  margin: 0 0 clamp(48px, 7vw, 80px);
  border-bottom: 1px solid var(--line);
}
.docs-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: 0;
}
.docs-section-label {
  color: var(--orange);
  margin: 0 0 16px;
}
.docs-section h1 {
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0 0 22px;
}
.docs-section h2 {
  font-size: clamp(23px, 2.5vw, 32px);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin: 42px 0 16px;
}
.docs-section h3 {
  font-size: clamp(19px, 1.8vw, 24px);
  font-weight: 750;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin: 30px 0 12px;
}
.docs-section p,
.docs-section li {
  font-size: 17px;
  line-height: 1.7;
  color: var(--stone);
}
.docs-section p {
  margin: 0 0 18px;
}
.docs-section ul,
.docs-section ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.docs-section ul { list-style: disc; }
.docs-section ol { list-style: decimal; }
.docs-section li { margin-bottom: 8px; }
.docs-section a {
  color: var(--orange);
  font-weight: 600;
  border-bottom: 1px solid currentColor;
}
.docs-section hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.docs-section blockquote {
  margin: 28px 0;
  padding: 18px 22px;
  border-left: 3px solid var(--orange);
  background: var(--white);
  color: var(--stone);
}
.docs-section blockquote p:last-child {
  margin-bottom: 0;
}
.docs-section code {
  font-family: var(--f-mono);
  font-size: 0.88em;
  background: var(--bone);
  color: var(--orange-deep);
  padding: 2px 6px;
  border-radius: 6px;
}
.docs-section pre {
  overflow-x: auto;
  background: var(--ink);
  color: var(--cream);
  padding: 22px;
  border-radius: var(--r-md);
  margin: 0 0 24px;
}
.docs-section pre code {
  background: transparent;
  color: inherit;
  padding: 0;
}
.docs-section table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  margin: 24px 0 30px;
  font-size: 15px;
}
.docs-section th,
.docs-section td {
  min-width: 140px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.docs-section th {
  background: var(--bone);
  color: var(--ink);
  font-weight: 800;
}
.docs-section td {
  background: var(--white);
  color: var(--stone);
}

@media (max-width: 960px) {
  .docs-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .docs-sidebar {
    position: static;
  }
  .docs-sidebar-inner {
    border-left: 0;
    padding-left: 0;
  }
  .docs-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
  }
  .docs-nav a {
    min-width: 220px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: var(--r-sm);
    background: var(--white);
  }
}

/* ============ REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none !important; }
  .hero-meta .dot { animation: none !important; }
  .rc-dot.soon { animation: none !important; }
}
