/* ── Base ───────────────────────────────────────────────────────────
   The rules the landing page inherited from the application stylesheet when
   it lived inside the Angular app. Nothing else from that file is needed here.
   ------------------------------------------------------------------ */

:root {
  /* Both schemes are supported, so light-dark() below resolves against the
     visitor's system setting until they choose otherwise. */
  color-scheme: light dark;

  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, monospace;
}

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

body {
  margin: 0;
  min-width: 320px;
  background: var(--landing-bg);
  color: var(--landing-text);
  font-family: var(--font-sans);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--landing-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in srgb, var(--landing-ink) 7%, transparent);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--landing-faint);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* ── Landing page ───────────────────────────────────────────────── */

:root {
  --landing-bg: light-dark(#f4f6f9, #05080d);
  --landing-panel: light-dark(#ffffff, #0b121c);
  --landing-panel-2: light-dark(#f8fafc, #0a111a);
  --landing-line: light-dark(rgb(15 23 42 / 13%), rgb(139 168 195 / 18%));
  --landing-line-soft: light-dark(rgb(15 23 42 / 9%), rgb(139 168 195 / 14%));
  --landing-line-strong: light-dark(rgb(15 23 42 / 20%), rgb(139 168 195 / 30%));
  --landing-text: light-dark(#101828, #f3f8fc);
  --landing-muted: light-dark(#55627a, #8b9daf);
  --landing-faint: light-dark(#6b7789, #718396);
  --landing-accent: light-dark(#0b7f5a, #45e3a8);
  --landing-accent-dark: light-dark(#ffffff, #071a14);
  --landing-warning: light-dark(#9a6207, #f5bf4f);
  /* The wash laid over a surface: white on dark, near-black on light. */
  --landing-ink: light-dark(#101828, #ffffff);
  --landing-scrim: light-dark(color-mix(in srgb, var(--landing-ink) 92%, transparent), rgb(5 11 17 / 92%));
  --landing-shadow: light-dark(rgb(15 23 42 / 12%), rgb(0 0 0 / 48%));
  --landing-shadow-soft: light-dark(rgb(15 23 42 / 8%), rgb(0 0 0 / 32%));
}

/* An explicit choice pins the scheme; light-dark() follows color-scheme. */
:root[data-theme="light"] {
  color-scheme: light;
}

:root[data-theme="dark"] {
  color-scheme: dark;
}

.landing-page {
  min-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, color-mix(in srgb, var(--landing-accent) 10%, transparent), transparent 24rem),
    var(--landing-bg);
  color: var(--landing-text);
}

.landing-nav {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  width: min(1180px, calc(100% - 3rem));
  min-height: 76px;
  margin: 0 auto;
  border-bottom: 1px solid var(--landing-line);
}

.landing-brand,
.landing-brand img {
  display: block;
}

.landing-brand img {
  width: auto;
  height: 31px;
}

/* The lockup ships in two inks, one per scheme. light-dark() picks colours, not
   images, so both are in the markup and the wrong one is dropped here: the
   media query covers the system default, the attributes cover an explicit
   choice from the toggle. Scoped to .landing-brand so these beat the
   `.landing-brand img { display: block }` rule above. */
.landing-brand .brand-logo-light {
  display: none;
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .landing-brand .brand-logo-dark {
    display: none;
  }

  :root:not([data-theme="dark"]) .landing-brand .brand-logo-light {
    display: block;
  }
}

:root[data-theme="light"] .landing-brand .brand-logo-dark {
  display: none;
}

:root[data-theme="light"] .landing-brand .brand-logo-light {
  display: block;
}

:root[data-theme="dark"] .landing-brand .brand-logo-dark {
  display: block;
}

:root[data-theme="dark"] .landing-brand .brand-logo-light {
  display: none;
}

.landing-links {
  display: flex;
  gap: 2rem;
  margin: 0 auto;
}

/* The scheme toggle. Only the icon for the theme you would switch TO is shown,
   which is the reading a single-button toggle gets. */
.landing-theme-toggle {
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  background: transparent;
  padding: 0;
  width: 34px;
  height: 34px;
  color: var(--landing-muted);
  cursor: pointer;
  transition: color 160ms, border-color 160ms;
}

.landing-theme-toggle:hover {
  border-color: var(--landing-accent);
  color: var(--landing-text);
}

.landing-theme-toggle svg {
  width: 16px;
  height: 16px;
}

.landing-theme-toggle .theme-sun {
  display: none;
}

.landing-theme-toggle[data-theme="dark"] .theme-sun {
  display: block;
}

.landing-theme-toggle[data-theme="dark"] .theme-moon {
  display: none;
}

.landing-links a,
.landing-login,
.landing-footer a {
  color: var(--landing-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 150ms;
}

.landing-links a:hover,
.landing-login:hover,
.landing-footer a:hover {
  color: var(--landing-text);
}

.landing-actions,
.hero-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.landing-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  min-height: 48px;
  border: 1px solid var(--landing-accent);
  border-radius: 7px;
  background: var(--landing-accent);
  box-shadow: 0 14px 38px color-mix(in srgb, var(--landing-accent) 14%, transparent);
  color: var(--landing-accent-dark);
  font-size: 0.9rem;
  font-weight: 850;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: transform 150ms, box-shadow 150ms, background 150ms;
}

.landing-button:hover {
  box-shadow: 0 18px 46px color-mix(in srgb, var(--landing-accent) 22%, transparent);
  transform: translateY(-2px);
}

.landing-button svg {
  width: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-button-small {
  min-height: 38px;
  padding: 0.6rem 0.9rem;
  font-size: 0.8rem;
}

.landing-button-quiet {
  border-color: var(--landing-line);
  background: color-mix(in srgb, var(--landing-ink) 3%, transparent);
  box-shadow: none;
  color: var(--landing-text);
}

.landing-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  align-items: center;
  gap: 2rem;
  width: min(1180px, calc(100% - 3rem));
  min-height: 680px;
  margin: 0 auto;
  padding: 5.5rem 0 5rem;
}

.landing-hero::before {
  content: "";
  position: absolute;
  top: 12%;
  right: -22%;
  width: 760px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--landing-accent) 8%, transparent), transparent 65%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.landing-eyebrow,
.landing-kicker {
  color: var(--landing-accent);
  font-size: 0.7rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0 0 1.45rem;
}

.landing-eyebrow span {
  width: 26px;
  height: 1px;
  background: var(--landing-accent);
}

.landing-kicker {
  margin: 0 0 1rem;
}

.hero-copy h1,
.section-copy h2,
.centered-heading h2,
.context-section h2,
.final-cta h2 {
  margin: 0;
  font-size: clamp(3rem, 6.4vw, 5.9rem);
  font-weight: 800;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.hero-copy h1 em {
  color: var(--landing-accent);
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}

.hero-lede {
  max-width: 560px;
  margin: 1.75rem 0 2rem;
  color: var(--landing-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 1.25rem 0 0;
  color: var(--landing-faint);
  font-size: 0.72rem;
  font-weight: 700;
}

.hero-proof span:not(:last-child)::after {
  content: "·";
  margin-left: 1rem;
  color: var(--landing-faint);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.whale-art {
  position: absolute;
  top: 28px;
  left: 0;
  z-index: 2;
  width: 100%;
  overflow: visible;
}

.data-line {
  fill: none;
  stroke: var(--landing-accent);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0.75;
  stroke-dasharray: 7 9;
}

.signal-spout {
  fill: none;
  stroke: var(--landing-accent);
  stroke-width: 5;
  stroke-linecap: round;
  opacity: 0.7;
}

.sonar {
  position: absolute;
  z-index: 1;
  top: 165px;
  left: 260px;
  width: 210px;
  height: 210px;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 15%, transparent);
  border-radius: 50%;
}

.sonar-two {
  top: 118px;
  left: 213px;
  width: 304px;
  height: 304px;
  opacity: 0.55;
}

.landing-section {
  width: min(1080px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 8.5rem 0;
}

.radar-section {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.intelligence-showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(480px, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(1180px, calc(100% - 3rem));
  border-top: 1px solid var(--landing-line);
}

.showcase-copy .check-list {
  margin-bottom: 1.8rem;
}

.showcase-window {
  border: 1px solid color-mix(in srgb, var(--landing-accent) 20%, transparent);
  border-radius: 15px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--landing-accent) 7%, transparent), transparent 32%),
    var(--landing-panel-2);
  box-shadow: 0 38px 100px var(--landing-shadow), 0 0 0 1px color-mix(in srgb, var(--landing-ink) 2%, transparent);
  padding: 1.2rem;
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.showcase-window > header,
.showcase-window > header > div,
.showcase-probability,
.showcase-scenarios > div,
.showcase-scenarios article p {
  display: flex;
  align-items: center;
}

.showcase-window > header {
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid var(--landing-line);
  padding-bottom: 1rem;
}

.showcase-window > header > div {
  gap: 0.7rem;
}

.showcase-window header p,
.showcase-scenarios p {
  margin: 0;
}

.showcase-window header p {
  display: grid;
  gap: 0.15rem;
}

.showcase-window small,
.showcase-cross span {
  color: var(--landing-faint);
  font-size: 0.6rem;
}

.showcase-window header strong,
.showcase-scenarios > div strong {
  font-size: 0.76rem;
}

.showcase-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 28%, transparent);
  border-radius: 8px;
  background: color-mix(in srgb, var(--landing-accent) 8%, transparent);
  color: var(--landing-accent);
}

.example-chip,
.showcase-scenarios > span {
  border: 1px solid color-mix(in srgb, var(--landing-warning) 24%, transparent);
  border-radius: 999px;
  color: var(--landing-warning);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 0.32rem 0.48rem;
  text-transform: uppercase;
}

.showcase-probability {
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 1.25rem;
}

.showcase-probability > div {
  display: grid;
  gap: 0.2rem;
}

.showcase-probability > div strong {
  font-size: 3.3rem;
  letter-spacing: -0.065em;
  line-height: 1;
}

.showcase-probability > span {
  margin-bottom: 0.35rem;
  color: var(--landing-accent);
  font-size: 0.78rem;
  font-weight: 850;
}

.showcase-chart {
  position: relative;
  margin-top: 0.8rem;
}

.showcase-chart svg {
  display: block;
  width: 100%;
  height: 165px;
}

.showcase-chart svg g path {
  fill: none;
  stroke: var(--landing-line);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}

.showcase-fill {
  fill: url(#showcaseArea);
}

.showcase-line {
  fill: none;
  stroke: var(--landing-accent);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--landing-accent) 42%, transparent));
}

.showcase-chart circle {
  fill: var(--landing-accent);
  filter: drop-shadow(0 0 7px var(--landing-accent));
}

.catalyst-flag {
  position: absolute;
  top: 27px;
  left: 52%;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 25%, transparent);
  border-radius: 6px;
  background: var(--landing-scrim);
  box-shadow: 0 12px 30px var(--landing-shadow-soft);
  color: var(--landing-text);
  font-size: 0.62rem;
  padding: 0.48rem 0.55rem;
}

.catalyst-flag i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--landing-accent);
  box-shadow: 0 0 10px var(--landing-accent);
}

.catalyst-flag span {
  display: grid;
  gap: 0.1rem;
}

.catalyst-flag small {
  color: var(--landing-accent);
  font-size: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.showcase-cross {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--landing-line);
  border-radius: 8px;
}

.showcase-cross > div {
  display: grid;
  gap: 0.25rem;
  padding: 0.7rem;
}

.showcase-cross > div:not(:last-child) {
  border-right: 1px solid var(--landing-line);
}

.showcase-cross strong {
  font-size: 0.84rem;
}

.showcase-cross span {
  color: var(--landing-accent);
}

.showcase-scenarios {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--landing-line);
  padding-top: 1rem;
}

.showcase-scenarios > div {
  align-items: flex-start;
  flex-direction: column;
  gap: 0.15rem;
}

.showcase-scenarios article {
  grid-column: 1 / -1;
}

.showcase-scenarios article p {
  justify-content: space-between;
  font-size: 0.63rem;
}

.showcase-scenarios article p b {
  color: var(--landing-text);
}

.showcase-scenarios article p strong {
  color: var(--landing-accent);
}

.showcase-scenarios article > i {
  display: block;
  height: 5px;
  margin-top: 0.4rem;
  overflow: hidden;
  border-radius: 999px;
  background: var(--landing-line);
}

.showcase-scenarios article > i span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, color-mix(in srgb, var(--landing-accent), black 35%), var(--landing-accent));
}

