:root {
  --ink: #0A0F0E;
  --paper: #FFFFFF;
  --wash: #F4F7F6;
  --wash-deep: #E8EEEE;
  --teal: #1F7A8C;
  --teal-deep: #166575;
  --teal-soft: #D4EEF2;
  --sage: #5FA88A;
  --slate: #5B6B68;
  --outline: #D2DCDA;
  --signal: #0E9F8E;
  --accent: #0d8f86;
  --accent-deep: #0A6B64;
  --accent-soft: rgba(13, 143, 134, 0.12);
  --accent-soft-solid: #e6f7f5;
  --accent-border: rgba(13, 143, 134, 0.35);
  --ink-soft: #1A2B42;
  --muted: #4A5A6E;
  --muted-light: #7A8A9C;
  --line: rgba(10, 22, 40, 0.12);
  --amber-deep: #b45309;
  --max: 1100px;
  --header-h: 72px;
  --font-display: "Outfit", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
.container { width: min(100% - 48px, var(--max)); margin-inline: auto; }
.container--wide { width: min(100% - 48px, 1180px); }
@media (min-width: 800px) {
  .container { width: min(100% - 112px, var(--max)); }
  .container--wide { width: min(100% - 112px, 1180px); }
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 12px;
}
.eyebrow.signal { color: var(--signal); }
h1, h2, h3, .display {
  font-family: var(--font-display);
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.85rem, 4vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.25rem; font-weight: 700; }
.lede { font-size: 1.1rem; color: var(--slate); max-width: 42rem; }
.hl { color: var(--teal); font-weight: 700; }
.hl-ink { color: var(--ink); font-weight: 700; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid rgba(210,220,218,0.55);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  width: min(100% - 32px, var(--max));
  margin-inline: auto;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.brand img { width: 26px; height: 26px; }
.nav-desktop { display: none; gap: 1.25rem; align-items: center; }
.nav-desktop a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate);
}
.nav-desktop a:hover { color: var(--ink); }
.nav-desktop a.btn-primary,
.nav-desktop a.btn-primary:hover {
  color: #fff;
}
.nav-desktop a.btn-primary {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 999px;
  transform: none;
}
.nav-desktop a.btn-primary:hover {
  transform: none;
}
.nav-signin {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
  font-weight: 700;
  color: var(--teal) !important;
  line-height: 1.05;
  text-align: center;
}
.nav-signin:hover {
  color: var(--teal-deep) !important;
}
.nav-signin__text {
  font-size: inherit;
  font-weight: inherit;
}
.nav-signin__chip {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1;
  padding: 0.12rem 0.34rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-deep);
  white-space: nowrap;
}
.nav-signin:hover .nav-signin__chip {
  background: #c5e8ed;
}
.nav-signin__chip .chip-ai {
  color: #2983ac;
  font-weight: 800;
}
.header-signin {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  padding: 0.2rem 0.25rem;
  white-space: nowrap;
}
.header-signin:hover {
  color: var(--teal-deep);
}
.header-signin .nav-signin__chip {
  font-size: 0.5rem;
  padding: 0.1rem 0.28rem;
}
.header-trust-label {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--slate);
}
.site-header--trust .site-header__inner {
  justify-content: space-between;
}
.header-demo.btn {
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  min-height: 0;
  transform: none;
}
.header-demo.btn:hover {
  transform: none;
}
.menu-toggle {
  border: 1px solid var(--outline);
  background: var(--paper);
  border-radius: 8px;
  padding: 0.35rem 0.55rem;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}
@media (max-width: 899px) {
  :root { --header-h: 56px; }
  .site-header__inner {
    min-height: var(--header-h);
    width: min(100% - 24px, var(--max));
  }
  .brand { gap: 7px; font-size: 0.82rem; }
  .brand img { width: 22px; height: 22px; }
  .header-demo.btn,
  .menu-toggle {
    padding: 0.3rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 7px;
  }
  .mobile-nav {
    padding: 0.75rem 1rem 1rem;
  }
  .mobile-nav.open { gap: 0.55rem; }
  .mobile-nav a {
    font-size: 0.92rem;
    padding: 0.3rem 0;
  }
  .mobile-nav .nav-signin {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.45rem;
    text-align: left;
    padding: 0.35rem 0;
  }
  .mobile-nav .nav-signin__chip {
    font-size: 0.58rem;
    padding: 0.14rem 0.4rem;
  }
}
@media (min-width: 900px) {
  .nav-desktop { display: flex; }
  .header-actions { display: none; }
}
.mobile-nav {
  display: none;
  border-top: 1px solid var(--outline);
  background: var(--paper);
  padding: 1rem 1.5rem 1.5rem;
}
.mobile-nav.open { display: grid; gap: 0.75rem; }
.mobile-nav a { font-weight: 600; padding: 0.4rem 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border-radius: 12px;
  padding: 0.85rem 1.25rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: #fff; border-radius: 999px; }
.btn-primary:hover { background: #1a2422; }
.btn-link {
  background: transparent;
  border: none;
  color: var(--teal);
  font-weight: 700;
  padding: 0.5rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.btn-link:hover { color: var(--teal-deep); }
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--outline);
}
.btn-tonal { background: var(--teal-soft); color: var(--teal-deep); }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }

