/* ===== css/tokens.css ===== */
/* ==========================================================================
   AEO.az — design tokens
   Predominantly white + dark navy. One restrained signal blue.
   ========================================================================== */

:root {
  /* ---- navy ramp (used strategically, for high-impact areas only) ---- */
  --navy-950: #05091c;
  --navy-900: #0a142f;
  --navy-850: #0e1936;
  --navy-800: #131f42;
  --navy-700: #1e2c55;
  --navy-600: #2c3d6b;

  /* ---- light ramp ---- */
  --white: #ffffff;
  --paper: #fbfcfe;
  --mist-50: #f7f9fc;
  --mist-100: #f2f5fa;
  --mist-150: #eaeff7;
  --mist-200: #e4eaf3;
  --mist-300: #d3dcea;

  /* ---- ink ---- */
  --ink-900: #0a142f;
  --ink-700: #2b3a58;
  --ink-500: #55637e;
  --ink-400: #7a8699;
  --ink-300: #9aa4b5;

  /* ---- signal: the only accent. never decorative. ---- */
  --signal: #2f6bff;
  --signal-600: #1d55e0;
  --signal-300: #8fb0ff;
  --signal-100: #e5edff;
  --signal-glow: rgba(47, 107, 255, 0.16);

  /* ---- states ---- */
  --ok: #12946b;
  --ok-soft: #e6f6f0;
  --warn: #b8770a;
  --warn-soft: #fdf3e2;
  --bad: #d2453d;
  --bad-soft: #fdedec;

  /* ---- semantic surfaces (light context = default) ---- */
  --bg: var(--paper);
  --surface: var(--white);
  --surface-2: var(--mist-100);
  --line: var(--mist-200);
  --line-strong: var(--mist-300);
  --text: var(--ink-900);
  --text-soft: var(--ink-500);
  --text-faint: var(--ink-400);

  /* ---- type ---- */
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'SFMono-Regular', ui-monospace, 'Cascadia Mono', Menlo, Consolas, monospace;

  --fs-display: clamp(2.65rem, 1.15rem + 4.6vw, 5.15rem);
  --fs-h1: clamp(2.25rem, 1.25rem + 3.1vw, 3.85rem);
  --fs-h2: clamp(1.85rem, 1.15rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.3rem, 1.05rem + 0.8vw, 1.75rem);
  --fs-h4: clamp(1.08rem, 0.98rem + 0.35vw, 1.28rem);
  --fs-lead: clamp(1.06rem, 0.98rem + 0.45vw, 1.32rem);
  --fs-body: 1rem;
  --fs-sm: 0.9125rem;
  --fs-xs: 0.8125rem;
  --fs-micro: 0.6875rem;

  --lh-tight: 1.04;
  --lh-snug: 1.16;
  --lh-body: 1.68;

  --track-display: -0.035em;
  --track-head: -0.025em;
  --track-eyebrow: 0.14em;

  --measure: 62ch;

  /* ---- space ---- */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 44px;
  --sp-8: 60px;
  --sp-9: 84px;
  --sp-10: 120px;

  --section-y: clamp(72px, 9vw, 148px);
  --section-y-tight: clamp(52px, 6vw, 92px);

  /* ---- layout ---- */
  --container: 1240px;
  --container-narrow: 880px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 76px;

  /* ---- shape ---- */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  /* ---- elevation: soft, navy-tinted, never grey ---- */
  --sh-xs: 0 1px 2px rgba(10, 20, 47, 0.05);
  --sh-sm: 0 2px 8px rgba(10, 20, 47, 0.06), 0 1px 2px rgba(10, 20, 47, 0.04);
  --sh-md: 0 12px 32px -12px rgba(10, 20, 47, 0.16), 0 2px 8px rgba(10, 20, 47, 0.05);
  --sh-lg: 0 32px 64px -24px rgba(10, 20, 47, 0.24), 0 8px 20px -12px rgba(10, 20, 47, 0.12);
  --sh-xl: 0 48px 96px -32px rgba(10, 20, 47, 0.3), 0 12px 28px -16px rgba(10, 20, 47, 0.14);
  --sh-signal: 0 16px 40px -16px rgba(47, 107, 255, 0.45);

  /* ---- motion ---- */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 160ms;
  --t-base: 260ms;
  --t-slow: 520ms;
  --t-reveal: 680ms;
}

/* Dark context — applied to sections, not the whole page.
   Every component reads the semantic tokens, so it re-skins automatically. */
.on-navy {
  --bg: var(--navy-900);
  --surface: var(--navy-850);
  --surface-2: var(--navy-800);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #ffffff;
  --text-soft: #a9b6d0;
  --text-faint: #7d8cab;
  --signal-100: rgba(47, 107, 255, 0.16);
  color: var(--text);
  background: var(--bg);
}


/* ===== css/base.css ===== */
/* ==========================================================================
   base — reset, typography, primitives
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-weight: 600;
  line-height: var(--lh-snug);
  letter-spacing: var(--track-head);
  color: var(--text);
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  max-width: 100%;
  display: block;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

mark {
  background: none;
  color: inherit;
}

/* Component display rules would otherwise beat the UA's [hidden] rule, so
   every element toggled via the hidden attribute needs this to actually hide. */
[hidden] {
  display: none !important;
}

::selection {
  background: var(--navy-900);
  color: #fff;
}

/* ---------------------------------------------------------------- a11y */

:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
  border-radius: 4px;
}

.on-navy :focus-visible {
  outline-color: #fff;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 999;
  padding: 12px 20px;
  background: var(--navy-900);
  color: #fff;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  transition: top var(--t-fast) var(--ease);
}

.skip-link:focus {
  top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ------------------------------------------------------------ typography */

.display {
  font-size: var(--fs-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  font-weight: 600;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: var(--measure);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--signal);
}

.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

.on-navy .eyebrow {
  color: var(--signal-300);
}

/* A word or phrase the design points at — the site's one emphasis device. */
.tint {
  color: var(--signal);
}

.underlined {
  position: relative;
  white-space: nowrap;
}

.underlined::after {
  content: '';
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.06em;
  height: 0.34em;
  background: var(--signal-100);
  border-radius: 2px;
  z-index: -1;
}

.on-navy .underlined::after {
  background: rgba(47, 107, 255, 0.3);
}

/* ---------------------------------------------------------------- prose */

.prose {
  max-width: var(--measure);
  color: var(--text-soft);
  font-size: 1.0625rem;
}

.prose > * + * {
  margin-top: 1.15em;
}

.prose h2 {
  font-size: var(--fs-h3);
  color: var(--text);
  margin-top: 2em;
}

.prose h3 {
  font-size: var(--fs-h4);
  color: var(--text);
  margin-top: 1.75em;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.prose a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.prose ul li {
  position: relative;
  padding-left: 26px;
}

.prose ul li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 0.62em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--signal);
}

.prose blockquote {
  margin: 2em 0;
  padding: 4px 0 4px 26px;
  border-left: 2px solid var(--signal);
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--text);
  font-weight: 500;
}


/* ===== css/layout.css ===== */
/* ==========================================================================
   layout — container, sections, grid primitives
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container-narrow {
  max-width: var(--container-narrow);
}

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

.section--tight {
  padding-block: var(--section-y-tight);
}

.section--flush-top {
  padding-top: 0;
}

.section--flush-bottom {
  padding-bottom: 0;
}

.section--mist {
  background: var(--mist-100);
}

.section--paper {
  background: var(--paper);
}

.section--white {
  background: var(--white);
}

/* A hairline that reads as a chapter break rather than a border. */
.section--ruled {
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------ section head */

.shead {
  display: grid;
  gap: var(--sp-4);
  max-width: 760px;
}

.shead--center {
  margin-inline: auto;
  text-align: center;
}

.shead--center .lead {
  margin-inline: auto;
}

.shead--wide {
  max-width: 900px;
}

/* Head on the left, a supporting action on the right. */
.shead-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--sp-6);
  flex-wrap: wrap;
}

.shead-row .shead {
  flex: 1 1 460px;
}

/* ---------------------------------------------------------------- grids */

.grid {
  display: grid;
  gap: var(--sp-5);
}

.g-2 {
  grid-template-columns: repeat(2, 1fr);
}
.g-3 {
  grid-template-columns: repeat(3, 1fr);
}
.g-4 {
  grid-template-columns: repeat(4, 1fr);
}

.split {
  display: grid;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  grid-template-columns: 1fr 1fr;
}

.split--wide-left {
  grid-template-columns: 1.15fr 0.85fr;
}

.split--wide-right {
  grid-template-columns: 0.85fr 1.15fr;
}

.split--top {
  align-items: start;
}

@media (max-width: 980px) {
  .g-3,
  .g-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .split,
  .split--wide-left,
  .split--wide-right {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .g-2,
  .g-3,
  .g-4 {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------- sticky rail (aside) */

.rail {
  position: sticky;
  top: calc(var(--header-h) + 32px);
}

/* ------------------------------------------------------- decorative field */

/* A faint grid that gives dark sections depth without a gradient wash. */
.field-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 75%);
}

.field-glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, var(--signal-glow) 0%, transparent 68%);
  filter: blur(8px);
}


/* ===== css/motion.css ===== */
/* ==========================================================================
   motion — scroll reveal + shared keyframes
   Every effect here is neutralised by prefers-reduced-motion at the bottom.
   ========================================================================== */

/* Scoped to .js (set inline in <head>): with no JS the content just shows. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity var(--t-reveal) var(--ease), transform var(--t-reveal) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.js [data-reveal='left'] {
  transform: translateX(-22px);
}
.js [data-reveal='right'] {
  transform: translateX(22px);
}
.js [data-reveal='scale'] {
  transform: scale(0.965);
}
.js [data-reveal='none'] {
  transform: none;
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
  will-change: auto;
}

/* ------------------------------------------------------------- keyframes */

@keyframes aeo-caret {
  0%,
  45% {
    opacity: 1;
  }
  50%,
  95% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes aeo-pulse {
  0% {
    transform: scale(1);
    opacity: 0.55;
  }
  70% {
    transform: scale(2.4);
    opacity: 0;
  }
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}

@keyframes aeo-sweep {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(200%);
  }
}

@keyframes aeo-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes aeo-drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes aeo-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@keyframes aeo-dash {
  to {
    stroke-dashoffset: 0;
  }
}

.anim-rise {
  animation: aeo-rise 460ms var(--ease) both;
}

/* --------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  /* Content must arrive at its final state, not stay hidden. */
  .js [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* ===== css/components/ai-console.css ===== */
/* ==========================================================================
   ai-console — the recurring "answer engine" panel
   ========================================================================== */

.console {
  position: relative;
  --console-bg: #fff;
}

.console__frame {
  position: relative;
  z-index: 2;
  border-radius: var(--r-xl);
  background: var(--console-bg);
  border: 1px solid var(--line);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}

/* ------------------------------------------------------------------- bar */

.console__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: 13px 18px;
  border-bottom: 1px solid var(--line);
  background: var(--mist-50);
}

.console__label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.console__pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  flex: none;
}

.console__pulse::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--ok);
  animation: aeo-pulse 2.4s var(--ease) infinite;
}

.console__engine {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--navy-900);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  transition: opacity var(--t-base) var(--ease);
}