.section-copy h2,
.centered-heading h2,
.context-section h2,
.final-cta h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.98;
}

.section-copy > p:not(.landing-kicker),
.centered-heading > p:not(.landing-kicker),
.context-section > div > p:not(.landing-kicker) {
  margin: 1.4rem 0 1.5rem;
  color: var(--landing-muted);
  line-height: 1.75;
}

.workflow-section {
  width: min(1180px, calc(100% - 3rem));
  border-top: 1px solid var(--landing-line);
}

.centered-heading {
  max-width: 730px;
  margin: 0 auto 4rem;
  text-align: center;
}

.centered-heading > p:not(.landing-kicker) {
  max-width: 580px;
  margin-right: auto;
  margin-left: auto;
}

.workflow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.workflow-grid article {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border: 1px solid var(--landing-line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--landing-ink) 1.6%, transparent);
  padding: 1.5rem;
}

.workflow-grid article::after {
  content: "0" counter(workflow);
  position: absolute;
  right: 0.9rem;
  bottom: -1.6rem;
  color: color-mix(in srgb, var(--landing-ink) 2.5%, transparent);
  font-size: 7rem;
  font-weight: 900;
}

.workflow-grid {
  counter-reset: workflow;
}

.workflow-grid article {
  counter-increment: workflow;
}