/* Sections */
.section { padding: 4.5rem 0; }
.section.wash { background: var(--wash); }
.section.ink { background: var(--ink); color: #fff; }
.section.hero-grad,
.section.hero {
  position: relative;
  background:
    radial-gradient(ellipse 48% 58% at 86% 40%, rgba(143,202,212,0.35) 0%, transparent 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F8FBFA 100%);
  padding-top: clamp(2.75rem, 7vw, 5rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  overflow: hidden;
}
.section.hero > .container {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, 1120px);
}
.section.hero-grad > .container {
  position: relative;
  z-index: 1;
}
@media (min-width: 800px) {
  .section.hero > .container {
    width: min(100% - 112px, 1120px);
  }
}
.section.price-grad {
  background: linear-gradient(135deg, #E8F4F2, #F7FBFA, #fff);
}

/* Hero — clean two-column (Republic-style) */
.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  text-align: left;
  min-height: min(68vh, 560px);
  grid-template-areas:
    "copy"
    "visual"
    "cta";
}
.hero-copy { grid-area: copy; }
.hero-visual { grid-area: visual; }
.hero-cta { grid-area: cta; }
.hero-copy {
  max-width: 34rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.hero-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem);
}
.hero-brand img {
  width: clamp(36px, 4.5vw, 44px);
  height: clamp(36px, 4.5vw, 44px);
  flex-shrink: 0;
}
.hero-brand span {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
}
.hero-wordmark {
  position: relative;
  display: inline-block;
  padding-bottom: 0.24em;
}
.hero-brand .wordmark-ai { color: #2983ac; }
.hero-wordmark::after {
  content: "";
  position: absolute;
  left: 0.02em;
  right: 0.05em;
  bottom: 0.05em;
  height: 0.13em;
  border-radius: 999px;
  /* Logo palette; mirrored stops so the looping sweep is seamless */
  background: linear-gradient(90deg, #2983ac, #7bb79e, #2a87b1, #7bb79e, #2983ac);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  animation:
    wordmark-draw 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.5s forwards,
    wordmark-flow 4.5s linear 1.6s infinite;
}
@keyframes wordmark-draw {
  to { transform: scaleX(1); }
}
@keyframes wordmark-flow {
  from { background-position: 0% 50%; }
  to { background-position: 200% 50%; }
}
.hero-title,
h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 5.2vw, 3.35rem);
  font-weight: 800;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0 0 1.1rem;
  max-width: 16ch;
}
.hero-lede {
  font-family: var(--font-body);
  font-size: clamp(1.02rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: var(--slate);
  line-height: 1.55;
  margin: 0;
  max-width: 32rem;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
  align-items: center;
  width: 100%;
  max-width: 34rem;
}
.hero-cta .btn-primary {
  min-width: 11.5rem;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin-inline: auto;
}
.hero-mark {
  width: 100%;
  height: auto;
  display: block;
  overflow: visible;
  max-width: 380px;
}
.hero-mark .mark-field {
  opacity: 0;
  animation: mark-fade 0.9s ease 0.15s forwards;
}
.hero-mark .mark-trail {
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  opacity: 0.85;
  animation: mark-draw 1.1s ease 0.55s forwards;
}
.hero-mark .mark-hit {
  opacity: 0;
  transform-origin: 192px 198px;
  animation: mark-pop 0.55s ease 1.1s forwards, mark-pulse 2.6s ease-in-out 1.7s infinite;
}
.hero-mark .mark-ring {
  opacity: 0;
  transform-origin: 192px 198px;
  animation: mark-ring-in 0.7s ease 1.2s forwards, mark-ring-pulse 2.6s ease-in-out 1.7s infinite;
}
@keyframes mark-fade {
  to { opacity: 0.9; }
}
@keyframes mark-draw {
  to { stroke-dashoffset: 0; }
}
@keyframes mark-pop {
  from { opacity: 0; transform: scale(0.4); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes mark-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}
@keyframes mark-ring-in {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes mark-ring-pulse {
  0%, 100% { opacity: 0.85; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(1.18); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-mark .mark-field,
  .hero-mark .mark-trail,
  .hero-mark .mark-hit,
  .hero-mark .mark-ring {
    animation: none;
    opacity: 1;
    transform: none;
    stroke-dashoffset: 0;
  }
  .hero-mark .mark-field { opacity: 0.9; }
  .hero-wordmark::after {
    animation: none;
    transform: scaleX(1);
  }
}
@media (max-width: 799px) {
  .hero-grid {
    gap: 1.5rem;
    min-height: 0;
  }
  .hero-lede {
    margin-bottom: 0;
  }
  .hero-cta .btn-primary {
    width: 100%;
  }
  .hero-visual {
    max-width: 17rem;
  }
  .hero-title,
  h1.hero-title {
    max-width: none;
  }
}
@media (min-width: 800px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    grid-template-areas:
      "copy visual"
      "cta visual";
    gap: clamp(1.25rem, 3vw, 1.75rem) clamp(2rem, 5vw, 4rem);
    align-items: center;
  }
  .hero-copy {
    align-self: end;
  }
  .hero-cta {
    align-self: start;
    margin-top: 0.5rem;
  }
  .hero-visual {
    max-width: none;
    margin-inline: 0;
    justify-content: flex-end;
    align-self: center;
  }
  .hero-mark {
    max-width: 420px;
    margin-left: auto;
  }
}

/* Legacy hero bits (other pages may still reference) */
.hero-support,
h1.hero-support {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.85rem);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0 0 clamp(1.1rem, 2.4vw, 1.6rem);
  max-width: 34rem;
}
.hero-support .hl { color: var(--teal); font-weight: 700; }

/* Challenge */
.challenge-section {
  background: #0B1413;
  color: #E8EFEE;
  padding: clamp(4rem, 8vw, 5.5rem) 0;
}
.challenge-section .eyebrow {
  color: #5EB8B0;
}
.challenge-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 960px) {
  .challenge-grid { grid-template-columns: 0.95fr 1.05fr; gap: 3rem; }
}
.challenge-headline {
  font-size: clamp(2rem, 4.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: #F4F7F6;
  margin: 0 0 1.5rem;
}
.challenge-hl {
  color: #E8C84A;
}
.challenge-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.challenge-points li {
  position: relative;
  padding-left: 1.15rem;
  font-size: 1.02rem;
  line-height: 1.45;
  color: rgba(232,239,238,0.72);
}
.challenge-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #5EB8B0;
}
.challenge-points strong {
  color: #F4F7F6;
  font-weight: 700;
}

.risk-map {
  display: grid;
  gap: 0.85rem;
}
.risk-map__labels {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.risk-map__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.risk-map__label--reach { color: #5EB8B0; }
.risk-map__label--blind { color: rgba(232,239,238,0.42); }
.risk-map__canvas {
  border-radius: 12px;
  overflow: hidden;
}
.risk-map__svg {
  width: 100%;
  height: auto;
  display: block;
}
.risk-map__svg .risk-cell {
  transition: fill 0.18s ease, stroke 0.18s ease;
}
.risk-map__beam {
  pointer-events: none;
  mix-blend-mode: screen;
}
.risk-map__legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.25rem;
  font-size: 0.82rem;
  color: rgba(232,239,238,0.7);
}
.risk-map__legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.swatch {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  flex-shrink: 0;
}
.swatch--leak { background: #E07A3D; }
.swatch--fraud { background: #C94A4A; }
.swatch--comp { background: #C9A86A; }
.swatch--emerge { background: #5FA88A; }

/* Flow steps */
.steps {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 720px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}
.step {
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 1.25rem;
  background: var(--paper);
  height: 100%;
}
.step__n {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

/* Coverage */
.coverage {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 860px) {
  .coverage { grid-template-columns: repeat(3, 1fr); }
}
.coverage-card {
  border: 1px solid var(--outline);
  border-radius: 16px;
  padding: 1.35rem;
  background: linear-gradient(180deg, #fff, #F7FBFA);
}
.coverage-card ul {
  margin: 0.85rem 0 0;
  padding-left: 1.1rem;
  color: var(--slate);
}

/* Market Context — comparison table */
.market-compare {
  margin-top: 2rem;
  border-radius: 16px;
  border: 1px solid rgba(13, 143, 134, 0.18);
  background: linear-gradient(180deg, #f7fcfb 0%, #ffffff 100%);
  overflow: hidden;
}
.market-compare-scroll {
  width: 100%;
  overflow-x: auto;
}
.market-compare-head,
.market-compare-row {
  display: grid;
  grid-template-columns: minmax(10rem, 1.1fr) minmax(6.5rem, 0.55fr) minmax(5.5rem, 0.45fr) minmax(12rem, 1.1fr);
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  min-width: 640px;
}
.market-compare-head {
  background: rgba(13, 143, 134, 0.08);
  border-bottom: 1px solid rgba(13, 143, 134, 0.14);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.market-compare-col { text-align: center; }
.market-compare-col--foretale,
.market-compare-col--diff { color: var(--accent-deep); }
.market-compare-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.market-compare-row {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.market-compare-row:last-child { border-bottom: 0; }
.market-compare-row--emphasize {
  background: rgba(13, 143, 134, 0.07);
}
.market-compare-label {
  font-size: clamp(0.88rem, 1.1vw, 0.98rem);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  line-height: 1.3;
}
.market-compare-row--emphasize .market-compare-label {
  color: var(--accent-deep);
}
.market-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  text-align: center;
  min-width: 0;
}
.market-cell-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 1.55rem;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.market-cell--varies .market-cell-status,
.market-cell--limited .market-cell-status,
.market-cell--separate .market-cell-status {
  color: #6b5a3e;
  background: rgba(180, 140, 60, 0.12);
}
.market-cell--no .market-cell-status {
  color: #9a4a4a;
  background: rgba(180, 70, 70, 0.1);
}
.market-cell-note {
  font-size: 0.72rem;
  line-height: 1.3;
  color: var(--muted);
  max-width: 16ch;
}
.market-cell--foretale .market-cell-note {
  color: var(--accent-deep);
  font-weight: 600;
  max-width: 22ch;
}
.market-mark {
  width: 1.65rem;
  height: 1.65rem;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 999px;
  flex-shrink: 0;
}
.market-mark svg {
  width: 0.95rem;
  height: 0.95rem;
}
.market-mark--yes {
  color: #0b7a72;
  background: rgba(13, 143, 134, 0.14);
}
.market-mark--no {
  color: #9a4a4a;
  background: rgba(180, 70, 70, 0.1);
}
.market-diff { min-width: 0; }
.market-diff-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.market-diff-item {
  position: relative;
  padding-left: 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--accent-deep);
  letter-spacing: -0.01em;
}
.market-diff-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--accent);
}

/* Why Foretale.ai — presentation-matched metric boxes */
.why-metrics {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 900px) {
  .why-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.why-metric {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.45rem;
  min-height: 8.5rem;
  padding: 1.15rem 1.2rem 1.25rem;
  border-radius: 18px;
  overflow: hidden;
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 143, 134, 0.16), transparent 55%),
    linear-gradient(180deg, #f3faf9 0%, #ffffff 100%);
  border: 1px solid rgba(13, 143, 134, 0.22);
}

.why-metric-orbit {
  position: absolute;
  right: -1.2rem;
  top: -1.2rem;
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  border: 1px dashed rgba(13, 143, 134, 0.35);
  animation: whyOrbitSpin 14s linear infinite;
  pointer-events: none;
}

.why-metric-icon-wrap {
  position: relative;
  z-index: 1;
  width: 2.55rem;
  height: 2.55rem;
  display: grid;
  place-items: center;
  margin-bottom: 0.15rem;
}

.why-metric-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(13, 143, 134, 0.3);
  animation: whyRingPulse 3.2s ease-in-out infinite;
}

.why-metric-icon {
  position: relative;
  z-index: 1;
  width: 1.2rem;
  height: 1.2rem;
  color: var(--accent-deep);
}

.why-metric-value {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: var(--accent-deep);
  max-width: 12ch;
}

.why-metric-label {
  position: relative;
  z-index: 1;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--ink-soft);
  max-width: 14ch;
}

.why-metric--detail .why-metric-label {
  max-width: none;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  font-weight: 700;
  color: var(--ink);
}

.why-metric-detail {
  position: relative;
  z-index: 1;
  margin: 0.15rem 0 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
  max-width: 28ch;
}

.why-metric--gains {
  --gain-blue: #2563eb;
  --gain-blue-deep: #1d4ed8;
  background:
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.14), transparent 55%),
    linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%);
  border-color: rgba(37, 99, 235, 0.22);
}

.why-metric--gains .why-metric-orbit {
  border-color: rgba(37, 99, 235, 0.32);
}

.why-metric--gains .why-metric-ring {
  border-color: rgba(37, 99, 235, 0.35);
}

.why-metric--gains .why-metric-icon,
.why-metric--gains .why-metric-value {
  color: var(--gain-blue-deep);
}

.why-metric--gains .why-metric-value {
  max-width: none;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

.why-gains {
  position: relative;
  z-index: 1;
  list-style: none;
  margin: 0.45rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  width: 100%;
}

.why-gain {
  display: grid;
  grid-template-columns: 0.85rem 1fr;
  align-items: start;
  gap: 0.5rem;
}

.why-gain-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.why-gain-title {
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.why-gain-detail {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--muted);
}

.why-gain-check {
  width: 0.85rem;
  height: 0.85rem;
  margin-top: 0.12rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: inset 0 0 0 2px #fff;
  position: relative;
}

.why-gain-check::after {
  content: "";
  position: absolute;
  left: 0.22rem;
  top: 0.14rem;
  width: 0.28rem;
  height: 0.42rem;
  border: solid #fff;
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}

.why-metric--chat {
  gap: 0.4rem;
  min-height: 0;
}

.why-metric--chat .why-metric-value {
  max-width: none;
}

.why-chat {
  position: relative;
  z-index: 1;
  width: 100%;
  margin-top: 0.35rem;
}

.why-chat-screen {
  height: 5.6rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(13, 143, 134, 0.22);
  background:
    linear-gradient(180deg, rgba(13, 143, 134, 0.06), transparent 40%),
    #f3faf9;
  mask-image: linear-gradient(180deg, transparent 0%, #000 14%, #000 86%, transparent 100%);
}

.why-chat-track {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.55rem;
  animation: whyChatScroll 14s linear infinite;
}

.why-chat-msg {
  max-width: 92%;
  padding: 0.32rem 0.5rem;
  border-radius: 8px;
  font-size: 0.62rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.why-chat-msg--user {
  align-self: flex-end;
  background: var(--accent-deep);
  color: #fff;
  border-bottom-right-radius: 3px;
}

.why-chat-msg--ai {
  align-self: flex-start;
  background: #fff;
  color: var(--ink-soft);
  border: 1px solid rgba(13, 143, 134, 0.18);
  border-bottom-left-radius: 3px;
}

.why-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin: 1.25rem 0 0;
}
@media (min-width: 700px) {
  .why-points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.why-point {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.95rem 1rem 1.05rem;
  border-radius: 14px;
  background:
    radial-gradient(circle at 0% 0%, rgba(13, 143, 134, 0.1), transparent 55%),
    linear-gradient(180deg, #f4fbfa 0%, #ffffff 100%);
  border: 1px solid rgba(13, 143, 134, 0.2);
}

.why-point-title {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.35vw, 1.05rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
}

.why-point-detail {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--muted);
}

@keyframes whyOrbitSpin {
  to { transform: rotate(360deg); }
}

@keyframes whyRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes whyChatScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* Activity demo (Meet foretale.ai) */
.activity-demo {
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
  min-height: 360px;
  display: flex;
  flex-direction: column;
}
.activity-demo__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--outline);
  background: var(--wash);
  font-weight: 700;
}
.activity-demo__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 380px;
  min-height: 380px;
  max-height: 380px;
}
.activity-stage {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1.5rem 0.85rem 1rem;
  border-right: 1px solid var(--outline);
  background:
    radial-gradient(circle at 50% 28%, rgba(31,122,140,0.1), transparent 58%),
    var(--wash);
  height: 100%;
  min-height: 0;
  overflow: hidden;
}
.activity-stage__icon {
  width: min(100%, 168px);
  height: 138px;
  aspect-ratio: 1.15 / 1;
  display: grid;
  place-items: center;
  margin: 0.15rem auto 0;
  border-radius: 14px;
  background: var(--paper);
  border: 1px solid var(--outline);
  padding: 0.85rem;
  box-shadow: 0 8px 24px rgba(10,15,14,0.05);
  transition: opacity 0.35s ease, transform 0.35s ease;
  flex-shrink: 0;
  overflow: visible;
}
.activity-stage__icon.is-swap,
.activity-stage__chat.is-swap {
  opacity: 0;
  transform: translateY(8px) scale(0.98);
}
.activity-stage__icon svg,
.activity-viz {
  width: 100%;
  height: 100%;
  display: block;
}
.activity-stage__chat {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  height: 6.5rem;
  min-height: 6.5rem;
  max-height: 6.5rem;
  overflow: hidden;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.activity-stage__chat .chat-bubble {
  max-width: 100%;
  font-size: 0.82rem;
  padding: 0.6rem 0.75rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}
.activity-feed {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  min-height: 0;
  height: 100%;
}
.activity-feed::before,
.activity-feed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2.25rem;
  z-index: 2;
  pointer-events: none;
}
.activity-feed::before {
  top: 0;
  background: linear-gradient(to bottom, var(--paper), transparent);
}
.activity-feed::after {
  bottom: 0;
  background: linear-gradient(to top, var(--paper), transparent);
}
.activity-feed__track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 0.9rem;
  will-change: transform;
  animation: activity-marquee 32s linear infinite;
}
.chat-pair {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.chat-bubble {
  max-width: 92%;
  padding: 0.7rem 0.85rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.4;
}
.chat-bubble--user {
  align-self: flex-end;
  background: var(--ink);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.chat-bubble--bot {
  align-self: flex-start;
  background: var(--wash);
  color: var(--ink-soft);
  border: 1px solid rgba(210,220,218,0.8);
  border-bottom-left-radius: 4px;
}
.chat-bubble__tag {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.25rem;
}
@keyframes activity-marquee {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}
@media (max-width: 720px) {
  .activity-demo__main {
    grid-template-columns: 1fr;
    height: 520px;
    min-height: 520px;
    max-height: 520px;
  }
  .activity-stage {
    border-right: none;
    border-bottom: 1px solid var(--outline);
    height: 260px;
    min-height: 260px;
    max-height: 260px;
    padding-top: 1.35rem;
  }
  .activity-stage__icon {
    height: 124px;
    padding: 0.75rem;
  }
  .activity-feed { height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .activity-feed__track { animation: none; }
  .activity-stage__icon { transition: none; }
}

/* Legacy chat bubbles (unused on home, keep for safety) */
.chat-demo {
  border: 1px solid var(--outline);
  border-radius: 18px;
  background: var(--paper);
  overflow: hidden;
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.chat-demo__head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--outline);
  background: var(--wash);
  font-weight: 700;
}
.chat-demo__body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
}
.bubble {
  max-width: 85%;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  font-size: 0.95rem;
  animation: rise 0.35s ease;
}
.bubble.user {
  align-self: flex-end;
  background: var(--teal);
  color: #fff;
  border-bottom-right-radius: 4px;
}
.bubble.bot {
  align-self: flex-start;
  background: var(--wash-deep);
  color: var(--ink);
  border-bottom-left-radius: 4px;
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.split-2 {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .split-2 { grid-template-columns: 1fr 1fr; }
}

/* Observatory */
.observatory {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 960px) {
  .observatory { grid-template-columns: 280px 1fr; align-items: start; }
}
.obs-rail { display: grid; gap: 0.5rem; }
.obs-rail button {
  text-align: left;
  border: 1px solid var(--outline);
  background: var(--paper);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  cursor: pointer;
}
.obs-rail button.active {
  border-color: var(--teal);
  background: var(--teal-soft);
}
.obs-rail .beat {
  display: block;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.obs-stage {
  border: 1px solid var(--outline);
  border-radius: 18px;
  overflow: hidden;
  background: #0f1716;
  position: relative;
  min-height: 320px;
}
.obs-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 320px;
  opacity: 0;
  transition: opacity 0.45s ease;
  position: absolute;
  inset: 0;
}
.obs-stage img.active { opacity: 1; position: relative; }
.obs-caption {
  margin-top: 1rem;
  color: var(--slate);
  max-width: 40rem;
}
.obs-progress {
  height: 3px;
  background: var(--wash-deep);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 1rem;
}
.obs-progress > span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--teal);
}

/* Foundation — presentation-matched cards */
.foundation-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .foundation-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.foundation-card {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.3rem 1.25rem 1.4rem;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 143, 134, 0.14), transparent 55%),
    linear-gradient(180deg, #f3faf9 0%, #ffffff 100%);
  border: 1px solid rgba(13, 143, 134, 0.2);
}

