@import url("https://fonts.bunny.net/css?family=alegreya-sans:400,400i,500,500i,700|barlow-condensed:400,400i,500,500i,600,700|archivo:500,600,700");

:root {
  --font-display: "Alegreya Sans", sans-serif;
  --font-body: "Barlow Condensed", sans-serif;
  --font-brand: "Archivo", sans-serif;
  --background: 201 100% 13%;
  --foreground: 0 0% 100%;
  --muted-foreground: 0 0% 64%;
  --gold: #f4c15d;
  --ink: #001c2a;
  --ink-deep: #00141e;
  --ink-mid: #002536;
  --ink-case: #03141e;
  --cream: #f0f2f0;
  --cream-soft: #f5f6f3;
  --sage: #e6ece3;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  background: hsl(var(--background));
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: hsl(var(--background));
  color: #fff;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.5;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

a,
button,
input {
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  outline-offset: 4px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.font-display {
  font-family: var(--font-display);
  font-weight: 400;
}

.container {
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
}

.container-narrow {
  width: 100%;
  max-width: 80rem;
  margin-inline: auto;
}

/* —— Components —— */

.liquid-glass {
  background: rgba(255, 255, 255, 0.01);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 0.15) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.15) 80%,
    rgba(255, 255, 255, 0.45) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.nav-link:hover {
  color: #fff;
}

.section-label {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
  margin: 0;
}

.section-label.is-dark {
  color: rgba(0, 37, 54, 0.45);
}

.section-label.is-gold-dark {
  color: rgba(0, 37, 54, 0.5);
}

.brand-logo {
  align-items: center;
  color: inherit;
  display: inline-flex;
  flex: none;
  gap: 0.55rem;
  line-height: 1;
}

.brand-logo-mark {
  display: block;
  flex: none;
  height: 2rem;
  width: 2rem;
  object-fit: contain;
  transition: transform 360ms var(--ease);
}

a:hover .brand-logo-mark {
  transform: translateX(1.5px);
}

.brand-logo-word {
  display: inline-flex;
  align-items: center;
  height: 2rem;
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  /* Optical nudge: Archivo caps sit slightly high vs the mark */
  translate: 0 0.06em;
}

.brand-logo-footer .brand-logo-mark {
  height: 1.35rem;
  width: 1.35rem;
  opacity: 0.4;
}

.brand-logo-footer .brand-logo-word {
  height: 1.35rem;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.brand-logo-compact .brand-logo-word {
  display: none;
}

.language-switch {
  align-items: center;
  border-radius: 999px;
  display: inline-flex;
  flex: none;
  padding: 3px;
}

.language-switch a {
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.55);
  display: grid;
  font-size: 0.6875rem;
  font-weight: 500;
  height: 28px;
  place-items: center;
  transition: background 180ms ease, color 180ms ease;
  width: 34px;
}

.language-switch a.is-active {
  background: rgba(255, 255, 255, 0.92);
  color: #002b42;
}

.icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
}

.icon-sm {
  width: 0.875rem;
  height: 0.875rem;
}

.icon-lg {
  width: 1.25rem;
  height: 1.25rem;
}

.icon-xl {
  width: 1.75rem;
  height: 1.75rem;
}

/* —— Reveal —— */

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.82s var(--ease), transform 0.82s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-line {
  display: block;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 1s var(--ease);
}

.reveal-line.is-visible {
  width: 100%;
}

.reveal-line.is-amber {
  background: #b68019;
}

.reveal-scale {
  display: block;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
}

.reveal-scale.is-visible {
  transform: scaleX(1);
}

/* —— Landing page —— */

.page-landing {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--ink);
  color: #fff;
}

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  overflow: hidden;
  background: #000;
}

.site-nav {
  position: relative;
  z-index: 50;
  display: flex;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 1.25rem;
}

.site-nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
}

.site-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-cta {
  display: none;
  border-radius: 999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
}

.hero-chorus {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-chorus-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.hero-grid {
  position: relative;
  z-index: 10;
  display: grid;
  width: 100%;
  max-width: 1500px;
  margin-inline: auto;
  align-items: start;
  gap: 2rem;
  padding: 3.5rem 1.5rem 4rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 42rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fade-rise 0.85s var(--ease) both;
}

.hero-visual-spacer {
  display: none;
  min-height: 12rem;
  pointer-events: none;
}

.hero-visual-mark,
.hero-visual-video {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
  object-fit: contain;
}

@property --hero-label-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

.hero-copy .section-label {
  --hero-label-angle: 0deg;
  position: relative;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 1.75rem;
  padding: 0.55rem 1.15rem;
  isolation: isolate;
  border-radius: 9999px;
  border: 1px solid color-mix(in srgb, var(--gold) 28%, transparent);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.hero-copy .section-label::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: conic-gradient(
    from var(--hero-label-angle),
    transparent 0%,
    transparent 68%,
    color-mix(in srgb, var(--gold) 40%, transparent) 78%,
    var(--gold) 88%,
    color-mix(in srgb, var(--gold) 40%, transparent) 94%,
    transparent 100%
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  animation: hero-label-border 3.2s linear infinite;
}

@keyframes hero-label-border {
  to {
    --hero-label-angle: 360deg;
  }
}

.hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.025em;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.hero-text {
  margin: 1.75rem 0 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.75);
}

/* —— Validator —— */

.validator-shell {
  min-height: 530px;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 20, 30, 0.8);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px);
}

.validator-panel {
  display: none;
  min-height: 530px;
  flex-direction: column;
  padding: 1.25rem;
}

