/*
Theme Name: Signal
Theme URI: https://example.com/signal
Author: Built with Claude Code
Author URI: https://example.com
Description: Marketing theme for SignalTo — AI Visibility Management. Light base with the brand's pink-to-orange gradient, DM Sans + JetBrains Mono, tight radii, and a live "what AI says" proof panel. Standalone classic theme.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: signal
Tags: light, two-column, custom-menu, featured-images, full-width-template, blog, business
*/

/* ============================================================
   Design tokens — our brand: light base, pink->orange gradient,
   DM Sans / JetBrains Mono, tight radii (console-aligned shapes)
   ============================================================ */
:root {
  --bg:         #ffffff;
  --bg-soft:    #fff7f3;
  --bg-tint:    #fdf2f6;
  --tint:       #f4f4f1;

  /* Coral grid + card system */
  --grid-line:        rgba(240, 74, 120, 0.18);
  --seam:             rgba(240, 48, 110, 0.5);
  --card-border:      rgba(240, 74, 120, 0.30);
  --card-border-hover: rgba(240, 74, 120, 0.55);
  --card-hover-fill:  rgba(240, 48, 110, 0.03); /* light translucent pink, matches the FAQ hover; flow shows through */
  --surface:    #ffffff;
  --surface-2:  #fbf4f1;
  --line:       rgba(23, 19, 28, 0.10);
  --line-soft:  rgba(23, 19, 28, 0.06);

  --ink:        #17131c;
  --text:       #2c2730;
  --text-dim:   #4c4654;
  --muted:      #767080; /* WCAG AA on white (was #8a828f) */

  --brand-pink:   #e02165; /* the single pink accent, WCAG AA on white (was #f0306e) */
  --brand-orange: #ff6b35;
  --brand-grad:   #e02165; /* one solid pink accent (legacy var name) */
  --accent:       #e02165;
  --accent-dark:  #c01a55; /* hover shade */
  --accent-ink:   #ffffff;

  /* Dark proof panel + agency band */
  --panel:      #16121b;
  --panel-2:    #1e1924;
  --panel-line: #2c2633;
  --panel-text: #d7d2dd;
  --panel-mut:  #8b8494;

  /* AI platform identifiers (their brand hues, used as dots only) */
  --gpt:    #19c37d;
  --claude: #d97757;
  --plx:    #20b8cd;
  --ggl:    #5b8def;

  --font-display: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --maxw: 1180px;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-btn: 8px;
  --radius-pill: 5px;
  --shadow: none;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
input, textarea, select, button { font-family: var(--font-body); font-size: inherit; color: inherit; }
a { color: var(--brand-pink); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--accent-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.03em;
  margin: 0 0 0.5em;
  color: var(--ink);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.4rem); font-weight: 800; line-height: 1.02; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p  { margin: 0 0 1.1em; color: var(--text-dim); }

::selection { background: var(--brand-pink); color: #fff; }

.grad-text, .hl {
  background: var(--brand-grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.band { padding: clamp(60px, 8vw, 96px) 0; position: relative; }
/* Tinted bands are semi-transparent so the flow field shows through */
.band--tint { background: rgba(244, 244, 241, 0.62); }

/* ============================================================
   Continuous flow background (Shift -> Close) + the seam line.
   No grid: square lines, alternating fade and snapping are gone.
   Crisper body text via the scoped --text-dim.
   ============================================================ */
[data-grid-block] { position: relative; z-index: 1; --text-dim: #3a3d45; }
[data-grid-block] > * { position: relative; z-index: 1; }
/* Seam line on each block boundary */
[data-grid-block]::after {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; z-index: 2;
  background: var(--seam); pointer-events: none;
}

/* One flowing line field behind the whole range */
[data-flow-host] { position: relative; isolation: isolate; }
[data-flow-svg] {
  position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 95%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 4%, #000 95%, transparent 100%);
}

/* Shared card treatment: coral border + solid pink hover fill */
.problem-card, .offer-card, .step, .dual > div, .sell-card, .prog-card, .dip, .plan, .plan-strip {
  border: 1px solid var(--card-border);
  transition: background 0.15s var(--ease), border-color 0.15s var(--ease);
}
.problem-card:hover, .offer-card:hover, .step:hover, .dual > div:hover, .sell-card:hover, .prog-card:hover, .dip:hover, .plan:hover, .plan-strip:hover {
  background: var(--card-hover-fill); border-color: var(--card-border-hover);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brand-pink);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin-bottom: 1.1rem;
  font-weight: 500;
}
/* Leading mark: a short line, a shallow pulse, resolving into the logo's forward
   double-chevron pointing into the label. The shape is a CSS mask; the colour
   comes from the brand token (background-color), never a hardcoded hex, so it
   themes with the site (pink, and orange on the agencies band below). */
.eyebrow::before {
  content: ""; flex: none; width: 45px; height: 16px;
  background-color: var(--brand-pink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2018'%3E%3Cpath%20d='M2%209H13L16%209L17.5%205L19.5%2013L21%209L24%209H30'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M35%203L40%209L35%2015'%20fill='none'%20stroke='%23000'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M40%203L45%209L40%2015'%20fill='none'%20stroke='%23000'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2018'%3E%3Cpath%20d='M2%209H13L16%209L17.5%205L19.5%2013L21%209L24%209H30'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M35%203L40%209L35%2015'%20fill='none'%20stroke='%23000'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3Cpath%20d='M40%203L45%209L40%2015'%20fill='none'%20stroke='%23000'%20stroke-width='2.1'%20stroke-linecap='round'%20stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / contain;
}
/* 404 only: the signal flatlines, no pulse and no chevron, where the page is lost. */
.eyebrow--lost::before {
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2018'%3E%3Cpath%20d='M2%209H44'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'/%3E%3C/svg%3E");
          mask-image: url("data:image/svg+xml,%3Csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2050%2018'%3E%3Cpath%20d='M2%209H44'%20fill='none'%20stroke='%23000'%20stroke-width='1.9'%20stroke-linecap='round'/%3E%3C/svg%3E");
}
.lead { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.8rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0.4rem 0 0; max-width: 20ch; color: var(--ink); }
.band p.body { font-size: 1.1rem; color: var(--text-dim); max-width: 56ch; margin: 1.2rem 0 0; }

/* ============================================================
   Buttons — DM Sans, weight 600, 8px radius (console shape)
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; letter-spacing: -0.005em; line-height: 1.2;
  min-height: 46px; padding: 0 1.35em; border-radius: var(--radius-btn); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: transform 0.2s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.2s var(--ease);
}
.btn .arrow { transition: transform 0.18s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--brand-grad); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: rgba(23,19,28,0.30); background: rgba(23,19,28,0.04); }
.btn-invert { background: #fff; color: var(--brand-pink); }
.btn-invert:hover { color: var(--accent-dark); }
/* Header Sign up: low light-pink button, darkens on hover, no visible border */
.nav-signup { background: #fff; border-color: var(--brand-pink); color: var(--brand-pink); padding: 0.55em 1.1em; line-height: 1; min-height: 0; }
.nav-signup:hover { background: var(--bg-tint); border-color: var(--brand-pink); color: var(--brand-pink); }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--line-soft);
}

/* Deep-link targets clear the sticky header (70px) plus 16px on arrival. */
#the-journey, #both-halves, #deliverables { scroll-margin-top: 86px; }

/* Inline-expand: the home teasers open their destination section in place. The
   panel animates open on height; the injected section is a full band, so its top
   padding is trimmed to read as a reveal under the teaser, not a new section. */
.teaser-panel { height: 0; overflow: hidden; transition: height 0.42s var(--ease, cubic-bezier(0.4, 0, 0.2, 1)); }
.teaser-panel[hidden] { display: none; }
/* The expanded section becomes a contained drawer, inset under the teaser: its own
   soft surface, border and radius, so it reads as detail that opened from the
   teaser rather than a second full-width section competing with it. The injected
   band/wrap chrome is neutralised so the drawer owns the spacing. */
.teaser-panel > .band {
  margin-top: clamp(8px, 1.4vw, 18px);
  padding: clamp(26px, 3.4vw, 46px);
  background: rgba(244, 244, 241, 0.7);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
}
.teaser-panel > .band > .wrap { max-width: none; padding: 0; }
.teaser-panel > [data-grid-block]::after { display: none; }
/* Inside the drawer, the intro flows as one column (no second two-column grid that
   staggers under the teaser), and the headline steps down so it supports the
   teaser above rather than competing as a second hero. */
.teaser-panel .reframe-grid { display: block; }
.teaser-panel .reframe-grid > div + div { margin-top: 1.1rem; }
.teaser-panel .reframe-grid .body { max-width: 70ch; }
.teaser-panel .lead { font-size: clamp(1.4rem, 2.4vw, 1.95rem); max-width: 30ch; }
/* Forward bridge to the full How It Works page (inline context only). */
.teaser-bridge { margin: clamp(20px, 2.6vw, 30px) 0 0; font-size: 1rem; line-height: 1.5; color: var(--text-dim); }
.hero-textlink[data-expand] .arrow { transition: transform 0.25s var(--ease, ease); }
.hero-textlink[data-expand].is-open .arrow { transform: rotate(90deg); }
.hero-textlink[data-expand].is-loading { opacity: 0.6; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
	.teaser-panel { transition: none; }
	.hero-textlink[data-expand] .arrow { transition: none; }
}
.nav-in { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 38px; width: auto; display: block; }
.brand .custom-logo { height: 28px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: 0.94rem; color: var(--text-dim); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-links .current-menu-item > a { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 18px; }
/* Nav links cluster to the right alongside Log in + the CTA */
.nav-right { display: flex; align-items: center; gap: 28px; }
.nav-login { font-size: 0.92rem; color: var(--muted); font-weight: 500; }
.nav-login:hover { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; color: var(--ink); padding: 8px; }
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex; position: absolute; top: 70px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 12px 28px 24px;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a { display: block; padding: 14px 0; border-bottom: 1px solid var(--line-soft); font-size: 1.05rem; }
  .nav-login { display: none; }
}

/* Header panels (Log in, Sign up): sit in flow under the header and expand the page
   down (no overlay). The grid-rows 0fr -> 1fr trick animates the height; the inner
   wrap is clipped while closed. Only one is open at a time (controlled in JS). */
.header-panel { display: grid; grid-template-rows: 0fr; background: #fff; border-bottom: 0 solid var(--line); transition: grid-template-rows 0.32s var(--ease); }
.header-panel.is-open { grid-template-rows: 1fr; border-bottom-width: 1px; }
.header-panel > .wrap { overflow: hidden; min-height: 0; visibility: hidden; transition: visibility 0s linear 0.32s; }
.header-panel.is-open > .wrap { visibility: visible; transition: visibility 0s; }
.login-view { display: flex; align-items: center; justify-content: space-between; gap: 36px; width: 100%; padding: 20px 0; }
.login-view[hidden] { display: none; }
.login-copy { display: flex; flex-direction: column; gap: 2px; flex: none; }
.login-eyebrow { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.login-sub { font-size: 0.9rem; color: var(--muted); }
.login-controls { flex: 1; max-width: 560px; }
.login-fields { display: flex; align-items: center; gap: 10px; }
.login-fields input { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); transition: border-color var(--ease); }
.login-fields input:focus { outline: none; border-color: var(--brand-pink); }
.login-fields .btn { flex: none; min-height: 0; padding: 0.65em 1.25em; }
.login-foot { display: flex; align-items: center; gap: 12px; margin-top: 9px; min-height: 18px; }
.login-msg { margin: 0; font-size: 0.85rem; font-weight: 600; color: var(--accent-dark); }
.login-msg.is-ok { color: #1d9e75; }
.login-link { margin-left: auto; background: none; border: 0; cursor: pointer; font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--brand-pink); padding: 0; }
.login-link:hover { color: var(--accent-dark); }
@media (max-width: 720px) {
  .login-view { flex-direction: column; align-items: stretch; gap: 14px; }
  .login-fields { flex-wrap: wrap; }
  .login-fields input { flex: 1 1 100%; }
  .login-fields .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .header-panel { transition: none; }
  .header-panel > .wrap { transition: visibility 0s; }
}

/* Sign up panel: the end-client account step, sharing the header-panel expansion. */
.signup-view { display: flex; align-items: flex-start; justify-content: space-between; gap: 36px; width: 100%; padding: 20px 0; }
.signup-view[hidden] { display: none; }
.signup-copy { display: flex; flex-direction: column; gap: 2px; flex: none; max-width: 260px; padding-top: 3px; }
.signup-form { flex: 1; max-width: 660px; }
.signup-fields { display: flex; gap: 10px; }
.signup-fields input { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); transition: border-color var(--ease); }
.signup-fields input:focus { outline: none; border-color: var(--brand-pink); }
.signup-hint { display: flex; align-items: center; gap: 7px; margin: 9px 0 0; font-size: 0.8rem; color: var(--muted); }
.signup-hint::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--line); transition: background var(--ease); }
.signup-hint.is-valid { color: #1d9e75; }
.signup-hint.is-valid::before { background: #1d9e75; }
/* The site field sits with the account fields in the one step: full-width input. */
.signup-url { margin-top: 12px; }
.signup-panel .signup-url input { display: block; width: 100%; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 11px 13px; font-family: var(--font-body); font-size: 0.95rem; color: var(--ink); transition: border-color var(--ease); }
.signup-panel .signup-url input:focus { outline: none; border-color: var(--brand-pink); }
/* Carried-over fields (email / website from a prefilled hand-off): marked done so
   the panel does not read as half-empty. Cleared on edit, and focus still wins. */
.signup-fields input.is-prefilled, .signup-panel .signup-url input.is-prefilled { border-color: rgba(29, 158, 117, 0.5); background-color: rgba(29, 158, 117, 0.06); }
.signup-legal { display: flex; align-items: flex-start; gap: 9px; margin-top: 13px; font-size: 0.82rem; line-height: 1.5; color: var(--text-dim); }
.signup-legal input { flex: none; margin-top: 3px; accent-color: var(--brand-pink); }
.signup-legal a { color: var(--brand-pink); }
.signup-legal a:hover { color: var(--accent-dark); }
.signup-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 15px; }
.signup-foot .login-msg { margin: 0; }
.signup-foot .btn { min-height: 0; padding: 0.65em 1.3em; }
@media (max-width: 720px) {
  .signup-view { flex-direction: column; align-items: stretch; gap: 14px; }
  .signup-copy { max-width: none; }
  .signup-fields { flex-direction: column; }
  .signup-foot { flex-direction: column; align-items: stretch; }
  .signup-foot .btn { justify-content: center; }
}

/* ============================================================
   Hero — gap statement + live proof panel
   ============================================================ */
.hero { padding: clamp(16px, 2vw, 24px) 0 clamp(52px, 7vw, 80px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: flex-start; }
.hero-grid > * { min-width: 0; }
/* Two-column only: nudge the panel down so its top edge meets the first line of the H1 (below the eyebrow). */
@media (min-width: 981px) { .hero .panel { margin-top: 3.3rem; } }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero-h { margin: 0.5rem 0 0; font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1.04; }
.hero-h-1 { display: block; text-wrap: balance; }
.hero-h-2 { display: block; font-size: 0.56em; font-weight: 600; color: var(--text-dim); line-height: 1.14; letter-spacing: -0.02em; margin-top: 0.5em; }
.hero-sub { font-size: 1.14rem; color: var(--text-dim); max-width: 46ch; margin: 1.4rem 0 0; }
.hero-actions { margin-top: 2rem; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
/* Smallest screens: the two hero CTAs stack full-width rather than cramming side by side. */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-actions .btn { width: 100%; justify-content: center; }
}
.hero-micro { margin-top: 1rem; font-size: 0.92rem; color: var(--muted); }
.hero-micro a { font-weight: 600; }

/* AI platform coverage strip: floats at the bottom of the viewport, slides away on scroll */
.coverage { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); transition: transform 0.4s var(--ease), opacity 0.3s var(--ease); }
.coverage.is-hidden { transform: translateY(110%); opacity: 0; pointer-events: none; }
.coverage > .wrap { padding-top: clamp(13px, 1.8vw, 20px); padding-bottom: clamp(13px, 1.8vw, 20px); }
@media (prefers-reduced-motion: reduce) { .coverage { transition: opacity 0.2s linear; } .coverage.is-hidden { transform: none; } }
/* While the first-visit consent row shows, step the strip aside so they do not stack. */
/* When the cookie row is showing, lift the platform strip to sit just above it
   (rather than hiding it), so the logos stay visible. --consent-h is the measured
   cookie-row height, set in consent.js; the fallback covers first paint. */
.consent-visible .coverage { bottom: var(--consent-h, 52px); }
.coverage-cap { margin: 0 0 0.85rem; font-size: 0.9rem; color: var(--muted); }

/* First-visit cookie consent: slim, quiet, pinned to the bottom, non-blocking */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--surface); border-top: 1px solid var(--line); }
.consent[hidden] { display: none; }
.consent > .wrap { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; padding-top: 11px; padding-bottom: 11px; }
.consent-text { flex: 1; min-width: 240px; margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--text-dim); }
.consent-text a { color: var(--brand-pink); }
.consent-text a:hover { color: var(--accent-dark); }
.consent-btn { flex: none; min-height: 0; padding: 0.5em 1.3em; font-size: 0.88rem; }
@media (max-width: 560px) { .consent > .wrap { padding-top: 10px; padding-bottom: 10px; } .consent-btn { width: 100%; justify-content: center; } }