/* ------------------------------------------------------------------ body */

.console__body {
  padding: clamp(18px, 2.4vw, 26px);
  display: grid;
  gap: 18px;
}

/* ---- query ---- */

.cq {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.cq__avatar {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--navy-900);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  margin-top: 2px;
}

.cq__text {
  font-size: clamp(0.94rem, 0.88rem + 0.3vw, 1.06rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  min-height: 1.5em;
}

.cq__caret {
  display: inline-block;
  width: 2px;
  height: 1.05em;
  background: var(--signal);
  vertical-align: text-bottom;
  margin-left: 2px;
  border-radius: 1px;
  animation: aeo-caret 1s steps(1) infinite;
}

.console.is-done .cq__caret {
  opacity: 0;
  animation: none;
}

/* ---- steps reveal ---- */

[data-console-step] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}

[data-console-step].is-shown {
  opacity: 1;
  transform: none;
}

/* Static variant (no JS animation) shows every step immediately. */
.console[data-console-static='true'] [data-console-step] {
  opacity: 1;
  transform: none;
}

/* ---- sources ---- */

.csources {
  display: grid;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--r-md);
  background: var(--mist-50);
  border: 1px solid var(--line);
}

.csources__label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.csources__list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: #fff;
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-soft);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease),
    border-color 300ms var(--ease), color 300ms var(--ease);
}

.chip.is-shown {
  opacity: 1;
  transform: none;
}

.chip.is-picked {
  border-color: var(--signal-300);
  color: var(--signal-600);
  background: var(--signal-100);
}

.console[data-console-static='true'] .chip {
  opacity: 1;
  transform: none;
}

/* ---- answer ---- */

.canswer {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}

.canswer__mark {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: var(--signal-100);
  color: var(--signal);
  margin-top: 1px;
}

.canswer__text {
  font-size: var(--fs-sm);
  line-height: 1.68;
  color: var(--ink-700);
}

/* Word-level streaming: JS wraps text nodes in .w spans. */
.canswer__text .w {
  opacity: 0;
  transition: opacity 220ms linear;
}

.canswer__text .w.is-shown,
.console[data-console-static='true'] .canswer__text .w {
  opacity: 1;
}

/* The brand mention — the single most important pixel on the page. */
.canswer__text mark {
  display: inline-block;
  padding: 1px 9px;
  margin-inline: 1px;
  border-radius: var(--r-pill);
  background: var(--signal);
  color: #fff;
  font-weight: 500;
  box-shadow: 0 6px 16px -6px rgba(47, 107, 255, 0.6);
  transform: scale(0.9);
  opacity: 0;
  transition: transform 420ms var(--ease), opacity 300ms var(--ease);
}

.canswer__text mark.is-lit,
.console[data-console-static='true'] .canswer__text mark {
  transform: none;
  opacity: 1;
}

.canswer__text strong {
  color: var(--navy-900);
  font-weight: 600;
}

/* ---- entities ---- */

.centities {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.centities__label {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-faint);
}

.centities__list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.ent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: var(--r-sm);
  background: var(--mist-100);
  font-size: var(--fs-xs);
  color: var(--ink-700);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}

.ent svg {
  color: var(--signal);
}

.ent.is-shown,
.console[data-console-static='true'] .ent {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------- pointer callout */

.console__pointer {
  position: absolute;
  z-index: 3;
  left: -18px;
  bottom: -46px;
  display: flex;
  align-items: flex-end;
  gap: 6px;
  color: var(--signal);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 500ms var(--ease), transform 500ms var(--ease);
}

.console__pointer.is-shown {
  opacity: 1;
  transform: none;
}

.console__pointer-arc {
  width: 74px;
  height: 54px;
  flex: none;
  transform: scaleX(-1);
}

.console__pointer-text {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--signal-600);
  padding-bottom: 6px;
  max-width: 15ch;
  line-height: 1.35;
}

/* ------------------------------------------------------------- variants */

/* Hero: slightly larger type, tilted plate behind it. */
.console--hero .console__frame {
  box-shadow: 0 60px 120px -50px rgba(10, 20, 47, 0.42), 0 20px 44px -28px rgba(10, 20, 47, 0.2);
}

.console--hero::before {
  content: '';
  position: absolute;
  z-index: 1;
  inset: 22px -18px -22px 26px;
  border-radius: var(--r-xl);
  background: var(--mist-100);
  border: 1px solid var(--line);
  transform: rotate(1.6deg);
}

/* Compact: used inside comparison panels. */
.console--compact .console__body {
  padding: 16px;
  gap: 13px;
}

.console--compact .console__bar {
  padding: 10px 14px;
}

.console--compact .cq__text {
  font-size: var(--fs-sm);
}

.console--compact .console__frame {
  box-shadow: var(--sh-sm);
}

/* On navy sections the console keeps its light body but loses the border glare. */
.on-navy .console__frame {
  border-color: rgba(255, 255, 255, 0.14);
}

@media (max-width: 720px) {
  .console__pointer {
    display: none;
  }
  .console--hero::before {
    inset: 16px -10px -16px 16px;
  }
  .centities {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}


/* ===== css/components/blog.css ===== */
/* ==========================================================================
   blog cards + journey-stage tags
   ========================================================================== */

/* Stage tags carry meaning: where the reader is in the journey. */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 11px;
  border-radius: var(--r-pill);
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  white-space: nowrap;
}

.tag::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.tag--kesf {
  background: var(--signal-100);
  color: var(--signal-600);
}
.tag--oyrenme {
  background: #eef3ea;
  color: #4a6b39;
}
.tag--muqayise {
  background: var(--warn-soft);
  color: var(--warn);
}
.tag--qerar {
  background: var(--navy-900);
  color: #fff;
}
.tag--xeber {
  background: var(--mist-150);
  color: var(--ink-700);
}

/* ------------------------------------------------------------ stage key */

.stages {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-5);
  padding: var(--sp-4) var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.stage-key {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.stage-key__desc {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ---------------------------------------------------------------- posts */

.posts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.posts--3 {
  grid-template-columns: repeat(3, 1fr);
}

.post {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.post:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-strong);
}

.post__link {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  height: 100%;
  padding: clamp(20px, 2.2vw, 26px);
}

.post__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.post__meta {
  font-size: var(--fs-micro);
  color: var(--text-faint);
}

.post__title {
  font-size: 1.0625rem;
  line-height: 1.4;
  letter-spacing: -0.024em;
  margin-top: 2px;
  transition: color var(--t-fast) var(--ease);
}

.post:hover .post__title {
  color: var(--signal);
}

.post__excerpt {
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--text-soft);
}

.post__more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: auto;
  padding-top: var(--sp-4);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--signal);
}

.post__more svg {
  transition: transform var(--t-base) var(--ease);
}

.post:hover .post__more svg {
  transform: translateX(4px);
}

/* Featured post takes double width on the listing page. */
.post--featured .post__title {
  font-size: 1.28rem;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .posts,
  .posts--3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .posts,
  .posts--3 {
    grid-template-columns: 1fr;
  }
  .stages {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
  }
}


/* ===== css/components/button.css ===== */
/* ==========================================================================
   button
   ========================================================================== */

.btn {
  --btn-bg: var(--navy-900);
  --btn-fg: #fff;
  --btn-bd: transparent;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  border: 1px solid var(--btn-bd);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: -0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

.btn > * {
  position: relative;
  z-index: 1;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

/* The arrow nudges on hover — the site's shared "forward" gesture. */
.btn .btn-arrow {
  display: inline-block;
  transition: transform var(--t-base) var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* ---- variants ---- */

.btn--primary {
  --btn-bg: var(--navy-900);
  box-shadow: var(--sh-md);
}

.btn--primary:hover {
  --btn-bg: var(--navy-800);
  box-shadow: var(--sh-lg);
}

.btn--signal {
  --btn-bg: var(--signal);
  box-shadow: var(--sh-signal);
}

.btn--signal:hover {
  --btn-bg: var(--signal-600);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  --btn-bd: var(--line-strong);
}

.btn--ghost:hover {
  --btn-bd: var(--navy-900);
  --btn-bg: var(--white);
  box-shadow: var(--sh-sm);
}

.on-navy .btn--ghost {
  --btn-fg: #fff;
  --btn-bd: rgba(255, 255, 255, 0.28);
}

.on-navy .btn--ghost:hover {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-bd: rgba(255, 255, 255, 0.5);
}

.btn--light {
  --btn-bg: #fff;
  --btn-fg: var(--navy-900);
  box-shadow: var(--sh-md);
}

.btn--light:hover {
  --btn-bg: #fff;
  box-shadow: var(--sh-xl);
}

.btn--sm {
  padding: 10px 18px;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 17px 34px;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* ---------------------------------------------------------- text link cta */

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--signal);
  padding-block: 4px;
}

.tlink svg,
.tlink .btn-arrow {
  transition: transform var(--t-base) var(--ease);
}

.tlink:hover svg,
.tlink:hover .btn-arrow {
  transform: translateX(4px);
}

.tlink--quiet {
  color: var(--text);
}

.tlink--quiet:hover {
  color: var(--signal);
}

/* --------------------------------------------------------------- badges */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.4;
  background: var(--mist-100);
  color: var(--text-soft);
  border: 1px solid var(--line);
}

.badge--signal {
  background: var(--signal-100);
  color: var(--signal-600);
  border-color: transparent;
}

.badge--ok {
  background: var(--ok-soft);
  color: var(--ok);
  border-color: transparent;
}

.badge--warn {
  background: var(--warn-soft);
  color: var(--warn);
  border-color: transparent;
}

.badge--bad {
  background: var(--bad-soft);
  color: var(--bad);
  border-color: transparent;
}

.badge--navy {
  background: var(--navy-900);
  color: #fff;
  border-color: transparent;
}

.on-navy .badge {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  border-color: var(--line);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}


/* ===== css/components/case.css ===== */
/* ==========================================================================
   case cards + before→after metrics + testimonials
   ========================================================================== */

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

.case {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.case:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-strong);
}

