/* ============================================================
   Angryturtle.ai — Marketing site design system
   Single hand-authored stylesheet (no build step).
   Source of truth: SSD §2 Brand System.
   ============================================================ */

/* ---------- Self-hosted font: Libre Franklin (Franklin Gothic heritage) ----------
   Professional, editorial, human — deliberately not a geometric "AI" sans. */
@font-face {
  font-family: 'Libre Franklin';
  src: url('/fonts/LibreFranklin-Variable.woff2') format('woff2-variations'),
       url('/fonts/LibreFranklin-Variable.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}

:root {
  /* Primary brand */
  --turtle-teal:  #0D6E56;
  --furious-lime: #B6FF3C;
  --mint:         #5FC9A6;   /* legible teal accent on dark bg (replaces neon lime) */
  --carbon:       #0B1512;
  --mist:         #F4F9F6;

  --teal-mid:   #1D9E75;
  --teal-light: #E1F5EE;
  --teal-dark:  #094D3C;

  /* Surfaces — clean white ground (no dull grey) */
  --bg:            #FFFFFF;
  --card:          #FFFFFF;
  --border:        #E6ECE9;
  --border-strong: #C8D4CC;

  /* Text */
  --text-primary:   #0B1512;
  --text-secondary: #2D3F37;
  --text-muted:     #5E7268;
  --text-on-dark:   #EDF1EF;
  --text-on-dark-muted: #9FB2A9;

  /* Semantic status */
  --status-green: #16A34A;
  --status-amber: #F59E0B;
  --status-red:   #C8392B;
  --status-blue:  #1D4ED8;

  --lime-glow:    rgba(13,110,86,0.12);
  --lime-glow-lg: rgba(13,110,86,0.06);

  /* Spacing */
  --space-1:4px; --space-2:8px; --space-3:12px; --space-4:16px; --space-5:20px;
  --space-6:24px; --space-8:32px; --space-10:40px; --space-12:48px; --space-16:64px;
  --space-20:80px; --space-24:96px;

  --radius-sm:6px; --radius-md:10px; --radius-lg:16px; --radius-xl:24px; --radius-pill:999px;

  --shadow-card:  0 1px 2px rgba(11,21,18,.04), 0 10px 28px rgba(11,21,18,.06);
  --shadow-hover: 0 14px 40px rgba(13,110,86,.16);
  --shadow-cta:   0 4px 14px rgba(13,110,86,.30);
  --shadow-modal: 0 20px 60px rgba(0,0,0,.40);

  --transition-fast:.12s ease; --transition-base:.18s ease; --transition-slow:.28s ease;

  --max-content:1200px; --max-narrow:780px; --max-wide:1400px;

  --font-display: 'Libre Franklin', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Libre Franklin', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  /* mono reserved only for aligned digits / codes — not for eyebrows */
  --font-mono: ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --font-label: 'Libre Franklin', ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-display);
  font-size: 16px; line-height: 1.6;
  color: var(--text-secondary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img,svg,video { display: block; max-width: 100%; }
a { color: var(--turtle-teal); text-decoration: none; }
a:hover { text-decoration: underline; }
button { font-family: inherit; }
ul { list-style: none; padding: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--max-content); margin-inline: auto; padding-inline: var(--space-6); }
.container--narrow { max-width: var(--max-narrow); }
.section { padding-block: var(--space-24); }
.section--tight { padding-block: var(--space-16); }
.section--mist { background: var(--mist); }
.section--carbon { background: var(--carbon); color: var(--text-on-dark); }
.section--carbon .section__title, .section--carbon h2, .section--carbon h3 { color: #fff; }
.section--carbon p { color: var(--text-on-dark-muted); }

.grid { display: grid; gap: var(--space-6); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Typography ---------- */
h1,h2,h3,h4 { font-family: var(--font-display); color: var(--text-primary); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.eyebrow {
  font-family: var(--font-label); font-size: 12.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--turtle-teal);
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: var(--space-4);
}
.eyebrow::before { content:''; width: 22px; height: 2px; background: var(--turtle-teal); border-radius: 2px; }
.section--carbon .eyebrow::before { background: var(--mint); }
.text-center .eyebrow, .section__head.text-center .eyebrow { justify-content: center; }
.section--carbon .eyebrow { color: var(--mint); }
.section__head { max-width: 760px; margin-bottom: var(--space-12); }
.section__title { font-size: clamp(28px, 4vw, 34px); font-weight: 700; }
.section__sub { margin-top: var(--space-4); font-size: 18px; color: var(--text-muted); }
.section--carbon .section__sub { color: var(--text-on-dark-muted); }
.lead { font-size: 19px; color: var(--text-muted); }
.text-lime { color: var(--turtle-teal); }
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-display); font-weight: 700; font-size: 15px;
  padding: 12px 24px; border-radius: var(--radius-pill);
  border: none; cursor: pointer; transition: transform var(--transition-base), box-shadow var(--transition-base), background var(--transition-base), color var(--transition-base);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 15px 30px; font-size: 16px; }

.btn--lime { background: var(--turtle-teal); color: #fff; position: relative; overflow: hidden; }
.btn--lime::after {
  content:''; position:absolute; top:0; left:-100%; width:100%; height:100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent);
  transition: left .6s ease;
}
.btn--lime:hover { transform: translateY(-2px); box-shadow: var(--shadow-cta); }
.btn--lime:hover::after { left: 100%; }

.btn--teal { background: var(--turtle-teal); color: #fff; }
.btn--teal:hover { background: var(--teal-mid); transform: translateY(-2px); box-shadow: var(--shadow-hover); }

.btn--outline { background: transparent; color: var(--turtle-teal); border: 2px solid var(--turtle-teal); padding: 10px 22px; }
.btn--outline:hover { background: var(--turtle-teal); color: #fff; }

.btn--ghost { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); padding: 10px 22px; }
.btn--ghost:hover { border-color: var(--mint); color: var(--mint); background: rgba(255,255,255,.06); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--space-3); }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(247,248,246,.85); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid transparent; transition: border-color var(--transition-base), background var(--transition-base); }
.nav--scrolled { border-bottom-color: var(--border); background: rgba(247,248,246,.95); }
.nav__inner { display: flex; align-items: center; gap: var(--space-6); height: 64px; max-width: var(--max-content); margin-inline: auto; padding-inline: var(--space-6); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 19px; color: var(--carbon); }
.nav__logo:hover { text-decoration: none; }
/* The brand mark became a raster badge in the 2026 rebrand, so this must match img as
   well as svg — an svg-only rule let the 96px source render at full size and blow out
   the header. Fixed box so the row never reflows while the image loads. */
.nav__logo svg,
.nav__logo .brand-mark { width: 30px; height: 30px; flex: 0 0 auto; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: var(--space-5); margin-left: var(--space-4); }
.nav__links > a, .nav__item > button {
  font-size: 15px; font-weight: 500; color: var(--text-secondary); background: none; border: none;
  cursor: pointer; padding: 6px 2px; position: relative; display: inline-flex; align-items: center; gap: 4px;
}
.nav__links > a::after, .nav__item > button::after {
  content:''; position:absolute; left:0; bottom:0; height:2px; width:0; background: var(--turtle-teal); transition: width var(--transition-fast);
}
.nav__links > a:hover, .nav__item > button:hover { color: var(--turtle-teal); text-decoration: none; }
.nav__links > a:hover::after, .nav__item > button:hover::after { width: 100%; }
.nav__item { position: relative; }
/* Mega menu: sits flush under the trigger with a transparent hover-bridge (padding-top),
   so moving the cursor from the button to the menu never crosses an empty gap. */
.nav__mega { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); padding-top: 12px; z-index: 60; }
.nav__mega-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); padding: var(--space-4); width: 500px; }
.nav__mega-lead { display: block; padding: 10px 12px; font-weight: 700; color: var(--turtle-teal); border-bottom: 1px solid var(--border); margin-bottom: 6px; border-radius: var(--radius-sm); }
.nav__mega-lead:hover { background: var(--teal-light); text-decoration: none; }
.nav__mega-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav__mega-grid a { padding: 10px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.nav__mega-grid a:hover { background: var(--teal-light); color: var(--teal-dark); text-decoration: none; }
.nav__actions { display: flex; align-items: center; gap: var(--space-3); margin-left: auto; }
.nav__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--carbon); }
.nav__mobile { display: none; }