/* Internal reset control on the sitemap page */
.consent-switch { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin: clamp(20px, 3vw, 30px) 0 0; padding: 13px 16px; border: 1px dashed var(--card-border); border-radius: var(--radius); }
.consent-switch .cs-label { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.consent-switch .cs-state { font-size: 0.92rem; color: var(--text-dim); }
.consent-switch .cs-state b { font-weight: 600; color: var(--ink); }
.consent-switch button { margin-left: auto; min-height: 0; padding: 0.5em 1.1em; font-size: 0.85rem; }
.coverage-row { display: flex; align-items: center; flex-wrap: wrap; gap: clamp(22px, 3.8vw, 46px); }
.coverage-logo { display: inline-flex; align-items: center; gap: 0.5em; color: var(--muted); }
.coverage-mark { height: 21px; width: auto; flex: none; fill: currentColor; }
.coverage-name { font-family: var(--font-display); font-weight: 600; font-size: 1.04rem; letter-spacing: -0.01em; line-height: 1; }
@media (max-width: 640px) {
	.coverage-row { gap: 18px 26px; }
	.coverage-mark { height: 19px; }
	.coverage-name { font-size: 0.96rem; }
}

/* Home proof panel (white, pink edge): a 2x2 grid of platform answers that type
   in (assets/home.js), each dated with an ask-it-yourself link. */
.panel { background: #fff; border: 1.5px solid var(--brand-pink); border-radius: 16px; color: var(--ink); padding: 18px; }
.panel-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.panel-bar .lbl { font-family: var(--font-mono); font-size: 0.69rem; letter-spacing: 0.12em; color: var(--muted); }
.live { display: flex; align-items: center; gap: 6px; font-family: var(--font-mono); font-size: 0.69rem; letter-spacing: 0.12em; color: var(--brand-pink); }
.live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-pink); box-shadow: 0 0 0 0 rgba(240,48,110,0.7); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(240,48,110,0.5); } 70% { box-shadow: 0 0 0 7px rgba(240,48,110,0); } 100% { box-shadow: 0 0 0 0 rgba(240,48,110,0); } }
.ai-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.ai-card { display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 13px 13px 11px; }
.ai-head { display: flex; align-items: center; gap: 7px; margin-bottom: 9px; }
.ai-head .ai-dot { width: 7px; height: 7px; }
.ai-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.ai-dot.gpt { background: var(--gpt); }
.ai-dot.claude { background: var(--claude); }
.ai-dot.plx { background: var(--plx); }
.ai-name { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink); letter-spacing: 0.01em; }
.ai-text { font-size: 0.78rem; line-height: 1.45; color: var(--text-dim); margin-bottom: 11px; min-height: 1.45em; }
.ai-text.typing::after { content: ''; display: inline-block; width: 2px; height: 1em; background: var(--brand-pink); margin-left: 1px; vertical-align: text-bottom; animation: caret 0.8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.ai-cfoot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; }
.ai-date { font-family: var(--font-mono); font-size: 0.64rem; color: var(--muted); }
.ai-cfoot .card-ask { margin-top: 0; font-size: 0.7rem; }
.ai-note { font-size: 0.72rem; line-height: 1.5; color: var(--muted); margin: 14px 0 0; }
@media (max-width: 560px) { .ai-grid { grid-template-columns: minmax(0, 1fr); } }
.card-ask { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin-top: 6px; color: var(--brand-pink); text-decoration: none; font-size: 0.82rem; font-weight: 500; }
.card-ask:hover { text-decoration: underline; }
.card-ask svg { width: 13px; height: 13px; }
.cursor { display: inline-block; width: 7px; height: 1.05em; background: var(--brand-pink); vertical-align: -2px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ============================================================
   Reframe (the shift)
   ============================================================ */
.reframe-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
@media (max-width: 860px) { .reframe-grid { grid-template-columns: 1fr; gap: 24px; } }
.reframe-grid .body { max-width: 36rem; }
.reframe .lead { max-width: 22ch; }

/* Teaser sections (SEO and GEO, What you get): the standard left-aligned section
   layout, just without the card grid. The link sits under the body column. */
.reframe-grid .reveal > .hero-textlink { margin-top: 1.4rem; }

/* The "see it, fix it, keep it yours" tease line under the difference thesis. */
.band-tease { margin-top: clamp(28px, 4vw, 40px); font-size: 1.1rem; line-height: 1.5; color: var(--text-dim); max-width: 56ch; }
.band-tease .hero-textlink { white-space: nowrap; }

/* ============================================================
   How it works — see / fix / learn
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 56px); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { padding: 30px; display: flex; flex-direction: column; background: var(--surface); border-radius: var(--radius); }
.step-more { align-self: flex-start; margin-top: auto; padding-top: 1.5rem; display: inline-flex; align-items: center; gap: 0.45em; font-family: var(--font-mono); font-size: 0.76rem; letter-spacing: 0.04em; color: var(--brand-pink); }
.step-more .arrow { transition: transform 0.18s var(--ease); }
.step-more:hover { color: var(--accent-dark); }
.step-more:hover .arrow { transform: translateX(3px); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.9rem; }
.step-ico { display: block; line-height: 0; }
.step-ico i { font-size: 1.6rem; color: var(--brand-pink); line-height: 1; }
.step .num { font-family: var(--font-mono); font-size: 0.74rem; color: var(--brand-pink); letter-spacing: 0.14em; }
.step h3 { font-size: 1.7rem; margin: 0 0 0.6rem; }
.step p { font-size: 1rem; color: var(--text-dim); margin: 0; }

/* ============================================================
   GEO / SEO dual
   ============================================================ */
.dual { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(40px, 5vw, 56px); }
@media (max-width: 680px) { .dual { grid-template-columns: 1fr; } }
.dual > div { padding: 34px 32px; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; }
.dual .k { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.16em; color: var(--muted); text-transform: uppercase; }
.dual .k i { color: var(--accent); font-size: 1.1rem; vertical-align: -0.18em; margin-right: 0.45em; }
.dual .v { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; letter-spacing: -0.03em; color: var(--ink); margin: 0.4rem 0 0.3rem; }
.dual .d { font-size: 1rem; color: var(--text-dim); margin: 0; }

/* ============================================================
   Agencies band (dark)
   ============================================================ */
.agencies { background: var(--ink); color: #fff; border-top: none; }
.agencies .eyebrow { color: var(--brand-orange); }
.agencies .eyebrow::before { background-color: var(--brand-orange); }
.agencies .lead { color: #fff; }
.agencies p.body { color: #c7c2d0; }
.agencies .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.35); }
.agencies .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

/* Dark "pause" band (the how-it-works "we do this to ourselves first" look),
   reused on the home page for The Shift. z-index lifts it above the flow field. */
.dare { background: var(--panel); color: #fff; position: relative; z-index: 1; }
.dare .lead { color: #fff; }
.dare p.body { color: var(--panel-text); }
.ag-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 90px; align-items: center; }
@media (max-width: 860px) { .ag-grid { grid-template-columns: 1fr; gap: 28px; } }
.ag-facts { display: flex; flex-direction: column; gap: 0; border: 1px solid rgba(255,255,255,0.14); border-radius: var(--radius); overflow: hidden; }
.ag-facts div { padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.14); display: flex; justify-content: space-between; align-items: baseline; gap: 16px; transition: background 0.2s var(--ease); }
.ag-facts div:hover { background: rgba(255,255,255,0.04); }
.ag-facts div:last-child { border-bottom: none; }
.ag-facts .f-k { font-size: 0.95rem; color: #c7c2d0; }
.ag-facts .f-v { font-family: var(--font-mono); font-size: 0.92rem; color: #fff; text-align: right; }

/* ============================================================
   The report (way in)
   ============================================================ */
.report-box { margin-top: 32px; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius); padding: 30px; }
.report-label { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.req { display: flex; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.req input { flex: 1 1 260px; width: auto; font-family: var(--font-mono); font-size: 0.95rem; padding: 0.82em 1em; border: 1px solid var(--line); border-radius: var(--radius-btn); background: #fff; color: var(--ink); }
.req input:focus { outline: none; border-color: var(--brand-pink); }
.req input::placeholder { color: #a39ba8; }
.report-micro { margin-top: 14px; font-size: 0.92rem; color: var(--muted); }
.ack { margin-top: 14px; font-size: 0.96rem; color: var(--brand-pink); font-weight: 600; display: none; }
.ack.show { display: block; }

/* ============================================================
   Close
   ============================================================ */
/* Close: flat light section with a single command-bar request. Generous
   bottom padding so it does not crowd the dark agency band that follows. */
.close { text-align: center; padding: clamp(28px, 3.5vw, 56px) 0 clamp(100px, 14vw, 168px); }
.close .lead { margin: 0 auto; max-width: 24ch; font-size: clamp(2rem, 4.2vw, 3.2rem); color: var(--ink); }
.close .close-sub { margin: 1rem auto 0; max-width: 56ch; color: var(--text-dim); font-size: 1.1rem; }

/* Command bar: input and button read as one object */
.command-bar {
  display: flex; align-items: center; gap: 8px;
  max-width: 560px; margin: 2.2rem auto 0;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 8px 8px 8px 18px;
  transition: border-color 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.command-bar:focus-within { border-color: var(--brand-pink); }
.command-icon { display: inline-flex; flex-shrink: 0; color: var(--muted); }
.command-icon svg { width: 18px; height: 18px; }
.command-bar input.command-input {
  flex: 1 1 auto; min-width: 0; width: auto;
  background: transparent; border: 0; border-radius: 0; outline: none; padding: 0;
  font-family: var(--font-mono); font-size: 0.95rem; color: var(--ink);
}
.command-bar input.command-input::placeholder { color: var(--muted); }
.command-btn { flex-shrink: 0; padding: 0 18px; border-radius: 9px; }

.close .ack { margin-top: 16px; font-size: 0.95rem; color: var(--brand-pink); font-weight: 600; display: none; }
.close .ack.show { display: block; }
.close-trial { margin: 1.6rem auto 0; max-width: 52ch; color: var(--muted); font-size: 1rem; }
.close-trial a { color: var(--brand-pink); }
.close-trial a:hover { color: var(--accent-dark); }

/* Report request: one step, website and email side by side, then the button. */
.report { max-width: 560px; margin: 2.2rem auto 0; }
.report-form[hidden] { display: none; }
.report-fields { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.report-field { display: flex; flex-direction: column; gap: 6px; }
.report-label { font-family: var(--font-body); font-size: 0.85rem; font-weight: 500; color: var(--text-dim); line-height: 1.3; }
.report-input {
  width: 100%; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px;
  font-family: var(--font-mono); font-size: 0.95rem; color: var(--ink);
  transition: border-color 0.18s var(--ease);
}
.report-input:focus { outline: none; border-color: var(--brand-pink); }
.report-input::placeholder { color: var(--muted); }
.report-btn { margin-top: 16px; width: 100%; justify-content: center; }

.cb-msg { margin: 12px auto 0; max-width: 560px; font-size: 0.92rem; color: var(--text-dim); }

/* Confirmation: a live "working" panel that echoes the hero proof panel. */
.report-done {
  max-width: 560px; margin: 2.2rem auto 0; text-align: center;
  border: 1px solid var(--card-border); border-radius: var(--radius);
  background: var(--surface); padding: 22px 26px;
  animation: cb-rise 0.42s var(--ease);
}
.report-live { justify-content: center; margin-bottom: 12px; }
.report-done-msg { margin: 0 auto; max-width: 48ch; color: var(--text); font-size: 1.05rem; line-height: 1.55; }
.report-scan {
  position: relative; overflow: hidden;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 9px 18px;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft);
}
.scan-item { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); }
.scan-item .ai-dot { animation: scan-glow 1.8s var(--ease) infinite; }
.scan-item:nth-child(2) .ai-dot { animation-delay: 0.22s; }
.scan-item:nth-child(3) .ai-dot { animation-delay: 0.44s; }
.scan-item:nth-child(4) .ai-dot { animation-delay: 0.66s; }
.ai-dot.ggl { background: var(--ggl); }
.report-scan::after {
  content: ""; position: absolute; top: 16px; bottom: 0; left: -25%; width: 25%;
  background: linear-gradient(90deg, transparent, rgba(240,48,110,0.10), transparent);
  animation: scan-sweep 2.6s linear infinite;
}

@keyframes cb-pop { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
@keyframes cb-slide { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: none; } }
@keyframes cb-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes scan-glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(240,48,110,0); opacity: 0.45; } 50% { box-shadow: 0 0 0 4px rgba(240,48,110,0.14); opacity: 1; } }
@keyframes scan-sweep { from { transform: translateX(0); } to { transform: translateX(500%); } }

@media (max-width: 560px) {
  .command-bar { flex-wrap: wrap; padding: 8px; }
  .command-icon { margin-left: 10px; }
  .command-btn { flex: 1 1 100%; justify-content: center; }
}

/* reveal */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor, .live .dot { animation: none; }
  .report-done, .scan-item .ai-dot { animation: none; }
  .report-scan::after { display: none; }
}

/* ============================================================
   The Problem — list
   ============================================================ */
.problem-intro { font-size: 1.05rem; color: var(--ink); font-weight: 600; margin: clamp(40px, 5vw, 56px) 0 18px; }
.problem-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 760px) { .problem-cards { grid-template-columns: 1fr; } }
.problem-card { background: var(--surface); border-radius: var(--radius); padding: 1.3rem 1.4rem; }
.problem-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.7rem; }
.problem-ico i { font-size: 1.3rem; color: var(--accent); line-height: 1; }
.problem-num { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; color: var(--brand-pink); }
.problem-card p { margin: 0; color: var(--text-dim); font-size: 1rem; }
.problem-trap { color: var(--ink); font-weight: 500; margin-top: 1.6rem; }

/* ============================================================
   What you get — offer cards (Phosphor icons, used sparingly)
   ============================================================ */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: clamp(40px, 5vw, 56px); }
@media (max-width: 880px) { .offer-grid { grid-template-columns: 1fr; } }
.offer-cta { margin-top: 28px; }
.offer-card { border-radius: var(--radius); padding: 1.8rem 1.7rem; background: var(--surface); }
.offer-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255,107,53,0.12), rgba(255,53,122,0.12)); border: 1px solid rgba(255,53,122,0.20); margin-bottom: 1.1rem; }
.offer-ico i { font-size: 1.4rem; color: var(--brand-pink); line-height: 1; }
.offer-card h3 { margin-bottom: 0.4em; }
/* Contact uses h2 for its method headings (heading order); keep the h3 size. */
.offer-card h2 { font-size: clamp(1.2rem, 2vw, 1.5rem); margin-bottom: 0.4em; }
.offer-card p { margin: 0; font-size: 0.98rem; color: var(--text-dim); }

