:root {
  --ink: #0c1a1c;
  --ink-soft: #24383c;
  --paper: #eef2f0;
  --paper-2: #e2ebe6;
  --mist: #cfdcd5;
  --line: rgba(12, 26, 28, 0.14);
  --accent: #1f6b52;
  --accent-2: #c9e86a;
  --saas: #2a5560;
  --shadow: 0 18px 50px rgba(12, 26, 28, 0.18);
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --max: 68rem;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  overflow-x: clip;
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(201, 232, 106, 0.16), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(31, 107, 82, 0.12), transparent 50%),
    linear-gradient(180deg, #f2f6f4 0%, var(--paper) 42%, #e6eee9 100%);
}

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

a {
  color: var(--accent);
  text-underline-offset: 0.15em;
}

a:hover {
  color: var(--ink);
}

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: var(--paper);
  padding: 0.5rem 1rem;
  z-index: 100;
}

.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
}

.mono {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(238, 242, 240, 0.86);
  border-bottom: 1px solid var(--line);
}

.top__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  padding-left: max(1.25rem, env(safe-area-inset-left));
  padding-right: max(1.25rem, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.top__nav {
  display: flex;
  gap: 1rem;
  margin-left: auto;
  font-size: 0.92rem;
  font-weight: 600;
}

.top__nav a {
  color: var(--ink-soft);
  text-decoration: none;
}

.top__nav a:hover {
  color: var(--accent);
}

.top__cta {
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--paper);
  background: var(--ink);
  padding: 0.45rem 0.85rem;
  border-radius: 2px;
}

.top__cta:hover {
  background: var(--accent);
  color: var(--paper);
}

.top__menu {
  display: none;
  position: relative;
  margin-left: auto;
}

.top__menu-btn {
  list-style: none;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 0.45rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
}

.top__menu-btn::-webkit-details-marker {
  display: none;
}

.top__menu-nav {
  position: absolute;
  right: 0;
  top: calc(100% + 0.45rem);
  min-width: 11rem;
  display: grid;
  gap: 0.15rem;
  padding: 0.55rem;
  background: rgba(238, 242, 240, 0.98);
  border: 1px solid var(--line);
  border-radius: 2px;
  box-shadow: var(--shadow);
  z-index: 30;
}

.top__menu-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.55rem 0.65rem;
}

.top__menu-nav a:hover {
  background: rgba(31, 107, 82, 0.08);
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #eef6f1;
}

.hero__plane {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__map {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  min-height: 100%;
}

.hero__map--mobile {
  display: none;
}

.hero__grid path {
  fill: none;
  stroke: rgba(238, 246, 241, 0.06);
  stroke-width: 1;
}

.hero__beam {
  fill: none;
  stroke-width: 6;
  stroke-linecap: round;
  animation: beam 6s ease-in-out infinite alternate;
}

.hero__beam--mobile {
  stroke-width: 7;
  stroke-dasharray: 18 12;
}

.hero__node rect {
  fill: rgba(12, 26, 28, 0.42);
  stroke: rgba(201, 232, 106, 0.35);
  stroke-width: 1.5;
}

.hero__node text {
  fill: #f4f8f2;
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  text-anchor: middle;
}

.hero__node-sub {
  font-size: 18px !important;
  font-weight: 500 !important;
  fill: rgba(238, 246, 241, 0.78) !important;
}

.hero__node--saas rect {
  stroke: rgba(126, 200, 163, 0.55);
}

.hero__node--a,
.hero__node--saas,
.hero__node--b {
  animation: rise 900ms ease both;
}

.hero__node--saas {
  animation-delay: 120ms;
}

.hero__node--b {
  animation-delay: 240ms;
}

.hero__copy {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 3.5rem;
  background: linear-gradient(180deg, transparent 0%, rgba(8, 18, 20, 0.4) 18%, rgba(8, 18, 20, 0.82) 100%);
  animation: fade-up 800ms ease both;
}

.hero__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 9vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--accent-2);
}

.hero__title {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.4vw, 2.35rem);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero__lede {
  margin: 1rem 0 0;
  max-width: 38rem;
  font-size: 1.08rem;
  color: rgba(238, 246, 241, 0.88);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7rem;
  padding: 0.55rem 1.15rem;
  border-radius: 2px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent-2);
  color: var(--ink);
}