/* ---------- Hero (light theme) ---------- */
.hero { background: linear-gradient(180deg, #FFFFFF 0%, var(--bg) 100%); color: var(--text-secondary); position: relative; overflow: hidden; padding-block: var(--space-24); border-bottom: 1px solid var(--border); }
/* faint teal dot-grid, softly masked toward the visual side */
.hero::before {
  content:''; position:absolute; inset:0; pointer-events:none;
  background-image: radial-gradient(rgba(13,110,86,.06) 1.2px, transparent 1.2px);
  background-size: 26px 26px; mask-image: radial-gradient(ellipse 75% 70% at 78% 25%, #000 10%, transparent 70%);
}
/* soft brand glows: lime top-right, teal lower-left */
.hero::after { content:''; position:absolute; top:-12%; right:-6%; width:520px; height:520px; background: radial-gradient(circle, rgba(13,110,86,.16) 0%, transparent 62%); pointer-events:none; }
.hero__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: var(--space-16); align-items: center; }
.hero h1 { color: var(--text-primary); font-size: clamp(40px, 6.5vw, 72px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.02; }
.hero__sub { margin-top: var(--space-6); font-size: 19px; color: var(--text-muted); max-width: 540px; }
.hero__cta { margin-top: var(--space-8); }
.hero__proof { margin-top: var(--space-8); font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero__proof span { display: inline-flex; align-items: center; gap: 8px; }
.hero__proof span::before { content:''; width:6px; height:6px; border-radius:50%; background: var(--turtle-teal); }
/* ghost buttons sitting on the light hero read as teal outlines */
.hero .btn--ghost { color: var(--turtle-teal); border-color: var(--border-strong); }
.hero .btn--ghost:hover { color: var(--turtle-teal); border-color: var(--turtle-teal); background: var(--teal-light); }

/* lime highlighter for the H1 punch line (keeps the lime brand accent readable on light) */
.mark-lime { color: var(--turtle-teal); font-weight: 800; }
/* struck-through "cancelled" phrase — the old slogan crossed out */
.strike { color: var(--text-muted); text-decoration: line-through; text-decoration-color: var(--turtle-teal); text-decoration-thickness: .07em; font-weight: 700; }

/* Motion turtle hero visual */
.hero-turtle { position: relative; display: grid; place-items: center; padding: var(--space-8); }
.hero-turtle::before { content:''; position:absolute; width:74%; aspect-ratio:1; border-radius:50%; background: radial-gradient(circle, rgba(13,110,86,.13) 0%, rgba(13,110,86,.06) 45%, transparent 70%); }
.hero-turtle svg,
.hero-turtle .hero-mascot { width: min(380px, 82%); height: auto; position: relative; filter: drop-shadow(0 12px 30px rgba(13,110,86,.18)); }
/* The 2026 mascot is a raster illustration, so the old path-drawing animation no
   longer applies. A slow float keeps the hero alive without animating pixels. */
.hero-turtle .hero-mascot { animation: at-float 6s ease-in-out infinite; will-change: transform; }
@keyframes at-float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-10px) } }
@keyframes at-dash { 0% { transform: translateX(-5px); opacity:.15 } 45% { opacity:1 } 100% { transform: translateX(9px); opacity:0 } }
@keyframes at-drive { 0%,100% { transform: translateX(0) } 50% { transform: translateX(2.4px) } }
@keyframes at-eye { 0%,100% { opacity:1 } 50% { opacity:.55 } }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.card--dark { background: #10201a; border-color: rgba(255,255,255,.08); color: var(--text-on-dark); }
.card--dark h3 { color: #fff; }
.card--dark p { color: var(--text-on-dark-muted); }
.card__icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--teal-light); color: var(--turtle-teal); display: inline-flex; align-items: center; justify-content: center; margin-bottom: var(--space-4); }
.card--dark .card__icon { background: rgba(95,201,166,.14); color: var(--mint); }
.card h3 { font-size: 20px; font-weight: 600; margin-bottom: var(--space-2); }
.card p { font-size: 15px; color: var(--text-muted); }
.card__link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--space-4); font-weight: 600; font-size: 14px; color: var(--turtle-teal); }
.card__num { font-family: var(--font-mono); font-size: 13px; color: var(--turtle-teal); }