/* ---- Shared primitives for the marketing/content pages -------------------
   Used by partners, reseller, affiliate and how-it-works. Defined once here
   so they never drift per page. */

/* Single-column hero (no reserved second column). Sub-line at a comfortable measure. */
.hero-lite { padding-bottom: clamp(34px, 5vw, 56px); }
.hero-lite .hero-sub { max-width: 56ch; }

/* Secondary hero action: a quiet pink text link with a nudging arrow. */
.hero-textlink { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; font-size: 0.98rem; color: var(--brand-pink); }
.hero-textlink .arrow { transition: transform 0.18s var(--ease); display: inline-block; }
.hero-textlink:hover { color: var(--accent-dark); }
.hero-textlink:hover .arrow { transform: translateX(3px); }

/* Offer-grid column variants, and a Dig deeper link pinned to the card base. */
.offer-grid.is-4, .offer-grid.is-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .offer-grid.is-4, .offer-grid.is-2 { grid-template-columns: 1fr; } }
.offer-grid.is-4 .offer-card { display: flex; flex-direction: column; }
.offer-grid .offer-card .step-more { margin-top: auto; padding-top: 1.3rem; }
.report-frame { margin: 0 0 1.2rem; font-size: 1.02rem; color: var(--text-dim); max-width: 62ch; }
.report-box { margin-top: 28px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq { margin-top: 32px; border-top: 1px solid var(--line); }
/* FAQ as the right column of the two-column header */
.reframe-grid .faq { margin-top: 0; border-top: 0; }
.reframe-grid .faq .faq-item:first-child { padding-top: 0; }
.faq-item { padding: 22px 18px; margin: 0 -18px; border-bottom: 1px solid var(--line); border-radius: var(--radius-sm); transition: background 0.25s var(--ease); }
.faq-item:hover { background: var(--card-hover-fill); }
.faq-item h3 { font-size: 1.18rem; margin-bottom: 0.45rem; }
.faq-item p { margin: 0; color: var(--text-dim); max-width: 66ch; }

/* ============================================================
   Partner fork (inside the dark agencies band)
   ============================================================ */
.partner-head { margin: 1.8rem 0 0.9rem; font-weight: 600; color: #fff; }
.partner-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: clamp(28px, 4vw, 44px); }
@media (max-width: 620px) { .partner-two { grid-template-columns: 1fr; } }
.partner { display: block; padding: 1.7rem 1.7rem 1.8rem; border: 1px solid rgba(255,255,255,0.16); border-radius: var(--radius); transition: border-color 0.2s var(--ease), transform 0.2s var(--ease); }
.partner:hover { border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }
.partner-ico { display: block; line-height: 0; }
.partner-ico svg { width: 28px; height: 28px; display: block; }
.partner-t { display: block; margin: 1rem 0 0.45rem; font-family: var(--font-display); font-weight: 700; color: #fff; }
.partner-t .arrow { transition: transform 0.18s var(--ease); display: inline-block; color: var(--accent); }
.partner:hover .partner-t .arrow { transform: translateX(3px); }
.partner-d { display: block; font-size: 0.95rem; color: #c7c2d0; }
.partner-both { margin-top: 1.5rem; max-width: 64ch; font-size: 0.95rem; color: #9b95a6; }
.both-link { color: var(--accent); font-weight: 600; display: inline-flex; align-items: center; gap: 0.35em; }
.both-link:hover { color: #ff7aa8; }
.both-link .arrow { transition: transform 0.18s var(--ease); }
.both-link:hover .arrow { transform: translateX(3px); }

/* ============================================================
   Generic templates — pages, posts, archives
   ============================================================ */
.page-hero { padding: clamp(56px, 7vw, 96px) 0 0; }
.page-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); }
.page-hero .lead { color: var(--muted); max-width: 600px; font-size: 1.1rem; font-weight: 400; font-family: var(--font-body); }
.holding-note { margin-top: 1.6rem; font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.05em; text-transform: uppercase; color: var(--brand-pink); }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform 0.32s var(--ease), border-color 0.32s var(--ease), box-shadow 0.32s var(--ease); }
.card:hover { transform: translateY(-5px); border-color: rgba(255,53,122,0.3); box-shadow: var(--shadow); }
.card .thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .thumb img { transform: scale(1.05); }
.card-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; flex: 1; }
.card .meta { font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-pink); margin-bottom: 0.8rem; }
.card .card-title { font-size: 1.28rem; margin-bottom: 0.5rem; }
.card .card-title a { color: var(--ink); }
.card .card-title a:hover { color: var(--brand-pink); }
.card .excerpt { font-size: 0.95rem; color: var(--muted); margin: 0 0 1.2rem; }
.card .readmore { margin-top: auto; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.03em; color: var(--ink); display: inline-flex; align-items: center; gap: 0.4em; }
.card .readmore:hover { color: var(--brand-pink); gap: 0.7em; }
.card .readmore svg { width: 14px; height: 14px; }

