/* Parola preview. Values resolve to the Tailwind type scale, the spacing
   table, and Tailwind radii per the elaya landing page design rules. */

:root {
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-3xl: 24px;
  --r-full: 9999px;

  --bg: #001A2E; /* Night Navy */
  --surface: #061525; /* Warm Abyss */
  --surface-2: #0a2438;
  --line: rgba(247, 244, 238, 0.12); /* Foam line */
  --text: #F7F4EE; /* Foam */
  --muted: rgba(247, 244, 238, 0.72);
  --faint: #3A4A5C; /* Mist */
  --gold: #F5C14A; /* Beam Gold */
  --gold-deep: #E08A2E; /* Ember */
  --ink: #001A2E; /* Night Navy on Foam buttons */
  --teal: #4A7088; /* Sea Teal */
  --shore: #6B4530; /* Shore */
  --foam: #F7F4EE;

  --font: 'Sora', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --display: 'Fraunces', Georgia, serif;
  --mono: 'Sora', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --e-base: cubic-bezier(0.22, 1, 0.36, 1);
  --e-rise: cubic-bezier(0.16, 1, 0.3, 1);
  --e-fade: cubic-bezier(0.33, 1, 0.68, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--s-900);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role='list'], ol[role='list'] { list-style: none; padding: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; font-optical-sizing: auto; text-wrap: balance; }
.brand span, .hero-title, .tagline-text { font-family: var(--display); }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
img, svg, canvas { display: block; }

.mono { font-family: var(--mono); font-feature-settings: 'tnum' 1; }

.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;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus-visible {
  position: fixed;
  top: var(--s-200);
  left: var(--s-200);
  z-index: 100;
  width: auto;
  height: auto;
  padding: var(--s-75) var(--s-100);
  margin: 0;
  overflow: visible;
  clip: auto;
  clip-path: none;
  border-radius: var(--r-lg);
  background: var(--text);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
  border-radius: var(--r-md);
}

.container {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--s-300);
}
@media (min-width: 768px) { .container { padding-inline: var(--s-600); } }
@media (min-width: 1280px) { .container { padding-inline: var(--s-800); } }

/* Buttons ------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-300);
  border: 0;
  border-radius: var(--r-full);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 300ms var(--e-base),
    color 300ms var(--e-base),
    transform 500ms var(--e-base),
    box-shadow 300ms var(--e-base);
}
.btn:active { transform: scale(0.98); }
.btn-sm { font-size: 14px; line-height: 20px; padding: 10px var(--s-300); }
.btn-lg { font-size: 16px; line-height: 24px; padding: 12px var(--s-400) 12px var(--s-400); }
.btn .icon { width: 16px; height: 16px; transition: transform 500ms var(--e-base); }
.btn:hover .icon { transform: translateX(var(--s-25)); }

.btn-light { background: #ffffff; color: #0a1224; box-shadow: 0 10px 28px rgba(0, 6, 20, 0.32); }
.btn-light:hover { background: #ffffff; filter: brightness(0.97); }

.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-deep); }

.btn-line { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn-line:hover { box-shadow: inset 0 0 0 1px rgba(245, 193, 74, 0.35); }
.btn[disabled] { opacity: 0.6; cursor: progress; }

.text-link {
  display: inline-flex;
  margin-top: var(--s-200);
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  border-radius: var(--r-md);
  transition: color 300ms var(--e-base);
}
.text-link:hover { color: #ffe1a1; }

.text-link-pending {
  color: var(--muted);
  cursor: default;
  pointer-events: none;
  text-decoration: none;
}
.text-link-pending:hover { color: var(--muted); }


/* Header + nav ------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  padding-top: var(--s-300);
}
.nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--s-500);
}
.nav::before {
  /* Translucent surface that appears once the page scrolls under the bar. */
  content: '';
  position: absolute;
  inset: calc(-1 * var(--s-75)) calc(var(--s-300) - var(--s-100));
  border-radius: var(--r-2xl);
  background: rgba(10, 14, 22, 0.62);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  opacity: 0;
  transition: opacity 500ms var(--e-base);
  pointer-events: none;
}
@media (min-width: 768px) { .nav::before { inset: calc(-1 * var(--s-75)) calc(var(--s-600) - var(--s-200)); } }
@media (min-width: 1280px) { .nav::before { inset: calc(-1 * var(--s-75)) calc(var(--s-800) - var(--s-200)); } }
.site-header[data-scrolled] .nav::before { opacity: 1; }
.nav > * { position: relative; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  letter-spacing: -0.015em;
  border-radius: var(--r-md);
}
.brand-mark { width: 28px; height: 28px; color: var(--foam); flex-shrink: 0; }
.brand-mark img, img.brand-mark { width: 28px; height: 28px; }
.brand-lockup { width: 128px; height: auto; }

/* Homepage: the hero carries the lockup, so the nav brand waits for the scroll. */
.js .site-header-hero .brand { transition: opacity 500ms var(--e-base), visibility 500ms; }
.js .site-header-hero:not([data-scrolled]) .brand { opacity: 0; visibility: hidden; }

.nav-links {
  display: none;
  gap: var(--s-400);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  color: rgba(255, 255, 255, 0.86);
  border-radius: var(--r-md);
  transition: color 300ms var(--e-base);
}
.nav-links a:hover,
.nav-links a[aria-current='true'] { color: #ffffff; }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-1 * var(--s-75));
  height: 2px;
  border-radius: var(--r-full);
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 500ms var(--e-base);
}
.nav-links a[aria-current='true']::after { transform: scaleX(1); }

.nav-cta { display: none; margin-left: auto; }
.site-header-hero .nav-links { margin-left: auto; }
.site-header-hero .nav-cta { margin-left: 0; }

.menu-toggle {
  margin-left: auto;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-xl);
  background: rgba(8, 14, 28, 0.5);
  color: #ffffff;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.menu-line {
  grid-area: 1 / 1;
  width: 16px;
  height: 2px;
  border-radius: var(--r-full);
  background: currentColor;
  transition: transform 500ms var(--e-base);
}
.menu-line:first-child { transform: translateY(-4px); }
.menu-line:last-child { transform: translateY(4px); }
.menu-toggle[aria-expanded='true'] .menu-line:first-child { transform: rotate(45deg); }
.menu-toggle[aria-expanded='true'] .menu-line:last-child { transform: rotate(-45deg); }