/* ---------- Product screenshots ---------- */
.shot { width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--card); box-shadow: var(--shadow-card); }
.shot--float { box-shadow: 0 24px 60px rgba(11,21,18,.22); }
.shot-caption { font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); margin-top: var(--space-3); text-align: center; }
.shot-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); transition: transform var(--transition-slow), box-shadow var(--transition-slow); }
.shot-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.shot-card img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--border); background: var(--mist); }
.shot-card__body { padding: var(--space-5) var(--space-6); }
.shot-card__body h3 { font-size: 18px; font-weight: 600; }
.shot-card__body p { font-size: 14px; color: var(--text-muted); margin-top: 4px; }

/* ---------- Logo trust strip ---------- */
.logo-eyebrow { text-align: center; font-family: var(--font-label); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--turtle-teal); font-weight: 700; margin-bottom: var(--space-3); }
.logo-heading { text-align: center; font-size: clamp(20px, 2.6vw, 27px); font-weight: 700; line-height: 1.25; max-width: 860px; margin: 0 auto var(--space-10); color: var(--text-primary); }
.logo-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-4); align-items: stretch; }
.logo-card { display: grid; place-items: center; padding: var(--space-5) var(--space-4); background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); min-height: 90px; transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base); }
.logo-card:hover { box-shadow: var(--shadow-card); transform: translateY(-2px); border-color: var(--border-strong); }
.logo-card img { max-height: 46px; max-width: 124px; width: auto; height: auto; object-fit: contain; }