.case__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.case__period {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.case__title {
  font-size: 1.3rem;
  letter-spacing: -0.028em;
}

.case__summary {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
}

.case__metrics {
  display: grid;
  gap: var(--sp-5);
  padding: var(--sp-5) 0;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.case__cta {
  margin-top: auto;
}

/* --------------------------------------------------------------- metric */

.metric {
  display: grid;
  gap: 9px;
}

.metric__label {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.metric__row {
  display: flex;
  align-items: baseline;
  gap: 11px;
}

.metric__from {
  font-size: var(--fs-sm);
  color: var(--text-faint);
  text-decoration: line-through;
  text-decoration-color: var(--mist-300);
  font-variant-numeric: tabular-nums;
}

.metric__arrow {
  color: var(--mist-300);
  align-self: center;
}

.metric__to {
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

/* The bar shows the "before" level under the animated "after" level. */
.meter {
  position: relative;
  height: 6px;
  border-radius: 4px;
  background: var(--mist-100);
  overflow: hidden;
}

.meter__base {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 4px;
  background: var(--mist-300);
}

.meter__bar {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0%;
  border-radius: 4px;
  background: var(--signal);
  transition: width 1200ms var(--ease);
}

/* ---------------------------------------------------------- testimonials */

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

.quote {
  display: grid;
  gap: var(--sp-4);
  margin: 0;
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: var(--mist-50);
  border: 1px solid var(--line);
  align-content: start;
}

.quote__mark {
  color: var(--mist-300);
}

.quote__text {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--ink-700);
}

.quote__by {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
}

.quote__rule {
  width: 2px;
  height: 30px;
  border-radius: 2px;
  background: var(--signal);
  flex: none;
}

.quote__by strong {
  display: block;
  font-weight: 600;
  color: var(--navy-900);
}

.quote__role {
  color: var(--text-faint);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .cases {
    grid-template-columns: 1fr;
  }
  .quotes {
    grid-template-columns: 1fr;
  }
}


/* ===== css/components/compare.css ===== */
/* ==========================================================================
   compare — Google vs ChatGPT vs AI Search
   ========================================================================== */

.compare {
  display: grid;
  grid-template-columns: 268px minmax(0, 1fr);
  gap: var(--sp-6);
  align-items: start;
}

/* ----------------------------------------------------------------- tabs */

.compare__tabs {
  display: grid;
  gap: 8px;
  position: sticky;
  top: calc(var(--header-h) + 28px);
}

.ctab {
  position: relative;
  display: grid;
  gap: 3px;
  padding: 16px 18px;
  text-align: left;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.ctab:hover {
  border-color: var(--line-strong);
  transform: translateX(3px);
}

.ctab[aria-selected='true'] {
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: var(--sh-md);
}

.ctab__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.ctab__surface {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.ctab[aria-selected='true'] .ctab__name {
  color: #fff;
}

.ctab[aria-selected='true'] .ctab__surface {
  color: #a9b6d0;
}

/* The dot signals the outcome before the panel is even opened. */
.ctab__state {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.ctab__state--ok {
  background: var(--ok);
}
.ctab__state--warn {
  background: var(--warn);
}
.ctab__state--bad {
  background: var(--bad);
}

/* ---------------------------------------------------------------- stage */

.compare__stage {
  position: relative;
  min-height: 420px;
}

.cpanel {
  display: grid;
  gap: var(--sp-4);
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
  animation: aeo-rise 420ms var(--ease) both;
}

.cpanel[hidden] {
  display: none;
}

.cpanel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.cpanel__surface {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--text-faint);
}

.cpanel__note {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

/* --------------------------------------------------------------- query bar */

.cbar {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 18px;
  border-radius: var(--r-pill);
  background: var(--mist-50);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: var(--navy-900);
}

.cbar svg {
  color: var(--text-faint);
}

/* ------------------------------------------------------- classic results */

.cresults {
  display: grid;
  gap: 4px;
}

.cresult {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 13px 16px;
  border-radius: var(--r-md);
  transition: background-color var(--t-fast) var(--ease);
}

.cresult:hover {
  background: var(--mist-50);
}

.cresult__url {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.cresult__title {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--signal-600);
}

.cresult--you {
  background: var(--ok-soft);
  border: 1px solid rgba(18, 148, 107, 0.2);
}

.cresult--you:hover {
  background: var(--ok-soft);
}

.cresult--you .cresult__title {
  color: var(--navy-900);
}

.cresult__flag {
  position: absolute;
  top: 50%;
  right: 14px;
  translate: 0 -50%;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--ok);
}

/* ------------------------------------------------------------- flat answer */

.canswer--flat {
  box-shadow: none;
  background: var(--mist-50);
}

.canswer--flat .canswer__text .w {
  opacity: 1;
}

/* --------------------------------------------------------------- mentions */

.cmentions {
  display: grid;
  gap: 10px;
}

.cmentions__label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--text-faint);
}

.cmentions__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmention {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.cmention--in {
  background: var(--mist-100);
  color: var(--ink-700);
  border: 1px solid var(--line);
}

.cmention--in svg {
  color: var(--text-faint);
}

/* The empty slot — the emotional pivot of the whole section. */
.cmention--missing {
  border: 1px dashed var(--bad);
  color: var(--bad);
  background: var(--bad-soft);
  position: relative;
  padding-left: 34px;
}

.cmention--missing::before,
.cmention--missing::after {
  content: '';
  position: absolute;
  left: 14px;
  top: 50%;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
}

.cmention--missing::before {
  transform: translateY(-50%) rotate(45deg);
}

.cmention--missing::after {
  transform: translateY(-50%) rotate(-45deg);
}

.cmention--missing svg {
  display: none;
}

/* ---------------------------------------------------------- realisation */

.realise__inner {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(32px, 4.5vw, 64px);
}

.realise__content {
  position: relative;
  max-width: 780px;
  display: grid;
  gap: var(--sp-4);
}

.realise__quote {
  color: var(--signal-300);
  opacity: 0.7;
}

.realise__title {
  font-size: clamp(1.4rem, 1rem + 1.6vw, 2.15rem);
  line-height: 1.28;
  color: #fff;
}

.realise__text {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 62ch;
}

.realise__link {
  color: #fff;
  margin-top: var(--sp-2);
}

.realise__link:hover {
  color: var(--signal-300);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 940px) {
  .compare {
    grid-template-columns: 1fr;
  }
  .compare__tabs {
    position: static;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
  }
  .ctab {
    padding: 13px 14px;
  }
  .ctab:hover {
    transform: none;
  }
  .ctab__state {
    top: 13px;
    right: 13px;
  }
  .compare__stage {
    min-height: 0;
  }
}

@media (max-width: 560px) {
  .compare__tabs {
    grid-template-columns: 1fr;
  }
  .ctab__surface {
    display: none;
  }
  .cbar {
    font-size: var(--fs-xs);
  }
  .cresult__flag {
    position: static;
    translate: none;
    margin-top: 4px;
  }
}


/* ===== css/components/engines.css ===== */
/* ==========================================================================
   engines — the answer-engine ticker band
   ========================================================================== */

.engines {
  background: var(--white);
  border-block: 1px solid var(--line);
  padding-block: var(--sp-5);
  overflow: hidden;
}

.engines__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.engines__label {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-faint);
  max-width: 22ch;
  line-height: 1.4;
}

.engines__label span {
  color: var(--signal);
}

.engines__track {
  position: relative;
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 92%, transparent);
}

.engines__list {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  width: max-content;
  animation: aeo-marquee 42s linear infinite;
}

.engines__track:hover .engines__list {
  animation-play-state: paused;
}

.engine {
  display: inline-flex;
  align-items: baseline;
  gap: 9px;
  white-space: nowrap;
}

.engine__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--mist-300);
  transform: translateY(-3px);
}

.engine__name {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}

.engine__note {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

@media (prefers-reduced-motion: reduce) {
  .engines__list {
    animation: none;
  }
  .engines__track {
    overflow-x: auto;
  }
}

@media (max-width: 860px) {
  .engines__inner {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-4);
  }
  .engines__label {
    max-width: none;
  }
  .engines__track {
    width: 100%;
  }
}


/* ===== css/components/faq.css ===== */
/* ==========================================================================
   faq — accordion + aside layout
   ========================================================================== */

.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(32px, 5vw, 84px);
  align-items: start;
}

.faq-layout__aside {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}

.faq-aside__cta {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--mist-100);
  border: 1px solid var(--line);
}

.faq-aside__q {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-900);
  margin-bottom: var(--sp-4);
}

/* --------------------------------------------------------------- items */

.faq {
  display: grid;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item:first-child {
  border-top: 1px solid var(--line);
}

.faq__heading {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
  letter-spacing: normal;
}

.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-5);
  width: 100%;
  padding: 22px 4px;
  text-align: left;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.022em;
  line-height: 1.45;
  color: var(--navy-900);
  transition: color var(--t-fast) var(--ease);
}

.faq__q:hover {
  color: var(--signal);
}

/* Plus that becomes a minus — no icon swap needed. */
.faq__icon {
  position: relative;
  width: 22px;
  height: 22px;
  flex: none;
  border-radius: 50%;
  background: var(--mist-100);
  margin-top: 2px;
  transition: background-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 10px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--navy-900);
  translate: -50% -50%;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

.faq__icon::after {
  transform: rotate(90deg);
}

.faq__item.is-open .faq__icon {
  background: var(--signal);
}

.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after {
  background: #fff;
}

.faq__item.is-open .faq__icon::after {
  transform: rotate(0deg);
  opacity: 0;
}

.faq__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.faq__inner {
  padding: 0 56px 26px 4px;
  font-size: var(--fs-sm);
  line-height: 1.78;
  color: var(--text-soft);
  max-width: 66ch;
}

.faq__inner strong {
  color: var(--navy-900);
  font-weight: 600;
}

.faq__inner a {
  color: var(--signal);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 980px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-layout__aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .faq__q {
    font-size: 1rem;
    gap: var(--sp-3);
  }
  .faq__inner {
    padding-right: 8px;
  }
}


/* ===== css/components/finale.css ===== */
/* ==========================================================================
   finale — the closing conversion band
   ========================================================================== */

.finale {
  position: relative;
  overflow: hidden;
  padding-block: clamp(64px, 8vw, 128px);
  background: var(--navy-950);
}

.finale__glow {
  width: 620px;
  height: 480px;
  right: -120px;
  top: -140px;
  background: radial-gradient(circle, rgba(47, 107, 255, 0.3) 0%, transparent 68%);
}

.finale__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.finale__copy {
  display: grid;
  gap: var(--sp-4);
}

.finale__title {
  font-size: clamp(2rem, 1.2rem + 2.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.035em;
  color: #fff;
  max-width: 15ch;
}

.finale__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 48ch;
}

.finale__points {
  display: grid;
  gap: 10px;
  margin-top: var(--sp-2);
}

.finale__points li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: var(--fs-sm);
  color: #cdd7ea;
}

.finale__points svg {
  color: var(--signal-300);
  margin-top: 3px;
  flex: none;
}

.finale__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

.finale__note {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ---------------------------------------------------------------- gauge */

.finale__visual {
  display: grid;
  justify-items: center;
}

.gauge {
  width: 100%;
  max-width: 380px;
  display: grid;
  gap: var(--sp-4);
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.gauge__label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.gauge__bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 168px;
}

.gauge__bar {
  position: relative;
  flex: 1;
  height: var(--h);
  border-radius: 6px 6px 3px 3px;
  background: rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
  animation: gauge-grow 900ms var(--ease) both;
}

.gauge__bar:nth-child(2) {
  animation-delay: 80ms;
}
.gauge__bar:nth-child(3) {
  animation-delay: 160ms;
}
.gauge__bar:nth-child(4) {
  animation-delay: 240ms;
}
.gauge__bar:nth-child(5) {
  animation-delay: 320ms;
}
.gauge__bar:nth-child(6) {
  animation-delay: 400ms;
}

/* The unknown bar is the point of the whole graphic. */
.gauge__bar--unknown {
  background: linear-gradient(
    180deg,
    rgba(47, 107, 255, 0.85) 0%,
    rgba(47, 107, 255, 0.25) 100%
  );
  border: 1px dashed var(--signal-300);
}

.gauge__q {
  position: absolute;
  top: 10px;
  left: 50%;
  translate: -50% 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
}

@keyframes gauge-grow {
  from {
    height: 0;
    opacity: 0;
  }
  to {
    height: var(--h);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gauge__bar {
    animation: none;
  }
}

.gauge__caption {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-faint);
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 940px) {
  .finale__inner {
    grid-template-columns: 1fr;
  }
  .finale__visual {
    justify-items: start;
  }
}

@media (max-width: 480px) {
  .finale__actions .btn {
    width: 100%;
  }
}


/* ===== css/components/footer.css ===== */
/* ==========================================================================
   footer
   ========================================================================== */

.footer {
  position: relative;
  overflow: hidden;
  padding-top: clamp(56px, 7vw, 96px);
  background: var(--navy-950);
}

.footer__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 1.5fr;
  gap: clamp(36px, 5vw, 88px);
  padding-bottom: var(--sp-8);
}