.workflow-icon {
  display: grid;
  width: 46px;
  height: 46px;
  margin-bottom: 4.5rem;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 22%, transparent);
  border-radius: 9px;
  background: color-mix(in srgb, var(--landing-accent) 7%, transparent);
  color: var(--landing-accent);
  place-items: center;
}

.workflow-icon svg,
.rule-icon svg {
  width: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.workflow-grid h3 {
  margin: 0 0 0.6rem;
  font-size: 1.15rem;
}

.workflow-grid p {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.radar-section {
  border-top: 1px solid var(--landing-line);
}

.radar-demo {
  position: relative;
}

.radar-demo::before {
  content: "";
  position: absolute;
  inset: 18% 12%;
  border-radius: 50%;
  background: color-mix(in srgb, var(--landing-accent) 15%, transparent);
  filter: blur(80px);
}

.radar-window {
  position: relative;
  z-index: 2;
  border: 1px solid var(--landing-line);
  border-radius: 14px;
  background: var(--landing-panel-2);
  box-shadow: 0 35px 100px var(--landing-shadow);
  padding: 0 1rem 1rem;
  transform: rotate(-2deg);
}

.radar-window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  height: 45px;
  border-bottom: 1px solid var(--landing-line);
  color: var(--landing-faint);
  font-size: 0.68rem;
}

.radar-window-bar i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--landing-line-strong);
}