.nav-links a { white-space: nowrap; }
@media (min-width: 900px) and (max-width: 1179px) {
  .site-header-hero .nav-cta { display: none !important; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .menu-toggle { display: none; }
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  padding: 112px var(--s-300) var(--s-600);
  overflow-y: auto;
  background: rgba(10, 12, 18, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  opacity: 0;
  transition: opacity 500ms var(--e-base);
}
.mobile-menu[data-open] { opacity: 1; }
.mobile-menu ul { display: grid; gap: var(--s-300); }
.mobile-menu a:not(.btn) { font-size: 30px; line-height: 36px; font-weight: 600; border-radius: var(--r-md); }
.mobile-menu .btn { margin-top: var(--s-200); width: 100%; font-size: 16px; line-height: 24px; padding: var(--s-100) var(--s-200); }
.mobile-menu li {
  opacity: 0;
  transform: translateY(var(--s-300));
  transition: opacity 500ms var(--e-base), transform 500ms var(--e-base);
}
.mobile-menu[data-open] li { opacity: 1; transform: none; }
.mobile-menu li:nth-child(2) { transition-delay: 60ms; }
.mobile-menu li:nth-child(3) { transition-delay: 120ms; }
.mobile-menu li:nth-child(4) { transition-delay: 180ms; }
.mobile-menu li:nth-child(5) { transition-delay: 240ms; }
@media (min-width: 900px) { .mobile-menu { display: none; } }
body[data-menu-open] { overflow: hidden; }

/* Hero --------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  overflow: hidden;
  background: #06142e;
}
@media (min-width: 900px) { .hero { min-height: max(640px, 100svh); } }

.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.scene-poster,
.scene-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
}
/* The poster holds until playback really starts, so a blocked autoplay shows the still. */
.js .scene-video { opacity: 0; transition: opacity 700ms var(--e-fade); }
.js .scene-video.is-playing { opacity: 1; }

/* Vignette so the copy reads over the water; the footage is brightest under the headline. */
.scene-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 8, 20, 0.55) 0%, rgba(3, 8, 20, 0) 18%),
    linear-gradient(90deg, rgba(3, 9, 24, 0.6) 0%, rgba(3, 9, 24, 0.35) 40%, transparent 60%),
    linear-gradient(180deg, rgba(0, 26, 46, 0) 88%, rgba(0, 26, 46, 0.92) 100%);
}
/* Narrow screens: the footage holds the top of the hero, lighthouse first, and fades into navy under the copy. */
@media (max-width: 899px) {
  .hero { background: var(--bg); }
  .scene-poster,
  .scene-video { height: 62%; object-position: 74% center; }
  .scene-shade {
    background:
      linear-gradient(180deg, rgba(3, 8, 20, 0.6) 0%, rgba(3, 8, 20, 0) 14%),
      linear-gradient(180deg, rgba(0, 26, 46, 0) 40%, rgba(0, 26, 46, 0.92) 60%, rgb(0, 26, 46) 62%);
  }
}

.hero-inner {
  display: flex;
  align-items: center;
  padding-top: 112px;
  padding-bottom: var(--s-800);
}
@media (max-width: 899px) {
  .hero-inner {
    align-items: flex-end;
    /* Room for the lighthouse to stand above the copy. */
    padding-top: 240px;
    padding-bottom: var(--s-500);
  }
}

.hero-copy { max-width: 680px; }

.hero-lockup {
  --lockup-shadow: drop-shadow(0 2px 16px rgba(5, 12, 28, 0.55));
  width: 184px;
  height: auto;
  margin-bottom: var(--s-300);
  filter: var(--lockup-shadow);
}
@media (min-width: 1024px) {
  .hero-lockup { width: 240px; margin-bottom: var(--s-400); }
}

.hero-title {
  max-width: 680px;
  font-size: min(36px, 10.3vw); /* Below 350px, keeps "Brands That Care." on one row. */
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 16px rgba(5, 12, 28, 0.55);
}
/* Forced break after "Social Listening": each .line is its own row. Lines may wrap within. */
.hero-title .line {
  display: block;
}
.hero-title .line + .line {
  margin-top: 2px;
}
.hero-gold { color: var(--gold); }
/* Hand-drawn stroke under "Brands That Care". The phrase and its period never split, so the stroke follows them onto a new row; width and height track the phrase and font size. */
.hero-nowrap { white-space: nowrap; }
.hero-underlined {
  position: relative;
  display: inline-block;
}
.hero-underline {
  position: absolute;
  left: 0;
  bottom: -0.16em;
  width: 100%;
  height: 0.2em;
  overflow: visible;
  pointer-events: none;
}
.hero-underline path {
  stroke: var(--gold);
  stroke-width: 0.06em;
}
@media (min-width: 400px) { .hero-title { font-size: 44px; } }
@media (min-width: 768px) {
  .hero-title { font-size: 52px; }
  .hero-title .line + .line { margin-top: 4px; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 60px; line-height: 1.02; }
}
/* Wide enough for the locked two-line break, clear of the lighthouse. */
@media (min-width: 1280px) {
  .hero-copy, .hero-title { max-width: none; }
  .hero-title { font-size: 52px; }
  .hero-title .line { white-space: nowrap; }
}
@media (min-width: 1440px) {
  .hero-title { font-size: 60px; }
}

.hero-sub {
  margin-top: var(--s-200);
  max-width: 680px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  color: rgba(247, 244, 238, 0.88);
  text-wrap: pretty;
  text-shadow: 0 1px 18px rgba(0, 8, 24, 0.65);
}
@media (min-width: 1024px) {
  .hero-sub { margin-top: var(--s-300); font-size: 18px; line-height: 28px; max-width: 520px; }
}

.hero-actions { margin-top: var(--s-400); display: flex; gap: var(--s-100); }

.hero-proof {
  margin-top: var(--s-300);
  font-size: 12px;
  line-height: 16px;
  color: rgba(247, 244, 238, 0.72);
}