.footer__logo {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.footer__about {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
  max-width: 40ch;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: var(--sp-5);
}

.footer__social a {
  display: inline-flex;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-soft);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.footer__social a:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.06);
}

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

.footer__col-title {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}

.footer__links {
  display: grid;
  gap: 11px;
  font-size: var(--fs-sm);
}

.footer__links a,
.footer__links span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--text-soft);
  transition: color var(--t-fast) var(--ease);
}

.footer__links a:hover {
  color: #fff;
}

.footer__links--contact svg {
  color: var(--signal-300);
  flex: none;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-3);
  padding-block: var(--sp-5);
  border-top: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

@media (max-width: 980px) {
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__cols {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-6) var(--sp-5);
  }
}

@media (max-width: 520px) {
  .footer__cols {
    grid-template-columns: 1fr;
  }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* ===== css/components/form.css ===== */
/* ==========================================================================
   forms
   ========================================================================== */

.lform {
  position: relative;
  display: grid;
  gap: var(--sp-5);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}

.lform__head {
  display: grid;
  gap: 8px;
}

.lform__title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem);
  letter-spacing: -0.03em;
}

.lform__lead {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
  max-width: 52ch;
}

.lform__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}

.field--full {
  grid-column: 1 / -1;
}

.field {
  display: grid;
  gap: 7px;
}

.field__label {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-700);
}

.field__label span {
  color: var(--signal);
}

.field__input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--line-strong);
  background: var(--mist-50);
  font-size: var(--fs-sm);
  color: var(--navy-900);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.field__input::placeholder {
  color: var(--text-faint);
}

.field__input:focus {
  outline: none;
  background: #fff;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-glow);
}

.field__input--area {
  resize: vertical;
  min-height: 118px;
  line-height: 1.6;
}

.field__select {
  position: relative;
}

.field__select select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  cursor: pointer;
}

.field__select svg {
  position: absolute;
  right: 16px;
  top: 50%;
  translate: 0 -50%;
  pointer-events: none;
  color: var(--text-faint);
}

.field__error {
  font-size: var(--fs-xs);
  color: var(--bad);
  min-height: 0;
}

.field.is-invalid .field__input {
  border-color: var(--bad);
  background: var(--bad-soft);
}

.field.is-invalid .field__input:focus {
  box-shadow: 0 0 0 3px rgba(210, 69, 61, 0.16);
}

.lform__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.lform__note {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ---------------------------------------------------------- success state */

.lform__done {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--white);
  animation: aeo-rise 380ms var(--ease) both;
}

.lform__done[hidden] {
  display: none;
}

.lform__done-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ok-soft);
  color: var(--ok);
  margin-bottom: var(--sp-2);
}

.lform__done h3 {
  font-size: 1.3rem;
  letter-spacing: -0.028em;
}

.lform__done p {
  font-size: var(--fs-sm);
  color: var(--text-soft);
  max-width: 40ch;
}

/* --------------------------------------------------------- contact cards */

.ccards {
  display: grid;
  gap: var(--sp-3);
}

.ccard {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

a.ccard:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.ccard__label {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.ccard__value {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-900);
}

@media (max-width: 620px) {
  .lform__grid {
    grid-template-columns: 1fr;
  }
}


/* ===== css/components/header.css ===== */
/* ==========================================================================
   header — sticky, transparent over hero, solid on scroll
   ========================================================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease), height var(--t-base) var(--ease);
}

.header.is-stuck {
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 24px -8px rgba(10, 20, 47, 0.14);
}

.header.is-open {
  background: #fff;
  border-bottom-color: var(--line);
}

.header__inner {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: var(--sp-6);
}

.header__spacer {
  height: var(--header-h);
}

/* ---------------------------------------------------------------- logo */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.03em;
  color: var(--navy-900);
  flex: none;
}

.logo__mark {
  width: 30px;
  height: 30px;
  flex: none;
}

.logo__dot {
  color: var(--signal);
}

/* ----------------------------------------------------------------- nav */

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-inline: auto;
}

.nav__item {
  position: relative;
}

.nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  font-weight: 450;
  white-space: nowrap;
  position: relative;
  color: var(--ink-700);
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.nav__link:hover,
.nav__item.is-open > .nav__link {
  color: var(--navy-900);
  background: var(--mist-100);
}

.nav__link[aria-current='page'] {
  color: var(--navy-900);
  font-weight: 500;
}

.nav__link[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 2px;
  height: 2px;
  border-radius: 2px;
  background: var(--signal);
}

.nav__caret {
  width: 9px;
  height: 9px;
  opacity: 0.55;
  transition: transform var(--t-fast) var(--ease);
}

.nav__item.is-open .nav__caret {
  transform: rotate(180deg);
}

/* ------------------------------------------------------------ dropdown */

.dropdown {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  translate: -50% 0;
  z-index: 20;
  min-width: 300px;
  padding: 10px;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--sh-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  /* visibility flips only after the fade-out, but immediately on open — a
     plain `transition: visibility` would leave the panel dead to clicks
     for the first half of the opening transition. */
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    visibility 0s linear var(--t-base);
}

.nav__item.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    visibility 0s;
}

.dropdown--mega {
  min-width: 640px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}

/* Hover-bridge so the pointer can travel from trigger to panel. */
.dropdown::before {
  content: '';
  position: absolute;
  inset: -14px 0 auto 0;
  height: 14px;
}

.ditem {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: var(--r-md);
  transition: background-color var(--t-fast) var(--ease);
}

.ditem:hover {
  background: var(--mist-100);
}

.ditem__icon {
  flex: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--mist-100);
  color: var(--navy-900);
  border: 1px solid var(--line);
  transition: background-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    border-color var(--t-fast) var(--ease);
}

.ditem:hover .ditem__icon {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.ditem__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--navy-900);
  letter-spacing: -0.015em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ditem__sub {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-faint);
  margin-top: 2px;
}

.ditem__desc {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-soft);
  margin-top: 5px;
}

.ditem--featured {
  background: var(--navy-900);
  grid-column: 1 / -1;
  align-items: center;
}

.ditem--featured:hover {
  background: var(--navy-800);
}

.ditem--featured .ditem__title,
.ditem--featured .ditem__sub {
  color: #fff;
}

.ditem--featured .ditem__desc {
  color: #a9b6d0;
}

.ditem--featured .ditem__icon {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.ditem--featured:hover .ditem__icon {
  background: var(--signal);
  border-color: var(--signal);
}

.ditem__go {
  margin-left: auto;
  color: #fff;
  opacity: 0.6;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

.ditem--featured:hover .ditem__go {
  transform: translateX(4px);
  opacity: 1;
}

/* ------------------------------------------------------------- header cta */

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex: none;
}

/* ----------------------------------------------------------- burger button */

.burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: #fff;
  place-items: center;
  flex: none;
}

.burger__lines {
  display: grid;
  gap: 4px;
  width: 17px;
}

.burger__lines span {
  height: 1.5px;
  background: var(--navy-900);
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-base) var(--ease);
}

.header.is-open .burger__lines span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.header.is-open .burger__lines span:nth-child(2) {
  opacity: 0;
}
.header.is-open .burger__lines span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

/* ------------------------------------------------------------ mobile menu */

.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  z-index: 99;
  background: #fff;
  overflow-y: auto;
  padding: var(--sp-5) var(--gutter) var(--sp-8);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    visibility 0s linear var(--t-base);
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    visibility 0s;
}

.mnav {
  display: grid;
  gap: 2px;
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--sp-5);
}

.mnav__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 14px 4px;
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--navy-900);
  text-align: left;
  border-bottom: 1px solid var(--mist-100);
}

.mnav__caret {
  width: 12px;
  height: 12px;
  color: var(--text-faint);
  transition: transform var(--t-base) var(--ease);
}

.mnav__group.is-open .mnav__caret {
  transform: rotate(180deg);
}

.mnav__panel {
  display: grid;
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow) var(--ease);
}

.mnav__group.is-open .mnav__panel {
  max-height: 620px;
}

.mnav__sub {
  display: grid;
  gap: 2px;
  padding: 8px 0 14px 14px;
  border-left: 1px solid var(--line);
  margin-left: 4px;
}

.mnav__sublink {
  padding: 11px 10px;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  color: var(--ink-700);
}

.mnav__sublink strong {
  display: block;
  font-weight: 500;
  color: var(--navy-900);
}

.mnav__sublink span {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.mobile-menu__foot {
  display: grid;
  gap: var(--sp-3);
  padding-top: var(--sp-5);
}

.mobile-menu__contact {
  display: grid;
  gap: 6px;
  padding-top: var(--sp-4);
  font-size: var(--fs-sm);
  color: var(--text-soft);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1120px) {
  .nav__link {
    padding-inline: 10px;
    font-size: var(--fs-xs);
  }
  .header__inner {
    gap: var(--sp-4);
  }
}

@media (max-width: 980px) {
  .nav,
  .header__actions .btn--ghost {
    display: none;
  }
  .burger {
    display: grid;
  }
  .header__inner {
    justify-content: space-between;
  }
  .header__actions {
    margin-left: auto;
  }
}

@media (max-width: 420px) {
  .header__actions .btn {
    padding-inline: 16px;
    font-size: var(--fs-xs);
  }
}


/* ===== css/components/hero.css ===== */
/* ==========================================================================
   hero
   ========================================================================== */

.hero {
  position: relative;
  padding-top: clamp(96px, 12vw, 150px);
  padding-bottom: clamp(80px, 9vw, 128px);
  overflow: hidden;
  background: var(--paper);
}

.hero__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
}

.hero__blob--a {
  width: 620px;
  height: 620px;
  right: -180px;
  top: -220px;
  background: rgba(47, 107, 255, 0.09);
}

.hero__blob--b {
  width: 460px;
  height: 460px;
  left: -200px;
  bottom: -180px;
  background: rgba(10, 20, 47, 0.05);
}

/* A hairline that anchors the composition and echoes the "one answer" idea. */
.hero__rule {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--mist-200) 18%, var(--mist-200) 82%, transparent);
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, 0.94fr);
  gap: clamp(40px, 5vw, 76px);
  align-items: center;
}

/* ------------------------------------------------------------------ copy */

.hero__copy {
  display: grid;
  gap: var(--sp-5);
  max-width: 620px;
}

.hero__title {
  /* Tighter than the global display scale — the hero column is narrow. */
  font-size: clamp(2.3rem, 1.05rem + 3.1vw, 3.9rem);
  text-wrap: balance;
  margin-top: 2px;
}