.content-narrow { max-width: 720px; margin: 0 auto; }
.entry .featured { border-radius: var(--radius); overflow: hidden; margin: 2rem 0; border: 1px solid var(--line); }
.entry-meta { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-pink); margin-bottom: 1rem; }
/* Article + page: elevated prose at a comfortable reading measure */
.entry-content { font-size: 1.08rem; line-height: 1.75; color: var(--text); }
.entry-content > * + * { margin-top: 1.25em; }
.entry-content > h2 + *, .entry-content > h3 + *, .entry-content > h4 + * { margin-top: 0.7em; }
.entry-content p { margin: 0; }
.entry-content h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.5rem, 2.6vw, 1.95rem); letter-spacing: -0.02em; line-height: 1.14; color: var(--ink); margin-top: 2.1em; }
.entry-content h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.01em; line-height: 1.2; color: var(--ink); margin-top: 1.7em; }
.entry-content h4 { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink); margin-top: 1.5em; }
.entry-content a { color: var(--brand-pink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.entry-content a:hover { color: var(--accent-dark); }
.entry-content strong { color: var(--ink); }
.entry-content blockquote { margin-top: 1.8em; padding: 0.2em 0 0.2em 1.3em; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.4; color: var(--ink); font-weight: 600; }
.entry-content img { border-radius: var(--radius-sm); border: 1px solid var(--line); margin-top: 1.6em; }
.entry-content code { font-family: var(--font-mono); font-size: 0.88em; background: var(--bg-tint); padding: 0.15em 0.45em; border-radius: 6px; color: var(--brand-pink); }
.entry-content pre { background: var(--panel); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; overflow-x: auto; font-size: 0.9rem; line-height: 1.6; }
.entry-content pre code { background: none; padding: 0; color: #e9e4ef; }
.entry-content ul, .entry-content ol { color: var(--text); padding-left: 1.3em; }
.entry-content li { margin: 0.4em 0; line-height: 1.7; }
.entry-content li::marker { color: var(--muted); }
.entry-content hr { border: 0; border-top: 1px solid var(--line); margin-top: 2.2em; }
.entry-content .legal-meta { font-size: 0.95rem; line-height: 1.7; color: var(--muted); }
.entry-content .legal-meta strong { color: var(--text-dim); }
.entry-content .legal-table { width: 100%; border-collapse: collapse; font-size: 0.96rem; margin-top: 1.4em; }
.entry-content .legal-table th, .entry-content .legal-table td { text-align: left; vertical-align: top; padding: 11px 14px; border-bottom: 1px solid var(--line-soft); }
.entry-content .legal-table th { font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--line); }
.entry-content .legal-table td { color: var(--text-dim); }

/* Article + page header: an accent keyline, title, dek and meta */
.post-single, .page-single { padding-bottom: clamp(56px, 8vw, 96px); }
.post-head, .page-head { padding: clamp(44px, 7vw, 84px) 0 0; }
.post-head .content-narrow, .page-head .content-narrow { border-top: 3px solid var(--accent); padding-top: clamp(22px, 3vw, 34px); }
.post-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brand-pink); margin-bottom: 1rem; }
.post-title, .page-title { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.1rem, 4.8vw, 3.3rem); line-height: 1.04; letter-spacing: -0.03em; color: var(--ink); margin: 0; }
.post-dek, .page-dek { margin: 1.1rem 0 0; max-width: 60ch; font-size: clamp(1.1rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text-dim); }
.post-meta { margin-top: 1.3rem; font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.04em; color: var(--muted); display: inline-flex; align-items: center; gap: 0.6em; flex-wrap: wrap; }
.post-cover { max-width: 940px; margin: clamp(30px, 5vw, 52px) auto 0; }
.post-cover img { display: block; width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--line); }
.post-single .entry-content, .page-single .entry-content { margin-top: clamp(30px, 5vw, 46px); }
.post-foot { margin-top: clamp(40px, 6vw, 64px); padding-top: 1.5rem; border-top: 1px solid var(--line); }
.post-back { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.04em; color: var(--brand-pink); }
.post-back:hover { color: var(--accent-dark); }