/* Hero appear: 6px rise, 2px blur to sharp, opacity, in reading order. */
.js .appear {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(2px);
}
.js body.is-loaded .appear {
  opacity: 1;
  transform: none;
  filter: none;
  transition:
    transform 1050ms var(--e-rise),
    opacity 800ms var(--e-rise),
    filter 800ms var(--e-rise);
  transition-delay: calc(120ms + var(--i, 0) * 65ms);
}
.js body.is-loaded .site-header.appear { transition-delay: 60ms; }
/* The lockup's shadow is a filter, so it has to survive .appear. blur(0) keeps both lists matched so the fade still animates. */
.js .hero-lockup.appear { filter: blur(2px) var(--lockup-shadow); }
.js body.is-loaded .hero-lockup.appear { filter: blur(0) var(--lockup-shadow); }

/* Phones: the lockup moves into the top bar, the lighthouse stands in the top half, the copy sits on navy. */
@media (max-width: 600px) {
  .js .site-header-hero:not([data-scrolled]) .brand { opacity: 1; visibility: visible; }
  .site-header-hero .brand-lockup { width: auto; height: 28px; }
  .hero-lockup { display: none; }

  .hero {
    /* The footage is sized from the viewport, so the crop holds when long copy grows the hero. 94vw keeps the frame covering the box with the tower centered. */
    --scene-height: max(54svh, 94vw);
    /* Eased stops, so neither end of the 120px fade reads as a line. */
    --scene-feather: linear-gradient(180deg, #000 calc(100% - 120px), rgba(0, 0, 0, 0.74) calc(100% - 84px), rgba(0, 0, 0, 0.38) calc(100% - 48px), rgba(0, 0, 0, 0.12) calc(100% - 20px), transparent 100%);
  }
  .scene-poster,
  .scene-video {
    height: var(--scene-height);
    /* The tower stands 69.8% across the 16:9 frame. */
    object-position: calc(50vw - var(--scene-height) * 1.2407) center;
    -webkit-mask-image: var(--scene-feather);
    mask-image: var(--scene-feather);
  }
  .scene-shade { background: linear-gradient(180deg, rgba(3, 8, 20, 0.6) 0%, rgba(3, 8, 20, 0) 14%); }

  .hero-inner {
    align-items: flex-start;
    padding-top: calc(var(--scene-height) + 32px);
    padding-bottom: var(--s-400);
  }
  .hero-copy { width: 100%; }
  .hero-title {
    /* "for Brands That Care." is 9.45em wide, so it fills the 24px gutters and "for" never drops alone. */
    font-size: min(38px, calc((100vw - 48px) / 9.45));
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-wrap: balance;
  }
  .hero-title .line { white-space: nowrap; }
  .hero-gold + .hero-gold { display: block; } /* Breaks after "and". */
  .hero-actions { margin-top: var(--s-300); }
  .hero-actions .btn { width: 100%; height: 52px; padding-block: 0; }
}

/* Sections ----------------------------------------------------------- */

.section { padding-block: var(--s-800); }
@media (min-width: 1024px) { .section { padding-block: var(--s-900); } }

.section-head { max-width: 680px; }
.eyebrow {
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
  color: var(--gold);
}
.section-lead {
  margin-top: var(--s-200);
  max-width: 40rem;
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  font-weight: 400;
}
@media (min-width: 768px) {
  .section-lead { font-size: 18px; line-height: 28px; }
}
.section-head h2 {
  margin-top: var(--s-100);
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .section-head h2 { font-size: 36px; line-height: 40px; } }

/* Free check placeholder: reserved space until the design lands. */
.free-check-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  min-height: 280px;
  padding: var(--s-400);
  border: 1px dashed var(--line);
  border-radius: var(--r-2xl);
  text-align: center;
}
@media (min-width: 768px) { .free-check-slot { min-height: 360px; } }
.free-check-note {
  font-size: 14px;
  line-height: 20px;
  color: var(--muted);
}

.cards {
  display: grid;
  gap: var(--s-200);
  margin-top: var(--s-600);
}
@media (min-width: 900px) { .cards { grid-template-columns: repeat(3, 1fr); gap: var(--s-300); } }
.cards-4 { margin-top: var(--s-500); }
@media (min-width: 700px) { .cards-4 { grid-template-columns: repeat(2, 1fr); gap: var(--s-200); } }
@media (min-width: 1100px) { .cards-4 { grid-template-columns: repeat(4, 1fr); gap: var(--s-200); } }
.cards-4 .card { min-height: 0; }
.cards-4 .card { padding: var(--s-300); }
.cards-4 .card h3 { margin-top: 0; font-size: 18px; line-height: 26px; }
.cards-4 .card p { font-size: 14px; line-height: 22px; }

.card {
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  transition: transform 500ms var(--e-base), border-color 300ms var(--e-base);
}
.card:hover { transform: translateY(-4px); border-color: rgba(245, 193, 74, 0.28); }
.card-icon {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: var(--surface-2);
  color: var(--gold);
}
.card-icon svg { width: 24px; height: 24px; }
.card h3 { margin-top: var(--s-300); font-size: 20px; line-height: 28px; }
.card p { margin-top: var(--s-75); color: var(--muted); }

/* How it works */
.section-how { padding-block: var(--s-700); }
@media (min-width: 1024px) { .section-how { padding-block: var(--s-800); } }
.section-how .steps { margin-top: var(--s-400); }
.how-grid { display: grid; gap: var(--s-700); align-items: center; }
@media (min-width: 1024px) { .how-grid { grid-template-columns: 1fr 1fr; gap: var(--s-800); } }

.steps { display: grid; gap: var(--s-400); margin-top: var(--s-600); }
@media (min-width: 900px) {
  .steps-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); }
}
.step { display: grid; grid-template-columns: var(--s-600) 1fr; gap: var(--s-200); }
.step-num {
  font-family: var(--mono);
  font-size: 14px;
  line-height: 28px;
  color: var(--gold);
}
.step h3 { font-size: 20px; line-height: 28px; }
.step p { margin-top: var(--s-75); color: var(--muted); }