/* "Google-da" is struck through — the old default quietly retiring. */
.hero__strike {
  position: relative;
  white-space: nowrap;
}

.hero__strike::after {
  content: '';
  position: absolute;
  left: -0.02em;
  right: -0.02em;
  top: 56%;
  height: 3px;
  border-radius: 3px;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
  animation: hero-strike 700ms var(--ease) 900ms forwards;
}

@keyframes hero-strike {
  to {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__strike::after {
    animation: none;
    transform: scaleX(1);
  }
}

.hero__lead {
  font-size: var(--fs-lead);
  font-weight: 500;
  line-height: 1.5;
  color: var(--navy-900);
  max-width: 30ch;
  letter-spacing: -0.015em;
}

.hero__support {
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--text-soft);
  max-width: 46ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

/* ---------------------------------------------------------------- metrics */

.hero__metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-top: var(--sp-5);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.hero__metric {
  display: grid;
  gap: 5px;
}

.hero__metric strong {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.hero__metric span {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-faint);
}

/* ---------------------------------------------------------------- visual */

.hero__visual {
  position: relative;
  padding-bottom: 34px;
}

/* ------------------------------------------------------------- scroll cue */

.hero__cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  translate: -50% 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-micro);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--text-faint);
  padding: 8px 14px;
  border-radius: var(--r-pill);
  transition: color var(--t-fast) var(--ease);
}

.hero__cue:hover {
  color: var(--navy-900);
}

.hero__cue svg {
  animation: aeo-drift 2.6s var(--ease-in-out) infinite;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1140px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: clamp(52px, 8vw, 76px);
  }
  .hero__copy {
    max-width: 720px;
  }
  .hero__cue {
    display: none;
  }
  .hero {
    padding-bottom: clamp(60px, 8vw, 96px);
  }
}

@media (max-width: 560px) {
  .hero__metrics {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .hero__metric {
    grid-template-columns: auto 1fr;
    align-items: baseline;
    gap: 10px;
  }
  .hero__actions .btn {
    width: 100%;
  }
}


/* ===== css/components/icon.css ===== */
/* ==========================================================================
   icon — sprite usage
   ========================================================================== */

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.ic {
  width: 20px;
  height: 20px;
  flex: none;
  color: inherit;
}

.ic--sm {
  width: 16px;
  height: 16px;
}

.ic--lg {
  width: 24px;
  height: 24px;
}

.ic--xl {
  width: 30px;
  height: 30px;
}

/* Square icon tile used across cards, timelines and lists. */
.ictile {
  width: 46px;
  height: 46px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--mist-100);
  border: 1px solid var(--line);
  color: var(--navy-900);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.ictile--sm {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

.ictile--navy {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.ictile--signal {
  background: var(--signal-100);
  border-color: transparent;
  color: var(--signal);
}

.on-navy .ictile {
  background: rgba(255, 255, 255, 0.07);
  border-color: var(--line);
  color: #fff;
}


/* ===== css/components/layers.css ===== */
/* ==========================================================================
   layers — SEO / AEO / GEO explained as one stack, not three cards
   ========================================================================== */

.layers {
  display: grid;
  gap: 10px;
}

.layer {
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease);
}

.layer:hover {
  border-color: var(--line-strong);
}

.layer.is-open {
  box-shadow: var(--sh-md);
  border-color: var(--line-strong);
}

/* AEO is the site's subject — it carries the navy weight. */
.layer--primary.is-open {
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: var(--sh-lg);
}

.layer--primary.is-open .layer__code,
.layer--primary.is-open .layer__name,
.layer--primary.is-open .layer__fact-value {
  color: #fff;
}

.layer--primary.is-open .layer__az,
.layer--primary.is-open .layer__fact-label,
.layer--primary.is-open .layer__desc,
.layer--primary.is-open .layer__surface {
  color: #a9b6d0;
}

.layer--primary.is-open .layer__code {
  background: var(--signal);
  border-color: var(--signal);
}

.layer--primary.is-open .layer__inner {
  border-top-color: rgba(255, 255, 255, 0.1);
}

.layer--primary.is-open .layer__surface strong {
  color: #fff;
}

/* ----------------------------------------------------------------- head */

.layer__head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.8fr) 28px;
  align-items: center;
  gap: var(--sp-5);
  width: 100%;
  padding: clamp(18px, 2vw, 24px) clamp(18px, 2.4vw, 28px);
  text-align: left;
}

.layer__code {
  display: grid;
  place-items: center;
  height: 40px;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--mist-100);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--navy-900);
  transition: background-color var(--t-base) var(--ease), color var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.layer__meta {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.layer__name {
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.022em;
  color: var(--navy-900);
}

.layer__az {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.layer__fact {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.layer__fact-label {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-faint);
}

.layer__fact-value {
  font-size: var(--fs-sm);
  color: var(--ink-700);
}

.layer__chev {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--text-faint);
  background: var(--mist-100);
  transition: transform var(--t-base) var(--ease), background-color var(--t-base) var(--ease),
    color var(--t-base) var(--ease);
}

.layer.is-open .layer__chev {
  transform: rotate(180deg);
}

.layer--primary.is-open .layer__chev {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

/* ---------------------------------------------------------------- panel */

.layer__panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--t-slow) var(--ease);
}

.layer__inner {
  display: grid;
  gap: var(--sp-5);
  padding: var(--sp-5) clamp(18px, 2.4vw, 28px) clamp(22px, 2.6vw, 30px);
  border-top: 1px solid var(--line);
}

.layer__desc {
  font-size: var(--fs-sm);
  line-height: 1.75;
  color: var(--text-soft);
  max-width: 72ch;
}

.layer__surface {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.layer__surface strong {
  color: var(--ink-700);
  font-weight: 500;
}

/* ----------------------------------------------------------------- flow */

.flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.flow__node {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px 10px 14px;
  border-radius: var(--r-pill);
  background: var(--mist-100);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--ink-700);
  margin: 4px 26px 4px 0;
}

/* Connector between nodes — drawn from the node itself, so it wraps cleanly. */
.flow__node:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  width: 26px;
  height: 1px;
  background: var(--line-strong);
}

.flow__node:not(:last-child)::before {
  content: '';
  position: absolute;
  left: calc(100% + 18px);
  top: 50%;
  width: 5px;
  height: 5px;
  border-top: 1px solid var(--line-strong);
  border-right: 1px solid var(--line-strong);
  transform: translateY(-50%) rotate(45deg);
}

.flow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mist-300);
  flex: none;
}

.flow__node--end {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
  margin-right: 4px;
  font-weight: 500;
}

.flow__node--end .flow__dot {
  background: var(--signal);
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.25);
}

.layer--primary.is-open .flow__node {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  color: #cdd7ea;
}

.layer--primary.is-open .flow__node:not(:last-child)::after,
.layer--primary.is-open .flow__node:not(:last-child)::before {
  border-color: rgba(255, 255, 255, 0.24);
  background-color: rgba(255, 255, 255, 0.24);
}

.layer--primary.is-open .flow__node:not(:last-child)::before {
  background: none;
}

.layer--primary.is-open .flow__node--end {
  background: var(--signal);
  border-color: var(--signal);
  color: #fff;
}

.layer--primary.is-open .flow__node--end .flow__dot {
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .layer__head {
    grid-template-columns: 72px minmax(0, 1fr) minmax(0, 1fr) 28px;
    gap: var(--sp-4);
  }
  .layer__fact--unit {
    display: none;
  }
}

@media (max-width: 720px) {
  .layer__head {
    grid-template-columns: 64px 1fr 28px;
    gap: var(--sp-3);
  }
  .layer__fact {
    display: none;
  }
  .flow__node {
    margin-right: 22px;
    padding: 8px 14px 8px 12px;
  }
}


/* ===== css/components/news.css ===== */
/* ==========================================================================
   news list
   ========================================================================== */

.newslist {
  display: grid;
  gap: 8px;
}

.newsitem {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr) 24px;
  align-items: center;
  gap: var(--sp-5);
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.newsitem:hover {
  border-color: var(--line-strong);
  transform: translateX(4px);
  box-shadow: var(--sh-sm);
}

.newsitem__meta {
  display: grid;
  gap: 7px;
  justify-items: start;
}

.newsitem__date {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.newsitem__body {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.newsitem__title {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.024em;
  line-height: 1.4;
  color: var(--navy-900);
}

.newsitem__excerpt {
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--text-soft);
}

.newsitem__go {
  color: var(--text-faint);
  transition: transform var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

.newsitem:hover .newsitem__go {
  color: var(--signal);
  transform: translateX(3px);
}

@media (max-width: 760px) {
  .newsitem {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
  .newsitem__meta {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
  }
  .newsitem__go {
    display: none;
  }
}


/* ===== css/components/page-hero.css ===== */
/* ==========================================================================
   page-hero — shared inner-page opening + breadcrumbs
   ========================================================================== */

.crumbs {
  padding-top: clamp(28px, 4vw, 46px);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.crumbs li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.crumbs a {
  color: var(--text-faint);
  transition: color var(--t-fast) var(--ease);
}

.crumbs a:hover {
  color: var(--navy-900);
}

.on-navy .crumbs a:hover {
  color: #fff;
}

.crumbs [aria-current='page'] {
  color: var(--navy-900);
  font-weight: 500;
}

.on-navy .crumbs [aria-current='page'] {
  color: #fff;
}

.crumbs__sep {
  color: var(--mist-300);
}

/* ----------------------------------------------------------------- hero */

.phero {
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
  padding-bottom: clamp(44px, 6vw, 84px);
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.phero--navy {
  background: var(--navy-900);
  border-bottom-color: transparent;
}

.phero__blob {
  position: absolute;
  width: 560px;
  height: 560px;
  right: -180px;
  top: -260px;
  border-radius: 50%;
  background: var(--signal-glow);
  filter: blur(70px);
  pointer-events: none;
}

.phero__container {
  position: relative;
}

.phero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(26px, 3.4vw, 46px);
}

.phero__grid:has(.phero__visual) {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.phero__copy {
  display: grid;
  gap: var(--sp-4);
  max-width: 720px;
}

.phero__title {
  font-size: clamp(2.1rem, 1.2rem + 2.9vw, 3.5rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.phero--navy .phero__title {
  color: #fff;
}

.phero__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--text-soft);
  max-width: 58ch;
}

.phero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-2);
}

.phero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-6);
  margin-top: var(--sp-4);
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.phero__facts li {
  display: grid;
  gap: 3px;
}

.phero__facts strong {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text);
}

.phero__facts span {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

@media (max-width: 1000px) {
  .phero__grid:has(.phero__visual) {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  .phero__actions .btn {
    width: 100%;
  }
  .phero__facts {
    gap: var(--sp-4);
  }
}


/* ===== css/components/pipeline.css ===== */
/* ==========================================================================
   pipeline — query → sources → answer → entities → brand mention
   ========================================================================== */

.pipeline {
  position: relative;
  overflow: hidden;
}

.pipeline__glow {
  width: 760px;
  height: 520px;
  left: 50%;
  top: -180px;
  translate: -50% 0;
}

.pipe {
  position: relative;
  display: grid;
  gap: var(--sp-5);
}

/* ---------------------------------------------------------------- query */

.pipe__query {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  justify-self: center;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  color: #fff;
}

.pipe__query svg {
  color: var(--signal-300);
  flex: none;
}

/* ---------------------------------------------------------------- track */

.pipe__track {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.pnode {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 16px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  text-align: left;
  overflow: hidden;
  transition: background-color var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.pnode:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
}

.pnode[aria-selected='true'] {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--signal);
}

.pnode__no {
  flex: none;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  transition: background-color var(--t-base) var(--ease);
}

.pnode[aria-selected='true'] .pnode__no {
  background: var(--signal);
}

.pnode--final[aria-selected='true'] .pnode__no {
  background: var(--ok);
}

.pnode__body {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pnode__title {
  font-size: var(--fs-xs);
  font-weight: 500;
  color: #fff;
  line-height: 1.35;
}

.pnode__sub {
  font-size: var(--fs-micro);
  color: var(--text-faint);
}

/* Auto-advance progress, drawn inside the active node. */
.pnode__bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.08);
}

.pnode__bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--signal);
}