.foundation-card--highlight {
  background:
    radial-gradient(circle at 10% 0%, rgba(255, 153, 0, 0.18), transparent 42%),
    radial-gradient(circle at 100% 100%, rgba(35, 47, 62, 0.08), transparent 45%),
    linear-gradient(160deg, #fff8ef 0%, #ffffff 55%);
  border-color: rgba(255, 153, 0, 0.45);
  box-shadow:
    0 0 0 1px rgba(255, 153, 0, 0.12),
    0 14px 28px rgba(255, 153, 0, 0.12);
}

.foundation-card--models {
  background:
    radial-gradient(circle at 12% 0%, rgba(13, 143, 134, 0.14), transparent 40%),
    radial-gradient(circle at 100% 0%, rgba(37, 99, 235, 0.1), transparent 42%),
    linear-gradient(160deg, #f4fbfa 0%, #ffffff 55%);
  border-color: rgba(13, 143, 134, 0.28);
}

.foundation-brand-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.foundation-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.55rem 0.28rem 0.3rem;
  border-radius: 999px;
  background: rgba(10, 22, 40, 0.04);
  border: 1px solid rgba(10, 22, 40, 0.1);
}

.foundation-brand-mark {
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}

.foundation-brand-mark svg {
  width: 0.85rem;
  height: 0.85rem;
  display: block;
}

.foundation-brand-mark--claude {
  background: #da7756;
  color: #fff;
}

.foundation-brand-mark--openai {
  background: #10a37f;
  color: #fff;
}

.foundation-brand-mark--grok {
  background: #0a0a0a;
  color: #fff;
  font-size: 0.72rem;
}

.foundation-brand-mark--sap {
  width: auto;
  min-width: 1.8rem;
  padding: 0 0.28rem;
  border-radius: 4px;
  background: #008fd3;
  color: #fff;
  font-size: 0.48rem;
  letter-spacing: 0.04em;
}

.foundation-brand-mark--oracle {
  background: #c74634;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.78rem;
}

.foundation-brand-mark--dynamics {
  border-radius: 3px;
  background: #fff;
  border: 1px solid rgba(10, 22, 40, 0.08);
}

.foundation-brand-mark--dynamics svg {
  width: 0.95rem;
  height: 0.95rem;
}

.foundation-brand-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.foundation-stat-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.foundation-stat-glow {
  position: absolute;
  left: -0.35rem;
  top: 50%;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  transform: translateY(-50%);
  background: radial-gradient(circle, rgba(13, 143, 134, 0.28), transparent 70%);
  animation: foundationGlow 3.2s ease-in-out infinite;
  pointer-events: none;
}

.foundation-card--highlight .foundation-stat-glow {
  background: radial-gradient(circle, rgba(255, 153, 0, 0.35), transparent 70%);
}

.foundation-stat {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.4vw, 2.45rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent-deep);
}