/* Sitemap (internal review listing) */
.sitemap-body { margin-top: clamp(28px, 4vw, 44px); }
.sitemap-group { margin-top: clamp(34px, 4.5vw, 52px); }
.sitemap-group:first-child { margin-top: 0; }
.sitemap-group > h2 { font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); }
.sitemap-group > .note { margin: 0.45rem 0 0; font-size: 0.92rem; line-height: 1.5; color: var(--muted); max-width: 62ch; }
/* Tree: top level flush to the group, children indented with a guide line */
.sitemap-tree { list-style: none; margin: 0; padding: 0; }
.sitemap-group > .sitemap-tree:first-of-type,
.sitemap-group > .note + .sitemap-tree { margin-top: 1.1rem; border-top: 1px solid var(--line); }
.sitemap-tree .sm-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 16px; flex-wrap: wrap; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.sitemap-tree .sm-title { font-weight: 600; color: var(--ink); }
.sitemap-tree .sitemap-url:hover { color: var(--brand-pink); }
/* nested children: indent and draw a hairline rail down the branch */
.sitemap-tree .sitemap-tree { margin: 0 0 0 0.4em; padding-left: 1.2em; border-left: 1px solid var(--line); }
.sitemap-tree .sitemap-tree .sm-row { border-bottom-color: var(--line-soft); }
.sitemap-url { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted); word-break: break-all; transition: color var(--ease); }
.sitemap-badge { font-family: var(--font-mono); font-size: 0.56rem; letter-spacing: 0.1em; text-transform: uppercase; padding: 2px 8px; border-radius: var(--radius-pill); border: 1px solid var(--line); color: var(--muted); white-space: nowrap; }
.sitemap-badge.is-draft, .sitemap-badge.is-hidden, .sitemap-badge.is-panel { color: var(--brand-pink); border-color: var(--card-border); }
.sitemap-badge.is-behavior { color: var(--muted); border-color: var(--line); }