.validator-panel.is-active {
  display: flex;
  animation: fade-rise 0.4s var(--ease) both;
}

.validator-panel.is-centered {
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.75rem;
}

.validator-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 1.25rem;
}

.validator-header .section-label {
  color: rgba(255, 255, 255, 0.55);
}

.validator-header .section-label.is-gold {
  color: var(--gold);
}

.live-dot {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.live-dot i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  animation: pulse 2s ease infinite;
}

.validator-title {
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
}

.validator-textarea {
  margin-top: 1.25rem;
  min-height: 128px;
  width: 100%;
  resize: none;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: #fff;
  font-size: 1rem;
  line-height: 1.625;
  outline: none;
}

.validator-textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.validator-textarea:focus {
  border-bottom-color: var(--gold);
}

.validator-audience {
  margin-top: 1.5rem;
}

.validator-audience .section-label {
  display: block;
  color: rgba(255, 255, 255, 0.5);
}

.audience-field {
  margin-top: 0.5rem;
  display: flex;
  min-height: 3rem;
  align-items: center;
  gap: 0.75rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: var(--ink);
  padding: 0 1rem;
  transition: border-color 180ms ease;
}

.audience-field:focus-within {
  border-color: var(--gold);
}

.audience-field svg {
  color: var(--gold);
}

.audience-field input {
  min-width: 0;
  flex: 1;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  outline: none;
}

.validator-textarea.is-static,
.audience-field.is-static {
  color: rgba(0, 37, 54, 0.72);
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.validator-textarea.is-static {
  display: block;
  line-height: 1.45;
  white-space: pre-wrap;
}

.audience-field.is-static {
  min-height: 0;
  padding-block: 1rem;
  padding-inline: 0.9rem;
}

.audience-field.is-static span {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.audience-field.is-static:focus-within {
  border-color: rgba(0, 37, 54, 0.12);
  box-shadow: none;
}

.audience-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.validator-footer {
  margin-top: auto;
  padding-top: 1.75rem;
}

.validator-submit {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-radius: 6px;
  background: var(--gold);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: background 180ms ease;
}

.validator-submit:hover {
  background: #fff;
}

.validator-note {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.45);
}

.validator-running-title {
  margin: 2.25rem 0 0;
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 400;
}

.validator-running-text {
  margin: 1rem 0 0;
  max-width: 28rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.55);
}