.foundation-card--highlight .foundation-stat {
  color: #232f3e;
}

.foundation-badge {
  position: relative;
  z-index: 1;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(13, 143, 134, 0.12);
  border: 1px solid rgba(13, 143, 134, 0.28);
  color: var(--accent-deep);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.foundation-card--highlight .foundation-badge {
  background: rgba(255, 153, 0, 0.16);
  border-color: rgba(255, 153, 0, 0.4);
  color: #b36b00;
}

.foundation-card--models .foundation-badge {
  background: rgba(13, 143, 134, 0.12);
  border-color: rgba(13, 143, 134, 0.3);
  color: var(--accent-deep);
}

.foundation-detail {
  margin: 0;
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.45;
  color: var(--ink-soft);
  max-width: 38ch;
}

@keyframes foundationGlow {
  0%, 100% { opacity: 0.55; transform: translateY(-50%) scale(0.96); }
  50% { opacity: 1; transform: translateY(-50%) scale(1.05); }
}

/* Pricing table */
.pricing-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 2rem;
  border: 1px solid var(--outline);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(13, 143, 134, 0.04) 0%, transparent 42%),
    #fff;
}
.pricing-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.88rem;
  line-height: 1.4;
}
.pricing-table th,
.pricing-table td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
  text-align: left;
}
.pricing-table thead th {
  padding: 0.85rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(10, 22, 40, 0.03);
  border-bottom: 1px solid rgba(10, 22, 40, 0.14);
}
.pricing-table thead th:first-child {
  color: var(--muted);
  width: 18%;
}
.pricing-table thead th:not(:first-child) {
  color: var(--accent-deep);
}
.pricing-table thead th.pricing-plan--recommended {
  background: rgba(13, 143, 134, 0.1);
  min-width: 0;
  vertical-align: top;
}
.pricing-plan-name { display: block; }
.pricing-badge {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.22rem 0.4rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
  white-space: normal;
  max-width: 100%;
  text-align: center;
  overflow-wrap: anywhere;
  hyphens: auto;
}
.pricing-table tbody th {
  font-weight: 600;
  color: var(--ink-soft);
}
.pricing-table tbody td {
  color: var(--ink-soft);
  font-weight: 400;
}
.pricing-table tbody tr:last-child th,
.pricing-table tbody tr:last-child td {
  border-bottom: 0;
}
.pricing-row--price th,
.pricing-row--price td {
  background: var(--accent-soft-solid);
  color: var(--ink);
  font-weight: 600;
}
.pricing-row--price td {
  color: var(--accent-deep);
  font-size: 1.05em;
  letter-spacing: -0.015em;
}
.pricing-amount {
  display: block;
  font-weight: 700;
  color: var(--accent-deep);
  letter-spacing: -0.015em;
}
.pricing-note {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.25;
}
.pricing-terms {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 1.5rem;
}
.pricing-terms-link {
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  text-align: left;
  width: fit-content;
}
.pricing-terms-link:hover { color: var(--teal-deep); }
.pricing-terms-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.pricing-terms-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}
.pricing-terms-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(10, 22, 40, 0.28);
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1rem;
  align-items: center;
}
.cta-row .btn {
  width: auto;
  min-width: min(100%, 16rem);
}
.email-with-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}
.cta-row .email-with-copy {
  min-width: min(100%, 16rem);
  flex: 0 1 auto;
}
.cta-row .email-with-copy .btn {
  min-width: 0;
  flex: 1 1 auto;
}
.copy-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border-radius: 999px;
  border: 1.5px solid var(--outline);
  background: var(--paper);
  color: var(--ink-soft);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.copy-btn svg {
  width: 1rem;
  height: 1rem;
}
.copy-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent-deep);
}
.copy-btn.is-copied {
  border-color: var(--accent);
  color: var(--accent-deep);
  background: var(--accent-soft-solid);
}
.copy-btn--footer {
  width: 1.7rem;
  height: 1.7rem;
  border-color: rgba(255,255,255,0.28);
  background: transparent;
  color: rgba(255,255,255,0.85);
}
.copy-btn--footer svg {
  width: 0.85rem;
  height: 0.85rem;
}
.copy-btn--footer:hover {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
  background: rgba(255,255,255,0.08);
}
.copy-btn--footer.is-copied {
  border-color: rgba(126, 212, 224, 0.7);
  color: #7ED4E0;
  background: rgba(126, 212, 224, 0.12);
}
.email-with-copy--footer {
  gap: 0.35rem;
}
@media (max-width: 639px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .cta-row .btn { width: 100%; min-width: 0; }
  .cta-row .email-with-copy {
    width: 100%;
    min-width: 0;
  }
  .cta-row .email-with-copy .btn { width: auto; flex: 1; }
}