.brief {
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--surface);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45), 0 0 96px rgba(255, 170, 60, 0.06);
}
@media (min-width: 768px) { .brief { padding: var(--s-400); } }
.brief-head { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s-200); }
.brief-kicker { font-size: 12px; line-height: 16px; color: var(--gold); font-weight: 500; }
.brief-brand { margin-top: var(--s-50); font-size: 20px; line-height: 28px; font-weight: 600; }
.brief-time { font-size: 12px; line-height: 16px; color: var(--faint); white-space: nowrap; }
.brief-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-75);
  margin-top: var(--s-300);
}
.brief-stats div {
  padding: var(--s-100);
  border-radius: var(--r-xl);
  background: var(--surface-2);
}
.brief-stats dt { font-size: 12px; line-height: 16px; color: var(--faint); }
.brief-stats dd { margin-top: var(--s-50); font-size: 20px; line-height: 28px; }
.brief-stats .up { color: var(--gold); }
.brief-items { display: grid; gap: var(--s-75); margin-top: var(--s-200); }
.brief-items li {
  display: grid;
  grid-template-columns: var(--s-100) 1fr;
  gap: var(--s-100);
  align-items: start;
  padding: var(--s-100);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
}
.dot { width: 8px; height: 8px; margin-top: var(--s-75); border-radius: var(--r-full); }
.dot-rise { background: var(--gold); box-shadow: 0 0 12px rgba(245, 193, 74, 0.7); }
.dot-watch { background: #ff7a59; }
.dot-calm { background: #6f8fb8; }
.brief-item-title { font-size: 14px; line-height: 20px; font-weight: 500; }
.brief-item-meta { margin-top: var(--s-25); font-size: 12px; line-height: 16px; color: var(--faint); }

/* Tagline reveal (B11) */
.tagline { padding-block: var(--s-900); }
@media (min-width: 1024px) { .tagline { padding-block: 160px; } }
.tagline-text {
  max-width: 680px;
  font-size: 36px;
  line-height: 40px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
@media (min-width: 768px) { .tagline-text { font-size: 48px; line-height: 1.04; } }
@media (min-width: 1024px) { .tagline-text { max-width: 760px; font-size: 60px; line-height: 1.04; } }
.tagline-line { display: block; }
.word {
  color: rgba(255, 255, 255, 0.3);
  transition: color 700ms var(--e-base);
}
.word.is-on { color: #ffffff; }
.word.is-on.word-gold { color: var(--gold); }

/* Final CTA */
.section-cta { padding-top: 0; padding-bottom: var(--s-600); }
@media (min-width: 1024px) { .section-cta { padding-bottom: var(--s-700); } }
.cta-note { margin-bottom: 0; }
.cta-panel {
  padding: var(--s-600) var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background: var(--surface);
  text-align: center;
}
@media (min-width: 768px) { .cta-panel { padding: var(--s-800) var(--s-600); } }
.cta-panel h2 {
  max-width: 680px;
  margin-inline: auto;
  font-size: 30px;
  line-height: 36px;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) { .cta-panel h2 { font-size: 48px; line-height: 1; } }
.cta-sub { margin-top: var(--s-200); font-size: 18px; line-height: 28px; color: var(--muted); }

.signup { max-width: 520px; margin: var(--s-400) auto 0; text-align: left; }
.field {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
  padding: var(--s-75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-2xl);
  background: var(--surface);
  transition: border-color 300ms var(--e-base);
}
@media (min-width: 600px) { .field { flex-direction: row; } }
.field:focus-within { border-color: rgba(245, 193, 74, 0.6); }
.field[data-invalid] { border-color: #ff7a59; }
.field input {
  flex: 1;
  min-width: 0;
  padding: var(--s-75) var(--s-100);
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  outline: none;
}
.field input::placeholder { color: rgba(255, 255, 255, 0.4); }
.field .btn { border-radius: var(--r-lg); }
.form-msg { min-height: 20px; margin-top: var(--s-75); font-size: 14px; line-height: 20px; color: var(--muted); }
.form-msg[data-state='error'] { color: #ff9a80; }
.form-msg[data-state='ok'] { color: var(--gold); }
.cta-note { margin-top: var(--s-100); font-size: 14px; line-height: 20px; color: var(--faint); }

.pricing { margin-top: var(--s-800); }
.plans { display: grid; gap: var(--s-200); margin-top: var(--s-300); }
@media (min-width: 768px) { .plans { grid-template-columns: 1fr 1fr; gap: var(--s-300); } }
@media (min-width: 1200px) { .plans { grid-template-columns: repeat(4, 1fr); } }
.plan {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
}
.plan h3 { margin-top: var(--s-75); font-size: 24px; line-height: 32px; }
.plan-price { margin-top: var(--s-75); font-size: 18px; line-height: 28px; color: var(--text); }
.plan-price .mono { font-size: 24px; line-height: 32px; }
.plan p:not(.eyebrow):not(.plan-price) { margin-top: var(--s-100); color: var(--muted); }
.plan .text-link { margin-top: auto; padding-top: var(--s-200); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-500); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200) var(--s-400); }
.brand-sm { font-size: 18px; line-height: 28px; }
.brand-sm .brand-mark { width: 24px; height: 24px; }
.footer-note { font-size: 14px; line-height: 20px; color: var(--faint); }
.footer-links { display: flex; flex-wrap: wrap; gap: var(--s-200) var(--s-300); margin-left: auto; min-width: 0; max-width: 100%; font-size: 14px; line-height: 20px; }
.footer-links a { color: var(--muted); border-radius: var(--r-md); transition: color 300ms var(--e-base); }
.footer-links a:hover, .footer-links a[aria-current='page'] { color: #ffffff; }
.footer-credit { flex-basis: 100%; font-size: 12px; line-height: 16px; color: var(--muted); }
.footer-credit a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; border-radius: var(--r-md); }
.footer-credit a:hover { color: #ffffff; }

/* Scroll reveal: 32px rise + fade, once. */
.js .reveal {
  opacity: 0;
  transform: translateY(var(--s-400));
  transition: opacity 700ms var(--e-base), transform 700ms var(--e-base);
}
.js .reveal.is-in { opacity: 1; transform: none; }
.js .cards .reveal:nth-child(2), .js .plans .reveal:nth-child(2) { transition-delay: 80ms; }
.js .cards .reveal:nth-child(3) { transition-delay: 160ms; }

/* Simple pages (privacy, terms, 404) */
.page { min-height: 100svh; display: flex; flex-direction: column; }
.page main { flex: 1; padding-top: 144px; padding-bottom: var(--s-900); }
.page .site-header .nav::before { opacity: 1; }
.prose { max-width: 680px; }
.prose h1 { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.prose h2 { margin-top: var(--s-500); font-size: 20px; line-height: 28px; }
.prose p { margin-top: var(--s-200); color: var(--muted); }
.prose .lede { margin-top: var(--s-200); font-size: 18px; line-height: 28px; color: var(--text); }
.prose .btn { margin-top: var(--s-400); }

/* Thin stubs (features, alternatives, glossary): night navy, foam body, gold CTA. */
.stub .site-header .nav::before { background: rgba(10, 34, 56, 0.72); } /* Navy raised */
.stub .prose p { color: var(--text); }
.stub .footer-note { color: var(--muted); }

/* Reduced motion: no rise, no blur, no video. The poster stands in for the footage. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .scene-video { display: none; }
  .js .appear,
  .js body.is-loaded .appear {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .js .hero-lockup.appear,
  .js body.is-loaded .hero-lockup.appear { filter: var(--lockup-shadow); }
  .js .reveal { transform: none; transition: opacity 300ms linear; }
  .mobile-menu li { transform: none; }
  .btn, .btn .icon, .card { transition: background-color 300ms linear, color 300ms linear; }
  .btn:hover .icon, .card:hover { transform: none; }
  .word { transition: color 300ms linear; }
}


/* AI visibility feature (core) -------------------------------------- */
.section-ai { padding-block: var(--s-700); }
@media (min-width: 1024px) { .section-ai { padding-block: var(--s-800); } }

.ai-feature {
  display: grid;
  gap: var(--s-600);
  align-items: center;
}
@media (min-width: 960px) {
  .ai-feature {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: var(--s-700);
  }
}

.ai-feature-copy .eyebrow { margin-bottom: 0; }
.ai-feature-copy h2 {
  margin-top: var(--s-100);
  font-size: 30px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
@media (min-width: 768px) {
  .ai-feature-copy h2 { font-size: 40px; line-height: 1.1; }
}
.ai-feature-lead {
  margin-top: var(--s-300);
  margin-bottom: var(--s-400);
  font-size: 16px;
  line-height: 26px;
  color: var(--muted);
  max-width: 36ch;
}
@media (min-width: 768px) {
  .ai-feature-lead { font-size: 18px; line-height: 28px; }
}

.ai-mock {
  margin: 0;
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-3xl);
  background:
    radial-gradient(120% 80% at 100% 0%, rgba(245, 193, 74, 0.08), transparent 55%),
    var(--surface);
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
.ai-mock-badge {
  position: absolute;
  top: var(--s-200);
  right: var(--s-200);
  z-index: 2;
  margin: 0;
  padding: 4px 10px;
  border-radius: var(--r-full);
  border: 1px solid rgba(245, 193, 74, 0.35);
  background: rgba(0, 12, 24, 0.72);
  color: var(--gold);
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.ai-mock-panel { padding: var(--s-400); display: grid; gap: var(--s-300); }
@media (min-width: 600px) { .ai-mock-panel { padding: var(--s-500); gap: var(--s-400); } }

.ai-mock-label {
  font-size: 12px;
  line-height: 16px;
  font-weight: 500;
  color: var(--faint);
  letter-spacing: 0.02em;
}
.ai-mock-score {
  display: flex;
  gap: var(--s-500);
  align-items: flex-end;
  padding-bottom: var(--s-200);
  border-bottom: 1px solid var(--line);
}
.ai-mock-value {
  margin-top: var(--s-50);
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--foam);
}
.ai-mock-delta {
  margin-top: var(--s-50);
  font-family: var(--display);
  font-size: 28px;
  line-height: 1;
  font-weight: 600;
}
.ai-mock-delta.up { color: var(--gold); }

.ai-mock-engines {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-100);
  margin: 0;
  padding: 0;
  list-style: none;
}
.ai-engine {
  padding: var(--s-200);
  border-radius: var(--r-xl);
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.ai-engine-name {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--foam);
}
.ai-engine-meta {
  margin-top: 4px;
  font-size: 12px;
  line-height: 16px;
  color: var(--muted);
}

.ai-mock-sov { display: grid; gap: var(--s-200); }
.ai-sov-bars { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-150, 10px); }
.ai-sov-bars li {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: var(--s-100);
  align-items: center;
}
.ai-sov-name { font-size: 12px; line-height: 16px; color: var(--muted); }
.ai-sov-track {
  display: block;
  height: 10px;
  border-radius: var(--r-full);
  background: rgba(247, 244, 238, 0.08);
  overflow: hidden;
}
.ai-sov-fill {
  display: block;
  height: 100%;
  width: var(--w, 40%);
  border-radius: var(--r-full);
  background: #4A7088;
}
.ai-sov-fill.brand { background: var(--gold); }

.ai-mock-sources ul {
  list-style: none;
  margin: var(--s-100) 0 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.ai-mock-sources li {
  font-size: 13px;
  line-height: 20px;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(0, 12, 24, 0.35);
}
.ai-mock-sources li::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

/* Reputation 4-card: tighter section */
#reputation { padding-block: var(--s-700); }
@media (min-width: 1024px) { #reputation { padding-block: var(--s-800); } }


/* Platforms grid ---------------------------------------------------- */
.section-platforms { padding-block: var(--s-700); background: var(--night, #001A2E); }
@media (min-width: 1024px) { .section-platforms { padding-block: var(--s-800); } }
.platforms-grid {
  list-style: none;
  margin: var(--s-500) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
@media (min-width: 700px) {
  .platforms-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.platforms-grid li {
  display: flex;
  align-items: center;
  gap: var(--s-150, 12px);
  padding: var(--s-300) var(--s-200);
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  min-height: 72px;
}
@media (min-width: 700px) {
  .platforms-grid li:nth-child(4n) { border-right: 0; }
}
@media (max-width: 699px) {
  .platforms-grid li:nth-child(2n) { border-right: 0; }
}
.platform-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  color: var(--foam);
}
.platform-icon svg { width: 28px; height: 28px; display: block; }
.platform-name {
  font-size: 15px;
  line-height: 22px;
  font-weight: 500;
  color: var(--foam);
}

/* Compare pages ----------------------------------------------------- */
.compare-hero { padding-top: 120px; padding-bottom: var(--s-600); }
.compare-hero .eyebrow { margin-bottom: var(--s-100); }
.compare-hero h1 {
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
@media (min-width: 768px) { .compare-hero h1 { font-size: 48px; } }
.compare-lead {
  margin-top: var(--s-300);
  max-width: 42rem;
  font-size: 18px;
  line-height: 28px;
  color: var(--muted);
}
.compare-note {
  margin-top: var(--s-200);
  font-size: 13px;
  line-height: 20px;
  color: var(--faint);
}
.compare-table-wrap {
  margin-top: var(--s-500);
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
}
.compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  line-height: 20px;
  min-width: 560px;
}
.compare-table th,
.compare-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.compare-table th {
  font-weight: 600;
  color: var(--foam);
  background: rgba(0, 12, 24, 0.45);
}
.compare-table th:first-child,
.compare-table td:first-child { width: 32%; color: var(--muted); font-weight: 500; }
.compare-table tr:last-child td { border-bottom: 0; }
.compare-table .yes { color: var(--gold); font-weight: 500; }
.compare-table .no { color: var(--faint); }
.compare-table .partial { color: var(--muted); }
.compare-diff {
  list-style: none;
  margin: var(--s-500) 0 0;
  padding: 0;
  display: grid;
  gap: var(--s-200);
}
@media (min-width: 900px) {
  .compare-diff { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); }
}
.compare-diff li {
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
}
.compare-diff h3 {
  font-size: 18px;
  line-height: 26px;
  margin: 0;
}
.compare-diff p {
  margin-top: var(--s-100);
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
.compare-faq { margin-top: var(--s-600); }
.compare-faq details {
  border-bottom: 1px solid var(--line);
  padding: var(--s-300) 0;
}
.compare-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--foam);
}
.compare-faq details p {
  margin-top: var(--s-150, 12px);
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
  max-width: 42rem;
}
.compare-hub-grid {
  display: grid;
  gap: var(--s-200);
  margin-top: var(--s-500);
}
@media (min-width: 800px) {
  .compare-hub-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-300); }
}
.compare-hub-card {
  display: block;
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  transition: border-color 300ms var(--e-base), transform 400ms var(--e-base);
}
.compare-hub-card:hover {
  border-color: rgba(245, 193, 74, 0.35);
  transform: translateY(-2px);
}
.compare-hub-card h2 {
  font-size: 22px;
  line-height: 28px;
  margin: 0;
}
.compare-hub-card p {
  margin-top: var(--s-100);
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
.compare-hub-card .text-link { margin-top: var(--s-200); display: inline-block; color: var(--gold); }
.placeholder-copy {
  border-left: 2px solid rgba(245, 193, 74, 0.45);
  padding-left: var(--s-200);
  color: var(--muted);
}
.source-foot {
  margin-top: var(--s-600);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line);
  font-size: 12px;
  line-height: 18px;
  color: var(--faint);
}
.source-foot a { color: var(--muted); text-decoration: underline; }

.compare-tldr {
  margin-top: var(--s-400);
  padding: var(--s-300);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  max-width: 42rem;
}
.compare-tldr .eyebrow { margin-bottom: var(--s-100); }
.compare-tldr p { color: var(--foam); font-size: 16px; line-height: 26px; }
.compare-choose {
  display: grid;
  gap: var(--s-300);
  margin-top: var(--s-500);
}
@media (min-width: 768px) {
  .compare-choose { grid-template-columns: 1fr 1fr; gap: var(--s-400); }
}
.compare-choose-card {
  padding: var(--s-400);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.compare-choose-card h3 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 28px;
  margin-bottom: var(--s-200);
}
.compare-choose-card ul {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: var(--s-150);
}
.compare-choose-card li {
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}
.compare-breadcrumb {
  font-size: 13px;
  line-height: 20px;
  color: var(--faint);
  margin-bottom: var(--s-200);
}
.compare-breadcrumb a { color: var(--muted); }
.compare-alt-list {
  display: grid;
  gap: var(--s-200);
  margin-top: var(--s-500);
}
.compare-alt-card {
  display: block;
  padding: var(--s-400);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}
.compare-alt-card:hover { border-color: rgba(232, 197, 71, 0.45); }
.compare-alt-card h2 {
  font-family: var(--display);
  font-size: 22px;
  line-height: 28px;
  margin-bottom: var(--s-100);
}
.compare-alt-card p { color: var(--muted); font-size: 15px; line-height: 24px; }

.compare-byline {
  margin-top: var(--s-200);
  font-size: 13px;
  line-height: 20px;
  color: var(--faint);
}
.compare-disclosure {
  margin-top: var(--s-100);
  font-size: 13px;
  line-height: 20px;
  color: var(--faint);
  max-width: 42rem;
}
.compare-prose {
  max-width: 42rem;
  margin-top: var(--s-400);
}
.compare-prose p {
  color: var(--muted);
  font-size: 16px;
  line-height: 26px;
  margin-top: var(--s-200);
}
.compare-prose p:first-child { margin-top: 0; }
.compare-prose h3 {
  font-family: var(--display);
  font-size: 20px;
  line-height: 28px;
  margin-top: var(--s-400);
  margin-bottom: var(--s-100);
  color: var(--foam);
}
.compare-why {
  margin-top: var(--s-500);
  display: grid;
  gap: var(--s-300);
  max-width: 42rem;
}
.compare-why li {
  padding-left: 0;
}
.compare-why h3 {
  font-family: var(--display);
  font-size: 18px;
  line-height: 26px;
  margin-bottom: var(--s-100);
  color: var(--foam);
}
.compare-why p {
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}
.compare-criteria {
  display: grid;
  gap: var(--s-200);
  margin-top: var(--s-400);
}
@media (min-width: 768px) {
  .compare-criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-300); }
}
.compare-criteria li {
  padding: var(--s-300);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.compare-criteria strong {
  display: block;
  color: var(--foam);
  margin-bottom: 6px;
  font-size: 15px;
}
.compare-criteria p {
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
.compare-soft-cta {
  margin-top: var(--s-600);
  padding: var(--s-500);
  border: 1px solid rgba(232, 197, 71, 0.25);
  border-radius: 16px;
  background: rgba(232, 197, 71, 0.06);
  max-width: 42rem;
}
.compare-soft-cta p {
  color: var(--foam);
  font-size: 18px;
  line-height: 28px;
  margin-bottom: var(--s-300);
}
.compare-wins {
  display: grid;
  gap: var(--s-300);
  margin-top: var(--s-500);
}
@media (min-width: 768px) {
  .compare-wins { grid-template-columns: 1fr 1fr; }
}
.compare-wins-card {
  padding: var(--s-400);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
}
.compare-wins-card h3 {
  font-family: var(--display);
  font-size: 20px;
  line-height: 28px;
  margin-bottom: var(--s-200);
}
.compare-wins-card h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--foam);
  margin-top: var(--s-200);
  margin-bottom: 4px;
}
.compare-wins-card p {
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
.compare-checklist {
  list-style: disc;
  padding-left: 1.25rem;
  display: grid;
  gap: var(--s-150);
  max-width: 42rem;
  margin-top: var(--s-300);
}
.compare-checklist li {
  color: var(--muted);
  font-size: 15px;
  line-height: 24px;
}
.compare-table td { vertical-align: top; }

/* Mobile: collapse long compare tables behind a toggle (JS adds .is-collapsed).
   Without JS, all rows stay visible and the button stays hidden. Desktop unchanged. */
.compare-more-btn {
  display: none;
  margin-top: var(--s-300);
  width: 100%;
  min-height: 44px;
  padding: 12px var(--s-300);
  border: 1px solid var(--gold);
  border-radius: var(--r-full);
  background: transparent;
  color: var(--gold);
  font-family: var(--font);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
  cursor: pointer;
  transition:
    background-color 300ms var(--e-base),
    color 300ms var(--e-base),
    border-color 300ms var(--e-base),
    transform 500ms var(--e-base);
}
.compare-more-btn:hover {
  background: var(--gold);
  color: var(--ink);
}
.compare-more-btn:active { transform: scale(0.98); }
.compare-more-btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* Phones: stack each compare row as a card. Desktop stays a table. */
@media (max-width: 640px) {
  .compare-table-wrap {
    overflow-x: visible;
  }
  .compare-table {
    min-width: 0;
    width: 100%;
    display: block;
    font-size: 14px;
    line-height: 20px;
  }
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  .compare-table tbody {
    display: flex;
    flex-direction: column;
  }
  .compare-table tbody tr {
    display: block;
    padding: var(--s-200);
    border-bottom: 1px solid var(--line);
    background: transparent;
  }
  .compare-table tbody td {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    text-align: left;
    color: var(--text);
    font-weight: 400;
  }
  .compare-table tbody td:first-child {
    color: var(--foam);
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    margin-bottom: var(--s-100);
  }
  .compare-table tbody td[data-label] {
    margin-top: var(--s-75);
    padding-top: var(--s-75);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 14px;
    line-height: 20px;
  }
  .compare-table tbody td[data-label]::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    color: var(--gold);
    font-family: var(--font);
    font-size: 12px;
    line-height: 16px;
    font-weight: 600;
    letter-spacing: 0.02em;
  }
  .compare-table-wrap.is-collapsed .compare-table tbody tr:not([data-mobile-show]) {
    display: none;
  }
  .compare-more-btn:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

/* Phone-only visual order for compare cards (DOM order stays for desktop). */
@media (max-width: 640px) {
  .compare-table tbody tr[data-mobile-order="1"] { order: 1; }
  .compare-table tbody tr[data-mobile-order="2"] { order: 2; }
  .compare-table tbody tr[data-mobile-order="3"] { order: 3; }
  .compare-table tbody tr[data-mobile-order="4"] { order: 4; }
  .compare-table tbody tr[data-mobile-order="5"] { order: 5; }
  .compare-table tbody tr[data-mobile-order="6"] { order: 6; }
  .compare-table tbody tr[data-mobile-order="7"] { order: 7; }
  .compare-table tbody tr[data-mobile-order="8"] { order: 8; }
  .compare-table tbody tr[data-mobile-order="9"] { order: 9; }
  .compare-table tbody tr[data-mobile-order="10"] { order: 10; }
  .compare-table tbody tr[data-mobile-order="11"] { order: 11; }
  .compare-table tbody tr[data-mobile-order="12"] { order: 12; }
  .compare-table tbody tr[data-mobile-order="13"] { order: 13; }
  .compare-table tbody tr[data-mobile-order="14"] { order: 14; }
  .compare-table tbody tr[data-mobile-order="15"] { order: 15; }
  .compare-table tbody tr[data-mobile-order="16"] { order: 16; }
  .compare-table tbody tr[data-mobile-order="17"] { order: 17; }
  .compare-table tbody tr[data-mobile-order="18"] { order: 18; }
  .compare-table tbody tr[data-mobile-order="19"] { order: 19; }
  .compare-table tbody tr[data-mobile-order="20"] { order: 20; }
  .compare-table tbody tr[data-mobile-order="21"] { order: 21; }
  .compare-table tbody tr[data-mobile-order="22"] { order: 22; }
  .compare-table tbody tr[data-mobile-order="23"] { order: 23; }
}


/* Feature, source, use case and contact pages ------------------------ */
.page main:has(.pg-hero) { padding-top: 0; padding-bottom: 0; }
.pg-hero { padding-top: 144px; padding-bottom: var(--s-700); }
.pg-hero h1 { max-width: 24ch; }
.pg-hero .compare-breadcrumb { color: var(--muted); }
.pg-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-200); margin-top: var(--s-400); }
.pg-actions .text-link { margin-top: 0; }

.pg-shot { margin-bottom: var(--s-700); }
/* The -fill shots carry an 8px light strip on the right edge. Clip it here rather than recut the PNGs. */
.pg-shot img { width: 100%; height: auto; clip-path: inset(0 0.56% 0 0 round var(--r-2xl)); }

.pg-row { padding-block: var(--s-600); border-top: 1px solid var(--line); scroll-margin-top: var(--s-800); }
.pg-row-grid { display: grid; gap: var(--s-300); }
.pg-row h2 { font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
.pg-intro { margin-top: var(--s-100); color: var(--muted); font-size: 16px; line-height: 24px; }
@media (min-width: 768px) { .pg-row h2 { font-size: 32px; line-height: 36px; } }
@media (min-width: 1024px) {
  .pg-row { padding-block: var(--s-800); }
  .pg-row-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--s-800); }
  .pg-row-head { position: sticky; top: 112px; align-self: start; }
}

.pg-body { max-width: 42rem; color: var(--muted); font-size: 16px; line-height: 26px; }
.pg-row-grid .pg-body:has(.pg-cards, .compare-table-wrap) { max-width: none; }
.pg-body > p + p, .pg-after > p + p { margin-top: var(--s-200); }
.pg-body strong { color: var(--foam); font-weight: 600; }
.pg-body p a:not(.btn), .pg-body li a, .pg-after a, .pg-support a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pg-body .compare-checklist { gap: var(--s-100); margin-block: var(--s-300); }
.pg-body .compare-checklist:first-child { margin-top: 0; }
.pg-body .compare-checklist:last-child { margin-bottom: 0; }
.pg-body .compare-checklist li { font-size: 16px; line-height: 26px; }
.pg-body .compare-table-wrap { margin-top: 0; }
.pg-body .compare-faq { margin-top: 0; }
.pg-body .compare-faq details:first-child { padding-top: 0; }
.pg-body .compare-faq details:last-child { border-bottom: 0; padding-bottom: 0; }
.pg-body .compare-faq details p { margin-top: var(--s-100); }
.pg-after { margin-top: var(--s-300); }
.pg-note { margin-top: var(--s-200); font-size: 14px; line-height: 20px; color: var(--muted); }

/* The mono icons mix light fills, no fill and currentColor, so paint them all one color. */
.pg-icon { flex-shrink: 0; filter: brightness(0) invert(1); opacity: 0.88; }

.pg-cards { display: grid; gap: var(--s-200); }
@media (min-width: 700px) { .pg-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .pg-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pg-card {
  display: block;
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--surface);
  color: var(--muted);
  font-size: 14px;
  line-height: 22px;
}
a.pg-card { transition: border-color 300ms var(--e-base), transform 400ms var(--e-base); }
a.pg-card:hover { border-color: rgba(245, 193, 74, 0.35); transform: translateY(-2px); }
.pg-card h3 { display: flex; align-items: center; gap: var(--s-50); font-size: 18px; line-height: 26px; color: var(--foam); }
a.pg-card h3 { color: var(--gold); }
.pg-card h3 + p { margin-top: var(--s-75); }
.pg-go { width: 16px; height: 16px; }
.pg-card-icon { display: block; margin-bottom: var(--s-200); }
.compare-hub-card h3 { font-size: 22px; line-height: 28px; color: var(--foam); }
.pg-cards .compare-hub-card { display: flex; flex-direction: column; align-items: flex-start; }
.pg-cards .compare-hub-card .text-link { margin-top: auto; padding-top: var(--s-200); }

.pg-section { border-top: 1px solid var(--line); scroll-margin-top: var(--s-800); }
.pg-section .section-head h2 { margin-top: 0; }

.pg-iconrow { display: flex; flex-wrap: wrap; gap: var(--s-200); margin-bottom: var(--s-300); }
.pg-engines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-100); margin-block: var(--s-300); padding: 0; }
@media (min-width: 900px) { .pg-engines { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pg-engines li {
  display: flex;
  align-items: center;
  gap: var(--s-100);
  padding: var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--surface);
  color: var(--foam);
  font-size: 14px;
  line-height: 20px;
  font-weight: 500;
}

.pg-wall { display: grid; gap: var(--s-200); margin-top: var(--s-500); }
@media (min-width: 800px) { .pg-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-300); } }
@media (min-width: 1280px) { .pg-wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pg-wall-group { padding: var(--s-400); border: 1px solid var(--line); border-radius: var(--r-2xl); background: var(--surface); }
.pg-wall-group h3 { font-size: 22px; line-height: 28px; }
.pg-wall-group p { margin-top: var(--s-75); color: var(--muted); font-size: 14px; line-height: 22px; }
.pg-chips { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-top: var(--s-300); }
.pg-chip {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-50) var(--s-100);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  color: var(--foam);
  font-size: 14px;
  line-height: 20px;
}