.validator-stages {
  margin-top: 2rem;
  width: 100%;
  max-width: 28rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.validator-stage {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-align: left;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.validator-stage-num {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(244, 193, 93, 0.6);
  font-size: 10px;
  color: var(--gold);
}

.validator-progress {
  margin-left: auto;
  display: block;
  height: 1px;
  width: 6rem;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}

.validator-progress b {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--gold);
  animation: validator-load 1.1s ease-out both;
}

.persona-orbit {
  position: relative;
  width: 10rem;
  height: 10rem;
  animation: orbit-turn 12s linear infinite;
}

.persona-orbit-core {
  position: absolute;
  inset: 46px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(244, 193, 93, 0.6);
  background: rgba(244, 193, 93, 0.1);
  color: var(--gold);
}

.persona-node {
  --angle: calc(var(--index) * 60deg);
  position: absolute;
  left: calc(50% - 18px);
  top: calc(50% - 18px);
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: var(--ink);
  font-size: 10px;
  transform: rotate(var(--angle)) translateY(-66px) rotate(calc(var(--angle) * -1));
  animation: node-pulse 1.6s ease-in-out infinite;
  animation-delay: calc(var(--index) * 0.16s);
}

.result-meta {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.5rem;
}

.result-idea {
  margin: 0;
  max-width: 28rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.result-audience {
  margin: 0.25rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

.result-audience svg {
  color: var(--gold);
}

.result-title {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.25;
}

.result-score {
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 1.25rem;
}

.result-score strong {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 400;
  color: var(--gold);
}

.result-score span {
  display: block;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

.result-facts {
  margin-top: 1.5rem;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.result-fact {
  background: var(--ink-deep);
  padding: 1rem 0;
}

.result-fact:first-child {
  padding-right: 1.25rem;
}

.result-fact:last-child {
  padding-left: 1.25rem;
}

.result-fact .section-label {
  color: rgba(255, 255, 255, 0.35);
}

.result-fact strong {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.result-segments {
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.result-segment {
  display: grid;
  grid-template-columns: minmax(115px, 0.8fr) 1.2fr 30px;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
}

.result-segment span:first-child {
  color: rgba(255, 255, 255, 0.65);
}

.result-bar {
  height: 0.25rem;
  background: rgba(255, 255, 255, 0.1);
}

.result-bar i {
  display: block;
  height: 100%;
  background: var(--gold);
}

.result-segment span:last-child {
  text-align: right;
}

.result-quote {
  margin: 1.5rem 0 0;
  border-left: 2px solid var(--gold);
  padding-left: 1rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.375;
  color: rgba(255, 255, 255, 0.75);
}

.result-actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  background: var(--gold);
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--ink);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: none;
  border-radius: 999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.75rem;
  color: #fff;
  cursor: pointer;
  background: transparent;
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color 180ms ease;
}

.btn-link:hover {
  color: #fff;
}

/* —— Sections shared —— */

.section-pad {
  padding: 7rem 1.5rem;
}

.section-pad-lg {
  padding: 5rem 1.5rem 7rem;
}

.section-heading {
  margin: 1.75rem 0 0;
  max-width: 64rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.95;
}

/* Output / product */

.section-output {
  background: var(--ink-deep);
  color: #fff;
}

.output-grid {
  display: grid;
  gap: 4rem;
  max-width: 1500px;
  margin-inline: auto;
}

.output-list {
  border-block: 1px solid rgba(255, 255, 255, 0.15);
}

.output-row {
  display: grid;
  min-height: 6rem;
  grid-template-columns: 50px 1fr 24px;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.25rem;
}

.output-row:last-of-type {
  border-bottom: 0;
}

.output-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
}

.output-row strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 400;
}

.output-footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.5rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
}

.output-footer svg {
  color: var(--gold);
}

/* Chorus */

.section-chorus {
  background: var(--cream);
  color: var(--ink-mid);
  padding: 5rem 1.5rem 7rem;
}

.chorus-wrap {
  max-width: 1500px;
  margin-inline: auto;
}

.chorus-wrap .section-heading {
  color: var(--ink-mid);
}

.chorus-board {
  margin-top: 3.5rem;
  border-block: 1px solid rgba(0, 37, 54, 0.2);
}

.chorus-prompt {
  display: grid;
  gap: 0.75rem;
  border-bottom: 1px solid rgba(0, 37, 54, 0.2);
  padding-block: 1.25rem;
}

.chorus-prompt p {
  margin: 0;
  max-width: 56rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.375;
}

.chorus-voices {
  display: grid;
}

.chorus-voice {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 37, 54, 0.2);
  padding-block: 1.75rem;
}

.chorus-voice-inner {
  display: flex;
  min-height: 174px;
  flex-direction: column;
  animation: fade-rise 0.42s var(--ease) both;
}

.chorus-voice-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chorus-avatar {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  place-items: center;
  border-radius: 999px;
  background: var(--ink-mid);
  font-family: var(--font-display);
  color: #fff;
}

.chorus-role {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(0, 37, 54, 0.55);
}

.chorus-stance {
  margin-left: auto;
  border-radius: 999px;
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chorus-stance.is-yes {
  background: #dce9d7;
  color: #285127;
}

.chorus-stance.is-no {
  background: #eadbd4;
  color: #743c2f;
}

.chorus-stance.is-maybe {
  background: rgba(244, 193, 93, 0.35);
  color: #79550e;
}

.chorus-quote {
  margin: auto 0 0;
  max-width: 36rem;
  padding-top: 1.75rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  line-height: 1.25;
}

/* Decisions */

.section-decisions {
  background: var(--sage);
  color: var(--ink-mid);
  padding: 6rem 1.5rem;
}

.decisions-wrap {
  max-width: 1500px;
  margin-inline: auto;
}

.decisions-intro {
  display: grid;
  gap: 1.75rem;
}

.decisions-intro .section-heading {
  margin-top: 1.5rem;
  color: var(--ink-mid);
}

.decisions-text {
  margin: 0;
  max-width: 36rem;
  border-left: 1px solid rgba(0, 37, 54, 0.2);
  padding-left: 1.5rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(0, 37, 54, 0.6);
}

.decisions-grid {
  position: relative;
  margin-top: 3.5rem;
  display: grid;
  border-block: 1px solid rgba(0, 37, 54, 0.2);
}

.decisions-grid > .reveal-line {
  position: absolute;
  left: 0;
  top: -1px;
}

.decision-card {
  min-height: 230px;
  border-bottom: 1px solid rgba(0, 37, 54, 0.15);
  padding: 1.75rem 0.25rem;
}

.decision-icon {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink-mid);
  color: var(--gold);
}

.decision-card h3 {
  margin: 2.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1;
}

.decision-card p {
  margin: 1rem 0 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(0, 37, 54, 0.55);
}

/* How */

.section-how {
  background: var(--ink);
  color: #fff;
}

.how-wrap {
  max-width: 1500px;
  margin-inline: auto;
}

.how-steps {
  position: relative;
  margin-top: 5rem;
  display: grid;
  gap: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2.5rem;
}

.how-steps > .reveal-line {
  position: absolute;
  left: 0;
  top: -1px;
}

.how-step-num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  color: var(--gold);
}

.how-step h3 {
  margin: 2.5rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 400;
}

.how-step p {
  margin: 1.25rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.55);
}

/* Proof */

.section-proof {
  background: var(--gold);
  color: var(--ink-mid);
  padding: 6rem 1.5rem;
}

.proof-grid {
  display: grid;
  gap: 3rem;
  max-width: 1500px;
  margin-inline: auto;
}

.proof-grid .section-heading {
  color: var(--ink-mid);
}

.proof-text {
  margin: 1.75rem 0 0;
  max-width: 42rem;
  line-height: 1.625;
  color: rgba(0, 37, 54, 0.7);
}

.proof-cta {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 37, 54, 0.25);
  padding: 0.875rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  transition: background 180ms ease, color 180ms ease;
}

.proof-cta:hover {
  background: var(--ink-mid);
  color: #fff;
}

.proof-stats {
  border-left: 1px solid rgba(0, 37, 54, 0.25);
  padding-left: 2rem;
}

.proof-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}

.proof-stats-row strong {
  display: block;
  margin-top: 0.75rem;
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 400;
}

.proof-diff {
  margin-top: 1.75rem;
  border-top: 1px solid rgba(0, 37, 54, 0.2);
  padding-top: 1.25rem;
}

.proof-diff strong {
  font-size: 1rem;
  font-weight: 500;
}

.proof-diff span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(0, 37, 54, 0.6);
}

/* Pricing */

.section-pricing {
  background: var(--cream-soft);
  color: var(--ink-mid);
  padding: 6rem 1.5rem;
}