/* ROI Calculator */
.roi-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
  margin-top: 2rem;
}
@media (min-width: 960px) {
  .roi-layout {
    grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.35fr);
  }
}
.roi-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding: 1.15rem 1.2rem;
  border-radius: 16px;
  border: 1px solid rgba(13, 143, 134, 0.22);
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 143, 134, 0.1), transparent 55%),
    linear-gradient(180deg, #f3faf9 0%, #ffffff 100%);
}
.roi-panel-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.roi-fields {
  display: grid;
  gap: 0.75rem;
}
.roi-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.roi-field-example {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted-light);
  line-height: 1.35;
}
.roi-tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}
.roi-tier {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.roi-tier input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.roi-tier span {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink-soft);
  letter-spacing: -0.02em;
}
.roi-tier:has(input:checked) {
  border-color: var(--accent-border);
  background: var(--accent-soft-solid);
}
.roi-tier:has(input:checked) span { color: var(--accent-deep); }
.roi-tier:hover { border-color: var(--accent-border); }
.roi-field-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  padding: 0.7rem 0.75rem 0.8rem;
  border-radius: 12px;
  border: 1px solid rgba(13, 143, 134, 0.22);
  background: rgba(255, 255, 255, 0.85);
}
.roi-field-group-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--accent-deep);
}
.roi-field-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}
.roi-input-wrap { position: relative; display: block; }
.roi-input-wrap--currency .roi-input-prefix {
  position: absolute;
  left: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  pointer-events: none;
}
.roi-field input {
  width: 100%;
  appearance: none;
  border: 1.5px solid var(--outline);
  border-radius: 10px;
  background: #fff;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink);
}
.roi-input-wrap--currency input { padding-left: 1.35rem; }
.roi-input-wrap--currency input[readonly] {
  background: rgba(10, 22, 40, 0.04);
  cursor: default;
}
.roi-field input:focus {
  outline: none;
  border-color: var(--accent-border);
  box-shadow: 0 0 0 3px var(--accent-soft);
}
.roi-reset {
  appearance: none;
  align-self: start;
  border: 1px solid var(--outline);
  background: #fff;
  color: var(--ink-soft);
  border-radius: 999px;
  padding: 0.45rem 0.9rem;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}