/* ---------- Analytical visuals (dependency-free) ---------- */
.viz-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: var(--shadow-card); }
.viz-card h3 { font-size: 17px; font-weight: 700; }
.viz-sub { font-size: 13px; color: var(--text-muted); margin: 2px 0 var(--space-5); }
.hbar { display: grid; gap: 13px; }
.hbar-row { display: grid; grid-template-columns: 108px 1fr 44px; align-items: center; gap: 10px; font-size: 13px; }
.hbar-label { color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar-track { height: 12px; background: #EEF3F0; border-radius: 99px; overflow: hidden; }
.hbar-fill { height: 100%; border-radius: 99px; }
.hbar-val { font-variant-numeric: tabular-nums; color: var(--text-primary); font-weight: 700; text-align: right; }
.viz-legend { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: var(--space-5); font-size: 12.5px; color: var(--text-muted); }
.viz-legend span { display: inline-flex; align-items: center; gap: 7px; }
.viz-legend i { width: 11px; height: 11px; border-radius: 3px; display: inline-block; }
/* donut (single value) */
.donut { position: relative; width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; }
.donut::before { content: ''; position: absolute; inset: 17px; background: var(--card); border-radius: 50%; }
.donut b { position: relative; font-size: 34px; font-weight: 800; color: var(--text-primary); line-height: 1; }
.donut small { position: relative; display: block; text-align: center; font-size: 11px; color: var(--text-muted); margin-top: 3px; }
.viz-line { width: 100%; height: auto; }
.viz-line .grid { stroke: var(--border); stroke-width: 1; }
.viz-line .area { fill: url(#vizgrad); }
.viz-line .line { fill: none; stroke: var(--turtle-teal); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.viz-line .end { fill: var(--turtle-teal); stroke: var(--carbon); stroke-width: 2; }
.viz-axis { font-size: 11px; fill: var(--text-muted); font-variant-numeric: tabular-nums; }

/* ---------- Pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: var(--radius-pill); background: var(--teal-light); color: var(--teal-dark); font-size: 14px; font-weight: 600; border: 1px solid transparent; transition: all var(--transition-base); }
a.pill:hover { background: var(--turtle-teal); color: #fff; text-decoration: none; }
.pill--active { background: var(--turtle-teal); color: #fff; }
.pill-grid { display: flex; flex-wrap: wrap; gap: var(--space-3); }
.chip { display: inline-block; padding: 6px 12px; border-radius: var(--radius-sm); background: #fff; border: 1px solid var(--border); font-family: var(--font-mono); font-size: 12.5px; color: var(--text-secondary); }

/* ---------- Split / feature detail ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-16); align-items: center; }
.bullet-list li { display: flex; gap: 12px; padding: 10px 0; font-size: 16px; color: var(--text-secondary); }
.bullet-list li::before { content:'✓'; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--teal-light); color: var(--turtle-teal); display: grid; place-items: center; font-size: 13px; font-weight: 700; }
.section--carbon .bullet-list li { color: var(--text-on-dark); }
.section--carbon .bullet-list li::before { background: rgba(95,201,166,.18); color: var(--mint); }

/* ---------- AIO answer block ---------- */
.aio-answer { border-left: 3px solid var(--turtle-teal); background: var(--teal-light); border-radius: 0 var(--radius-md) var(--radius-md) 0; padding: var(--space-4) var(--space-5); margin-block: var(--space-4); }
.aio-answer .aio-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--turtle-teal); margin-bottom: 4px; }
.aio-answer p:last-child { color: var(--text-secondary); font-size: 15.5px; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: var(--max-narrow); margin-inline: auto; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: var(--space-5) 0; font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-primary); }
.faq__q:hover { color: var(--turtle-teal); }
.faq__icon { flex: none; transition: transform var(--transition-base); color: var(--turtle-teal); }
.faq__item[data-open="true"] .faq__icon { transform: rotate(45deg); }
.faq__a { overflow: hidden; color: var(--text-muted); font-size: 16px; line-height: 1.65; }
.faq__a > div { padding-bottom: var(--space-5); }

/* ---------- Comparison table ---------- */
.cmp { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-card); }
.cmp th, .cmp td { padding: 16px 20px; text-align: left; font-size: 15px; border-bottom: 1px solid var(--border); }
.cmp thead th { background: transparent; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 700; border-bottom: 2px solid var(--border-strong); }
.cmp td.center, .cmp th.center { text-align: center; }
.cmp tbody tr:last-child td { border-bottom: none; }
.cmp tbody tr:hover td { background-color: rgba(13,110,86,.025); }
.cmp .row-head { font-weight: 600; color: var(--text-primary); }
/* check / not-available marks */
.cmp .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--status-green); color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 2px 6px rgba(22,163,74,.28); }
.cmp .no { color: var(--text-muted); font-size: 18px; opacity: .5; }
/* Us-vs-Others: spotlight the Angryturtle column */
.cmp--vs th:nth-child(2), .cmp--vs td:nth-child(2) { background: var(--teal-light); }
.cmp--vs thead th:nth-child(2) { color: var(--turtle-teal); font-weight: 800; border-bottom-color: var(--turtle-teal); }
.cmp--vs tbody tr:hover td:nth-child(2) { background: #d3f0e6; }
/* Pricing matrix: emphasise the most-popular (Agency) column */
.cmp--matrix th:nth-child(4), .cmp--matrix td:nth-child(4) { background: rgba(13,110,86,.07); }
.cmp--matrix thead th:nth-child(4) { color: var(--teal-dark); font-weight: 800; }
.cmp-tag { display: inline-block; margin-left: 6px; font-family: var(--font-mono); font-size: 10px; letter-spacing: .05em; text-transform: uppercase; padding: 2px 7px; border-radius: var(--radius-pill); vertical-align: middle; font-weight: 500; }
.cmp-tag--unique { background: var(--turtle-teal); color: #fff; }
.cmp-tag--rare { background: var(--teal-light); color: var(--teal-dark); }
.cmp-note { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-top: 3px; font-weight: 400; }
.cmp-legend { margin-top: var(--space-4); font-size: 13px; color: var(--text-muted); text-align: center; }
.cmp-legend .cmp-tag { margin-left: 0; }

/* ---------- Pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-4); align-items: stretch; }
.plan { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-6); display: flex; flex-direction: column; }
.plan--featured { border-color: var(--turtle-teal); box-shadow: var(--shadow-hover); position: relative; }
.plan__tag { position: absolute; top: -11px; left: var(--space-6); background: var(--turtle-teal); color: #fff; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); }
.plan__name { font-size: 20px; font-weight: 700; }
.plan__for { color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.plan__price { font-size: 30px; font-weight: 800; color: var(--text-primary); margin-top: var(--space-4); }
.plan__price small { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.plan__meta { margin-top: var(--space-4); display: grid; gap: 8px; font-size: 14px; color: var(--text-secondary); }
.plan__meta span { font-family: var(--font-mono); color: var(--text-muted); }
.plan .btn { margin-top: auto; }
.plan__meta-top { margin-top: var(--space-4); }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-6); text-align: center; }
.stat-band .num { font-family: var(--font-display); font-size: 40px; font-weight: 800; color: #fff; }
.stat-band .lbl { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-top: 4px; }

/* ---------- Sticky CTA bar ---------- */
.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--carbon); color: #fff; transform: translateY(110%); transition: transform var(--transition-slow); }
.sticky-bar--show { transform: translateY(0); }
.sticky-bar__inner { max-width: var(--max-content); margin-inline: auto; padding: 12px var(--space-6); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.sticky-bar__text { font-weight: 600; font-size: 15px; }
.sticky-bar__text span { color: var(--mint); }

/* ---------- Forms ---------- */
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-size: 13px; font-weight: 600; color: var(--text-secondary); margin-bottom: 6px; }
.field label .req { color: var(--status-red); }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; font-size: 15px; font-family: var(--font-display);
  border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: #fff; color: var(--text-primary);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--turtle-teal); box-shadow: 0 0 0 3px var(--teal-light); }
.field .error { color: var(--status-red); font-size: 13px; margin-top: 5px; }
.form-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: var(--shadow-card); }
.form-success { text-align: center; padding: var(--space-8); }
.form-success__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--teal-light); color: var(--turtle-teal); display: grid; place-items: center; margin: 0 auto var(--space-4); }
.alert-error { background: #fdecea; border: 1px solid #f5c6c0; color: #8a2318; padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: var(--space-4); }

/* ---------- Breadcrumb ---------- */
.crumb { font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: var(--space-4); }
.crumb a { color: var(--text-muted); }
.crumb a:hover { color: var(--turtle-teal); }

/* ---------- Footer ---------- */
.footer { background: var(--carbon); color: var(--text-on-dark-muted); padding-block: var(--space-16) var(--space-8); }
.footer__grid { display: grid; grid-template-columns: 1.5fr repeat(6, minmax(112px,1fr)); gap: var(--space-6) var(--space-5); max-width: var(--max-content); margin-inline: auto; padding-inline: var(--space-6); }
/* Long link lists stay compact — scroll inside the column when there's more. */
.footer__scroll { display: flex; flex-direction: column; max-height: 150px; overflow-y: auto; overscroll-behavior: contain; -ms-overflow-style: thin; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.22) transparent; }
.footer__scroll::-webkit-scrollbar { width: 6px; }
.footer__scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 999px; }
.footer__scroll::-webkit-scrollbar-track { background: transparent; }
.footer__all { display: inline-block; margin-top: 8px; color: #fff; font-weight: 600; font-size: 13.5px; }
.footer__brand p { color: var(--text-on-dark-muted); font-size: 15px; margin-top: var(--space-4); max-width: 300px; }
.footer__tagline { font-family: var(--font-mono); font-size: 13px; color: var(--mint) !important; margin-top: var(--space-3) !important; }
.footer__brand .nav__logo { color: #fff; margin-bottom: 4px; }
.footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: var(--space-4); }
.footer__col a { display: block; color: var(--text-on-dark-muted); font-size: 15px; padding: 5px 0; }
.footer__col a:hover { color: var(--mint); text-decoration: none; }
.footer__bottom { max-width: var(--max-content); margin: var(--space-12) auto 0; padding: var(--space-6) var(--space-6) 0; border-top: 1px solid rgba(255,255,255,.08); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3); font-size: 13px; }
.footer__bottom a { color: var(--text-on-dark-muted); margin-left: var(--space-4); }
.footer__bottom a:hover { color: var(--mint); }