.pricing-wrap {
  max-width: 1500px;
  margin-inline: auto;
}

.pricing-intro {
  display: grid;
  gap: 2rem;
}

.pricing-intro .section-heading {
  margin-top: 1.5rem;
  color: var(--ink-mid);
}

.pricing-note {
  border-left: 1px solid rgba(0, 37, 54, 0.2);
  padding-left: 1.5rem;
}

.pricing-note p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.625;
  color: rgba(0, 37, 54, 0.65);
}

.pricing-note small {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: rgba(0, 37, 54, 0.4);
}

.pricing-defs {
  margin-top: 3.5rem;
  display: grid;
  overflow: hidden;
  border-radius: 6px;
  background: var(--ink-mid);
  color: #fff;
}

.pricing-def {
  display: grid;
  grid-template-columns: 110px 18px 1fr;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.75rem 1.5rem;
}

.pricing-def:last-child {
  border-bottom: 0;
}

.pricing-def strong {
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-def svg {
  color: rgba(255, 255, 255, 0.3);
}

.pricing-def-value {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.pricing-def-value b {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 400;
  color: var(--gold);
}

.pricing-def-value small {
  font-size: 0.75rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.5);
}

.pricing-cards {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.pricing-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  border-radius: 6px;
  border: 1px solid rgba(0, 37, 54, 0.15);
  background: #fff;
  padding: 1.75rem 1.5rem;
}

.pricing-card.is-featured {
  border-color: #c88d1d;
  background: #fff3d2;
  box-shadow: 0 12px 32px rgba(130, 87, 10, 0.08);
}

.pricing-card-top {
  display: flex;
  min-height: 1.75rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.pricing-card-top h3 {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-badge {
  border-radius: 999px;
  background: var(--ink-mid);
  padding: 0.25rem 0.75rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
}

.pricing-price {
  margin-top: 2.5rem;
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}

.pricing-price strong {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 400;
  line-height: 1;
}

.pricing-usage {
  margin: 1.75rem 0 0;
  font-size: 1.125rem;
  font-weight: 500;
}

.pricing-detail {
  margin: 0.75rem 0 0;
  max-width: 24rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: rgba(0, 37, 54, 0.55);
}

.pricing-action {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid rgba(0, 37, 54, 0.15);
  padding-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-card.is-featured .pricing-action {
  border-top-color: rgba(0, 37, 54, 0.2);
}

.pricing-examples {
  margin-top: 2rem;
  border-block: 1px solid rgba(0, 37, 54, 0.2);
}

.pricing-example {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(0, 37, 54, 0.12);
  padding-block: 1.25rem;
}

.pricing-example:last-child {
  border-bottom: 0;
}

.pricing-example strong {
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-example-customers {
  display: none;
  font-size: 0.875rem;
  color: rgba(0, 37, 54, 0.5);
}

.pricing-chip {
  border-radius: 999px;
  background: #e3ebdf;
  padding: 0.375rem 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #285127;
}

.pricing-included {
  display: grid;
  gap: 1.5rem;
  border-bottom: 1px solid rgba(0, 37, 54, 0.2);
  padding-block: 1.75rem;
}

.pricing-included strong {
  font-size: 0.875rem;
  font-weight: 500;
}

.pricing-included > div > span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: rgba(0, 37, 54, 0.45);
}

.pricing-included-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}

.pricing-included-list span {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #285127;
}

/* Closing */

.section-closing {
  background: var(--ink);
  padding: 7rem 1.5rem 2.5rem;
}

.closing-wrap {
  max-width: 1500px;
  margin-inline: auto;
}

.closing-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-bottom: 6rem;
}

.closing-row h2 {
  margin: 0;
  max-width: 56rem;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.95;
}

.closing-cta {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  background: #fff;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-mid);
}

.site-footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
}

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.site-footer-links {
  display: flex;
  gap: 1.5rem;
}

.site-footer-links a:hover {
  color: #fff;
}

/* —— Case study —— */

.page-case {
  min-height: 100vh;
  overflow: hidden;
  background: hsl(var(--background));
  color: #fff;
}

.case-header {
  background: hsl(var(--background));
  padding: 1.5rem;
}

.case-nav {
  display: flex;
  max-width: 80rem;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.case-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.case-back {
  display: none;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  transition: transform 180ms ease;
}

.case-back:hover {
  transform: scale(1.03);
}

.case-hero {
  background: hsl(var(--background));
  padding: 5rem 1.5rem 6rem;
}

.case-hero-inner {
  max-width: 80rem;
  margin-inline: auto;
}

.case-hero-copy {
  max-width: 64rem;
  opacity: 0;
  transform: translateY(28px);
  animation: fade-rise 0.8s var(--ease) both;
}

.case-hero-copy .section-label {
  margin-bottom: 2rem;
}

.case-hero-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 0.96;
  letter-spacing: -0.025em;
}

.case-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.case-hero-text {
  margin: 2rem 0 0;
  max-width: 48rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.case-stats {
  margin-top: 5rem;
  display: grid;
  border-block: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transform: translateY(30px);
  animation: fade-rise 0.8s var(--ease) 0.16s both;
}

.case-stat {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.75rem;
}

.case-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
}

.case-stat span {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.case-section {
  padding: 7rem 1.5rem;
}

.case-section.is-deep {
  background: var(--ink-case);
}

.case-section.is-base {
  background: hsl(var(--background));
}

.case-inner {
  max-width: 80rem;
  margin-inline: auto;
}

.case-muted {
  color: hsl(var(--muted-foreground));
}

.case-result-grid {
  display: grid;
  gap: 3rem;
}

.case-result-grid h2,
.case-protocol h2,
.case-failure h2,
.case-survived h2,
.case-product h2,
.case-limits h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.case-result-grid h2 em,
.case-result-grid .section-label + h2 em {
  font-style: italic;
  font-weight: 400;
  color: hsl(var(--muted-foreground));
}

.case-result-lead {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
}

.case-result-lead strong {
  font-weight: 500;
  color: var(--gold);
}

.case-result-lead strong.is-plain {
  color: #fff;
}

.case-error-row {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
}

.case-error-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--gold);
}