.roi-reset:hover {
  color: var(--accent);
  border-color: var(--accent-border);
}
.roi-results {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-width: 0;
}
.roi-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
@media (min-width: 700px) {
  .roi-story { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.roi-story-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.9rem 0.95rem;
  border-radius: 14px;
  border: 1px solid var(--outline);
  background: #fff;
}
.roi-story-card strong {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--accent-deep);
  line-height: 1.1;
}
.roi-story-card > span,
.roi-story-card .roi-story-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.25;
}
.roi-story-label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.roi-story-callout {
  margin: 0.4rem 0 0;
  padding: 0.35rem 0.45rem;
  border-radius: 8px;
  background: rgba(217, 119, 6, 0.12);
  border: 1px solid rgba(217, 119, 6, 0.28);
  color: var(--amber-deep);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
}
.roi-info-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.1rem;
  height: 1.1rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--accent-deep);
  cursor: pointer;
  opacity: 0.75;
}
.roi-info-btn svg { width: 1rem; height: 1rem; display: block; }
.roi-info-btn:hover { opacity: 1; color: var(--accent); }
.roi-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--outline);
  border-radius: 14px;
  background: #fff;
}
.roi-table {
  width: 100%;
  min-width: 480px;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 0.84rem;
  line-height: 1.35;
}
.roi-table th,
.roi-table td {
  padding: 0.55rem 0.7rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.roi-table thead th {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  background: rgba(10, 22, 40, 0.03);
}
.roi-table thead th:nth-child(3) {
  color: var(--accent-deep);
  background: rgba(13, 143, 134, 0.08);
}
.roi-table tbody th {
  font-weight: 600;
  color: var(--ink-soft);
  width: 30%;
}
.roi-table tbody td { color: var(--ink-soft); }
.roi-table tbody td:nth-child(3) {
  background: rgba(13, 143, 134, 0.04);
  color: var(--ink);
  font-weight: 500;
}
.roi-table tbody tr:last-child th,
.roi-table tbody tr:last-child td { border-bottom: 0; }
.roi-table small {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--muted-light);
  line-height: 1.3;
}
.roi-row--emphasis th,
.roi-row--emphasis td {
  background: var(--accent-soft-solid);
  color: var(--ink);
  font-weight: 700;
}
.roi-row--emphasis td:nth-child(3) { color: var(--accent-deep); }
.roi-ref {
  font-size: 0.65em;
  font-weight: 600;
  color: var(--accent-deep);
  margin-left: 0.12em;
}
.roi-modal[hidden] { display: none; }
.roi-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.roi-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.45);
  backdrop-filter: blur(2px);
}
.roi-modal-panel {
  position: relative;
  z-index: 1;
  width: min(34rem, 100%);
  max-height: min(80vh, 36rem);
  overflow: auto;
  padding: 1.25rem 1.35rem 1.4rem;
  border-radius: 16px;
  border: 1px solid rgba(13, 143, 134, 0.25);
  background:
    radial-gradient(circle at 100% 0%, rgba(13, 143, 134, 0.12), transparent 50%),
    #fff;
  box-shadow: 0 18px 48px rgba(10, 22, 40, 0.22);
  animation: roiModalIn 220ms ease forwards;
}
@keyframes roiModalIn {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.roi-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.9rem;
}
.roi-modal-header h2 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.roi-modal-close {
  appearance: none;
  border: 1px solid var(--outline);
  background: #fff;
  color: var(--ink-soft);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}
