:root {
  --bg: #07060b;
  --bg-raise: #121018;
  --ink: #f6f1e7;
  --muted: #d2c8bb;
  --soft: #b7aea1;
  --line: rgba(246, 241, 231, 0.16);
  --voice: #ffb15a;
  --voice-deep: #ff7b4a;
  --ship: #c7a8ff;
  --ship-deep: #9a6bff;
  --ship-rgb: 199, 168, 255;
  --serif: 'Iowan Old Style', Palatino, 'Palatino Linotype', 'Times New Roman', serif;
  --sans: 'Avenir Next', 'Segoe UI', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --mono: 'SFMono-Regular', ui-monospace, 'Cascadia Code', Menlo, Consolas, monospace;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  --radius: 28px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: '';
  position: fixed;
  inset: auto;
  z-index: -2;
  width: 48vw;
  height: 48vw;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
}

body::before {
  top: -12vw;
  left: -10vw;
  background: radial-gradient(circle, rgba(255, 177, 90, 0.38), transparent 68%);
  animation: drift 18s ease-in-out infinite alternate;
}

body::after {
  right: -12vw;
  bottom: -16vw;
  background: radial-gradient(circle, rgba(199, 168, 255, 0.28), transparent 68%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

a:hover {
  color: white;
}

:focus-visible {
  outline: 2px solid var(--voice);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: #1a1208;
  padding: 0.6rem 0.9rem;
  border-radius: 999px;
}

.skip:focus {
  top: 0.8rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding: 0.85rem 0;
  transition:
    background 0.3s ease,
    border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: rgba(7, 6, 11, 0.82);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
}

.nav-inner {
  width: min(1120px, calc(100% - 2.4rem));
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.brand svg {
  width: 1.7rem;
  height: 1.7rem;
}

.brand .ai {
  color: var(--soft);
  font-weight: 500;
}

.nav-links {
  display: flex;
  gap: 1.15rem;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav-links a[aria-current='page'] {
  color: var(--ink);
}

.nav-cta {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  color: var(--ink);
}

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  overflow: hidden;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.kicker i {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--voice);
  box-shadow: 0 0 0 0 rgba(255, 177, 90, 0.7);
  animation: pulse 2.4s ease-out infinite;
}

.kicker i.dot-ship {
  background: var(--ship);
  box-shadow: 0 0 0 0 rgba(199, 168, 255, 0.7);
  animation: pulseShip 2.4s ease-out infinite;
}

.pop-voice {
  color: var(--voice);
  font-weight: 700;
  font-style: normal;
}

.pop-ship {
  color: var(--ship);
  font-weight: 700;
  font-style: normal;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

h1 {
  margin: 0;
  font-size: clamp(3.3rem, 8vw, 7rem);
  max-width: min(14ch, 100%);
  animation: lift 1s ease both;
}

h1.reveal {
  animation: reveal 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1.reveal em {
  display: inline-block;
  animation:
    sheen 7s linear infinite,
    revealEm 1.1s 0.15s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Sans-serif, two-line H1 with per-word reveal */
h1.h1-sans {
  font-family: var(--sans);
  font-weight: 800;
  letter-spacing: -0.025em;
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  line-height: 1.04;
  max-width: none;
  animation: none;
}

h1.h1-sans .h1-row {
  display: block;
}

h1.h1-sans .row-1 {
  color: var(--ink);
}

h1.h1-sans .row-2 em {
  font-style: normal;
  background: linear-gradient(100deg, var(--voice) 0%, #fff4e4 35%, var(--ship) 70%, var(--voice) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 6s linear infinite;
}

h1.h1-sans .w {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  animation: wordRise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

h1.h1-sans .w1 {
  animation-delay: 0.05s;
}
h1.h1-sans .w2 {
  animation-delay: 0.18s;
}
h1.h1-sans .w3 {
  animation-delay: 0.31s;
}

h1.h1-sans .row-2 {
  opacity: 0;
  animation: wordRise 0.9s 0.55s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

/* Product badges above H1 */
.product-badges {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  animation: lift 0.9s ease both;
}

.pbadge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid var(--line);
  background: rgba(18, 16, 24, 0.6);
}

.pbadge-voice {
  color: var(--voice);
  border-color: rgba(255, 177, 90, 0.45);
  background: rgba(255, 177, 90, 0.08);
}

.pbadge-ship {
  color: var(--ship);
  border-color: rgba(199, 168, 255, 0.5);
  background: rgba(199, 168, 255, 0.08);
}

.pbadge .pdot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 0 currentColor;
  animation: pulseMono 2.4s ease-out infinite;
}

.pbadge-plus {
  color: var(--soft);
  font-family: var(--mono);
  font-size: 1rem;
  font-weight: 700;
}

h1 em,
.shine {
  font-style: italic;
  background: linear-gradient(100deg, var(--voice) 0%, #fff4e4 35%, var(--ship) 70%, var(--voice) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: sheen 7s linear infinite;
}

.lede {
  max-width: 42rem;
  margin: 1.3rem 0 0;
  color: var(--muted);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
  animation: lift 1s 0.12s ease both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
  animation: lift 1s 0.22s ease both;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  text-decoration: none;
  border: 1px solid transparent;
}

.btn-voice {
  background: linear-gradient(120deg, var(--voice), var(--voice-deep));
  color: #241406;
  font-weight: 700;
}

.btn-ship {
  background: linear-gradient(120deg, var(--ship), #e6d4ff);
  color: #1a0b3a;
  font-weight: 700;
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
}

.stage {
  display: block;
  margin-top: 2.8rem;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: auto;
}

.stage .wave {
  fill: none;
  stroke: url(#voiceStroke);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 10 14;
  animation: flow 9s linear infinite;
}

.stage .chart {
  fill: none;
  stroke: url(#shipStroke);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: draw 2.8s 0.3s ease forwards;
}

.stage .node {
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.6s ease both;
}

.stage-rich .bar,
.stage-mosaic .bar {
  fill: url(#voiceStroke);
  transform-box: fill-box;
  transform-origin: center;
  animation: speak 1.4s ease-in-out infinite;
}

.stage-rich .stage-voice .bar,
.stage-voice .bar {
  fill: url(#voiceStroke2);
}

/* Hero mosaic — workspace collage */
.stage-mosaic {
  margin-top: 2rem;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45));
}

.stage-mosaic .glow-blob {
  transform-box: fill-box;
  transform-origin: center;
  animation: breathe 7s ease-in-out infinite;
}

.stage-mosaic .glow-ship {
  animation-delay: 1.5s;
}

.stage-mosaic .prod-band {
  opacity: 0.7;
}

.stage-mosaic .prod-title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.stage-mosaic .title-voice {
  fill: var(--voice);
}

.stage-mosaic .title-ship {
  fill: var(--ship);
}

.stage-mosaic .prod-sub {
  fill: var(--muted);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.stage-mosaic .prod-meta {
  fill: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.stage-mosaic .rail-voice {
  fill: var(--voice);
}

.stage-mosaic .rail-ship {
  fill: var(--ship);
}

.stage-mosaic .m-card {
  opacity: 0;
  animation:
    cardIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both,
    drift 9s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.stage-mosaic .m-ship.m-card {
  animation:
    cardIn 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both,
    drift 11s ease-in-out infinite;
}

.stage-mosaic .grid {
  stroke-dasharray: 2 4;
}

.stage-mosaic .pr-line {
  fill: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
}

.stage-mosaic .pr-stat {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.stage-mosaic .pr-stat.add {
  fill: #8fe39e;
}
.stage-mosaic .pr-stat.del {
  fill: #ff8a8a;
}
.stage-mosaic .pr-stat.survived {
  fill: var(--ship);
}

.stage-mosaic .bar-fill {
  fill: var(--ship);
  transform-origin: left center;
  animation: barGrow 1.4s 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.stage-mosaic .bar-fill.ai {
  fill: var(--ship-deep);
  animation-delay: 1.5s;
}

.stage-mosaic .m-bg {
  fill: rgba(18, 16, 24, 0.88);
  stroke: rgba(255, 177, 90, 0.26);
  stroke-width: 1.2;
}

.stage-mosaic .m-ship .m-bg,
.stage-mosaic .m-ship-bg {
  stroke: rgba(199, 168, 255, 0.3);
}

.stage-mosaic .m-tag {
  fill: var(--voice);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  font-weight: 700;
}

.stage-mosaic .m-tag-ship {
  fill: var(--ship);
}

.stage-mosaic .m-dot {
  fill: var(--voice);
  animation: blink 1.6s ease-in-out infinite;
}

.stage-mosaic .m-check {
  fill: transparent;
  stroke: rgba(255, 177, 90, 0.6);
  stroke-width: 1.2;
}

.stage-mosaic .m-check.on {
  fill: var(--voice);
  stroke: var(--voice);
  animation: checkPop 2.4s ease both;
}

.stage-mosaic .m-tick {
  animation: checkPop 2.4s ease both;
}

.stage-mosaic .m-line,
.stage-mosaic .m-note,
.stage-mosaic .caption,
.stage-mosaic .m-mail,
.stage-mosaic .m-event-text,
.stage-mosaic .m-ava {
  fill: var(--ink);
  font-family: var(--sans);
  font-size: 11px;
}

.stage-mosaic .m-ava {
  fill: var(--voice);
  font-size: 10px;
  font-weight: 700;
}

.stage-mosaic .m-mono {
  fill: var(--soft);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.stage-mosaic .m-time {
  fill: var(--voice);
}

.stage-mosaic .m-note.head {
  fill: var(--voice);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
}

.stage-mosaic .caption {
  opacity: 0;
  animation: typeIn 0.7s ease forwards;
}

.stage-mosaic .caption.c1 {
  animation-delay: 1.1s;
}
.stage-mosaic .caption.c2 {
  animation-delay: 1.9s;
}

.stage-mosaic .type-line {
  opacity: 0;
  animation: typeIn 0.6s ease forwards;
}

.stage-mosaic .type-line.t1 {
  animation-delay: 1.2s;
}
.stage-mosaic .type-line.t2 {
  animation-delay: 1.7s;
}
.stage-mosaic .type-line.t3 {
  animation-delay: 2.2s;
}
.stage-mosaic .type-line.t4 {
  animation-delay: 2.7s;
}

.stage-mosaic .caret {
  fill: var(--voice);
  animation: blink 0.9s step-end infinite;
}

.stage-mosaic .rec-dot {
  fill: #ff5f56;
  animation: blink 1.2s ease-in-out infinite;
}

.stage-mosaic .m-mail.from {
  fill: var(--voice);
  font-weight: 700;
  font-size: 10px;
}

.stage-mosaic .m-mail.sub {
  fill: var(--muted);
  font-size: 10px;
}

.stage-mosaic .m-event {
  fill: rgba(255, 177, 90, 0.18);
  stroke: rgba(255, 177, 90, 0.6);
  stroke-width: 1;
}

.stage-mosaic .m-event.ev2 {
  fill: rgba(255, 123, 74, 0.2);
  stroke: rgba(255, 123, 74, 0.7);
}

.stage-mosaic .m-event.ev3 {
  fill: rgba(255, 177, 90, 0.12);
}

.stage-mosaic .m-event-text {
  fill: var(--ink);
  font-size: 9px;
  font-weight: 600;
}

.stage-mosaic .chart {
  fill: none;
  stroke: url(#shipStroke);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1600;
  stroke-dashoffset: 1600;
  animation: draw 2.4s 0.7s ease forwards;
}

.stage-mosaic .chart-fill {
  opacity: 0;
  animation: fadeFill 2s 1.2s ease forwards;
}

.stage-mosaic .node {
  fill: var(--ship);
  transform-box: fill-box;
  transform-origin: center;
  animation: pop 0.5s ease both;
}

.stage-mosaic .callout {
  opacity: 0;
  animation: lift 0.7s ease both;
}

.stage-mosaic .callout text {
  fill: var(--ship);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.stage-rich .bar.b1 {
  animation-delay: 0s;
}
.stage-rich .bar.b2 {
  animation-delay: 0.08s;
}
.stage-rich .bar.b3 {
  animation-delay: 0.16s;
}
.stage-rich .bar.b4 {
  animation-delay: 0.24s;
}
.stage-rich .bar.b5 {
  animation-delay: 0.32s;
}
.stage-rich .bar.b6 {
  animation-delay: 0.4s;
}
.stage-rich .bar.b7 {
  animation-delay: 0.48s;
}
.stage-rich .bar.b8 {
  animation-delay: 0.56s;
}
.stage-rich .bar.b9 {
  animation-delay: 0.64s;
}

.stage-rich .joint {
  transform-box: fill-box;
  transform-origin: center;
  animation: joint 1.8s ease-in-out infinite;
}

.stage-rich .chart-fill {
  opacity: 0;
  animation: fadeFill 2s 1s ease forwards;
}

.stage-ship .chart {
  stroke: url(#shipStroke2);
}

.stage-ship .pipe {
  stroke-dasharray: 4 4;
  animation: flowPipe 1.4s linear infinite;
}

.stage-ship .callout {
  opacity: 0;
  animation: lift 0.8s 1.2s ease both;
}

.stage-voice .key rect {
  animation: keyPulse 2.4s ease-in-out infinite;
}

.stage-voice .caret {
  animation: blink 0.9s step-end infinite;
}

.stage-voice .type-line {
  opacity: 0;
  animation: typeIn 0.6s ease forwards;
}

.stage-voice .type-line.t1 {
  animation-delay: 0.5s;
}
.stage-voice .type-line.t2 {
  animation-delay: 1.1s;
}
.stage-voice .type-line.t3 {
  animation-delay: 1.7s;
}

.hero-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.6rem 0 0;
  padding: 0;
  animation: lift 1s 0.4s ease both;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--line);
  background: rgba(18, 16, 24, 0.6);
  color: var(--muted);
}

.chip-voice {
  border-color: rgba(255, 177, 90, 0.4);
  color: var(--voice);
  background: rgba(255, 177, 90, 0.07);
}

.chip-ship {
  border-color: rgba(199, 168, 255, 0.4);
  color: var(--ship);
  background: rgba(199, 168, 255, 0.07);
}

.hero-split .lede strong {
  font-style: normal;
}

.card-tag {
  color: var(--muted);
  margin: 0.2rem 0 0.4rem;
  font-size: 1.02rem;
}

.card-list {
  position: relative;
  margin: 0.1rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  display: grid;
  gap: 0.35rem;
}

.card-list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.97rem;
  line-height: 1.5;
}

.card-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--voice);
}

.card-ship .card-list li::before,
.panel-ship .card-list li::before {
  background: var(--ship);
}

.panel .card-list {
  margin-top: 0.7rem;
}

.apps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-top: -1.2rem;
  perspective: 1200px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  min-height: 22rem;
  padding: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%), rgba(16, 14, 22, 0.78);
  box-shadow: var(--shadow);
  text-decoration: none;
  overflow: hidden;
  transform-style: preserve-3d;
  transition:
    border-color 0.3s ease,
    transform 0.25s ease;
}

.card:hover {
  border-color: rgba(246, 241, 231, 0.4);
  color: inherit;
}

.card::after {
  content: '';
  position: absolute;
  width: 18rem;
  height: 18rem;
  right: -5rem;
  bottom: -7rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--glow, rgba(255, 177, 90, 0.45)), transparent 68%);
  animation: breathe 6s ease-in-out infinite;
}

.card-ship {
  --glow: rgba(199, 168, 255, 0.4);
}

.card-kicker {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--soft);
}

.card h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 3.5rem);
  position: relative;
}

.card p {
  margin: 0;
  max-width: 34ch;
  color: var(--muted);
  position: relative;
}

.card .go {
  margin-top: auto;
  position: relative;
  font-weight: 600;
}

.ribbon {
  position: relative;
  height: 3.4rem;
  margin: 3.2rem 0 0;
  border-block: 1px solid var(--line);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ribbon-track {
  position: absolute;
  left: 0;
  top: 0.95rem;
  display: flex;
  gap: 2.2rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  color: var(--soft);
  font-family: var(--mono);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

section {
  padding: 4.5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

.section-head h2,
.prose h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.section-head p,
.prose p {
  margin: 0;
  color: var(--muted);
}

.principles,
.grid-3,
.measures {
  display: grid;
  gap: 1rem;
}

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

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

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

.panel {
  padding: 1.3rem 1.25rem 1.4rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 16, 24, 0.66);
}

.panel h3 {
  margin: 0 0 0.45rem;
  font-size: 1.55rem;
}

.panel p {
  margin: 0;
  color: var(--muted);
}

.num {
  font-family: var(--mono);
  color: var(--voice);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

.panel-ship .num {
  color: var(--ship);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: center;
}

.note {
  padding: 1.3rem 1.4rem;
  border-left: 3px solid var(--voice);
  background: rgba(255, 177, 90, 0.06);
  border-radius: 0 18px 18px 0;
  color: var(--muted);
}

.note strong {
  color: var(--ink);
}

.note-ship {
  border-left-color: var(--ship);
  background: rgba(199, 168, 255, 0.06);
}

.faq {
  display: grid;
  gap: 0.7rem;
}

details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(18, 16, 24, 0.55);
  padding: 0.9rem 1rem;
}

summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  margin: 0.7rem 0 0;
  color: var(--muted);
}

.crumbs {
  margin: 0 0 1rem;
  color: var(--soft);
  font-size: 0.92rem;
}

.crumbs ol {
  display: flex;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.crumbs li:not(:last-child)::after {
  content: '/';
  margin-left: 0.45rem;
  color: var(--soft);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 2.6rem;
  color: var(--soft);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer nav ul {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer a {
  color: var(--muted);
}

.rise {
  animation-name: rise;
  animation-duration: auto;
  animation-fill-mode: both;
  animation-timeline: view();
  animation-range: entry 0% cover 28%;
}

@keyframes lift {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sheen {
  to {
    background-position: 220% 0;
  }
}

@keyframes drift {
  to {
    transform: translate3d(6vw, 4vw, 0) scale(1.08);
  }
}

@keyframes pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(255, 177, 90, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 177, 90, 0);
  }
}

@keyframes flow {
  to {
    stroke-dashoffset: -420;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.4);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes breathe {
  50% {
    transform: scale(1.12);
    opacity: 0.75;
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes pulseShip {
  70% {
    box-shadow: 0 0 0 10px rgba(199, 168, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(199, 168, 255, 0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes revealEm {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

@keyframes speak {
  0%,
  100% {
    transform: scaleY(0.45);
  }
  50% {
    transform: scaleY(1);
  }
}

@keyframes joint {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.6);
    opacity: 1;
  }
}

@keyframes fadeFill {
  to {
    opacity: 1;
  }
}

@keyframes flowPipe {
  to {
    stroke-dashoffset: -16;
  }
}

@keyframes keyPulse {
  0%,
  100% {
    stroke-width: 2;
    stroke-opacity: 1;
  }
  50% {
    stroke-width: 3;
    stroke-opacity: 0.6;
  }
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes typeIn {
  from {
    opacity: 0;
    transform: translateX(-6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cardIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -4px;
  }
}

@keyframes wordRise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes pulseMono {
  0% {
    box-shadow: 0 0 0 0 currentColor;
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 8px transparent;
    opacity: 0.9;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
    opacity: 1;
  }
}

@keyframes barGrow {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes checkPop {
  0%,
  40% {
    opacity: 0;
    transform: scale(0.6);
  }
  60% {
    opacity: 1;
    transform: scale(1.15);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 860px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    order: 3;
    width: 100%;
    margin: 0;
  }

  .apps,
  .principles,
  .grid-3,
  .measures,
  .split {
    grid-template-columns: 1fr;
  }

  h1 {
    font-size: clamp(2.35rem, 9.4vw, 3rem);
    max-width: 100%;
  }

  h1 em {
    display: block;
  }

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

  .hero-actions .btn {
    justify-content: center;
  }

  .card {
    min-height: 0;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .stage .chart {
    stroke-dashoffset: 0;
  }
}

@supports not (animation-timeline: view()) {
  .rise {
    animation: none;
  }
}

@media print {
  body::before,
  body::after,
  .grain,
  .ribbon,
  .nav-cta {
    display: none;
  }

  body {
    background: white;
    color: black;
  }

  a {
    text-decoration: underline;
  }
}