.case-error-unit {
  margin-left: 0.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.case-error-note {
  margin: 0;
  max-width: 20rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.forward-plot {
  margin-top: 5rem;
  overflow-x: auto;
  border-block: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 2rem;
}

.forward-plot-inner {
  min-width: 620px;
}

.forward-plot-head {
  margin-bottom: 2rem;
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) 1.35fr 70px;
  gap: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--muted-foreground));
}

.forward-plot-head span:last-child {
  text-align: right;
}

.forward-rows {
  display: grid;
  gap: 1.75rem;
}

.forward-row {
  display: grid;
  grid-template-columns: minmax(150px, 0.65fr) 1.35fr 70px;
  align-items: center;
  gap: 1rem;
}

.forward-row.is-accent .forward-label {
  font-weight: 500;
  color: #fff;
}

.forward-label {
  color: hsl(var(--muted-foreground));
}

.forward-track {
  position: relative;
  height: 2rem;
  border-inline: 1px solid rgba(255, 255, 255, 0.1);
}

.forward-survey {
  position: absolute;
  inset-block: 0;
  width: 1px;
  background: rgba(244, 193, 93, 0.65);
}

.forward-bar {
  position: absolute;
  top: 50%;
  height: 0.5rem;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.35);
}

.forward-row.is-accent .forward-bar {
  background: var(--gold);
}

.forward-value {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 1.125rem;
  color: #fff;
}

.forward-row.is-accent .forward-value {
  color: var(--gold);
}

.forward-error {
  text-align: right;
  color: hsl(var(--muted-foreground));
}

.forward-row.is-accent .forward-error {
  font-weight: 500;
  color: var(--gold);
}

.case-caveat {
  margin: 2rem 0 0;
  max-width: 42rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.case-protocol-head {
  margin-bottom: 4rem;
  max-width: 56rem;
}

.case-protocol-list {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.case-protocol-item {
  display: grid;
  gap: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 2rem;
}

.case-protocol-item span {
  font-family: var(--font-display);
  font-size: 1.875rem;
  color: hsl(var(--muted-foreground));
}

.case-protocol-item h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 500;
}

.case-protocol-item p {
  margin: 0;
  max-width: 36rem;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.case-failure-grid {
  display: grid;
  gap: 3.5rem;
}

.case-failure-body p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
}

.case-failure-body p + p {
  margin-top: 2rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

.case-findings {
  margin-top: 5rem;
  display: grid;
  gap: 1px;
  background: rgba(255, 255, 255, 0.15);
}

.case-finding {
  background: var(--ink-case);
  padding: 2rem 0;
}

.case-finding strong {
  display: block;
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 400;
  line-height: 1;
}

.case-finding h3 {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  font-weight: 500;
}

.case-finding p {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.case-survived {
  display: grid;
  gap: 4rem;
}

.case-survived-body p {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
}

.case-survived-body p strong {
  font-weight: 500;
  color: var(--gold);
}

.case-survived-body p + p {
  margin-top: 2rem;
  font-size: 1rem;
  color: hsl(var(--muted-foreground));
}

.case-product {
  display: grid;
  gap: 4rem;
}

.case-product-text {
  margin: 2rem 0 0;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.case-product-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.case-product-list li {
  display: flex;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.625;
  color: rgba(255, 255, 255, 0.85);
}

.case-product-list svg {
  margin-top: 0.25rem;
  flex-shrink: 0;
  color: var(--gold);
}

.case-product-cta {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  padding: 1rem 2rem;
  font-size: 0.875rem;
  transition: transform 180ms ease;
}

.case-product-cta:hover {
  transform: scale(1.03);
}

.case-limits-box {
  border-block: 1px solid rgba(255, 255, 255, 0.15);
  padding-block: 2.5rem;
}

.case-limits-grid {
  display: grid;
  gap: 2.5rem;
}

.case-limits-grid .section-label {
  margin-bottom: 1.5rem;
}

.case-limits-grid h2 {
  font-size: 2.25rem;
}

.case-limits-grid p {
  margin: 0;
  line-height: 1.625;
  color: hsl(var(--muted-foreground));
}

.case-close {
  background: var(--ink-case);
  padding: 7rem 1.5rem;
}

.case-close-inner {
  display: flex;
  max-width: 64rem;
  margin-inline: auto;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.case-close-inner .brand-logo {
  margin-bottom: 2rem;
}

.case-close-inner h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
}

.case-close-cta {
  margin-top: 3rem;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  transition: transform 180ms ease;
}

.case-close-cta:hover {
  transform: scale(1.03);
}

.case-footer {
  background: var(--ink-case);
  padding: 0 1.5rem 2.5rem;
}

.case-footer-inner {
  display: flex;
  max-width: 80rem;
  margin-inline: auto;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-foreground));
}

.case-footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* —— Keyframes —— */

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes orbit-turn {
  to {
    transform: rotate(360deg);
  }
}

@keyframes validator-load {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes node-pulse {
  0%,
  100% {
    transform: rotate(var(--angle)) translateY(-66px) rotate(calc(var(--angle) * -1)) scale(1);
  }
  50% {
    transform: rotate(var(--angle)) translateY(-66px) rotate(calc(var(--angle) * -1)) scale(1.12);
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.4;
  }
}

/* Hero actions */

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

.hero-cta-primary,
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.875rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.hero-cta-primary {
  background: #fff;
  color: var(--ink-mid);
}

.hero-cta-secondary {
  color: rgba(255, 255, 255, 0.9);
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(244, 193, 93, 0.12), transparent 50%),
    radial-gradient(ellipse at 20% 80%, rgba(80, 140, 120, 0.18), transparent 45%),
    hsl(var(--background));
}

/* Problem */

.section-problem {
  background: var(--cream);
  color: var(--ink);
  padding: 6rem 1.5rem;
}

.problem-wrap {
  display: grid;
  gap: 2.5rem;
  max-width: 1500px;
  margin-inline: auto;
}

.problem-wrap .section-label {
  color: rgba(0, 37, 54, 0.45);
}

.problem-wrap .section-heading {
  color: var(--ink);
  max-width: 42rem;
}

.problem-grid {
  display: grid;
  gap: 1.25rem;
}

.problem-card {
  border: 1px solid rgba(0, 37, 54, 0.12);
  border-radius: 1.25rem;
  background: #fff;
  padding: 1.5rem;
}

.problem-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.problem-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(0, 37, 54, 0.65);
}

.problem-lead {
  margin: 0;
  max-width: 40rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(0, 37, 54, 0.7);
}

/* Sectors */

.section-sectors {
  background: var(--ink-mid);
  padding: 6rem 1.5rem;
}

.sectors-wrap {
  max-width: 1500px;
  margin-inline: auto;
}

.sectors-intro {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.sectors-intro .section-heading {
  max-width: 80rem;
}

.sectors-text {
  margin: 0;
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.65);
}

.sectors-grid {
  display: grid;
  gap: 1rem;
}

.sector-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
}