.pnode--final .pnode__bar span {
  background: var(--ok);
}

/* --------------------------------------------------------------- stages */

.pipe__stages {
  position: relative;
  min-height: 340px;
}

.pstage {
  display: grid;
  gap: var(--sp-5);
  padding: clamp(22px, 3vw, 38px);
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line);
  animation: aeo-rise 420ms var(--ease) both;
}

.pstage[hidden] {
  display: none;
}

.pstage__detail {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.pv {
  display: grid;
  gap: var(--sp-4);
}

/* ---- 1 · query ---- */

.qbubble {
  display: grid;
  gap: 7px;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  border-top-left-radius: 6px;
  background: #fff;
  max-width: 640px;
}

.qbubble__who {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.qbubble__text {
  font-size: clamp(1rem, 0.92rem + 0.4vw, 1.2rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.45;
  color: var(--navy-900);
}

.qtags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qtags li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: #fff;
}

.qtags b {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--signal-300);
  font-weight: 600;
}

/* ---- 2 · sources ---- */

.srcs {
  display: grid;
  gap: 8px;
}

.src {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) 150px minmax(0, 1fr);
  align-items: center;
  gap: var(--sp-4);
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

.src--pick {
  border-color: rgba(47, 107, 255, 0.5);
  background: rgba(47, 107, 255, 0.1);
}

.src__name {
  font-size: var(--fs-sm);
  color: #fff;
  font-weight: 450;
}

.src__meter {
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.src__meter i {
  display: block;
  height: 100%;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.3);
}

.src--pick .src__meter i {
  background: var(--signal);
}

.src__note {
  text-align: right;
}

/* ---- 3 · answer build ---- */

.build {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: var(--sp-5);
}

.build__col {
  display: grid;
  gap: 9px;
}

.build__label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 2px;
}

.build__bar {
  height: 12px;
  border-radius: var(--r-xs);
  background: rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.build__bar i {
  display: block;
  height: 100%;
  border-radius: var(--r-xs);
}

.build__bar--raw i {
  background: rgba(255, 255, 255, 0.18);
}

.build__bar--kept i {
  background: var(--signal);
}

.build__arrow {
  color: var(--text-faint);
}

/* ---- 4 · entity constellation ---- */

.pv--graph {
  justify-items: center;
}

.constel {
  width: 100%;
  max-width: 520px;
  height: auto;
}

.constel__links path {
  stroke: rgba(255, 255, 255, 0.16);
  stroke-width: 1;
  fill: none;
}

.constel__node circle {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.22);
  stroke-width: 1;
}

.constel__node text {
  fill: #cdd7ea;
  font-size: 11px;
  font-family: var(--font);
  text-anchor: middle;
}

.constel__node--core circle {
  fill: rgba(255, 255, 255, 0.1);
  stroke: rgba(255, 255, 255, 0.35);
}

.constel__node--core text {
  fill: #fff;
  font-weight: 600;
  font-size: 12px;
}

.constel__node--lit circle {
  fill: var(--signal);
  stroke: var(--signal);
}

.constel__node--lit text {
  fill: #fff;
  font-weight: 600;
}

.constel__node--dim circle {
  fill: none;
  stroke: rgba(255, 255, 255, 0.22);
}

.constel__node--dim text {
  fill: var(--text-faint);
}

.constel__legend {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.constel__key {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.constel__key--lit {
  background: var(--signal);
}

.constel__key--dim {
  border: 1px dashed rgba(255, 255, 255, 0.4);
  margin-left: var(--sp-4);
}

/* ---- 5 · final ---- */

.canswer--final {
  background: #fff;
  border-color: transparent;
}

.canswer--final .canswer__text {
  font-size: var(--fs-body);
  line-height: 1.7;
}

.pfinal {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding: 20px 24px;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.pfinal__label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ok);
}

.pfinal__text {
  flex: 1 1 240px;
  font-size: var(--fs-lead);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.4;
}

/* -------------------------------------------------------------- controls */

.pipe__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.pipe__play {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  font-size: var(--fs-xs);
  color: var(--text-soft);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.pipe__play:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.4);
}

.pipe__play-icon {
  width: 9px;
  height: 10px;
  background: currentColor;
  /* two bars = pause; a triangle when paused */
  -webkit-mask: linear-gradient(#000 0 0) 0 0 / 3px 100% no-repeat,
    linear-gradient(#000 0 0) 100% 0 / 3px 100% no-repeat;
  mask: linear-gradient(#000 0 0) 0 0 / 3px 100% no-repeat,
    linear-gradient(#000 0 0) 100% 0 / 3px 100% no-repeat;
}

.pipe.is-paused .pipe__play-icon {
  -webkit-mask: none;
  mask: none;
  background: none;
  border-left: 9px solid currentColor;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  width: 0;
  height: 0;
}

.pipe__hint {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .pipe__track {
    grid-template-columns: repeat(3, 1fr);
  }
  .src {
    grid-template-columns: minmax(0, 1fr) 110px;
  }
  .src__note {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .pipe__track {
    grid-template-columns: 1fr 1fr;
  }
  .pnode__sub {
    display: none;
  }
  .build {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
  .build__arrow {
    justify-self: center;
    rotate: 90deg;
  }
  .pipe__stages {
    min-height: 0;
  }
}

@media (max-width: 460px) {
  .pipe__track {
    grid-template-columns: 1fr;
  }
}


/* ===== css/components/pricing.css ===== */
/* ==========================================================================
   pricing — packages, one-off audit strip, package finder
   ========================================================================== */

.pkgs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  align-items: start;
}

.pkg {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  transition: box-shadow var(--t-base) var(--ease), border-color var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.pkg:hover {
  box-shadow: var(--sh-lg);
  border-color: var(--line-strong);
}

/* The recommended tier is lifted and inverted — one obvious default. */
.pkg--popular {
  background: var(--navy-900);
  border-color: var(--navy-900);
  box-shadow: var(--sh-lg);
  transform: translateY(-14px);
  padding-bottom: calc(clamp(24px, 2.6vw, 34px) + 14px);
}

.pkg--popular:hover {
  box-shadow: var(--sh-xl);
}

/* Set by the package finder when it matches this tier. */
.pkg.is-matched {
  border-color: var(--signal);
  box-shadow: var(--sh-signal);
}

.pkg__badge {
  position: absolute;
  top: -12px;
  left: 50%;
  translate: -50% 0;
  padding: 5px 16px;
  border-radius: var(--r-pill);
  background: var(--signal);
  color: #fff;
  font-size: var(--fs-xs);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: var(--sh-signal);
}

.pkg__head {
  display: grid;
  gap: 6px;
}

.pkg__name {
  font-size: 1.3rem;
  letter-spacing: -0.03em;
}

.pkg__for {
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--text-faint);
  min-height: 2.6em;
}

.pkg__price {
  display: flex;
  align-items: baseline;
  gap: 5px;
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--line);
}

.pkg__amount {
  font-size: 2.75rem;
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}

.pkg__cur {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--navy-900);
}

.pkg__period {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin-left: 3px;
}

.pkg__scope {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: var(--fs-xs);
  color: var(--text-soft);
}

.pkg__scope svg {
  color: var(--signal);
  flex: none;
}

.pkg__desc {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
}

.pkg__features {
  display: grid;
  gap: 11px;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  margin-bottom: auto;
}

.pkg__features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ink-700);
}

.pkg__features svg {
  color: var(--signal);
  margin-top: 3px;
  flex: none;
}

.pkg__cta {
  margin-top: var(--sp-5);
}

/* ---- popular tier colour overrides ---- */

.pkg--popular .pkg__name,
.pkg--popular .pkg__amount,
.pkg--popular .pkg__cur {
  color: #fff;
}

.pkg--popular .pkg__desc,
.pkg--popular .pkg__scope,
.pkg--popular .pkg__features li {
  color: #a9b6d0;
}

.pkg--popular .pkg__for,
.pkg--popular .pkg__period {
  color: #7d8cab;
}

.pkg--popular .pkg__price,
.pkg--popular .pkg__features {
  border-color: rgba(255, 255, 255, 0.12);
}

.pkg--popular .pkg__features svg,
.pkg--popular .pkg__scope svg {
  color: var(--signal-300);
}

.pkg--popular .pkg__cta {
  background: #fff;
  color: var(--navy-900);
  border-color: #fff;
}

.pkg--popular .pkg__cta:hover {
  background: #fff;
  box-shadow: var(--sh-xl);
}

/* ------------------------------------------------------------- one-off */

.oneoff {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  flex-wrap: wrap;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px dashed var(--line-strong);
}

.oneoff__icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--signal-100);
  color: var(--signal);
  flex: none;
}

.oneoff__body {
  flex: 1 1 320px;
}

.oneoff__title {
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
}

.oneoff__desc {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: var(--text-soft);
  margin-top: 3px;
}

.oneoff__price {
  display: flex;
  align-items: baseline;
  gap: 3px;
}

.oneoff__price strong {
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: var(--navy-900);
}

.oneoff__price span {
  font-size: 1rem;
  color: var(--navy-900);
}

.pricing-note {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

/* -------------------------------------------------------------- finder */

.finder {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(28px, 4vw, 64px);
  padding: clamp(28px, 3.4vw, 48px);
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-md);
}

.finder__side {
  display: grid;
  gap: var(--sp-3);
  align-content: start;
}

.finder__title {
  font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem);
  letter-spacing: -0.03em;
  margin-top: 4px;
}

.finder__lead {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
}

.finder__steps {
  display: flex;
  gap: 6px;
  margin-top: var(--sp-3);
}

.finder__pip {
  width: 34px;
  height: 4px;
  border-radius: 3px;
  background: var(--mist-200);
  transition: background-color var(--t-base) var(--ease);
}

.finder__pip.is-current {
  background: var(--signal);
}

.finder__pip.is-done {
  background: var(--navy-900);
}

.finder__main {
  display: grid;
  align-content: center;
  min-height: 210px;
}

.finder__q {
  border: 0;
  padding: 0;
  margin: 0;
  display: grid;
  gap: var(--sp-4);
  animation: aeo-rise 340ms var(--ease) both;
}

.finder__q[hidden] {
  display: none;
}