.roi-modal-close:hover {
  color: var(--accent-deep);
  border-color: var(--accent-border);
}
.roi-method-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.roi-method-list li {
  position: relative;
  padding-left: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--ink-soft);
}
.roi-method-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}
.roi-method-example {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: var(--accent-soft-solid);
  border: 1px solid rgba(13, 143, 134, 0.2);
}
.roi-method-example-title {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.roi-method-example-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.roi-method-example-list strong { color: var(--accent-deep); }

/* Forms */
.form-card { max-width: 640px; }
.field { margin-bottom: 0.9rem; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}
.field input,
.field select {
  width: 100%;
  border: 1.5px solid var(--outline);
  border-radius: 12px;
  padding: 0.85rem 0.95rem;
  background: var(--paper);
  color: var(--ink);
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--slate) 50%),
    linear-gradient(135deg, var(--slate) 50%, transparent 50%);
  background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--teal-soft);
  border-color: var(--teal);
}
.field .hint { font-size: 0.82rem; color: var(--slate); margin-top: 0.3rem; }
.field-row {
  display: grid;
  gap: 0.9rem;
}
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
}
.choice-field {
  border: none;
  margin: 0 0 0.9rem;
  padding: 0;
  min-inline-size: 0;
}
.choice-field legend {
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
  padding: 0;
}
.choice-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.choice-chip {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin: 0;
}
.choice-chip input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.choice-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border: 1.5px solid var(--outline);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.choice-chip:hover span {
  border-color: var(--teal);
  color: var(--ink);
}
.choice-chip input:focus-visible + span {
  outline: 2px solid var(--teal-soft);
  outline-offset: 2px;
}
.choice-chip input:checked + span {
  border-color: var(--teal);
  background: var(--accent-soft-solid, #E8F4F2);
  color: var(--accent-deep, #0A5C56);
}
.form-status {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  display: none;
}
.form-status.show { display: block; }
.form-status.ok { background: #D8F0E6; color: #1A4A38; }
.form-status.err { background: #FFDAD6; color: #410002; }
.divider {
  border: none;
  border-top: 1px solid var(--outline);
  margin: 2.5rem 0;
}

/* Company / policy */
.story-beat { margin-bottom: 2rem; }
.story-beat .n {
  color: var(--teal);
  font-weight: 800;
  letter-spacing: 0.08em;
}
.mv-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .mv-grid { grid-template-columns: 1fr 1fr; }
}
.mv-card, .leader-card, .doc-card, .policy-card {
  border: 1.5px solid var(--outline);
  border-radius: 14px;
  padding: 1.5rem;
  background: var(--paper);
}
.mv-card::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 2px;
  background: var(--teal);
  margin-bottom: 1rem;
}
.service-row {
  display: grid;
  gap: 0.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(210,220,218,0.8);
}
@media (min-width: 720px) {
  .service-row { grid-template-columns: 220px 1fr; gap: 1rem; }
}
.leaders {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}
@media (min-width: 800px) {
  .leaders { grid-template-columns: 1fr 1fr; }
}
.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 700;
  margin-bottom: 1rem;
}
.contact-table { width: 100%; border-collapse: collapse; }
.contact-table th {
  text-align: left;
  color: var(--teal);
  font-weight: 700;
  padding: 0 1.5rem 1rem 0;
  vertical-align: top;
  white-space: nowrap;
}
.contact-table td {
  padding: 0 0 1rem;
  vertical-align: top;
  white-space: pre-line;
}

/* Trust center */
.doc-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 700px) {
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .doc-grid { grid-template-columns: repeat(3, 1fr); }
}
.resource-categories {
  display: grid;
  gap: 1.75rem;
  margin-top: 1.75rem;
}
@media (min-width: 700px) {
  .resource-categories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 1.25rem; }
}
@media (min-width: 1000px) {
  .resource-categories { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.resource-category {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.resource-category__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0;
}
.resource-category__desc {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0.35rem 0 0;
  max-width: none;
}
.resource-category .doc-grid {
  margin-top: 1rem;
  flex: 1;
  grid-template-columns: 1fr;
}
.doc-card {
  transition: border-color 0.15s ease, transform 0.15s ease;
  display: block;
  height: 100%;
}
.doc-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}
.doc-card__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink) !important;
  margin: 0 !important;
  line-height: 1.3;
}
.doc-card p { color: var(--slate); margin: 0.5rem 0 0; font-size: 0.95rem; }