.btn--primary:hover {
  background: #dff39a;
  color: var(--ink);
}

.btn--ghost {
  background: transparent;
  color: #eef6f1;
  box-shadow: inset 0 0 0 1.5px rgba(238, 246, 241, 0.55);
}

.btn--ghost:hover {
  background: rgba(238, 246, 241, 0.08);
  color: #fff;
}

.band {
  padding: 4.5rem 1.25rem;
}

.band--tint {
  background: linear-gradient(180deg, rgba(213, 228, 220, 0.45), rgba(231, 239, 232, 0.65));
  border-block: 1px solid var(--line);
}

.band__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.band h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.band__lede {
  margin: 0.85rem 0 0;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.video-list {
  margin-top: 2.25rem;
  display: grid;
  gap: 2.75rem;
}

.video-item__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.video-item__lede {
  margin: 0.55rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
}

.video-frame {
  margin-top: 1rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background:
    linear-gradient(160deg, #0c1f24 0%, #14353c 55%, #1a4a3a 100%);
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #0c1f24;
}

.video-item__meta {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.video-item__meta a {
  font-weight: 600;
}

.subhead {
  margin: 2.25rem 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.plain-list {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
  max-width: 50rem;
}

.plain-list li {
  padding-left: 1rem;
  border-left: 3px solid var(--accent);
}

.note {
  margin: 1.5rem 0 0;
  max-width: 50rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.callout {
  margin: 2.25rem 0 0;
  max-width: 46rem;
  padding: 1.1rem 0 0;
  border-top: 2px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.steps {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 1.5rem;
  max-width: 50rem;
}

.steps > li {
  counter-increment: step;
  position: relative;
  padding-left: 3rem;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.9rem;
}

.steps h3 {
  margin: 0;
  font-size: 1.1rem;
}

.steps p {
  margin: 0.35rem 0 0;
  color: var(--ink-soft);
}

.steps--compact {
  gap: 0.85rem;
}

.steps--compact > li {
  padding-left: 2.5rem;
}

.steps--compact > li::before {
  width: 1.6rem;
  height: 1.6rem;
  font-size: 0.8rem;
}

.table-wrap {
  margin-top: 1.75rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.place {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 52rem;
}

.place th,
.place td {
  padding: 0.85rem 0.95rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.place thead th {
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
}

.place tbody th {
  width: 16rem;
  font-weight: 700;
  background: rgba(31, 107, 82, 0.06);
}

.place tbody tr:last-child th,
.place tbody tr:last-child td {
  border-bottom: 0;
}

.code {
  margin: 0.75rem 0 0;
  padding: 1rem 1.1rem;
  overflow-x: auto;
  background: var(--ink);
  color: #e7f2ea;
  border-radius: 2px;
  font-size: 0.88rem;
  line-height: 1.45;
  box-shadow: var(--shadow);
}

.code code {
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  white-space: pre;
}

.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
  font-weight: 700;
}

.interest {
  margin-top: 1.75rem;
  max-width: 40rem;
}

.interest__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.interest label {
  display: grid;
  grid-template-rows: 1.4rem auto;
  gap: 0.35rem;
  align-content: start;
  font-weight: 600;
  font-size: 0.92rem;
}

.interest__caption {
  display: block;
  white-space: nowrap;
  line-height: 1.4rem;
  min-height: 1.4rem;
  overflow: hidden;
  text-overflow: ellipsis;
}

.interest__span {
  grid-column: 1 / -1;
}

.interest input,
.interest textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 2.75rem;
  height: 2.75rem;
  font: inherit;
  font-weight: 500;
  line-height: 1.25;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
}

.interest textarea {
  resize: vertical;
  min-height: 5rem;
  height: auto;
}

.interest__hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.interest__actions {
  margin-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
}

.interest__status {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.interest__grid--simple {
  grid-template-columns: 1fr 1fr;
  max-width: 32rem;
  align-items: end;
}

.interest .opt {
  font-weight: 500;
  color: var(--ink-soft);
  font-size: 0.85em;
}

.faq {
  margin-top: 1.75rem;
  max-width: 46rem;
  display: grid;
  gap: 0.65rem;
}

.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 1.25rem 0 0;
  max-width: 46rem;
  padding: 0;
  list-style: none;
}

.faq-toc a {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.faq-toc a:hover,
.faq-toc a:focus-visible {
  border-bottom-color: var(--accent);
}

.faq-subhead {
  margin: 2.75rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.faq-sublede {
  margin: 0 0 0.25rem;
  max-width: 46rem;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.faq--tron,
.faq--knowledge {
  margin-top: 1.1rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 0.85rem 0 0.35rem;
}

.faq details:first-child {
  border-top: 0;
  padding-top: 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  float: right;
  color: var(--accent);
  font-weight: 700;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: 0.55rem 0 0.75rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.faq details p + p {
  margin-top: 0.35rem;
}

.faq details .table-wrap {
  margin-top: 0.85rem;
  margin-bottom: 0.85rem;
  max-width: 100%;
}

.faq .place--compact {
  min-width: 28rem;
  font-size: 0.86rem;
}

.faq .place--compact th,
.faq .place--compact td {
  padding: 0.55rem 0.65rem;
}

.faq-stage-list {
  margin: 0.75rem 0 0.35rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
  max-width: 40rem;
}

.faq-stage-list li {
  margin: 0.35rem 0;
}

.faq-stage-list a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}

.faq-stage-list a:hover {
  text-decoration: underline;
}

.story-panel {
  margin-top: 1.75rem;
}

.story-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1rem;
}

.story-toolbar .btn--ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 0 0 1.5px rgba(12, 26, 28, 0.28);
}

.story-toolbar .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--ink);
}

.story-rail {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.story-rail button {
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(12, 26, 28, 0.28);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.75);
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}

.story-rail button:hover {
  background: #fff;
}

.story-rail button.is-current {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.story-stage {
  padding: 1.25rem 0 0.25rem;
  border-top: 2px solid var(--ink);
}

.story-diagram {
  position: relative;
  margin-bottom: 1.35rem;
  min-height: 280px;
}

.story-paths,
.story-packets {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: visible;
}

.story-paths {
  z-index: 1;
}

.story-cast {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr minmax(9.5rem, 11rem) 1fr;
  gap: 1rem 1.25rem;
  align-items: center;
  min-height: 260px;
}

.story-tribe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.story-tribe-label,
.story-mail-title {
  display: block;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.story-orbit {
  --orbit-r: 72px;
  position: relative;
  width: calc(var(--orbit-r) * 2 + 3.2rem);
  height: calc(var(--orbit-r) * 2 + 3.2rem);
  border-radius: 50%;
  transition: opacity 280ms ease;
}

.story-orbit::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1.5px dashed rgba(12, 26, 28, 0.18);
  transition: border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
}

.story-orbit.is-active::before {
  border-style: solid;
  border-color: rgba(31, 107, 82, 0.45);
  background: rgba(201, 232, 106, 0.1);
  box-shadow: 0 0 0 8px rgba(201, 232, 106, 0.08);
}

.story-orbit.is-dim {
  opacity: 0.42;
}

.story-person {
  --ang: 0rad;
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.75rem;
  height: 2.75rem;
  margin: -1.375rem 0 0 -1.375rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
  font-weight: 700;
  transform: rotate(var(--ang)) translate(var(--orbit-r)) rotate(calc(-1 * var(--ang)));
  transition: background 280ms ease, border-color 280ms ease, opacity 280ms ease, box-shadow 280ms ease;
  z-index: 2;
}

.story-person.idle {
  opacity: 0.45;
}

.story-person.active {
  border-color: var(--accent);
}

.story-person.glow {
  background: rgba(201, 232, 106, 0.55);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201, 232, 106, 0.25);
}

.story-person.dim {
  opacity: 0.28;
}

.story-mail {
  justify-self: center;
  align-self: center;
  width: 100%;
  max-width: 11rem;
  padding: 0.9rem 0.85rem;
  border: 1.5px dashed rgba(12, 26, 28, 0.28);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  transition: border-color 280ms ease, background 280ms ease, box-shadow 280ms ease;
  z-index: 4;
}

.story-mail.is-lit {
  border-style: solid;
  border-color: var(--accent);
  background: rgba(201, 232, 106, 0.2);
  box-shadow: 0 0 0 6px rgba(201, 232, 106, 0.1);
}

.story-mail-hint {
  display: block;
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0.2rem 0 0.55rem;
}

.story-slots {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.3rem;
}

.story-slot {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.25rem 0.4rem;
  border-radius: 2px;
  background: rgba(12, 26, 28, 0.06);
  color: var(--ink-soft);
  text-align: center;
}

.story-slot.is-sealed {
  background: var(--ink);
  color: var(--accent-2);
}

.story-slot.is-open {
  background: rgba(31, 107, 82, 0.18);
  color: var(--accent);
}

.story-link {
  fill: none;
  stroke: rgba(31, 107, 82, 0.55);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-dasharray: 5 7;
  opacity: 0.85;
  animation: story-dash 1.1s linear infinite;
}

.story-link.form-a {
  stroke: rgba(31, 107, 82, 0.65);
}

.story-link.form-b {
  stroke: rgba(20, 90, 120, 0.65);
}

.story-link.msg {
  stroke: rgba(12, 26, 28, 0.35);
  stroke-width: 1.75;
  stroke-dasharray: 3 5;
  animation: none;
  opacity: 0.55;
}

.story-link.msg.seal,
.story-link.msg.handoff {
  stroke: rgba(31, 107, 82, 0.55);
}

.story-link.msg.form,
.story-link.msg.open {
  stroke: rgba(150, 120, 40, 0.55);
}

.story-ring {
  fill: none;
  stroke: rgba(31, 107, 82, 0.28);
  stroke-width: 1.5;
  stroke-dasharray: 4 8;
  animation: story-dash 2.4s linear infinite;
}

.story-ring.form-b {
  stroke: rgba(20, 90, 120, 0.3);
}

.story-packet {
  position: absolute;
  width: 14px;
  height: 14px;
  margin-left: -7px;
  margin-top: -7px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 0 14px rgba(31, 107, 82, 0.45);
  z-index: 5;
  pointer-events: none;
}

.story-packet.form,
.story-packet.open {
  background: #c4a035;
  box-shadow: 0 0 14px rgba(196, 160, 53, 0.45);
}

.story-packet.seal,
.story-packet.handoff {
  background: var(--accent);
}

.story-kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
}

.story-title {
  margin: 0.25rem 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.02em;
}

.story-narration {
  margin: 0.55rem 0 0;
  max-width: 40rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

@keyframes story-dash {
  to {
    stroke-dashoffset: -28;
  }
}

@media (max-width: 860px) {
  .top__nav {
    display: none;
  }

  .top__menu {
    display: block;
  }

  .top__cta {
    flex-shrink: 0;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    display: flex;
    flex-direction: column;
  }

  .hero__plane {
    position: relative;
    inset: auto;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(160deg, #0c1f24 0%, #14353c 55%, #1a4a3a 100%);
  }

  .hero__map--desktop {
    display: none;
  }

  .hero__map--mobile {
    display: block;
    width: min(100%, 26rem);
    max-width: 100%;
    height: auto;
    min-height: 0;
    margin: 0 auto;
    flex: 0 1 auto;
  }

  /* Do not override SVG text with CSS px — that mis-scales on phones. */
  .hero__map--desktop .hero__node text {
    font-size: 22px;
  }

  .hero__map--desktop .hero__node-sub {
    font-size: 14px !important;
  }

  .hero__copy {
    padding: 1.5rem 1.1rem 2.5rem;
    padding-left: max(1.1rem, env(safe-area-inset-left));
    padding-right: max(1.1rem, env(safe-area-inset-right));
  }

  .hero__brand {
    font-size: clamp(2.6rem, 14vw, 3.6rem);
  }

  .hero__title {
    max-width: none;
    font-size: clamp(1.35rem, 6.2vw, 1.85rem);
  }

  .hero__lede {
    font-size: 1rem;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .band {
    padding: 3rem 1.1rem;
    padding-left: max(1.1rem, env(safe-area-inset-left));
    padding-right: max(1.1rem, env(safe-area-inset-right));
  }

  .band__lede,
  .story-narration,
  .note,
  .callout {
    max-width: none;
  }

  .interest__grid,
  .interest__grid--simple {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .interest input,
  .interest textarea {
    font-size: 16px; /* avoid iOS focus zoom */
  }

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

  .interest__actions .btn {
    width: 100%;
  }

  /* Keep the story animation horizontal so packets/rings stay in view. */
  .story-diagram {
    min-height: 0;
    overflow: visible;
  }

  .story-cast {
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 5.75rem) minmax(0, 1fr);
    gap: 0.35rem 0.45rem;
    align-items: center;
    min-height: 0;
    justify-items: center;
  }

  .story-tribe {
    gap: 0.4rem;
    min-width: 0;
  }

  .story-tribe-label,
  .story-mail-title {
    font-size: 0.68rem;
    letter-spacing: 0.03em;
  }

  .story-orbit {
    --orbit-r: 38px;
  }

  .story-person {
    width: 2rem;
    height: 2rem;
    margin: -1rem 0 0 -1rem;
    font-size: 0.65rem;
  }

  .story-mail {
    max-width: none;
    width: 100%;
    padding: 0.55rem 0.4rem;
  }

  .story-mail-hint {
    font-size: 0.62rem;
    margin: 0.15rem 0 0.35rem;
  }

  .story-slot {
    font-size: 0.62rem;
    padding: 0.18rem 0.25rem;
  }

  .story-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .story-toolbar .btn {
    width: auto;
    flex: 1 1 auto;
    min-height: 2.4rem;
    padding: 0.45rem 0.65rem;
    font-size: 0.85rem;
  }

  .story-rail {
    justify-content: center;
  }

  .place {
    min-width: 36rem;
  }

  .code {
    font-size: 0.8rem;
    padding: 0.85rem;
  }

  .foot {
    padding-left: max(1.25rem, env(safe-area-inset-left));
    padding-right: max(1.25rem, env(safe-area-inset-right));
    padding-bottom: max(3rem, env(safe-area-inset-bottom));
  }
}

@media (max-width: 860px) and (orientation: landscape) {
  .hero__map--mobile {
    display: none;
  }

  .hero__map--desktop {
    display: block;
    width: 100%;
    height: auto;
    max-height: min(52vh, 22rem);
    min-height: 0;
    margin: 0 auto;
    object-fit: contain;
    object-position: center center;
  }

  .hero__plane {
    min-height: 0;
  }
}

@media (max-width: 480px) {
  .top__inner {
    gap: 0.65rem;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .top__brand {
    font-size: 1.2rem;
  }

  .top__cta {
    font-size: 0.8rem;
    padding: 0.4rem 0.65rem;
  }

  .story-orbit {
    --orbit-r: 32px;
  }

  .story-orbit::before {
    inset: 10%;
  }

  .story-person {
    width: 1.75rem;
    height: 1.75rem;
    margin: -0.875rem 0 0 -0.875rem;
    font-size: 0.58rem;
  }

  .story-cast {
    grid-template-columns: minmax(0, 1fr) minmax(3.75rem, 4.75rem) minmax(0, 1fr);
    gap: 0.25rem 0.3rem;
  }

  .faq summary {
    font-size: 1rem;
    padding-right: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-person,
  .story-mail,
  .story-orbit::before {
    transition: none;
  }

  .story-link,
  .story-ring {
    animation: none;
  }

  .story-packet {
    display: none;
  }
}

.foot {
  padding: 2.5rem 1.25rem 3rem;
  border-top: 1px solid var(--line);
  background: #0f2226;
  color: #d7e5df;
}

.foot a {
  color: var(--accent-2);
}

.foot__inner {
  max-width: var(--max);
  margin: 0 auto;
}

.foot p {
  margin: 0;
  max-width: 42rem;
}

.foot__small {
  margin-top: 0.75rem !important;
  opacity: 0.7;
  font-size: 0.88rem;
}

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

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

@keyframes beam {
  from {
    stroke-dasharray: 18 14;
    stroke-dashoffset: 0;
  }
  to {
    stroke-dasharray: 18 14;
    stroke-dashoffset: -40;
  }
}

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

  .hero__beam,
  .hero__node--a,
  .hero__node--saas,
  .hero__node--b,
  .hero__copy,
  .btn {
    animation: none !important;
    transition: none !important;
  }
}