.pagination { display: flex; gap: 0.5rem; justify-content: center; margin-top: 3.5rem; flex-wrap: wrap; }
.pagination .page-numbers { font-family: var(--font-mono); font-size: 0.85rem; min-width: 42px; height: 42px; padding: 0 0.6em; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: var(--radius-sm); color: var(--text-dim); }
.pagination .page-numbers:hover { border-color: rgba(23,19,28,0.25); color: var(--ink); }
.pagination .page-numbers.current { background: var(--brand-grad); color: #fff; border-color: transparent; }

/* 404 / search */
.center-pad { text-align: center; padding: clamp(80px, 14vw, 180px) 0; }
.center-pad .big { font-family: var(--font-display); font-weight: 800; font-size: clamp(5rem, 18vw, 12rem); line-height: 0.9; color: var(--ink); letter-spacing: -0.05em; }
.center-pad .big span { background: var(--brand-grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.search-form { display: flex; gap: 0.6rem; max-width: 440px; margin: 1.6rem auto 0; }
.search-form input[type="search"] { flex: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-btn); padding: 0.7em 1.1em; color: var(--ink); font-family: var(--font-body); font-size: 0.95rem; margin-top: 0; }
.search-form input[type="search"]:focus { outline: none; border-color: var(--brand-pink); }
.search-form button { border: 0; }

/* ============================================================
   Forms & comments
   ============================================================ */
.comments-area h3 { font-family: var(--font-display); }
.comment-list { list-style: none; margin: 1.5rem 0; padding: 0; }
.comment-list ol.children { list-style: none; margin: 0; padding-left: 1.4rem; }
.comment-list .comment-body { padding: 1.2rem 0; border-bottom: 1px solid var(--line-soft); }
.comment-author { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 0.5rem; }
.comment-author .avatar { border-radius: var(--radius-sm); }
.comment-author .fn { font-family: var(--font-display); font-weight: 600; color: var(--ink); font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata, .comment-metadata a { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.02em; color: var(--muted); }
.comment-content { color: var(--text); margin: 0.4rem 0 0.6rem; }
.reply a { font-family: var(--font-mono); font-size: 0.74rem; letter-spacing: 0.02em; color: var(--brand-pink); }
.reply a:hover { color: var(--accent-dark); }
.comment-form { margin-top: 2rem; }
.comment-form p { margin-bottom: 1.1rem; }
.comment-form label { display: block; font-size: 0.82rem; color: var(--muted); margin-bottom: 0.35rem; }
.comment-respond .comment-reply-title { font-family: var(--font-display); }
.comment-notes, .comment-form-cookies-consent { font-size: 0.85rem; color: var(--muted); }

input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"], textarea, select {
  width: 100%; box-sizing: border-box; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0.7em 0.9em; color: var(--ink); font-family: var(--font-body); font-size: 0.97rem;
  transition: border-color 0.2s var(--ease);
}
/* Single-line entry fields match the 46px button height */
input[type="text"], input[type="email"], input[type="url"], input[type="password"],
input[type="search"], input[type="tel"], input[type="number"], select {
  height: 46px; padding-top: 0; padding-bottom: 0; line-height: normal;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--brand-pink); }
input[type="checkbox"], input[type="radio"] { width: auto; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { max-width: var(--maxw); margin: 0 auto; padding: 64px 40px 36px; }
.ft-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 36px; }
.ft-logo { display: inline-block; }
.ft-logo img { height: 32px; width: auto; display: block; }
.ft-brand p { color: var(--muted); font-size: 0.95rem; max-width: 30ch; margin: 18px 0 0; line-height: 1.55; }
.ft-brand p a { color: var(--brand-pink); text-decoration: none; }
.ft-brand p a:hover { text-decoration: underline; }
.ft-social { display: flex; gap: 16px; margin-top: 22px; }
.ft-social a { color: var(--muted); display: inline-flex; transition: color 0.15s var(--ease); }
.ft-social a:hover { color: var(--brand-pink); }
.ft-social svg { width: 22px; height: 22px; }
.ft-col .ft-h { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; font-weight: 500; }
.ft-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.ft-col a { color: var(--ink); text-decoration: none; font-size: 0.97rem; }
.ft-col a:hover { color: var(--brand-pink); }
.ft-rule { height: 1px; background: var(--line); margin: 48px 0 24px; }
.ft-bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.ft-copy { color: var(--muted); font-size: 0.86rem; }
.ft-tag { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.04em; color: var(--muted); }
@media (max-width: 820px) {
  .ft-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .ft-brand { grid-column: 1 / -1; }
  .site-footer { padding: 48px 24px 28px; }
}


/* WP core alignment helpers */
.alignleft { float: left; margin: 0.4em 1.4em 1em 0; }
.alignright { float: right; margin: 0.4em 0 1em 1.4em; }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text { font-size: 0.85rem; color: var(--muted); font-style: italic; }
.screen-reader-text { position: absolute; clip: rect(1px,1px,1px,1px); width: 1px; height: 1px; overflow: hidden; }
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* WCAG AA: underline links that sit inside paragraphs (the "in text block" links
   Lighthouse flags as relying on colour alone). Buttons and the Dig Deeper panel
   links (.step-more) are excluded, so those keep their clean, underline-free look;
   they sit outside paragraphs anyway. The accessible pink/muted tokens are in :root. */
p a:not(.btn):not(.step-more) {
  text-decoration: underline;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.06em;
}

/* WCAG AA contrast on non-white surfaces. The accessible pink (#e02165) clears AA
   on white, but not on the dark bands or the faint-pink tinted cards. So:
   - dark bands keep the original brighter pink (it clears AA on dark; no visual
     change there, it is exactly the previous colour);
   - pink labels on the tinted cards use the darker hover pink (set at source in
     pricing.css / partner-pages.css, where the cascade order lets them win). */
.thesis, .dare, .agencies { --brand-pink: #f0306e; --accent: #f0306e; --brand-grad: #f0306e; }

/* Pre-register (soft launch): match the inline sign-up form. On a full page,
   centre it to a readable measure. Input styling is pinned explicitly (higher
   specificity than the generic input rule) so the fields are consistent in both
   the header panel and on a page, since some sign-up input rules are panel-only. */
.prereg-page-form { max-width: 520px; margin: clamp(20px, 3vw, 32px) auto 0; text-align: left; }
.prereg-page-form .signup-form { max-width: none; }
.prereg-form .signup-fields input,
.prereg-form .signup-url input {
  flex: 1; min-width: 0; display: block; width: 100%;
  background: #fff; border: 1px solid var(--line); border-radius: 8px;
  padding: 11px 13px; font-family: var(--font-body); font-size: 0.95rem;
  color: var(--ink); transition: border-color var(--ease);
}
.prereg-form .signup-fields input:focus,
.prereg-form .signup-url input:focus { outline: none; border-color: var(--brand-pink); }