/* —— Tales —— */
.tales-section {
  background:
    radial-gradient(ellipse 70% 50% at 85% 0%, rgba(31, 122, 140, 0.1), transparent 55%),
    var(--wash);
}
.tales-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}
@media (min-width: 700px) {
  .tales-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.tale-card {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.35rem 1.4rem 1.25rem;
  border-radius: 16px;
  border: 1px solid var(--outline);
  background:
    radial-gradient(ellipse 80% 60% at 100% 0%, rgba(14, 159, 142, 0.12), transparent 55%),
    var(--paper);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
  min-height: 100%;
}
.tale-card:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(6, 20, 18, 0.08);
}
.tale-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.55rem;
}
.tale-card__kind {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--signal);
}
.tale-card__domain,
.tale-card__time {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--slate);
}
.tale-card__meta > * + *::before {
  content: "·";
  margin-right: 0.55rem;
  color: var(--muted-light);
}
.tale-card__title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0;
}
.tale-card__desc {
  color: var(--slate);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.45;
  flex: 1;
}
.tale-card__play {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal-deep);
  margin-top: 0.35rem;
}
.tale-card:hover .tale-card__play { color: var(--signal); }
.tales-hero .tales-grid { margin-top: 2rem; }

.banner {
  border-radius: 14px;
  border: 1px solid var(--outline);
  background: var(--teal-soft);
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0;
}
.policy-section { margin: 1.75rem 0; }
.policy-section h3 { margin-bottom: 0.65rem; }
.policy-section p { color: var(--ink-soft); margin: 0 0 0.75rem; }
.policy-section ul { margin: 0; padding-left: 1.2rem; color: var(--slate); }
.policy-section li { margin: 0.35rem 0; }
.arch-boxes {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
@media (min-width: 700px) {
  .arch-boxes { grid-template-columns: repeat(3, 1fr); }
}
.arch-box {
  border: 1px solid var(--outline);
  border-radius: 12px;
  padding: 1rem;
  background: var(--wash);
  font-weight: 700;
  text-align: center;
}

/* Framework */
.phase { margin: 2rem 0; }
.phase__label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.4rem;
}
.framework-item {
  border: 1px solid var(--outline);
  border-radius: 14px;
  padding: 1.2rem;
  margin-top: 0.85rem;
  background: var(--paper);
}
.framework-item .outcome {
  margin-top: 0.75rem;
  font-weight: 700;
  color: var(--teal-deep);
}

/* FAQ */
.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
  max-width: 44rem;
  max-height: min(28rem, 60vh);
  overflow-y: auto;
  padding-right: 0.35rem;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
}
.faq-list .reveal {
  opacity: 1;
  transform: none;
}
.faq-item {
  border: 1px solid var(--outline);
  border-radius: 10px;
  background: var(--paper);
  padding: 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  padding: 1rem 1.15rem;
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  float: right;
  color: var(--teal);
  font-weight: 800;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 0;
  padding: 0 1.15rem 1.15rem;
  color: var(--slate);
  max-width: 40rem;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.85);
  padding: 4rem 0 3rem;
}
.site-footer__logo {
  display: block;
  width: 34px;
  height: 34px;
}
.site-footer .tagline { color: rgba(255,255,255,0.55); margin: 0.85rem 0 1.75rem; }
.site-footer .tagline .hl { color: #7ED4E0; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.footer-links a:hover { color: #fff; }
.footer-meta {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
}
.footer-meta p { margin: 0.35rem 0; }
.footer-meta a {
  color: rgba(255,255,255,0.65);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-meta a:hover { color: #fff; }

/* Motion — only hide when JS runs, so crawlers/LLMs always see page text */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .reveal.in {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
.back-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--teal);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}
.back-top.show { opacity: 1; pointer-events: auto; }

.page-hero {
  padding: 3rem 0 1rem;
}
.muted { color: var(--slate); }