.radar-window-bar span {
  margin-left: auto;
}

.radar-profile,
.radar-rule,
.radar-channel {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1rem;
  border: 1px solid var(--landing-line);
  border-radius: 9px;
  background: color-mix(in srgb, var(--landing-ink) 1.6%, transparent);
  padding: 1rem;
}

.radar-avatar {
  display: grid;
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--landing-accent), color-mix(in srgb, var(--landing-accent), black 28%));
  color: var(--landing-accent-dark);
  font-weight: 900;
  place-items: center;
}

.radar-profile > div:nth-child(2),
.radar-rule > div {
  display: grid;
  gap: 0.25rem;
}

.radar-profile small,
.radar-rule small {
  color: var(--landing-faint);
  font-size: 0.68rem;
}

.ready-chip,
.rule-on {
  margin-left: auto;
  border-radius: 999px;
  background: color-mix(in srgb, var(--landing-accent) 10%, transparent);
  color: var(--landing-accent);
  font-size: 0.68rem;
  font-weight: 850;
  padding: 0.38rem 0.55rem;
}

.rule-icon {
  display: grid;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: color-mix(in srgb, var(--landing-accent) 8%, transparent);
  color: var(--landing-accent);
  place-items: center;
}

.radar-channel {
  justify-content: space-between;
  color: var(--landing-muted);
  font-size: 0.75rem;
}

.radar-channel strong {
  color: var(--landing-text);
}

.check-list,
.plan-card ul {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1.8rem;
  padding: 0;
  list-style: none;
}

.check-list li,
.plan-card li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--landing-muted);
  font-size: 0.83rem;
}

.check-list li span,
.plan-card li span {
  color: var(--landing-accent);
  font-weight: 900;
}

.context-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(440px, 1.2fr);
  align-items: center;
  gap: 5rem;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  border: 1px solid var(--landing-line);
  border-radius: 16px;
  background:
    radial-gradient(circle at 80% 50%, color-mix(in srgb, var(--landing-accent) 7%, transparent), transparent 45%),
    var(--landing-panel-2);
  padding: clamp(2rem, 5vw, 4.5rem);
}

.context-section h2 {
  font-size: clamp(2.3rem, 4vw, 3.8rem);
}

.context-compare {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.context-compare article {
  display: grid;
  gap: 0.5rem;
  min-height: 150px;
  align-content: center;
  border: 1px solid var(--landing-line);
  border-radius: 10px;
  background: color-mix(in srgb, var(--landing-ink) 2%, transparent);
  padding: 1.25rem;
}

.context-compare article > span {
  color: var(--landing-faint);
  font-size: 0.68rem;
  text-transform: uppercase;
}

.context-compare article small {
  color: var(--landing-muted);
  line-height: 1.4;
}

.context-compare > i {
  color: var(--landing-faint);
  font-style: normal;
}

.context-compare .context-active {
  border-color: color-mix(in srgb, var(--landing-accent) 35%, transparent);
  background: color-mix(in srgb, var(--landing-accent) 6%, transparent);
}

.plans-section {
  width: min(900px, calc(100% - 3rem));
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 1.25rem;
}

.plan-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 510px;
  border: 1px solid var(--landing-line);
  border-radius: 13px;
  background: var(--landing-panel-2);
  padding: 1.7rem;
}

.plan-featured {
  border-color: color-mix(in srgb, var(--landing-accent) 38%, transparent);
  box-shadow: 0 28px 80px color-mix(in srgb, var(--landing-accent) 7%, transparent);
}