.finder__qlabel {
  display: grid;
  gap: 6px;
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy-900);
  padding: 0;
}

.finder__qno {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
}

.finder__options {
  display: grid;
  gap: 8px;
}

.fopt {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  text-align: left;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
    transform var(--t-fast) var(--ease);
}

.fopt:hover {
  border-color: var(--signal-300);
  background: var(--mist-50);
  transform: translateX(3px);
}

.fopt__mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  flex: none;
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease);
}

.fopt:hover .fopt__mark {
  border-color: var(--signal);
}

.fopt.is-chosen {
  border-color: var(--signal);
  background: var(--signal-100);
}

.fopt.is-chosen .fopt__mark {
  background: var(--signal);
  border-color: var(--signal);
  box-shadow: inset 0 0 0 3px #fff;
}

.finder__result {
  display: grid;
  gap: 8px;
  padding: clamp(20px, 2.4vw, 28px);
  border-radius: var(--r-lg);
  background: var(--navy-900);
  color: #fff;
  animation: aeo-rise 380ms var(--ease) both;
}

.finder__result[hidden] {
  display: none;
}

.finder__result-label {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal-300);
}

.finder__result-name {
  font-size: 1.6rem;
  letter-spacing: -0.035em;
  color: #fff;
}

.finder__result-why {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: #a9b6d0;
  max-width: 46ch;
}

.finder__result .tlink--quiet {
  color: #a9b6d0;
}

.finder__result .tlink--quiet:hover {
  color: #fff;
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .pkgs {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
  .pkg--popular {
    transform: none;
    padding-bottom: clamp(24px, 2.6vw, 34px);
  }
  .pkg__for {
    min-height: 0;
  }
  .finder {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .oneoff {
    align-items: flex-start;
  }
  .oneoff .btn {
    width: 100%;
  }
}


/* ===== css/components/rail.css ===== */
/* ==========================================================================
   rail — the methodology as a scroll-driven journey, not six cards
   ========================================================================== */

.method {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 5vw, 90px);
  align-items: start;
}

.method__aside {
  position: sticky;
  top: calc(var(--header-h) + 48px);
}

.rail-intro {
  display: grid;
  gap: var(--sp-4);
  justify-items: start;
}

.rail-intro__progress {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: var(--sp-2);
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
  width: 100%;
  max-width: 200px;
}

.rail-intro__count {
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--navy-900);
  font-variant-numeric: tabular-nums;
}

.rail-intro__of {
  font-size: var(--fs-sm);
  color: var(--text-faint);
}

/* ----------------------------------------------------------------- rail */

.rail {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 46px;
}

.rail__line {
  position: absolute;
  left: 15px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  border-radius: 2px;
  background: var(--mist-200);
  overflow: hidden;
}

.rail__fill {
  display: block;
  width: 100%;
  height: 0%;
  background: var(--signal);
  border-radius: 2px;
  transition: height 120ms linear;
}

.rail__step {
  position: relative;
}

/* ---- marker ---- */

.rail__marker {
  position: absolute;
  left: -46px;
  top: 22px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--mist-200);
  transition: border-color var(--t-base) var(--ease), background-color var(--t-base) var(--ease);
}

.rail__marker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mist-300);
  transition: background-color var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}

.rail__step.is-active .rail__marker {
  border-color: var(--signal);
}

.rail__step.is-active .rail__marker-dot {
  background: var(--signal);
  transform: scale(1.25);
}

/* ---- card ---- */

.rail__card {
  display: grid;
  gap: var(--sp-3);
  padding: clamp(20px, 2.3vw, 26px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    transform var(--t-base) var(--ease);
}

.rail__step.is-active .rail__card {
  border-color: var(--line-strong);
  box-shadow: var(--sh-md);
  transform: translateX(4px);
}

.rail__head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.rail__no {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--signal);
  padding: 4px 9px;
  border-radius: var(--r-xs);
  background: var(--signal-100);
  flex: none;
  font-variant-numeric: tabular-nums;
}

.rail__title {
  font-size: 1.0625rem;
  letter-spacing: -0.022em;
}

.rail__sub {
  display: block;
  font-size: var(--fs-xs);
  color: var(--text-faint);
  margin-top: 2px;
}

.rail__desc {
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--text-soft);
}

.rail__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  flex-wrap: wrap;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}

.rail__outcome {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--navy-900);
}

.rail__outcome svg {
  color: var(--ok);
}

.rail__metric {
  font-size: var(--fs-micro);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-faint);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: var(--mist-100);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .method {
    grid-template-columns: 1fr;
    gap: var(--sp-7);
  }
  .method__aside {
    position: static;
  }
  .rail-intro__progress {
    display: none;
  }
}

@media (max-width: 560px) {
  .rail {
    padding-left: 32px;
  }
  .rail__line {
    left: 9px;
  }
  .rail__marker {
    left: -32px;
    width: 20px;
    height: 20px;
    top: 24px;
  }
  .rail__step.is-active .rail__card {
    transform: none;
  }
}


/* ===== css/components/service.css ===== */
/* ==========================================================================
   service cards — deliberately unequal, never a uniform 3×grid
   ========================================================================== */

.svcs {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--sp-4);
}

/* AEO leads and takes the width; audit closes the row in navy. */
.svcs > .svc:nth-child(1) {
  grid-column: span 7;
}
.svcs > .svc:nth-child(2) {
  grid-column: span 5;
}
.svcs > .svc:nth-child(3) {
  grid-column: span 4;
}
.svcs > .svc:nth-child(4) {
  grid-column: span 4;
}
.svcs > .svc:nth-child(5) {
  grid-column: span 4;
}

/* ---------------------------------------------------------------- card */

.svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  padding: clamp(22px, 2.4vw, 30px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform var(--t-base) var(--ease), box-shadow var(--t-base) var(--ease),
    border-color var(--t-base) var(--ease);
}

.svc:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-lg);
  border-color: var(--line-strong);
}

.svc:hover .ictile {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.svc__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
}

.svc__code {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: var(--track-eyebrow);
  text-transform: uppercase;
  color: var(--text-faint);
}

.svc__title {
  font-size: 1.22rem;
  letter-spacing: -0.028em;
  margin-top: var(--sp-2);
}

.svc__short {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
}

.svc__desc {
  font-size: var(--fs-sm);
  line-height: 1.72;
  color: var(--text-soft);
  padding-top: var(--sp-2);
}

.svc__bullets {
  display: grid;
  gap: 9px;
  padding: var(--sp-4) 0;
}

.svc__bullets li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: var(--fs-sm);
  color: var(--ink-700);
  line-height: 1.5;
}

.svc__bullets svg {
  color: var(--signal);
  margin-top: 3px;
}

/* ---- facts ---- */

.svc__facts {
  display: grid;
  gap: var(--sp-3);
  margin: 0;
  margin-top: auto;
  padding-top: var(--sp-4);
  border-top: 1px solid var(--line);
}

.svc__fact dt {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 3px;
}

.svc__fact dd {
  margin: 0;
  font-size: var(--fs-xs);
  line-height: 1.55;
  color: var(--ink-700);
}

.svc__cta {
  margin-top: var(--sp-4);
}

/* ---- featured (AEO) ---- */

.svc--featured {
  background: var(--white);
  border-color: var(--line-strong);
  box-shadow: var(--sh-sm);
}

.svc--featured .svc__title {
  font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.65rem);
}

.svc--featured .svc__short {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: var(--navy-900);
  font-weight: 500;
  letter-spacing: -0.015em;
}

.svc--featured .svc__facts {
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}

/* A faint signal wash marks the primary offer without a gradient. */
.svc--featured::after {
  content: '';
  position: absolute;
  right: -90px;
  top: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: var(--signal-glow);
  filter: blur(50px);
  pointer-events: none;
}

/* ---- highlight (AEO Audit) ---- */

.svc--highlight {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.svc--highlight .svc__title {
  color: #fff;
}

.svc--highlight .svc__short,
.svc--highlight .svc__fact dd {
  color: #a9b6d0;
}

.svc--highlight .svc__code,
.svc--highlight .svc__fact dt {
  color: #7d8cab;
}

.svc--highlight .svc__facts {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.svc--highlight .ictile {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}

.svc--highlight:hover .ictile {
  background: var(--signal);
  border-color: var(--signal);
}

.svc--highlight .svc__cta {
  color: #fff;
}

.svc--highlight .svc__cta:hover {
  color: var(--signal-300);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1080px) {
  .svcs > .svc:nth-child(1),
  .svcs > .svc:nth-child(2) {
    grid-column: span 12;
  }
  .svcs > .svc:nth-child(3),
  .svcs > .svc:nth-child(4) {
    grid-column: span 6;
  }
  .svcs > .svc:nth-child(5) {
    grid-column: span 12;
  }
}

@media (max-width: 680px) {
  .svcs > .svc {
    grid-column: span 12 !important;
  }
  .svc--featured .svc__facts {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
  }
}


/* ===== css/pages/article.css ===== */
/* ==========================================================================
   article page
   ========================================================================== */

.article {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: clamp(36px, 5vw, 88px);
  align-items: start;
}

.rail-sticky {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  display: grid;
  gap: var(--sp-6);
}

.article__meta {
  display: grid;
  gap: var(--sp-3);
  justify-items: start;
}

.article__byline {
  display: grid;
  gap: 2px;
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

.article__byline strong {
  color: var(--navy-900);
  font-weight: 500;
  font-size: var(--fs-sm);
}

/* ---------------------------------------------------------------- toc */

.toc {
  padding-top: var(--sp-5);
  border-top: 1px solid var(--line);
}

.toc__label {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-4);
}

.toc ol {
  display: grid;
  gap: 2px;
  counter-reset: toc;
}

.toc a {
  display: block;
  padding: 8px 0 8px 26px;
  position: relative;
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: var(--text-soft);
  border-left: 2px solid var(--line);
  padding-left: 16px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}

.toc a::before {
  counter-increment: toc;
  content: counter(toc);
  position: absolute;
  left: -2px;
  opacity: 0;
}

.toc a:hover {
  color: var(--navy-900);
  border-left-color: var(--signal);
}

/* ---------------------------------------------------------------- body */

.article__body {
  max-width: 68ch;
}

.article__intro {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--navy-900);
  font-weight: 450;
  letter-spacing: -0.015em;
  padding-bottom: var(--sp-5);
  border-bottom: 1px solid var(--line);
}

.article__body h2 {
  scroll-margin-top: calc(var(--header-h) + 32px);
}

.article__cta {
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--mist-100);
  border: 1px solid var(--line);
}

.article__end {
  margin-top: var(--sp-8);
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--r-xl);
  background: var(--mist-50);
  border: 1px solid var(--line);
}

.article__end h3 {
  font-size: 1.2rem;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
  color: var(--navy-900);
}

@media (max-width: 980px) {
  .article {
    grid-template-columns: 1fr;
  }
  .rail-sticky {
    position: static;
    gap: var(--sp-5);
  }
  .toc {
    display: none;
  }
}


/* ===== css/pages/contact.css ===== */
/* ==========================================================================
   contact page
   ========================================================================== */

.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: clamp(32px, 4vw, 64px);
  align-items: start;
}