.sector-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.sector-card p {
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Limits */

.section-limits {
  background: var(--cream-soft);
  color: var(--ink);
  padding: 6rem 1.5rem;
}

.limits-wrap {
  display: grid;
  gap: 1.5rem;
  max-width: 1500px;
  margin-inline: auto;
}

.limits-wrap .section-label {
  color: rgba(0, 37, 54, 0.45);
}

.limits-wrap .section-heading {
  color: var(--ink);
  max-width: 36rem;
  font-size: 2.75rem;
}

.limits-text {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(0, 37, 54, 0.7);
}

/* Demo CTA */

.section-demo {
  background: var(--sage);
  color: var(--ink);
  padding: 6rem 1.5rem;
}

.demo-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1500px;
  margin-inline: auto;
}

.demo-wrap .section-label {
  color: rgba(0, 37, 54, 0.45);
}

.demo-wrap .section-heading {
  color: var(--ink);
  max-width: 80rem;
  margin-bottom: 1.75rem;
}

.demo-text {
  margin: 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  color: rgba(0, 37, 54, 0.7);
}

.demo-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  border-radius: 999px;
  background: var(--ink);
  padding: 1rem 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #fff;
}

/* Pricing secondary framing */

.pricing-secondary-note {
  display: inline-block;
  margin-bottom: 1rem;
  border-radius: 999px;
  background: rgba(0, 37, 54, 0.08);
  padding: 0.375rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(0, 37, 54, 0.65);
}

/* Brand origin */

.section-origin {
  background: var(--ink-deep);
  padding: 5rem 1.5rem;
}

.origin-wrap {
  display: grid;
  gap: 1.25rem;
  max-width: 1500px;
  margin-inline: auto;
}

.origin-wrap .section-heading {
  max-width: 36rem;
  font-size: 2.75rem;
}

.origin-text {
  margin: 0;
  max-width: 40rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.65);
}

.origin-text em {
  color: rgba(255, 255, 255, 0.9);
  font-style: italic;
}

.continuity-note {
  margin-top: 1.5rem;
  border-left: 2px solid rgba(244, 193, 93, 0.6);
  padding-left: 1rem;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.55);
}

/* —— Responsive —— */