.plan-badge {
  position: absolute;
  top: 0;
  right: 1.4rem;
  border-radius: 0 0 6px 6px;
  background: var(--landing-accent);
  color: var(--landing-accent-dark);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 0.45rem 0.65rem;
  text-transform: uppercase;
}

.plan-card header {
  display: grid;
  gap: 0.4rem;
}

.plan-card header > span {
  font-size: 1.15rem;
  font-weight: 850;
}

.plan-card header small,
.plan-price > span {
  color: var(--landing-muted);
}

.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 2rem 0;
}

.plan-price strong {
  font-size: 3rem;
  letter-spacing: -0.055em;
}

.plan-price sup {
  margin-right: 0.15rem;
  font-size: 1.1rem;
}

.plan-card ul {
  flex: 1;
  border-top: 1px solid var(--landing-line);
  padding-top: 1.4rem;
}

.contrast-note {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: -1.1rem 0 1.35rem;
  color: var(--landing-muted);
  font-size: 0.7rem;
}

.contrast-note b {
  border-radius: 4px;
  background: var(--landing-accent);
  color: var(--landing-accent-dark);
  padding: 0.25rem 0.38rem;
}

.contrast-note span {
  margin-left: auto;
  color: var(--landing-faint);
  font-size: 0.6rem;
}

.plan-footnote {
  margin: 1.25rem 0 0;
  color: var(--landing-faint);
  font-size: 0.7rem;
  text-align: center;
}

.final-cta {
  position: relative;
  display: grid;
  justify-items: center;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto 6rem;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 20%, transparent);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 20%, color-mix(in srgb, var(--landing-accent) 13%, transparent), transparent 32%),
    var(--landing-panel-2);
  padding: 6.5rem 2rem;
  text-align: center;
}

.final-whale {
  position: absolute;
  top: -5.3rem;
  color: color-mix(in srgb, var(--landing-accent) 5%, transparent);
  font-size: 18rem;
  line-height: 1;
  transform: rotate(-12deg);
}

.final-cta > *:not(.final-whale) {
  position: relative;
  z-index: 2;
}

.final-cta .landing-button {
  margin-top: 2rem;
}

.final-cta > small {
  max-width: 620px;
  margin-top: 1.4rem;
  color: var(--landing-faint);
  font-size: 0.67rem;
  line-height: 1.5;
}

.landing-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  width: min(1180px, calc(100% - 3rem));
  margin: 0 auto;
  border-top: 1px solid var(--landing-line);
  padding: 2.5rem 0 3.5rem;
}

.landing-footer p,
.landing-footer small {
  color: var(--landing-faint);
  font-size: 0.7rem;
}

.landing-footer nav {
  display: flex;
  gap: 1.4rem;
}

.landing-footer small {
  grid-column: 1 / -1;
}


/* ── Cross-venue comparison ─────────────────────────────────────── */

/* Track record: the illustration leads, the copy answers it. */
.record-section {
  display: grid;
  grid-template-columns: minmax(460px, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(1180px, calc(100% - 3rem));
  border-top: 1px solid var(--landing-line);
}

.record-window {
  border: 1px solid color-mix(in srgb, var(--landing-accent) 20%, transparent);
  border-radius: 15px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--landing-accent) 6%, transparent), transparent 34%),
    var(--landing-panel-2);
  box-shadow: 0 38px 100px var(--landing-shadow), 0 0 0 1px color-mix(in srgb, var(--landing-ink) 2%, transparent);
  padding: 1.2rem;
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.record-window > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--landing-line);
  padding-bottom: 0.9rem;
}

.record-identity {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.record-avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--landing-accent) 14%, transparent);
  color: var(--landing-accent);
  font-size: 0.72rem;
  font-weight: 800;
}