.contact__side {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.contact__quick {
  padding-top: var(--sp-6);
  border-top: 1px solid var(--line);
}

.contact__quick-title {
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--sp-4);
}

.contact__quick .related {
  grid-template-columns: 1fr;
}

@media (max-width: 1000px) {
  .contact {
    grid-template-columns: 1fr;
  }
  .contact__side {
    position: static;
  }
}


/* ===== css/pages/inner.css ===== */
/* ==========================================================================
   inner pages — shared building blocks for service, about and detail pages
   ========================================================================== */

/* ---------------------------------------------------------- numbered steps */

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  counter-reset: step;
}

.steps--3 {
  grid-template-columns: repeat(3, 1fr);
}

.step {
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(20px, 2.2vw, 28px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color var(--t-base) var(--ease), transform var(--t-base) var(--ease),
    box-shadow var(--t-base) var(--ease);
}

.step:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--sh-md);
}

.step__no {
  counter-increment: step;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--signal);
}

.step__no::before {
  content: '0' counter(step);
}

.step__title {
  font-size: 1.0625rem;
  letter-spacing: -0.022em;
}

.step__text {
  font-size: var(--fs-sm);
  line-height: 1.68;
  color: var(--text-soft);
}

/* ------------------------------------------------------ deliverables list */

.dlist {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
}

.dlist__item {
  display: flex;
  gap: 14px;
  padding: var(--sp-5);
  border-radius: var(--r-lg);
  background: var(--mist-50);
  border: 1px solid var(--line);
}

.dlist__item h3 {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-bottom: 5px;
}

.dlist__item p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-soft);
}

/* ------------------------------------------------------------ check list */

.checks {
  display: grid;
  gap: 12px;
}

.checks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--ink-700);
}

.checks svg {
  color: var(--signal);
  margin-top: 3px;
  flex: none;
}

.on-navy .checks li {
  color: #cdd7ea;
}

.on-navy .checks svg {
  color: var(--signal-300);
}

/* ------------------------------------------------------------- fact band */

.factband {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-xl);
  background: var(--navy-900);
  color: #fff;
}

.factband--3 {
  grid-template-columns: repeat(3, 1fr);
}

.factband__item {
  display: grid;
  gap: 6px;
}

.factband__value {
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  color: #fff;
}

.factband__label {
  font-size: var(--fs-xs);
  line-height: 1.5;
  color: #a9b6d0;
}

/* --------------------------------------------------------- related strip */

.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(158px, 1fr));
  gap: var(--sp-3);
}

.rel {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--line);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--navy-900);
  transition: border-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease),
    box-shadow var(--t-fast) var(--ease);
}

.rel:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
  box-shadow: var(--sh-sm);
}

.rel svg:last-child {
  margin-left: auto;
  color: var(--text-faint);
  transition: transform var(--t-base) var(--ease);
}

.rel:hover svg:last-child {
  transform: translateX(3px);
}

/* --------------------------------------------------------- feature split */

.fsplit {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}

.fsplit--top {
  align-items: start;
}

.fsplit__panel {
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: var(--r-xl);
  background: var(--mist-50);
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------- values */

.values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
}

.value {
  display: grid;
  gap: 10px;
  padding-top: var(--sp-5);
  border-top: 2px solid var(--navy-900);
}

.value__no {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--signal);
}

.value__title {
  font-size: 1.15rem;
  letter-spacing: -0.025em;
}

.value__text {
  font-size: var(--fs-sm);
  line-height: 1.7;
  color: var(--text-soft);
}

/* ----------------------------------------------------------------- team */

.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-4);
}

.member {
  display: grid;
  gap: 10px;
  padding: clamp(20px, 2.2vw, 26px);
  border-radius: var(--r-lg);
  background: var(--white);
  border: 1px solid var(--line);
}

.member__avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: var(--navy-900);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.member__name {
  font-size: 1rem;
  letter-spacing: -0.02em;
  margin-top: 4px;
}

.member__role {
  font-size: var(--fs-xs);
  color: var(--signal);
  font-weight: 500;
}

.member__bio {
  font-size: var(--fs-xs);
  line-height: 1.65;
  color: var(--text-soft);
}

/* ------------------------------------------------------------ expertise */

.expertise {
  display: grid;
  gap: var(--sp-4);
}

.exp {
  display: grid;
  gap: 8px;
}

.exp__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--sp-4);
  font-size: var(--fs-sm);
}

.exp__label {
  color: var(--ink-700);
  font-weight: 450;
}

.exp__value {
  font-size: var(--fs-xs);
  color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

.exp__track {
  height: 5px;
  border-radius: 3px;
  background: var(--mist-150);
  overflow: hidden;
}

.exp__bar {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 3px;
  background: var(--navy-900);
  transition: width 1100ms var(--ease);
}

/* ------------------------------------------------------------- responsive */

@media (max-width: 1000px) {
  .steps,
  .steps--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
  .factband,
  .factband--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .fsplit {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .steps,
  .steps--3,
  .dlist,
  .values,
  .team {
    grid-template-columns: 1fr;
  }
  .factband,
  .factband--3 {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }
}


/* ===== css/pages/pricing-table.css ===== */
/* ==========================================================================
   pricing comparison table
   ========================================================================== */

.ptable-wrap {
  overflow-x: auto;
  border-radius: var(--r-xl);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--sh-sm);
}

.ptable {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}

.ptable th,
.ptable td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.ptable thead th {
  vertical-align: bottom;
  padding-top: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
}

.ptable thead th:first-child {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.ptable__name {
  display: block;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--navy-900);
}

.ptable__price {
  display: block;
  font-size: var(--fs-xs);
  font-weight: 400;
  color: var(--text-faint);
  margin-top: 2px;
}

.ptable tbody th {
  font-weight: 450;
  color: var(--ink-700);
}

.ptable tbody td {
  color: var(--text-soft);
}

/* The recommended column stays visually connected top to bottom. */
.ptable thead th:nth-child(3),
.ptable__hi,
.ptable tfoot td:nth-child(3) {
  background: var(--mist-50);
  color: var(--navy-900);
  font-weight: 500;
}

.ptable tbody tr:last-child th,
.ptable tbody tr:last-child td {
  border-bottom: 1px solid var(--line);
}

.ptable tfoot td {
  padding-top: 22px;
  padding-bottom: 24px;
  border-bottom: 0;
}

@media (max-width: 760px) {
  .ptable-wrap {
    border-radius: var(--r-lg);
  }
  .ptable th,
  .ptable td {
    padding: 13px 16px;
  }
}


/* ===== css/pages/questions.css ===== */
/* ==========================================================================
   AEO Suallar page — search, category filter, question items
   ========================================================================== */

.qsearch {
  display: grid;
  gap: var(--sp-4);
}

.qsearch__box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 4px 4px 4px 20px;
  border-radius: var(--r-pill);
  background: var(--white);
  border: 1px solid var(--line-strong);
  box-shadow: var(--sh-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.qsearch__box:focus-within {
  border-color: var(--signal);
  box-shadow: 0 0 0 3px var(--signal-glow);
}

.qsearch__box > svg {
  color: var(--text-faint);
  flex: none;
}

.qsearch__input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  padding: 14px 0;
  font-size: var(--fs-sm);
  color: var(--navy-900);
}

.qsearch__input:focus {
  outline: none;
}

.qsearch__input::placeholder {
  color: var(--text-faint);
}

.qsearch__input::-webkit-search-cancel-button {
  display: none;
}

.qsearch__clear {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--text-faint);
  background: var(--mist-100);
  flex: none;
  transition: color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease);
}

.qsearch__clear:hover {
  color: var(--navy-900);
  background: var(--mist-200);
}

.qsearch__cats {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.qcat {
  padding: 8px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-soft);
  transition: border-color var(--t-fast) var(--ease), background-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease);
}

.qcat:hover {
  border-color: var(--line-strong);
  color: var(--navy-900);
}

.qcat.is-active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.qsearch__count {
  font-size: var(--fs-xs);
  color: var(--text-faint);
}

/* ------------------------------------------------------------------ list */

.qlist {
  display: grid;
}

.qlist .faq__item[hidden] {
  display: none;
}

.qitem__q {
  align-items: center;
}

.qitem__main {
  display: grid;
  gap: 5px;
}

.qitem__cat {
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--signal);
}

.qitem__text {
  display: block;
}

/* ---- onward journey inside each answer ---- */

.qitem__next {
  margin-top: var(--sp-5);
  padding-top: var(--sp-4);
  border-top: 1px dashed var(--line-strong);
}

.qitem__next-label {
  display: block;
  font-size: var(--fs-micro);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: var(--sp-3);
}

.qitem__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qitem__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 15px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--ink-700);
  transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease),
    background-color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.qitem__link:hover {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  color: var(--navy-900);
}

.qitem__link svg {
  color: var(--text-faint);
}

.qitem__link--svc {
  background: var(--signal-100);
  border-color: transparent;
  color: var(--signal-600);
}

.qitem__link--svc svg {
  color: var(--signal);
}

.qitem__link--cta {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: #fff;
}

.qitem__link--cta:hover {
  color: #fff;
  background: var(--navy-800);
}

.qitem__link--cta svg {
  color: var(--signal-300);
}

/* ----------------------------------------------------------- empty state */

.qempty {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 10px;
  padding: clamp(36px, 5vw, 64px);
  border-radius: var(--r-xl);
  background: var(--mist-50);
  border: 1px dashed var(--line-strong);
}

.qempty[hidden] {
  display: none;
}

.qempty h3 {
  font-size: 1.15rem;
  letter-spacing: -0.025em;
  margin-top: var(--sp-2);
}

.qempty p {
  max-width: 44ch;
}


/* ===== css/utilities.css ===== */
/* ==========================================================================
   utilities — small, intentionally few
   ========================================================================== */

.stack {
  display: grid;
  gap: var(--sp-4);
}
.stack-2 {
  display: grid;
  gap: var(--sp-2);
}
.stack-3 {
  display: grid;
  gap: var(--sp-3);
}
.stack-5 {
  display: grid;
  gap: var(--sp-5);
}
.stack-6 {
  display: grid;
  gap: var(--sp-6);
}
.stack-7 {
  display: grid;
  gap: var(--sp-7);
}

.row {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.row-4 {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
}

.mt-4 {
  margin-top: var(--sp-4);
}
.mt-5 {
  margin-top: var(--sp-5);
}
.mt-6 {
  margin-top: var(--sp-6);
}
.mt-7 {
  margin-top: var(--sp-7);
}
.mt-8 {
  margin-top: var(--sp-8);
}

.text-soft {
  color: var(--text-soft);
}
.text-sm {
  font-size: var(--fs-sm);
}
.text-xs {
  font-size: var(--fs-xs);
}
.text-center {
  text-align: center;
}

.full-bleed {
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
}

.no-scroll {
  overflow: hidden;
}

.hide-sm {
  display: revert;
}
.only-sm {
  display: none;
}

@media (max-width: 860px) {
  .hide-sm {
    display: none !important;
  }
  .only-sm {
    display: revert;
  }
}

/* Marks placeholder content that must be replaced with real data. */
.placeholder-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-pill);
  font-size: var(--fs-xs);
  color: var(--text-faint);
  background: transparent;
}

.placeholder-note::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-faint);
}