@media (min-width: 640px) {
  .nav-cta,
  .case-back {
    display: inline-flex;
  }

  .validator-panel {
    padding: 1.75rem;
  }

  .validator-title {
    font-size: 2.25rem;
  }

  .hero-title {
    font-size: 4.5rem;
  }

  .result-meta {
    grid-template-columns: 1fr 110px;
  }

  .result-title {
    font-size: 2.25rem;
  }

  .result-facts {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading,
  .closing-row h2,
  .case-hero-title,
  .case-result-grid h2,
  .case-protocol h2,
  .case-failure h2,
  .case-survived h2,
  .case-product h2,
  .case-close-inner h2 {
    font-size: 4.5rem;
  }

  .case-limits-grid h2 {
    font-size: 3rem;
  }

  .case-stats {
    grid-template-columns: 1fr 1fr;
  }

  .case-stat {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-inline: 1.75rem;
  }

  .case-stat:first-child {
    padding-left: 0;
  }

  .case-stat:nth-child(2n) {
    border-right: 0;
  }

  .site-footer,
  .case-footer-inner {
    flex-direction: row;
  }

  .pricing-example {
    grid-template-columns: 1fr 1fr auto;
  }

  .pricing-example-customers {
    display: block;
  }

  .chorus-quote {
    font-size: 1.875rem;
  }

  .output-row strong {
    font-size: 1.875rem;
  }

  .proof-stats-row strong {
    font-size: 4.5rem;
  }

  .case-error-row {
    flex-direction: row;
    align-items: flex-end;
    gap: 2.5rem;
  }

  .case-error-num {
    font-size: 6rem;
  }

  .case-hero-text {
    font-size: 1.25rem;
  }

  .case-result-lead,
  .case-failure-body p,
  .case-survived-body p {
    font-size: 1.5rem;
  }

  .case-failure-body p + p,
  .case-survived-body p + p {
    font-size: 1rem;
  }
}

@media (min-width: 768px) {
  .site-nav {
    position: fixed;
    top: 0.75rem;
    left: 0;
    right: 0;
    z-index: 100;
    width: min(1500px, calc(100% - 1.5rem));
    margin-inline: auto;
    padding: 0.65rem 0.85rem 0.65rem 1.15rem;
    border-radius: 1.25rem;
    background: rgba(0, 16, 26, 0.52);
    background-blend-mode: luminosity;
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow:
      0 12px 40px rgba(0, 0, 0, 0.32),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
  }

  .site-nav .brand-logo-mark {
    width: 1.75rem;
    height: 1.75rem;
  }

  .site-nav .brand-logo-word {
    height: 1.75rem;
    font-size: 1.05rem;
  }

  .site-nav .nav-cta {
    background: #fff;
    color: var(--ink-mid);
    border: none;
    box-shadow: none;
  }

  .site-nav .nav-cta.liquid-glass::before {
    display: none;
  }

  .site-nav .nav-cta:hover {
    background: rgba(255, 255, 255, 0.92);
  }

  .site-nav .language-switch.liquid-glass {
    background: rgba(255, 255, 255, 0.06);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .site-nav .language-switch.liquid-glass::before {
    opacity: 0.55;
  }

  .nav-drawer {
    top: calc(100% + 0.5rem);
    left: 0.5rem;
    right: 0.5rem;
  }

  .hero-grid,
  .section-pad,
  .section-pad-lg,
  .section-chorus,
  .section-decisions,
  .section-proof,
  .section-pricing,
  .section-closing,
  .section-problem,
  .section-sectors,
  .section-limits,
  .section-demo,
  .section-origin,
  .case-header,
  .case-hero,
  .case-section,
  .case-close,
  .case-footer {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .section-how,
  .section-output {
    padding: 10rem 2rem;
  }

  .section-chorus {
    padding-top: 7rem;
    padding-bottom: 10rem;
  }

  .section-decisions,
  .section-proof,
  .section-pricing,
  .section-problem,
  .section-sectors,
  .section-limits,
  .section-demo {
    padding-block: 8rem;
  }

  .section-closing {
    padding-top: 10rem;
  }

  .case-hero {
    padding-top: 7rem;
    padding-bottom: 9rem;
  }

  .case-section,
  .case-close {
    padding-block: 10rem;
  }

  .hero-text {
    font-size: 1.125rem;
  }

  .chorus-prompt {
    grid-template-columns: 140px 1fr;
    align-items: baseline;
    gap: 2rem;
  }

  .chorus-prompt p {
    font-size: 1.5rem;
  }

  .chorus-voices {
    grid-template-columns: 1fr 1fr;
  }

  .chorus-voice {
    border-right: 1px solid rgba(0, 37, 54, 0.2);
    padding-inline: 2rem;
  }

  .chorus-voice:nth-child(even) {
    border-right: 0;
  }

  .chorus-voice:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .decisions-grid {
    grid-template-columns: 1fr 1fr;
  }

  .problem-grid,
  .sectors-grid {
    grid-template-columns: 1fr 1fr;
  }

  .demo-wrap {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }

  .decision-card {
    border-right: 1px solid rgba(0, 37, 54, 0.15);
    padding-inline: 1.75rem;
  }

  .decision-card:nth-child(even) {
    border-right: 0;
  }

  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .how-step {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-inline: 2.25rem;
  }

  .how-step:first-child {
    padding-left: 0;
  }

  .how-step:last-child {
    border-right: 0;
  }

  .proof-grid {
    grid-template-columns: 1fr 0.72fr;
    align-items: end;
    gap: 6rem;
  }

  .pricing-defs {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-def {
    border-bottom: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    padding-inline: 2rem;
  }

  .pricing-def:last-child {
    border-right: 0;
  }

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

  .pricing-card {
    padding-inline: 2rem;
  }

  .closing-row {
    flex-direction: row;
    align-items: flex-end;
  }

  .case-result-grid,
  .case-failure-grid,
  .case-survived,
  .case-product,
  .case-limits-grid {
    grid-template-columns: 0.8fr 1.2fr;
    gap: 6rem;
  }

  .case-survived {
    grid-template-columns: 0.9fr 1.1fr;
  }

  .case-product {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .case-limits-grid {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .case-protocol-item {
    grid-template-columns: 100px 0.8fr 1.2fr;
    gap: 2.5rem;
    padding-block: 2.5rem;
  }

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

  .case-finding {
    padding: 2.5rem 2rem;
  }

  .case-finding:first-child {
    padding-left: 0;
  }

  .case-finding:last-child {
    padding-right: 0;
  }

  .case-stat strong {
    font-size: 3.75rem;
  }

  .case-stat {
    padding-block: 2.25rem;
  }
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: start;
    gap: 2rem;
    padding-top: 5rem;
    padding-bottom: 4.5rem;
  }

  .hero-copy {
    max-width: 38rem;
  }

  .hero-visual-spacer {
    display: block;
    min-height: min(52vw, 34rem);
  }
}

@media (min-width: 1024px) {
  .site-nav-links {
    display: flex;
  }

  .hero {
    min-height: min(100svh, 860px);
  }

  .hero-grid {
    gap: 2.5rem;
    padding-top: 5.5rem;
    padding-bottom: 5rem;
  }

  .hero-title {
    font-size: 5.6rem;
  }

  .section-heading {
    font-size: 6rem;
  }

  .output-grid {
    grid-template-columns: 0.78fr 1.22fr;
    align-items: start;
    gap: 6rem;
  }

  .decisions-intro {
    grid-template-columns: 1fr 0.72fr;
    align-items: end;
  }

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

  .decision-card {
    border-bottom: 0;
  }

  .decision-card:nth-child(even) {
    border-right: 1px solid rgba(0, 37, 54, 0.15);
  }

  .decision-card:last-child {
    border-right: 0;
  }

  .pricing-intro {
    grid-template-columns: 1fr 420px;
    align-items: end;
  }

  .pricing-included {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .case-hero-title {
    font-size: 6rem;
  }

  .case-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .case-stat {
    border-bottom: 0;
  }

  .case-stat:nth-child(2n) {
    border-right: 1px solid rgba(255, 255, 255, 0.15);
  }

  .case-stat:last-child {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .liquid-glass {
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
  }

  .hero {
    min-height: min(100svh, 980px);
  }

  .hero-grid {
    padding-bottom: 14rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-copy,
  .case-hero-copy,
  .case-stats {
    opacity: 1;
    transform: none;
    animation: none;
  }
}


/* —— Ported for Claviata copy sections / chrome —— */

.hero-actions-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.hero-cta-ghost:hover {
  color: #fff;
}

.nav-toggle {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  min-width: 44px;
  min-height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: #fff;
  cursor: pointer;
  border-radius: 0.75rem;
}

.nav-toggle-bars {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.nav-drawer {
  display: none;
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 1.25rem;
  right: 1.25rem;
  padding: 0.5rem;
  background: rgba(0, 28, 42, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  flex-direction: column;
  gap: 0;
  z-index: 30;
}

.nav-drawer.is-open {
  display: flex;
}

.nav-drawer a {
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 0.75rem;
  min-height: 44px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.nav-drawer a:last-child {
  border-bottom: 0;
}

.nav-drawer-cta {
  margin-top: 0.5rem;
  justify-content: center;
  background: #fff;
  color: var(--ink-mid) !important;
  border-radius: 999px;
  border-bottom: 0 !important;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .nav-toggle {
    display: none;
  }

  .nav-drawer {
    display: none !important;
  }
}

.problem-intro {
  display: grid;
  gap: 1.5rem;
}

.problem-intro .section-heading {
  margin-bottom: 0;
  max-width: none;
}

.problem-intro-aside {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: none;
}

.problem-intro .problem-lead {
  max-width: none;
}

.problem-contrast {
  display: grid;
  gap: 0;
  margin-top: 0.5rem;
  border-top: 1px solid rgba(0, 37, 54, 0.14);
  border-bottom: 1px solid rgba(0, 37, 54, 0.14);
}

.problem-contrast-path {
  display: grid;
  gap: 0.4rem;
  margin: 0;
  padding: 1.25rem 0;
}

.problem-contrast-path.is-traditional {
  border-bottom: 1px solid rgba(0, 37, 54, 0.14);
}

.problem-contrast-path.is-traditional .problem-contrast-label {
  color: rgba(0, 37, 54, 0.45);
}

.problem-contrast-path.is-traditional .problem-contrast-value {
  color: rgba(0, 37, 54, 0.7);
  font-weight: 400;
}

.problem-contrast-path.is-early {
  padding-inline: 1rem;
  background: rgba(80, 140, 120, 0.08);
}

.problem-contrast-path.is-early .problem-contrast-label {
  color: #3f7a68;
}

.problem-contrast-path.is-early .problem-contrast-value {
  color: var(--ink);
  font-weight: 600;
}

.problem-contrast-label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.problem-contrast-value {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
}

@media (min-width: 768px) {
  .problem-intro {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .problem-intro-aside {
    max-width: none;
    padding-top: 0;
  }

  .problem-contrast {
    grid-template-columns: 1fr 1fr;
  }

  .problem-contrast-path {
    padding: 1.25rem;
  }

  .problem-contrast-path.is-traditional {
    padding-left: 0;
    border-bottom: 0;
    border-right: 1px solid rgba(0, 37, 54, 0.14);
  }

  .problem-contrast-path.is-early {
    padding-inline: 1.25rem 0;
  }

  .problem-grid,
  .sectors-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1100px) {
  .section-problem .problem-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.mobile-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem max(1rem, env(safe-area-inset-right))
    max(0.65rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
  background: rgba(245, 246, 243, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(0, 37, 54, 0.12);
}

.mobile-dock a {
  flex: 1;
  text-align: center;
  padding: 0.85rem 0.75rem;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 999px;
}

.mobile-dock-primary {
  background: var(--ink);
  color: #fff;
}

.mobile-dock-secondary {
  border: 1px solid rgba(0, 37, 54, 0.18);
  color: var(--ink);
  background: #fff;
}

.page-landing {
  padding-bottom: 5rem;
}

@media (min-width: 768px) {
  .mobile-dock {
    display: none;
  }

  .page-landing {
    padding-bottom: 0;
  }
}