.record-window header p {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.record-window small {
  color: var(--landing-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.record-window header strong {
  font-size: 0.95rem;
}

.record-headline {
  display: grid;
  gap: 0.7rem;
  border: 1px solid var(--landing-line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--landing-ink) 1.8%, transparent);
  padding: 1.1rem;
}

.record-headline > div:first-child {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.record-headline strong {
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
}

.record-headline strong span {
  margin-left: 0.1rem;
  font-size: 1.2rem;
  font-weight: 700;
}

/* One bar, two outcomes: wins against losses at a glance. */
.record-split {
  display: flex;
  overflow: hidden;
  height: 8px;
  border-radius: 4px;
  background: var(--landing-line-soft);
}

.record-win {
  background: var(--landing-accent);
}

.record-loss {
  background: color-mix(in srgb, var(--landing-ink) 22%, transparent);
}

.record-headline p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.8rem;
}

.record-headline p b {
  color: var(--landing-text);
  font-weight: 700;
}

.record-headline p i {
  margin: 0 0.35rem;
  font-style: normal;
  opacity: 0.5;
}

.record-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin: 1.1rem 0;
}

.record-stats dt {
  color: var(--landing-muted);
  font-size: 0.66rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.record-stats dd {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.record-up {
  color: var(--landing-accent);
}

.record-cohort {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 22%, transparent);
  border-radius: 11px;
  background: color-mix(in srgb, var(--landing-accent) 7%, transparent);
  padding: 0.85rem 1rem;
}

.record-cohort p {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.record-cohort strong {
  font-size: 0.92rem;
}

.record-cohort > span {
  flex: none;
  border-radius: 999px;
  background: color-mix(in srgb, var(--landing-accent) 14%, transparent);
  padding: 0.2rem 0.65rem;
  color: var(--landing-accent);
  font-size: 0.7rem;
  font-weight: 700;
}

.record-caveat {
  margin: 1.1rem 0 0;
  color: var(--landing-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.venues-section {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(1180px, calc(100% - 3rem));
  border-top: 1px solid var(--landing-line);
}

.venue-window {
  border: 1px solid color-mix(in srgb, var(--landing-accent) 20%, transparent);
  border-radius: 15px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--landing-accent) 6%, transparent), transparent 34%),
    var(--landing-panel-2);
  box-shadow: 0 38px 100px var(--landing-shadow), 0 0 0 1px color-mix(in srgb, var(--landing-ink) 2%, transparent);
  padding: 1.2rem;
  transform: perspective(1400px) rotateY(2deg) rotateX(1deg);
}

.venue-window > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--landing-line);
  padding-bottom: 0.9rem;
}

.venue-window header p {
  display: grid;
  gap: 0.15rem;
  margin: 0;
}

.venue-window small {
  color: var(--landing-muted);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.venue-window header strong {
  font-size: 0.95rem;
}

.venue-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
}

.venue-side {
  display: grid;
  gap: 0.35rem;
  border: 1px solid var(--landing-line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--landing-ink) 1.8%, transparent);
  padding: 1rem;
  text-align: center;
}

.venue-side strong {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.venue-tag {
  justify-self: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--landing-accent) 12%, transparent);
  padding: 0.15rem 0.6rem;
  color: var(--landing-accent);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.venue-tag-alt {
  background: var(--landing-line-soft);
  color: var(--landing-text);
}

.venue-gap {
  display: grid;
  gap: 0.1rem;
  padding: 0 0.35rem;
  text-align: center;
}

.venue-gap i {
  color: var(--landing-muted);
  font-size: 0.85rem;
  font-style: normal;
}

.venue-gap strong {
  color: var(--landing-accent);
  font-size: 1.3rem;
  font-weight: 800;
}

.venue-gap strong span {
  margin-left: 0.1rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.venue-match {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  border: 1px solid var(--landing-line);
  border-radius: 11px;
  background: color-mix(in srgb, var(--landing-ink) 1.6%, transparent);
  padding: 0.85rem 1rem;
}

.venue-match p {
  display: grid;
  gap: 0.2rem;
  margin: 0;
}

.venue-match strong {
  font-size: 0.82rem;
  font-weight: 600;
}

.venue-confidence {
  flex-shrink: 0;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 25%, transparent);
  border-radius: 999px;
  padding: 0.25rem 0.6rem;
  color: var(--landing-accent);
  font-size: 0.7rem;
  font-weight: 700;
}

.venue-caveat {
  margin: 1rem 0 0;
  border-top: 1px solid var(--landing-line);
  padding-top: 0.9rem;
  color: var(--landing-muted);
  font-size: 0.75rem;
  line-height: 1.6;
}

/* ── Agent / MCP integration ────────────────────────────────────── */

.agents-section {
  display: grid;
  grid-template-columns: minmax(460px, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(1180px, calc(100% - 3rem));
  border-top: 1px solid var(--landing-line);
}

.agent-window {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 20%, transparent);
  border-radius: 15px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--landing-accent) 6%, transparent), transparent 34%),
    var(--landing-panel-2);
  box-shadow: 0 38px 100px var(--landing-shadow), 0 0 0 1px color-mix(in srgb, var(--landing-ink) 2%, transparent);
  transform: perspective(1400px) rotateY(-2deg) rotateX(1deg);
}

.agent-window-bar {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid var(--landing-line);
  background: color-mix(in srgb, var(--landing-ink) 2%, transparent);
  padding: 0.7rem 1rem;
}

.agent-window-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--landing-line-strong);
}

.agent-window-bar span {
  margin-left: 0.5rem;
  color: var(--landing-muted);
  font-size: 0.75rem;
}