/* ---------- Utilities ---------- */
[x-cloak] { display: none !important; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--turtle-teal); color: #fff; padding: 10px 16px; border-radius: 0 0 var(--radius-sm) 0; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 0; }
.mt-2{margin-top:var(--space-2)} .mt-4{margin-top:var(--space-4)} .mt-6{margin-top:var(--space-6)} .mt-8{margin-top:var(--space-8)}
.mb-4{margin-bottom:var(--space-4)} .mb-6{margin-bottom:var(--space-6)} .mb-8{margin-bottom:var(--space-8)}

/* ---------- Fade-up on scroll ---------- */
.fade-up { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.22,1,.36,1), transform .5s cubic-bezier(.22,1,.36,1); }
/* The hidden start-state applies only once JS has confirmed it can reveal it again.
   Previously .fade-up defaulted to opacity:0, so any JS failure — or a section too tall
   to satisfy the observer threshold, which is what emptied /blog at 266 posts — left real
   content permanently invisible. Content must never depend on JS to be readable. */
.js-anim .fade-up { opacity: 0; transform: translateY(16px); }
.fade-up.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: var(--space-10); }
  .hero__visual { order: -1; }
  .split { grid-template-columns: 1fr; gap: var(--space-8); }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .nav__links, .nav__actions .btn--ghost { display: none; }
  .nav__burger { display: inline-flex; }
  .nav__mobile { display: block; background: var(--card); border-bottom: 1px solid var(--border); padding: var(--space-4) var(--space-6); }
  .nav__mobile a { display: block; padding: 10px 0; font-weight: 500; color: var(--text-secondary); border-bottom: 1px solid var(--border); }
  .section { padding-block: var(--space-16); }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr) !important; gap: var(--space-8) var(--space-6); }
  .stat-band .num { font-size: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__scroll { max-height: none; }
  /* keep it a real table; the wrapper (overflow-x:auto) scrolls it as a unit */
  .cmp { min-width: 480px; }
  .cmp th, .cmp td { padding: 13px 14px; font-size: 14px; }
  .sticky-bar__text { font-size: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .fade-up { opacity: 1; transform: none; }
}

/* ── Long-form money-page prose (markdown-rendered) ─────────────── */
.prose{max-width:760px;margin-inline:auto}
.prose > * + *{margin-top:1.05rem}
.prose h2{font-size:clamp(23px,3.2vw,30px);line-height:1.2;letter-spacing:-.01em;margin-top:2.6rem;color:var(--text-primary)}
.prose h2:first-child{margin-top:0}
.prose h3{font-size:19px;margin-top:1.7rem;color:var(--text-primary)}
.prose p{color:var(--text-secondary);line-height:1.72}
.prose ul,.prose ol{padding-left:1.25rem;color:var(--text-secondary)}
.prose ul{list-style:disc}
.prose ol{list-style:decimal}
.prose li{margin-top:.4rem;line-height:1.6}
.prose li::marker{color:var(--turtle-teal)}
.prose strong{color:var(--text-primary);font-weight:700}
.prose em{color:var(--text-muted)}
.prose a{color:var(--turtle-teal);text-decoration:underline;text-underline-offset:2px;text-decoration-color:color-mix(in srgb,var(--turtle-teal) 40%,transparent)}
.prose a:hover{text-decoration-color:var(--turtle-teal)}
.prose hr{border:none;border-top:1px solid var(--border);margin:2.2rem 0}
.prose .tbl,.prose>table{display:block;overflow-x:auto}
.prose table{width:100%;border-collapse:collapse;margin:1.3rem 0;font-size:14px;min-width:520px}
.prose th{background:var(--turtle-teal);color:#fff;text-align:left;padding:9px 13px;font-weight:600;font-size:13px}
.prose td{border-top:1px solid var(--border);padding:9px 13px;color:var(--text-secondary);vertical-align:top}
.prose tr:nth-child(even) td,.prose tbody tr:nth-child(even){background:var(--mist)}

/* ── Founders ───────────────────────────────────────────────────── */
.founders{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media(max-width:820px){.founders{grid-template-columns:1fr}}
.founder{background:#fff;border:1px solid var(--border);border-radius:16px;padding:22px;display:flex;flex-direction:column;box-shadow:0 1px 2px rgba(13,61,58,.04),0 14px 30px -18px rgba(13,61,58,.18)}
.founder__av{width:52px;height:52px;border-radius:14px;background:linear-gradient(145deg,var(--turtle-teal),#1a9a8e);color:#fff;display:grid;place-items:center;font-weight:800;font-size:18px;letter-spacing:.02em;margin-bottom:14px}
.founder__name{font-size:19px;font-weight:800;letter-spacing:-.01em;color:var(--text-primary)}
.founder__role{color:var(--turtle-teal);font-weight:600;font-size:13px;margin-top:3px}
.founder__edu{color:var(--text-muted);font-size:12px;margin-top:7px}
.founder__bio{color:var(--text-secondary);font-size:14px;margin-top:13px;line-height:1.62}
.founder__li{margin-top:auto;padding-top:15px;display:inline-flex;gap:7px;align-items:center;color:var(--turtle-teal);font-weight:700;font-size:13px;text-decoration:none}
.founder__li:hover{text-decoration:underline}
.founder__li svg{width:15px;height:15px}

/* ── Floating WhatsApp button ───────────────────────────────────── */
.wa-float{
  position:fixed; right:20px; bottom:22px; z-index:200;
  display:inline-flex; align-items:center; gap:9px;
  background:#25D366; color:#fff; text-decoration:none;
  padding:11px 16px 11px 13px; border-radius:999px; font-weight:700; font-size:14px;
  box-shadow:0 6px 22px -6px rgba(37,211,102,.7), 0 2px 6px rgba(0,0,0,.15);
  transition:transform .16s ease, box-shadow .16s ease;
}
.wa-float:hover{ transform:translateY(-2px); box-shadow:0 10px 28px -6px rgba(37,211,102,.8), 0 3px 8px rgba(0,0,0,.18); color:#fff; }
.wa-float__icon{ width:24px; height:24px; flex-shrink:0; }
.wa-float__label{ white-space:nowrap; }
@media (max-width:560px){
  .wa-float{ right:16px; bottom:16px; padding:12px; }
  .wa-float__label{ display:none; }   /* icon-only on small screens */
}
@media (prefers-reduced-motion:reduce){ .wa-float{ transition:none; } }

/* ── Mega-menu polish (compact, refined) ────────────────────────── */
.nav__mega-card{ width:min(470px,92vw); padding:14px; border-radius:16px; }
.nav__mega-lead{ font-size:15px; padding:9px 12px; margin-bottom:6px; }
.nav__mega-grid{ gap:2px 10px; }
.nav__mega-grid a{ padding:9px 12px; font-size:14px; line-height:1.3; border-radius:8px; }
.nav__mega-grid a:hover{ background:var(--teal-light); color:var(--teal-dark); }

/* ── Nav labels: never wrap; give the bar breathing room ────────── */
.nav__links > a, .nav__item > button { white-space: nowrap; }
.nav__links { gap: 20px; margin-left: 22px; }
@media (max-width: 1180px){ .nav__links { gap: 15px; margin-left: 14px; } .nav__links > a, .nav__item > button { font-size: 14px; } }

/* ── Blog byline ────────────────────────────────────────────────── */
.byline{ font-size:14px; color:var(--text-muted); margin-top:2px; }
.byline a{ color:var(--turtle-teal); font-weight:600; text-decoration:none; }
.byline a:hover{ text-decoration:underline; }
.byline span{ color:var(--text-muted); }

/* ── Team/author photo avatars ──────────────────────────────────── */
img.founder__av{ object-fit:cover; display:block; padding:0; }

/* ── Mobile spacing optimisation (kill the big gaps) ────────────── */
@media (max-width: 768px){
  .hero{ padding-block: 48px 40px; }
  .hero__sub{ font-size: 17px; margin-top: 16px; }
  .section{ padding-block: 48px; }
  .section--tight{ padding-block: 32px; }
  .grid{ gap: 18px; }
  .btn-row{ gap: 12px; flex-wrap: wrap; }
  .founders{ gap: 16px; }
  .prose > * + *{ margin-top: .9rem; }
  .prose h2{ margin-top: 1.8rem; }
  .stat-band{ gap: 16px !important; }
  .split{ gap: 28px !important; }
}
@media (max-width: 480px){
  .container{ padding-inline: 18px; }
  .hero{ padding-block: 36px 30px; }
  .hero h1{ font-size: clamp(28px, 8.5vw, 40px); line-height: 1.08; }
  .hero__sub{ font-size: 16px; }
  .section{ padding-block: 40px; }
  .section--tight{ padding-block: 26px; }
  .section__title{ font-size: clamp(24px, 7vw, 32px); }
  .grid{ gap: 14px; }
  .card{ padding: 18px; }
  .stat-band .num{ font-size: 30px; }
  .btn--lg{ width: 100%; justify-content: center; }
}

/* ── Grid children may shrink (prevents mobile horizontal overflow) ── */
.grid > *, .founders > *, .split > * { min-width: 0; }
.viz-card { max-width: 100%; overflow: hidden; }
@media (max-width: 960px){ .grid--3, .grid--2 { grid-template-columns: 1fr; } }

/* ============================================================
   Structured mega-menus (v2 nav) — 2025-07-25
   Multi-column dropdowns with section headers + CTA row.
   ============================================================ */
.nav__mega--wide .nav__mega-card { width: min(760px, 94vw); padding: 18px; }
.nav__mega--left  { left: 0; right: auto; transform: none; }
.nav__mega--right { left: auto; right: 0; transform: none; }
.nav__mega-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 14px; }
.nav__mega-cols--2 { grid-template-columns: 1fr 1fr; }
.nav__col-title {
  font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase;
  color: var(--text-muted); padding: 6px 12px 4px; margin-top: 4px;
}
.nav__mega-link { display: block; padding: 8px 12px; border-radius: 9px; }
.nav__mega-link:hover { background: var(--teal-light); text-decoration: none; }
.nav__mega-link b { display: block; font-size: 14px; font-weight: 600; color: var(--carbon); line-height: 1.25; }
.nav__mega-link span { display: block; font-size: 12px; color: var(--text-secondary); margin-top: 2px; line-height: 1.3; }
.nav__mega-link:hover b { color: var(--teal-dark); }
.nav__mega-flat a { display: block; padding: 7px 12px; border-radius: 9px; font-size: 14px; font-weight: 500; color: var(--text-secondary); }
.nav__mega-flat a:hover { background: var(--teal-light); color: var(--teal-dark); text-decoration: none; }
.nav__mega-cta {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: center;
  margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border);
}
.nav__mega-cta .btn { font-size: 13px; padding: 8px 14px; }
.nav__mega-cta .nav__cta-note { font-size: 12px; color: var(--text-muted); margin-left: auto; }

/* structured mobile accordion */
.nav__mobile-group { border-bottom: 1px solid var(--border); }
.nav__mobile-group > button {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: none; border: none; cursor: pointer; padding: 13px 0;
  font-size: 15px; font-weight: 700; color: var(--carbon); font-family: inherit;
}
.nav__mobile-group > button svg { transition: transform .18s; }
.nav__mobile-panel a { display: block; padding: 9px 0 9px 14px; font-size: 14px; color: var(--text-secondary); border: none; }
.nav__mobile-panel a:hover { color: var(--turtle-teal); }
.nav__mobile-cta { display: block; padding: 14px 0 4px; color: var(--turtle-teal); font-weight: 800; font-size: 15px; }
@media (max-width: 720px) {
  .nav__mega--wide .nav__mega-card { width: 94vw; }
  .nav__mega-cols, .nav__mega-cols--2 { grid-template-columns: 1fr; }
}

/* ============================================================
   Blog structured elements (TOC + product nudge + author bio) — 2025-07-25
   ============================================================ */
.article-toc { border: 1px solid var(--border); border-radius: 14px; background: var(--surface-mist, #f4f7f5); padding: 18px 22px; margin-bottom: var(--space-8); }
.article-toc__title { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 10px; }
.article-toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.article-toc li a { color: var(--text-secondary); font-size: 15px; font-weight: 500; }
.article-toc li a:hover { color: var(--turtle-teal); }
.prose h2 { scroll-margin-top: 90px; }

.post-product { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--space-6); align-items: center;
  margin-top: var(--space-10); padding: var(--space-6); border: 1px solid var(--border); border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-mist,#f4f7f5), #fff); }
.post-product__copy h3 { font-size: 22px; margin: 8px 0 10px; }
.post-product__copy p { color: var(--text-secondary); margin-bottom: var(--space-4); }
.post-product__shot img { width: 100%; border-radius: 12px; border: 1px solid var(--border); box-shadow: var(--shadow-hover); }

.author-bio { display: flex; gap: 18px; align-items: flex-start; margin-top: var(--space-8);
  padding-top: var(--space-6); border-top: 1px solid var(--border); }
.author-bio__eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--text-muted); }
.author-bio__body h4 { font-size: 18px; margin: 2px 0 6px; }
.author-bio__body h4 span { color: var(--text-muted); font-weight: 500; font-size: 15px; }
.author-bio__text { color: var(--text-secondary); font-size: 15px; margin-bottom: 8px; }
.author-bio__links { display: flex; gap: 16px; }
.author-bio__links a { font-size: 14px; font-weight: 600; color: var(--turtle-teal); }
@media (max-width: 720px) {
  .post-product { grid-template-columns: 1fr; }
  .author-bio { flex-direction: column; }
}

/* ============================================================
   Mobile bottom action bar (conversion) — 2025-07-25
   ============================================================ */
.mcta { display: none; }
@media (max-width: 767px) {
  .mcta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-top: 1px solid var(--border); }
  .mcta__btn { display: flex; align-items: center; justify-content: center; gap: 7px;
    padding: 13px 8px; border-radius: 12px; font-weight: 800; font-size: 15px; text-decoration: none; }
  .mcta__btn--audit { background: var(--turtle-teal); color: #fff; }
  .mcta__btn--wa { background: #25D366; color: #fff; }
  .mcta__btn:active { transform: translateY(1px); }
  /* on mobile the bottom action bar replaces the floating WhatsApp + full-width sticky bar */
  .wa-float { display: none !important; }
  .sticky-bar { display: none !important; }
  main { padding-bottom: 64px; }
}

/* ============================================================
   Premium polish pass (2026-07-25) — teal-led, nothing neon.
   Tabular numerals · softer wide shadows · calmer cards.
   ============================================================ */
.num, .card__num, .plan__price, .plan__price small, .stat-band .num, .hbar-val,
.viz-line text, .cmp .n, [data-countup], .price-grid .plan__price, .plan__meta span {
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
}
:root { --shadow-card: 0 1px 2px rgba(11,21,18,.03), 0 14px 36px -12px rgba(11,21,18,.10); }
.card, .viz-card, .shot-card { border-color: rgba(11,21,18,.06); }
.card--dark { border-color: rgba(255,255,255,.08); }

/* ============================================================
   Global horizontal-overflow guard (2026-07-25)
   Nothing may exceed the viewport width on mobile. overflow-x:clip
   (not hidden) so the sticky nav keeps working. Wide tables keep
   their own inner overflow-x:auto scroll.
   ============================================================ */
html, body { overflow-x: clip; max-width: 100%; }
img, svg, video, table { max-width: 100%; }

/* ============================================================
   Readability pass (2026-07-25) — long-form content pages.
   ============================================================ */
.prose p, .prose li { font-size: 17px; }
.prose li { line-height: 1.65; }
.prose > * + * { margin-top: 1.15rem; }
.hero__sub, .section__sub { line-height: 1.6; }

/* ── SEO fixes 2026-08-02: visible page dates + full glossary index ───────── */
.page-date { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-variant-numeric: tabular-nums; }

.glossary-index { margin-top: 2.5rem; }
.glossary-index__jump { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 1.75rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--line, #e6e8e4); }
.glossary-index__jump a {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 30px; height: 30px; padding: 0 7px;
  border: 1px solid var(--line, #e6e8e4); border-radius: 7px;
  font-size: 13px; font-weight: 700; text-decoration: none;
  color: var(--turtle-teal); background: #fff;
}
.glossary-index__jump a:hover { background: var(--turtle-teal); color: #fff; border-color: var(--turtle-teal); }
.glossary-index h2 { scroll-margin-top: 90px; margin-top: 2rem; }
.glossary-index ul { list-style: none; padding: 0; margin: .75rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 6px 24px; }
.glossary-index li { line-height: 1.5; padding: 3px 0; }
.glossary-index li a { font-weight: 600; text-decoration: none; color: var(--turtle-teal); }
.glossary-index li a:hover { text-decoration: underline; }
.glossary-index .mut { color: var(--text-muted); font-size: 13px; }

/* Server-rendered TOC anchors need offset so headings clear any sticky bar. */
.prose h2[id] { scroll-margin-top: 90px; }

/* Related-depth blocks — outbound links from the programmatic layer into real content. */
.related-depth { list-style: none; padding: 0; margin: 1.5rem 0 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 10px 28px; }
.related-depth li { line-height: 1.5; padding: 8px 0; border-bottom: 1px solid var(--line, #e6e8e4); }
.related-depth li a { font-weight: 600; text-decoration: none; color: var(--turtle-teal); }
.related-depth li a:hover { text-decoration: underline; }
.related-depth__note { display: block; font-size: 13px; color: var(--text-muted); margin-top: 2px; }

/* Product proof block on commercial pages. */
.product-proof { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.product-proof__copy h2 { font-size: clamp(24px, 3vw, 34px); margin: 8px 0 12px; }
.product-proof__copy p { color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.product-proof__shot img { width: 100%; height: auto; border-radius: 12px;
  border: 1px solid var(--line, #e6e8e4); box-shadow: 0 10px 30px rgba(0,0,0,.09); }
@media (max-width: 860px) { .product-proof { grid-template-columns: 1fr; gap: 24px; } }

/* Homepage guides list — routes authority from the strongest page into the library. */
.home-guides { list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 4px 32px; }
.home-guides li { padding: 12px 0; border-bottom: 1px solid var(--line, #e6e8e4); }
.home-guides li a { font-weight: 600; text-decoration: none; color: var(--turtle-teal); }
.home-guides li a:hover { text-decoration: underline; }
.home-guides li span { display: block; font-size: 13.5px; color: var(--text-muted); margin-top: 3px; line-height: 1.5; }

/* Inline WhatsApp CTA — WhatsApp is the primary conversation channel for Indian local
   businesses, so it sits beside the main CTA rather than only in a floating bubble. */
.btn--wa { display: inline-flex; align-items: center; gap: 9px;
  background: #fff; color: #128C7E; border: 1px solid #128C7E; }
.btn--wa:hover { background: #128C7E; color: #fff; }
.btn--wa svg { flex: none; }
.btn--wa-solid { background: #25D366; color: #fff; border-color: #25D366; }
.btn--wa-solid:hover { background: #128C7E; border-color: #128C7E; color: #fff; }

/* Sibling-link block on detail pages (RelatedPages). Kept deliberately plain: this exists to
   distribute internal link equity into the comparison/listicle/research/Q&A clusters, which
   averaged under three inbound links each, not to compete with the page's own CTAs. */
.related-links{list-style:none;padding:0;margin:0;display:grid;gap:.5rem 2rem;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,20rem),1fr))}
.related-links li{margin:0}
.related-links a{color:var(--turtle-teal);font-weight:600;text-decoration:none;
  display:inline-block;padding:.35rem 0;border-bottom:1px solid transparent}
.related-links a:hover,.related-links a:focus{border-bottom-color:currentColor}
.section--tight{padding-block:clamp(1.5rem,4vw,2.5rem)}

/* Pricing card additions (2026-08-25). The page previously showed only a base price;
   the product charges base + 10% platform fee + 18% GST, so the payable figure now sits
   directly under the price where a buyer compares it. */
.plan__headline{background:var(--mist,#f4f6f8);border-radius:10px;padding:.6rem .9rem;
  margin:.75rem 0 1rem;font-weight:600;font-size:15px;color:var(--turtle-teal);text-align:center}
.plan__payable{color:var(--text-muted);font-size:13px;line-height:1.45;margin:.4rem 0 0}
.plan__trialnote{color:var(--text-muted);font-size:12.5px;line-height:1.45;margin:.6rem 0 0;text-align:center}

/* ── Free tools (2026-09-05) ─────────────────────────────────────────────
   Layer 1 of the competitive strategy. Kept deliberately plain: a tool page
   earns links by working, not by decoration. Grid collapses to stacked rows on
   mobile with the header hidden, since a 4-column table is unusable at 360px. */
.hero--tight{padding-block:clamp(2rem,5vw,3.5rem)}
.container--narrow{max-width:56rem;margin-inline:auto}
.tool__privacy{font-size:13.5px;color:var(--text-muted);margin-top:.75rem}
.tool__grid{display:grid;gap:.5rem;margin-block:1rem}
.tool__row{display:grid;gap:.5rem;grid-template-columns:1fr 1.2fr 2fr 1fr}
.tool__row--head{font-size:12px;letter-spacing:.06em;text-transform:uppercase;
  color:var(--text-muted);font-weight:600}
.tool__row input{width:100%;padding:.6rem .7rem;border:1px solid var(--rule,#d5deda);
  border-radius:8px;font:inherit;font-size:14.5px;background:var(--surface,#fff);color:inherit}
.tool__row input:focus-visible{outline:2px solid var(--turtle-teal);outline-offset:1px}
.tool__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-block:1.25rem}
.tool__out{margin-top:1.5rem}
.tool__verdict{border-radius:10px;padding:1rem 1.25rem;margin-bottom:1rem}
.tool__verdict h3{margin:0 0 .4rem;font-size:17px}
.tool__verdict p{margin:0;font-size:14.5px}
.tool__verdict--ok{background:#e2efe9;color:#08503f}
.tool__verdict--warn{background:#f5eeda;color:#6b4c0d}
.tool__finding{border:1px solid var(--rule,#d5deda);border-left-width:3px;
  border-radius:0 8px 8px 0;padding:.9rem 1.1rem;margin-bottom:.75rem;background:var(--surface,#fff)}
.tool__finding--high{border-left-color:#9c4526}
.tool__finding--med{border-left-color:#8a6114}
.tool__finding h4{margin:0 0 .35rem;font-size:15.5px}
.tool__finding p{margin:0 0 .5rem;font-size:14.5px;color:var(--text-secondary)}
.tool__finding ul{margin:0;padding-left:1.1rem;font-size:13.5px;color:var(--text-muted)}
.tool__note{font-size:13.5px;color:var(--text-muted)}
@media (max-width:720px){
  .tool__row{grid-template-columns:1fr}
  .tool__row--head{display:none}
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]) .tool__verdict--ok{background:#16281f;color:#8fe0c4}
  :root:not([data-theme="light"]) .tool__verdict--warn{background:#26200f;color:#d9b25f}
}