.pg-mail h2 { font-size: 36px; line-height: 40px; letter-spacing: -0.02em; }
.pg-mail h2 a { color: var(--gold); overflow-wrap: anywhere; border-radius: var(--r-md); }
.pg-mail h2 a:hover { color: #ffe1a1; }
.pg-mail .pg-body { margin-top: var(--s-200); }
@media (min-width: 768px) { .pg-mail h2 { font-size: 60px; line-height: 1; } }

.pg-related { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-400); }
.pg-related .text-link { margin-top: 0; font-size: 16px; line-height: 24px; }

.pg-closing { border-top: 1px solid var(--line); }
.pg-closing .compare-soft-cta { margin-top: 0; padding: var(--s-400); max-width: none; }
.pg-closing h2 { max-width: 28ch; font-size: 28px; line-height: 32px; letter-spacing: -0.02em; }
.pg-closing .compare-soft-cta .pg-support { margin: var(--s-200) 0 0; font-size: 14px; line-height: 20px; color: var(--muted); }
.pg-closing .pg-actions { margin-top: var(--s-300); }
@media (min-width: 768px) {
  .pg-closing .compare-soft-cta { padding: var(--s-600); }
  .pg-closing h2 { font-size: 36px; line-height: 40px; }
}
.pg-footer .footer-note { color: var(--muted); }

.notfound-links { display: flex; flex-wrap: wrap; gap: var(--s-100) var(--s-400); margin-top: var(--s-300); }
.notfound-links .text-link { margin-top: 0; }
.pg-body .compare-table .no { color: var(--muted); }