.agent-window-bar em {
  margin-left: auto;
  border: 1px solid color-mix(in srgb, var(--landing-accent) 25%, transparent);
  border-radius: 999px;
  padding: 0.15rem 0.55rem;
  color: var(--landing-accent);
  font-size: 0.65rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.agent-thread {
  display: grid;
  gap: 0.9rem;
  padding: 1.2rem;
}

.agent-turn {
  display: grid;
  gap: 0.3rem;
}

.agent-turn > span {
  color: var(--landing-muted);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.agent-turn p {
  margin: 0;
  border-radius: 11px;
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.6;
}

.agent-you p {
  border: 1px solid var(--landing-line);
  background: color-mix(in srgb, var(--landing-ink) 2.5%, transparent);
}

.agent-tool > span {
  color: var(--landing-accent);
}

.agent-tool p {
  border: 1px dashed color-mix(in srgb, var(--landing-accent) 25%, transparent);
  background: color-mix(in srgb, var(--landing-accent) 5%, transparent);
  color: var(--landing-muted);
  font-size: 0.78rem;
}

.agent-tool code,
.agent-config code {
  color: var(--landing-accent);
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.76rem;
}

.agent-reply p {
  border: 1px solid color-mix(in srgb, var(--landing-accent) 20%, transparent);
  background: color-mix(in srgb, var(--landing-accent) 7%, transparent);
}

.agent-reply p em {
  display: block;
  margin-top: 0.5rem;
  color: var(--landing-muted);
  font-size: 0.76rem;
  font-style: normal;
}

.agent-config {
  display: grid;
  gap: 0.45rem;
  border-top: 1px solid var(--landing-line);
  background: var(--landing-panel-2);
  padding: 1rem 1.2rem 1.2rem;
}

.agent-config small {
  color: var(--landing-muted);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-config pre {
  overflow-x: auto;
  margin: 0;
}

.agent-config pre code {
  color: var(--landing-text);
  line-height: 1.6;
}

.agent-note {
  margin: 1.1rem 0 0;
  color: var(--landing-muted);
  font-size: 0.78rem;
}

@media (prefers-reduced-motion: no-preference) {
  .data-line {
    animation: dash 7s linear infinite;
  }

  .whale {
    animation: float 5s ease-in-out infinite;
  }

  .signal-spout {
    animation: fade 2.4s ease-in-out infinite;
  }

}

@keyframes dash {
  to { stroke-dashoffset: -128; }
}

@keyframes float {
  50% { transform: translateY(-8px); }
}

@keyframes fade {
  50% { opacity: 0.25; }
}


/* ── X sign-in and legal footer ─────────────────────────────────── */

.hero-alt-signin {
  margin: 0.9rem 0 0;
}

.final-cta .hero-alt-signin {
  margin-top: 1.1rem;
}

.x-signin {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--landing-line);
  border-radius: 999px;
  padding: 0.6rem 1.1rem;
  background: color-mix(in srgb, var(--landing-ink) 3%, transparent);
  color: var(--landing-text);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 140ms ease, background 140ms ease;
}

.x-signin:hover {
  border-color: color-mix(in srgb, var(--landing-ink) 28%, transparent);
  background: color-mix(in srgb, var(--landing-ink) 7%, transparent);
}

.x-signin svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--landing-muted);
}


/* ── Legal pages ────────────────────────────────────────────────── */

.legal-page {
  width: min(760px, calc(100% - 3rem));
  margin: 0 auto;
  padding: 3rem 0 6rem;
}

.legal-page h1 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  letter-spacing: -0.02em;
}

.legal-updated {
  margin: 0 0 2.5rem;
  color: var(--landing-muted);
  font-size: 0.85rem;
}

.legal-draft {
  margin: 0 0 2.5rem;
  border: 1px solid color-mix(in srgb, var(--landing-warning) 35%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, var(--landing-warning) 9%, transparent);
  padding: 0.9rem 1.1rem;
  color: var(--landing-warning);
  font-size: 0.84rem;
  line-height: 1.6;
}

.legal-page h2 {
  margin: 2.4rem 0 0.8rem;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
}

.legal-page p,
.legal-page li {
  color: var(--landing-muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.legal-page ul {
  margin: 0 0 1rem;
  padding-left: 1.1rem;
}

.legal-page li {
  margin-bottom: 0.4rem;
}

.legal-page strong {
  color: var(--landing-text);
}

.legal-page table {
  width: 100%;
  margin: 0 0 1.2rem;
  border-collapse: collapse;
  font-size: 0.86rem;
}

.legal-page th,
.legal-page td {
  border-bottom: 1px solid var(--landing-line);
  padding: 0.6rem 0.5rem 0.6rem 0;
  color: var(--landing-muted);
  text-align: left;
  vertical-align: top;
}

.legal-page th {
  color: var(--landing-text);
  font-weight: 600;
}

.legal-back {
  display: inline-block;
  margin-bottom: 2rem;
  color: var(--landing-muted);
  font-size: 0.85rem;
}

@media (max-width: 960px) {
  .landing-links {
    display: none;
  }

  .landing-actions {
    margin-left: auto;
  }

  .landing-hero {
    grid-template-columns: 1fr;
    padding-top: 4.5rem;
  }

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

  .hero-visual {
    width: min(660px, 100%);
    margin: -2rem auto 0;
  }

  .radar-section,
  .intelligence-showcase,
  .record-section,
  .venues-section,
  .agents-section,
  .context-section {
    grid-template-columns: 1fr;
  }

  /* Put the copy above its illustration on narrow screens. */
  .agents-section .section-copy,
  .record-section .section-copy {
    order: -1;
  }

  .venue-window,
  .record-window,
  .agent-window {
    width: min(680px, 100%);
    margin: 0 auto;
    transform: none;
  }

  .radar-demo {
    width: min(560px, 100%);
    margin: 0 auto;
  }

  .showcase-window {
    width: min(680px, 100%);
    margin: 0 auto;
    transform: none;
  }

  .context-section {
    gap: 2rem;
  }
}

@media (max-width: 700px) {
  .landing-nav,
  .landing-hero,
  .landing-section,
  .workflow-section,
  .record-section,
  .venues-section,
  .agents-section,
  .context-section,
  .plans-section,
  .final-cta,
  .landing-footer {
    width: min(100% - 2rem, 1180px);
  }

  /* Four stats in a row do not fit a phone. */
  .record-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .record-cohort {
    flex-direction: column;
    align-items: flex-start;
  }

  /* The three-column price comparison does not fit a phone. */
  .venue-pair {
    grid-template-columns: 1fr;
  }

  .venue-gap {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.4rem;
  }

  .venue-match {
    flex-direction: column;
    align-items: flex-start;
  }

  .landing-nav {
    min-height: 66px;
  }

  .landing-brand img {
    height: 26px;
  }

  .landing-login {
    display: none;
  }

  .landing-button-small {
    min-height: 36px;
  }

  .landing-hero {
    min-height: auto;
    padding: 4rem 0 2.5rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 15vw, 4.8rem);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    min-height: 400px;
    margin-top: 0;
  }

  .whale-art {
    top: 10px;
    min-width: 520px;
    left: 50%;
    transform: translateX(-50%);
  }

  .sonar {
    left: 38%;
  }

  .landing-section {
    padding: 6rem 0;
  }

  .radar-section {
    gap: 3rem;
  }

  .intelligence-showcase,
  .record-section {
    gap: 3rem;
  }

  .workflow-grid,
  .plan-grid {
    grid-template-columns: 1fr;
  }

  .workflow-grid article {
    min-height: 245px;
  }

  .workflow-icon {
    margin-bottom: 3rem;
  }

  .context-compare {
    grid-template-columns: 1fr;
  }

  .context-compare > i {
    justify-self: center;
    transform: rotate(90deg);
  }

  .plan-card {
    min-height: 475px;
  }

  .final-cta {
    padding: 5rem 1.25rem;
  }

  .landing-footer {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .landing-footer p {
    margin: 0;
  }

  .landing-footer small {
    grid-column: 1;
  }
}

@media (max-width: 430px) {
  .landing-brand img {
    width: 132px;
    height: auto;
  }

  .landing-actions .landing-button {
    padding-right: 0.65rem;
    padding-left: 0.65rem;
  }

  .hero-lede {
    font-size: 0.98rem;
  }

  .hero-proof {
    gap: 0.45rem;
  }

  .hero-proof span:not(:last-child)::after {
    margin-left: 0.45rem;
  }

  .plan-card {
    padding: 1.1rem;
  }

  .radar-window {
    padding-right: 0.7rem;
    padding-left: 0.7rem;
    transform: none;
  }

  .showcase-window {
    padding: 0.9rem;
  }

  .showcase-cross {
    grid-template-columns: 1fr;
  }

  .showcase-cross > div:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--landing-line);
  }

  .radar-profile,
  .radar-rule {
    gap: 0.55rem;
    padding: 0.8rem;
  }
}

/* Auto-renewal terms belong on the card that starts the signup, not only in the
   refund policy two clicks away. */
.plan-renewal {
  margin: 0.75rem 0 0;
  color: var(--landing-muted);
  font-size: 0.7rem;
  line-height: 1.55;
}

.plan-renewal a {
  color: inherit;
  text-decoration: underline;
  white-space: nowrap;
}
