:root {
  --ink: #11120f;
  --ink-soft: #171914;
  --paper: #f4f0e6;
  --paper-muted: #c6c0b2;
  --paper-faint: #8f8c81;
  --brass: #b7ae8f;
  --brass-bright: #cec6a5;
  --brass-text: #b7ae8f;
  --brass-ink: #211c0c;
  --green: #a5d783;
  --line: rgba(244, 240, 230, 0.15);
  --line-soft: rgba(244, 240, 230, 0.09);
  --page: min(1184px, calc(100% - 3rem));
  --header-height: 77px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --display: "Fraunces", Iowan Old Style, Palatino, Georgia, serif;
  --ui: "Figtree", Avenir Next, Arial, sans-serif;
  --mono: "DM Mono", SFMono-Regular, Consolas, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  isolation: isolate;
  background: var(--ink);
  scroll-behavior: smooth;
}
body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(900px 610px at 84% 3%, rgba(183, 174, 143, 0.08), transparent 70%),
    radial-gradient(700px 460px at 4% 30%, rgba(183, 174, 143, 0.035), transparent 73%), var(--ink);
  color: var(--paper);
  font-family: var(--ui);
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible {
  outline: 2px solid var(--brass-bright);
  outline-offset: 4px;
}
.container {
  width: var(--page);
  margin: 0 auto;
}

.page-noise {
  position: fixed;
  z-index: 10;
  inset: 0;
  pointer-events: none;
  opacity: 0.15;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
}
.skip-link {
  position: fixed;
  z-index: 20;
  top: -4rem;
  left: 1rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.4rem;
  background: var(--brass);
  color: var(--brass-ink);
  font-weight: 700;
}
.skip-link:focus {
  top: 1rem;
}

.site-header {
  position: sticky;
  z-index: 8;
  top: 0;
  padding-top: var(--safe-top);
  border-bottom: 1px solid rgba(244, 240, 230, 0.08);
  background: rgba(17, 18, 15, 0.74);
  backdrop-filter: blur(18px);
  transition:
    background-color 560ms var(--ease),
    border-color 560ms var(--ease),
    color 560ms var(--ease);
}
.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  min-height: 76px;
  align-items: center;
}
.brand {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 560;
  letter-spacing: -0.045em;
}
.brand-mark {
  display: block;
  flex-shrink: 0;
  width: 1.05rem;
  height: 1.05rem;
  background: var(--paper);
  -webkit-mask: url("./assets/onexit-mark.svg") center / contain no-repeat;
  mask: url("./assets/onexit-mark.svg") center / contain no-repeat;
}
.brand-mark-tiny {
  width: 0.58rem;
  height: 0.58rem;
}
.site-nav {
  display: flex;
  gap: 1.75rem;
  color: var(--paper-muted);
  font-size: 0.86rem;
  font-weight: 500;
}
.site-nav a,
.footer-links a {
  transition: color 160ms var(--ease);
}
.site-nav a:hover,
.footer-links a:hover {
  color: var(--paper);
}
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.62rem 0.85rem 0.62rem 0.95rem;
  border: 1px solid rgba(183, 174, 143, 0.8);
  border-radius: 999px;
  color: var(--brass-bright);
  font-size: 0.82rem;
  font-weight: 650;
  transition:
    color 180ms var(--ease),
    background 180ms var(--ease),
    border-color 180ms var(--ease);
}
.header-cta:hover {
  border-color: var(--brass);
  background: var(--brass);
  color: var(--brass-ink);
}
.header-actions {
  display: inline-flex;
  justify-self: end;
  gap: 0.6rem;
  align-items: center;
}

.journey {
  --journey-progress: 0;
  --chapter-intent: 1;
  --chapter-relay: 0;
  --chapter-arrival: 0;
  --chapter-local: 0;
  position: relative;
  height: 440svh;
  background: #080906;
  transition: background-color 560ms var(--ease);
}
.journey-sticky {
  position: sticky;
  top: var(--header-height);
  height: calc(100svh - var(--header-height));
  min-height: 0;
  overflow: hidden;
}
.journey-world {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #080906;
  transition: background-color 560ms var(--ease);
}
.world-plate {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  will-change: opacity;
}
.world-night,
.world-day {
  transition: opacity 560ms var(--ease);
}
.world-day {
  opacity: 0;
  pointer-events: none;
}
html[data-theme="light"] .world-night {
  opacity: 0;
  pointer-events: none;
}
html[data-theme="light"] .world-day {
  opacity: 1;
}
.world-intent {
  opacity: var(--chapter-intent);
}
.world-signal {
  opacity: var(--chapter-relay);
}
.world-arrival {
  opacity: var(--chapter-arrival);
}
.world-local {
  opacity: var(--chapter-local);
}
.world-vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 9, 6, 0.78) 0%, rgba(8, 9, 6, 0.18) 50%, rgba(8, 9, 6, 0.2) 100%),
    linear-gradient(
      180deg,
      rgba(8, 9, 6, 0.2),
      transparent 24%,
      transparent 70%,
      rgba(8, 9, 6, 0.7)
    );
}
.journey-interface {
  position: relative;
  z-index: 2;
  height: 100%;
}
.journey-brandline {
  position: absolute;
  top: clamp(6.5rem, 12vh, 9rem);
  right: 0;
  display: flex;
  width: min(24rem, 36vw);
  align-items: center;
  gap: 0.9rem;
  color: rgba(244, 240, 230, 0.66);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}
.journey-progress {
  height: 1px;
  flex: 1;
  overflow: hidden;
  background: rgba(244, 240, 230, 0.18);
}
.journey-progress i {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--brass);
  transform: scaleX(var(--journey-progress));
  transform-origin: left;
}
.journey-chapters {
  position: absolute;
  inset: 0;
}
.journey-chapter {
  position: absolute;
  top: 50%;
  left: 0;
  width: min(39rem, 58vw);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-43%);
  will-change: opacity;
}
.journey-chapter h1,
.journey-chapter h2 {
  max-width: 9ch;
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-size: clamp(3.75rem, 6.2vw, 7.25rem);
  font-weight: 450;
  letter-spacing: -0.068em;
  line-height: 0.91;
}
.journey-chapter h2 {
  max-width: 10ch;
  font-size: clamp(3.25rem, 5.4vw, 6.3rem);
}
.chapter-intent {
  opacity: var(--chapter-intent);
  pointer-events: auto;
}
.chapter-relay {
  opacity: var(--chapter-relay);
}
.chapter-arrival {
  right: 0;
  left: auto;
  text-align: right;
  opacity: var(--chapter-arrival);
}
.chapter-arrival h2 {
  max-width: none;
}
.chapter-local {
  right: 0;
  left: auto;
  text-align: right;
  opacity: var(--chapter-local);
}
.chapter-local h2 {
  max-width: none;
}
.journey-actions {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  margin-top: 2rem;
}
.agent-whisper {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.85rem;
  width: min(29rem, 100%);
  align-items: center;
  margin-top: 2rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(183, 174, 143, 0.34);
  border-radius: 0.55rem;
  background: rgba(10, 11, 8, 0.76);
  backdrop-filter: blur(14px);
  font-size: 0.76rem;
}
.agent-whisper span,
.agent-whisper i {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.55rem;
  font-style: normal;
  letter-spacing: 0.07em;
}
.agent-whisper strong {
  color: var(--paper);
  font-weight: 500;
}
.arrival-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 1.8rem;
  padding: 0.65rem 0.8rem;
  border: 1px solid rgba(165, 215, 131, 0.32);
  border-radius: 999px;
  background: rgba(8, 9, 6, 0.66);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
}
.arrival-status i,
.local-clock span i {
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(165, 215, 131, 0.12);
}
.local-clock {
  display: inline-flex;
  align-items: end;
  gap: 1rem;
  margin-top: 1.45rem;
}
.local-clock time {
  font-family: var(--display);
  font-size: clamp(3.5rem, 7vw, 6.4rem);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.07em;
  line-height: 0.8;
}
.local-clock span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.07em;
}
.product-section {
  border-bottom: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(244, 240, 230, 0.025), transparent 65%);
}
.product-heading {
  max-width: 42rem;
}
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: clamp(2.6rem, 5vw, 4.4rem);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: var(--line);
}
.product-card {
  display: flex;
  min-height: 20rem;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--ink);
}
.product-card-featured {
  background:
    radial-gradient(110% 90% at 20% 0%, rgba(183, 174, 143, 0.13), transparent 66%), var(--ink-soft);
}
.product-kicker,
.product-detail,
.about-card-label,
.about-card-foot {
  margin: 0;
  color: var(--brass-text);
  font-family: var(--mono);
  font-size: 0.63rem;
  letter-spacing: 0.09em;
}
.product-card h3 {
  max-width: 10ch;
  margin: 1.1rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.4vw, 2.1rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.05;
}
.product-card > p:not(.product-kicker) {
  margin: 1.05rem 0 0;
  color: var(--paper-muted);
  font-size: 0.91rem;
  line-height: 1.68;
}
.product-card .text-link,
.product-detail {
  margin-top: auto;
  padding-top: 2rem;
}
.product-detail {
  color: var(--paper-faint);
}
.plan-intro {
  max-width: 42rem;
  margin: 1rem 0 0;
  color: var(--paper-muted);
  font-size: 0.98rem;
  line-height: 1.65;
}
.plan-public-grid .product-card h3 {
  max-width: 14ch;
  min-height: 2.1em;
  margin-top: 1.35rem;
}
.plan-public-grid .product-card [data-plan-blurb] {
  min-height: 3.36em;
}
.plan-public-grid .text-link {
  margin-top: auto;
  padding-top: 1.2rem;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  margin: 1.4rem 0 0;
  color: var(--brass-text);
  font-family: var(--mono);
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}
.plan-price span {
  color: var(--paper);
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 560;
  letter-spacing: -0.03em;
}
.plan-price small {
  color: var(--paper-faint);
  font-size: 0.67rem;
}
.plan-allowance {
  margin: 1.05rem 0 0;
  padding-top: 0.8rem;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.plan-allowance-label {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.plan-allowance strong {
  color: var(--paper);
  font-size: 0.88rem;
  font-variant-numeric: tabular-nums;
  font-weight: 550;
}
.plan-scale-note {
  max-width: 42rem;
  margin: 1.6rem 0 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}
.product-card .product-visual {
  min-height: 8.5rem;
  margin-top: 1.35rem;
  width: 100%;
}
.ways-grid .product-card {
  min-height: 0;
}
.ways-grid .product-card h3 {
  max-width: 12ch;
  margin-top: 1.35rem;
}
.plan-scale-note a {
  color: var(--brass);
}

.about-section {
  border-top: 1px solid var(--line-soft);
  background:
    radial-gradient(60% 90% at 94% 46%, rgba(183, 174, 143, 0.09), transparent 72%), var(--ink-soft);
}
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 0.7fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}
.about-copy h2 {
  max-width: 9ch;
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.65rem, 4.8vw, 4.8rem);
  font-weight: 520;
  letter-spacing: -0.045em;
  line-height: 0.98;
}
.about-copy > p:not(.section-label) {
  max-width: 39rem;
  margin: 1.45rem 0 0;
  color: var(--paper-muted);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.7;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.35rem;
  margin-top: 2rem;
}
.about-card {
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid rgba(183, 174, 143, 0.35);
  border-radius: 0.9rem;
  background: rgba(8, 9, 6, 0.48);
  box-shadow: inset 0 1px rgba(244, 240, 230, 0.04);
}
.about-card-lede {
  max-width: 13ch;
  margin: 2.5rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 520;
  letter-spacing: -0.04em;
  line-height: 1.05;
}
.about-card dl {
  display: grid;
  gap: 0;
  margin: 2.6rem 0 0;
}
.about-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.82rem 0;
  border-top: 1px solid var(--line-soft);
}
.about-card dt {
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.about-card dd {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.84rem;
}
.about-card-foot {
  margin-top: 1.7rem;
  color: var(--green);
}

.hero {
  padding: clamp(4.25rem, 8vw, 7.4rem) 0 clamp(4.8rem, 8vw, 7.6rem);
}
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(430px, 1.07fr);
  gap: clamp(3rem, 6vw, 7rem);
  align-items: center;
}
.eyebrow,
.section-label {
  margin: 0;
  color: var(--brass-text);
  font-family: var(--mono);
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  max-width: 33rem;
  align-items: center;
  gap: 0.6rem;
}
.eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: none;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(183, 174, 143, 0.14);
}
.hero h1,
.section-heading h2,
.reliability-copy h2,
.setup-card h2,
.get-layout h2,
.faq-layout h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 450;
  letter-spacing: -0.065em;
  line-height: 0.98;
}
.hero h1 {
  max-width: 8.8ch;
  margin-top: 1.2rem;
  font-size: clamp(3.3rem, 5.15vw, 5.65rem);
}
.hero-lede {
  max-width: 34rem;
  margin: 1.55rem 0 0;
  color: var(--paper-muted);
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.63;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem;
  margin-top: 2.15rem;
}
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.75rem 1rem 0.75rem 1.2rem;
  border-radius: 0.5rem;
  font-size: 0.92rem;
  font-weight: 700;
  transition:
    background 180ms var(--ease),
    color 180ms var(--ease),
    box-shadow 180ms var(--ease);
}
.button-brass {
  background: var(--brass);
  color: var(--brass-ink);
  box-shadow: inset 0 0 0 1px rgba(32, 27, 8, 0.16);
}
.button-brass:hover {
  background: var(--brass-bright);
  box-shadow: 0 0.65rem 1.4rem rgba(183, 174, 143, 0.16);
}
.button-light {
  background: var(--paper);
  color: var(--ink);
}
.button-light:hover {
  background: var(--brass-bright);
}
.text-link {
  color: var(--paper-muted);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 180ms var(--ease);
}
.text-link:hover {
  color: var(--paper);
}
.hero-notes {
  display: grid;
  gap: 0.55rem;
  margin: 2.8rem 0 0;
  padding: 1.05rem 0 0;
  border-top: 1px solid var(--line);
  color: var(--paper-faint);
  font-size: 0.78rem;
  list-style: none;
}
.hero-notes li {
  display: flex;
  gap: 0.85rem;
  align-items: baseline;
}
.hero-notes span {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.hero-visual {
  position: relative;
  padding-top: clamp(10rem, 23vw, 17rem);
}
.hero-art {
  position: absolute;
  inset: 0 0 auto;
  height: clamp(19rem, 31vw, 25rem);
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(183, 174, 143, 0.2);
  border-radius: 1rem;
  background: #080906;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
}
.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 48%, rgba(17, 18, 15, 0.92) 94%);
  content: "";
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 54% center;
  filter: saturate(0.88) contrast(1.04);
}
.relay-stage {
  position: relative;
  isolation: isolate;
  min-height: 442px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(135deg, rgba(40, 42, 34, 0.9), rgba(22, 23, 19, 0.94));
  box-shadow:
    0 2rem 5rem rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}
.relay-stage::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.48;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 92%);
}
.stage-topline,
.stage-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.95rem 1.1rem;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}
.stage-topline {
  border-bottom: 1px solid var(--line-soft);
}
.stage-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--green);
}
.stage-status i,
.footer-ping {
  display: inline-block;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(165, 215, 131, 0.12);
}
.relay-grid {
  display: grid;
  grid-template-columns: 1fr 4.7rem minmax(160px, 0.78fr);
  min-height: 347px;
  align-items: center;
  padding: 1.6rem;
}
.agent-card {
  align-self: center;
  overflow: hidden;
  border: 1px solid rgba(244, 240, 230, 0.14);
  border-radius: 0.72rem;
  background: rgba(17, 18, 15, 0.76);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.17);
}
.card-topline {
  display: flex;
  min-height: 2.65rem;
  align-items: center;
  gap: 0.48rem;
  padding: 0.6rem 0.65rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
}
.glyph {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 0.28rem;
  font-size: 0.68rem;
}
.glyph-agent {
  background: rgba(183, 174, 143, 0.17);
  color: var(--brass);
}
.micro-live {
  margin-left: auto;
  color: var(--green);
  font-size: 0.53rem;
}
.agent-prompt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  padding: 1rem 0.85rem;
  color: var(--paper);
  font-size: 0.86rem;
  line-height: 1.45;
}
.agent-prompt p,
.agent-result p {
  margin: 0;
}
.prompt-caret {
  color: var(--brass);
  font-family: var(--mono);
}
.agent-result {
  display: flex;
  gap: 0.48rem;
  margin: 0 0.6rem 0.65rem;
  padding: 0.65rem;
  border: 1px solid rgba(165, 215, 131, 0.23);
  border-radius: 0.42rem;
  background: rgba(165, 215, 131, 0.08);
  color: var(--paper-muted);
  font-size: 0.72rem;
  line-height: 1.45;
}
.agent-result strong {
  color: var(--paper);
  font-weight: 600;
}
.result-check {
  color: var(--green);
  font-weight: 700;
}
.relay-path {
  position: relative;
  min-height: 8rem;
  align-self: center;
}
.relay-caption {
  position: absolute;
  top: -1.1rem;
  left: 50%;
  width: max-content;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.04em;
  transform: translateX(-50%);
}
.relay-line {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: rgba(183, 174, 143, 0.25);
}
.relay-line i {
  position: absolute;
  top: -0.06rem;
  width: 1.5rem;
  height: 0.18rem;
  border-radius: 999px;
  background: var(--brass-bright);
  box-shadow: 0 0 0.9rem var(--brass);
  animation: signal 2.7s var(--ease) infinite;
}
.relay-node {
  position: absolute;
  top: calc(50% - 0.35rem);
  width: 0.7rem;
  height: 0.7rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--ink);
}
.node-a {
  left: -0.33rem;
}
.node-b {
  right: -0.33rem;
}
@keyframes signal {
  from {
    left: -1.6rem;
  }
  55%,
  to {
    left: calc(100% + 0.5rem);
  }
}
.phone-wrap {
  position: relative;
  display: grid;
  justify-items: center;
  align-self: end;
  padding-top: 0.45rem;
}
.phone-glow {
  position: absolute;
  z-index: -1;
  top: 2rem;
  width: 11rem;
  height: 11rem;
  border-radius: 50%;
  background: rgba(183, 174, 143, 0.23);
  filter: blur(35px);
}
.phone-shell {
  width: min(14.3rem, 100%);
  padding: 0.43rem;
  border: 1px solid rgba(244, 240, 230, 0.3);
  border-radius: 1.6rem;
  background: #070805;
  box-shadow:
    0 1.35rem 2rem rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px #30332a;
}
.phone-speaker {
  position: absolute;
  z-index: 1;
  top: 0.85rem;
  left: 50%;
  width: 3.8rem;
  height: 0.7rem;
  border-radius: 999px;
  background: #070805;
  transform: translateX(-50%);
}
.phone-screen {
  min-height: 19.1rem;
  padding: 0.85rem 0.8rem;
  overflow: hidden;
  border-radius: 1.25rem;
  background: radial-gradient(120% 70% at 50% 110%, #5a4d1b 0%, #282a20 41%, #161814 77%);
}
.phone-status,
.phone-brand,
.phone-alarm {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
}
.phone-status {
  padding: 0 0.15rem;
  color: var(--paper);
  font-size: 0.5rem;
}
.phone-icons {
  color: var(--paper-muted);
  letter-spacing: 0.1em;
}
.phone-brand {
  justify-content: center;
  gap: 0.26rem;
  margin-top: 1.55rem;
  color: var(--paper-muted);
  font-size: 0.64rem;
}
.phone-message {
  margin-top: 5.2rem;
}
.phone-kicker {
  margin: 0;
  color: var(--brass-bright);
  font-family: var(--mono);
  font-size: 0.47rem;
  letter-spacing: 0.1em;
}
.phone-title {
  margin: 0.55rem 0 0;
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: -0.045em;
  line-height: 1;
}
.phone-subtitle {
  margin: 0.55rem 0 0;
  color: var(--paper-muted);
  font-size: 0.66rem;
  line-height: 1.45;
}
.phone-alarm {
  gap: 0.45rem;
  margin-top: 1.3rem;
  padding: 0.5rem 0.55rem;
  border: 1px solid rgba(165, 215, 131, 0.32);
  border-radius: 0.34rem;
  background: rgba(17, 34, 14, 0.52);
  color: var(--green);
  font-size: 0.44rem;
  letter-spacing: 0.07em;
}
.alarm-light {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0.6rem var(--green);
}
.phone-label {
  display: flex;
  align-items: center;
  gap: 0.37rem;
  margin: 1rem 0 0;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.07em;
}
.phone-label span {
  width: 0.3rem;
  height: 0.3rem;
  border-radius: 50%;
  background: var(--green);
}
.stage-footer {
  border-top: 1px solid var(--line-soft);
}
.stage-footer > span {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  color: var(--paper-muted);
}
.stage-footer time {
  color: var(--paper-faint);
}

.proof-strip {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(244, 240, 230, 0.025);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr auto;
  gap: 1rem;
  min-height: 5.25rem;
  align-items: center;
  color: var(--paper-muted);
  font-size: 0.83rem;
}
.proof-grid p {
  margin: 0;
}
.proof-grid p:first-child {
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.07em;
}
.proof-grid p:nth-child(3) {
  color: var(--brass-bright);
}
.proof-mark {
  color: var(--brass);
  font-size: 1.1rem;
}

.section {
  padding: clamp(5.5rem, 10vw, 9.5rem) 0;
}
.section-heading {
  max-width: 49rem;
}
.section-heading h2,
.reliability-copy h2,
.setup-card h2,
.get-layout h2,
.faq-layout h2 {
  margin-top: 1rem;
  font-size: clamp(2.5rem, 4vw, 4.25rem);
}
.section-heading > p:not(.section-label),
.get-layout > div > p:not(.section-label) {
  max-width: 40rem;
  margin: 1.25rem 0 0;
  color: var(--paper-muted);
  font-size: 1.05rem;
  line-height: 1.62;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 3.5rem 0 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}
.step-card {
  min-height: 23rem;
  padding: 1.45rem;
  background: var(--ink);
}
.step-count {
  color: var(--brass-text);
  font-family: var(--mono);
  font-size: 0.65rem;
}
.step-icon {
  position: relative;
  display: grid;
  width: 4.3rem;
  height: 4.3rem;
  place-items: center;
  margin-top: 4.1rem;
  border: 1px solid rgba(183, 174, 143, 0.32);
  border-radius: 50%;
  color: var(--brass);
}
.step-icon::after {
  position: absolute;
  width: 5.3rem;
  height: 5.3rem;
  border: 1px solid rgba(183, 174, 143, 0.1);
  border-radius: 50%;
  content: "";
}
.icon-phone span {
  width: 1.3rem;
  height: 2.15rem;
  border: 1px solid currentColor;
  border-radius: 0.28rem;
}
.icon-phone span::after {
  display: block;
  width: 0.23rem;
  height: 0.23rem;
  margin: 1.7rem auto 0;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.icon-key span {
  position: relative;
  width: 1.8rem;
  height: 0.7rem;
  border: 1px solid currentColor;
  border-radius: 0.75rem;
}
.icon-key span::before {
  position: absolute;
  top: -0.12rem;
  left: -0.35rem;
  width: 0.75rem;
  height: 0.75rem;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}
.icon-key span::after {
  position: absolute;
  top: 0.6rem;
  right: 0.27rem;
  width: 0.15rem;
  height: 0.42rem;
  background: currentColor;
  box-shadow: 0.38rem 0 0 currentColor;
  content: "";
}
.icon-bell span {
  position: relative;
  width: 1.55rem;
  height: 1.45rem;
  border: 1px solid currentColor;
  border-radius: 0.8rem 0.8rem 0.3rem 0.3rem;
}
.icon-bell span::before {
  position: absolute;
  bottom: -0.52rem;
  left: calc(50% - 0.17rem);
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}
.icon-bell span::after {
  position: absolute;
  bottom: -0.17rem;
  left: -0.23rem;
  width: 2rem;
  height: 0.11rem;
  background: currentColor;
  content: "";
}
.step-card h3 {
  margin: 4.1rem 0 0;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 450;
  letter-spacing: -0.04em;
}
.step-card p {
  max-width: 19rem;
  margin: 0.85rem 0 0;
  color: var(--paper-muted);
  font-size: 0.91rem;
  line-height: 1.62;
}

.reliability-section {
  border-top: 1px solid var(--line-soft);
  background: rgba(244, 240, 230, 0.022);
}
.reliability-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.93fr) minmax(350px, 0.8fr);
  gap: clamp(3rem, 8vw, 10rem);
  align-items: center;
}
.reliability-copy > p:not(.section-label) {
  max-width: 35rem;
  margin: 1.35rem 0 0;
  color: var(--paper-muted);
  font-size: 1.04rem;
  line-height: 1.64;
}
.check-list {
  display: grid;
  gap: 1rem;
  margin: 2.1rem 0 0;
  padding: 0;
  list-style: none;
}
.check-list li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.75rem;
  max-width: 33rem;
  color: var(--paper-muted);
  font-size: 0.88rem;
  line-height: 1.52;
}
.check-list li > span:first-child {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(165, 215, 131, 0.12);
  color: var(--green);
  font-size: 0.7rem;
}
.offline-card {
  overflow: hidden;
  border: 1px solid rgba(183, 174, 143, 0.33);
  border-radius: 0.95rem;
  background:
    radial-gradient(135% 100% at 50% 100%, rgba(130, 106, 32, 0.3), transparent 58%), #1a1c16;
  box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.2);
}
.offline-header,
.offline-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.07em;
}
.offline-mode {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--paper-muted);
}
.offline-mode i {
  position: relative;
  width: 0.65rem;
  height: 0.5rem;
  border-bottom: 1px solid var(--paper-faint);
  transform: skewX(-35deg);
}
.offline-mode i::before {
  position: absolute;
  top: -0.1rem;
  left: 0.27rem;
  width: 0.1rem;
  height: 0.75rem;
  background: #1a1c16;
  content: "";
}
.offline-time {
  padding: 2.35rem 1.1rem 0;
  color: var(--paper);
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 7.2rem);
  font-weight: 450;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.08em;
  line-height: 0.9;
}
.offline-content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: 1.75rem 1.1rem;
}
.offline-label {
  margin: 0;
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.08em;
}
.offline-title {
  margin: 0.5rem 0 0;
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: -0.04em;
}
.offline-ready {
  display: flex;
  gap: 0.36rem;
  align-items: center;
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.54rem;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.offline-ready span {
  display: grid;
  width: 0.95rem;
  height: 0.95rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(165, 215, 131, 0.14);
}
.offline-timeline {
  display: flex;
  align-items: center;
  padding: 0 1.1rem;
}
.timeline-dot {
  width: 0.55rem;
  height: 0.55rem;
  flex: none;
  border: 1px solid var(--paper-faint);
  border-radius: 50%;
}
.timeline-dot.done {
  border-color: var(--green);
  background: var(--green);
}
.timeline-dot.active {
  border-color: var(--brass);
  background: var(--brass);
  box-shadow: 0 0 0 4px rgba(183, 174, 143, 0.13);
}
.timeline-line {
  height: 1px;
  flex: 1;
  background: var(--line);
}
.timeline-line.done {
  background: var(--green);
}
.offline-footer {
  margin-top: 1.45rem;
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
  font-size: 0.54rem;
}

.setup-section {
  padding-top: 0;
}
.setup-card {
  display: grid;
  grid-template-columns: 1fr minmax(270px, 0.72fr);
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.2rem);
  border: 1px solid rgba(183, 174, 143, 0.4);
  border-radius: 1rem;
  background: linear-gradient(
    112deg,
    rgba(183, 174, 143, 0.15),
    rgba(183, 174, 143, 0.025) 56%,
    rgba(255, 255, 255, 0.02)
  );
}
.setup-card h2 {
  max-width: 10ch;
}
.setup-copy {
  align-self: end;
}
.setup-copy p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 1rem;
  line-height: 1.65;
}
.setup-copy .button {
  margin-top: 1.75rem;
}
.get-section {
  padding-top: 0;
}
.get-layout {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 0.8fr);
  gap: 4rem;
  align-items: end;
  padding-top: clamp(5.5rem, 10vw, 9.5rem);
  border-top: 1px solid var(--line);
}
.get-layout h2 {
  max-width: 8ch;
}
.store-area {
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  background: var(--ink-soft);
}
.store-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}
.store-button {
  display: flex;
  min-height: 3.7rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.55rem;
  border: 1px solid rgba(244, 240, 230, 0.16);
  border-radius: 0.48rem;
  background: #090a08;
  color: var(--paper);
  transition:
    border-color 180ms var(--ease),
    background 180ms var(--ease);
}
.store-button:hover {
  border-color: rgba(244, 240, 230, 0.44);
  background: #161712;
}
.store-button svg {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}
.store-button > span {
  display: grid;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.15;
}
.store-button small {
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.43rem;
  letter-spacing: 0.055em;
}
.store-button[aria-disabled="true"] {
  cursor: default;
  opacity: 0.7;
}
.store-button-preview {
  grid-column: 1 / -1;
  border-color: rgba(183, 174, 143, 0.45);
}
.store-button-preview:hover {
  border-color: var(--brass);
  background: #161712;
}
.store-button-preview[hidden] {
  display: none;
}
.store-note {
  min-height: 1.35rem;
  margin: 0.75rem 0 0;
  color: var(--paper-faint);
  font-size: 0.72rem;
  line-height: 1.4;
}
.faq-section {
  padding-top: 0;
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.62fr) 1fr;
  gap: clamp(3rem, 8vw, 10rem);
  padding-top: clamp(5.5rem, 10vw, 9.5rem);
  border-top: 1px solid var(--line);
}
.faq-layout h2 {
  max-width: 7ch;
}
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  color: var(--paper);
  font-size: 1rem;
  font-weight: 600;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary span {
  position: relative;
  width: 1rem;
  height: 1rem;
  flex: none;
  margin-top: 0.18rem;
}
.faq-list summary span::before,
.faq-list summary span::after {
  position: absolute;
  top: 0.46rem;
  left: 0.1rem;
  width: 0.8rem;
  height: 1px;
  background: var(--brass);
  content: "";
}
.faq-list summary span::after {
  transform: rotate(90deg);
  transition: transform 180ms var(--ease);
}
.faq-list details[open] summary span::after {
  transform: rotate(0);
}
.faq-list details p {
  max-width: 43rem;
  margin: -0.25rem 2rem 1.35rem 0;
  color: var(--paper-muted);
  font-size: 0.9rem;
  line-height: 1.62;
}

.site-footer {
  margin-top: clamp(5.5rem, 10vw, 9.5rem);
  border-top: 1px solid var(--line);
}
.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.5rem 3rem;
  min-height: 9rem;
  align-items: center;
  padding: 2rem 0;
}
.footer-brand {
  font-size: 1.15rem;
}
.footer-inner > p {
  margin: 0;
  color: var(--paper-faint);
  font-size: 0.78rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 1.2rem;
  color: var(--paper-muted);
  font-size: 0.75rem;
}
.footer-meta {
  grid-column: 1 / -1;
  font-family: var(--mono);
  font-size: 0.6rem !important;
  letter-spacing: 0.05em;
}
[data-reveal] {
  opacity: 0;
  transition: opacity 600ms var(--ease);
}
.is-visible {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  html,
  body,
  .site-header,
  .journey,
  .journey-world,
  .world-night,
  .world-day {
    transition: none;
  }
  .journey {
    height: 100svh;
  }
  .world-intent {
    opacity: 1;
    transform: scale(1.03);
  }
  .world-signal,
  .world-arrival,
  .world-local {
    display: none;
  }
  .chapter-intent {
    opacity: 1;
  }
  .chapter-relay,
  .chapter-arrival,
  .chapter-local,
  .journey-brandline {
    display: none;
  }
  .relay-line i {
    left: 45%;
    animation: none;
  }
  [data-reveal] {
    opacity: 1;
    transition: none;
  }
  .destination-mark .mark-ring-outer,
  .destination-mark .mark-ring-mid,
  .destination-mark .mark-ring-core,
  .destination-ready i,
  .destination-status i {
    animation: none;
  }
}

@media (max-width: 640px) {
  .plan-public-grid .product-card h3,
  .plan-public-grid .product-card [data-plan-blurb] {
    min-height: 0;
  }
}
@media (max-width: 920px) {
  .header-inner {
    grid-template-columns: 1fr auto;
  }
  .site-nav {
    display: none;
  }
  .hero-layout,
  .reliability-grid,
  .get-layout,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    max-width: 45rem;
  }
  .hero-visual {
    width: min(100%, 38rem);
  }
  .relay-stage {
    width: 100%;
  }
  .reliability-grid {
    gap: 3.5rem;
  }
  .offline-card {
    width: min(100%, 35rem);
  }
  .get-layout {
    gap: 2rem;
  }
  .get-layout h2,
  .faq-layout h2 {
    max-width: none;
  }
  .faq-layout {
    gap: 2.5rem;
  }
  .footer-inner {
    grid-template-columns: auto 1fr;
  }
  .footer-links {
    justify-content: start;
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .footer-meta {
    grid-row: 3;
  }
}
@media (max-width: 640px) {
  :root {
    --page: min(1184px, calc(100% - 2 * max(1.15rem, var(--safe-left), var(--safe-right))));
  }
  .site-header {
    position: absolute;
    width: 100%;
    background: linear-gradient(to bottom, rgba(8, 9, 6, 0.88), transparent);
    backdrop-filter: none;
  }
  .header-inner {
    min-height: 64px;
  }
  .header-cta {
    padding: 0.53rem 0.75rem 0.53rem 0.85rem;
    font-size: 0.75rem;
  }
  .header-actions {
    gap: 0.35rem;
  }
  .brand {
    font-size: 1.2rem;
  }
  .journey {
    height: 420svh;
  }
  .journey-sticky {
    min-height: 0;
  }
  .world-plate {
    inset: -2%;
    width: 104%;
    height: 104%;
    object-position: center;
  }
  .world-intent,
  .world-signal {
    object-position: 45% center;
  }
  .world-arrival {
    object-position: 60% center;
  }
  .world-local {
    object-position: 58% center;
  }
  .world-vignette {
    background:
      linear-gradient(
        180deg,
        rgba(8, 9, 6, 0.22),
        rgba(8, 9, 6, 0.18) 46%,
        rgba(8, 9, 6, 0.82) 100%
      ),
      linear-gradient(90deg, rgba(8, 9, 6, 0.32), transparent 65%);
  }
  .journey-brandline {
    top: 5.3rem;
    width: 45%;
  }
  .journey-chapter,
  .chapter-arrival,
  .chapter-local {
    top: auto;
    right: auto;
    bottom: 6rem;
    left: 0;
    width: 100%;
    text-align: left;
    transform: none;
  }
  .journey-chapter h1,
  .journey-chapter h2 {
    max-width: 10ch;
    font-size: clamp(3.2rem, 14vw, 4.25rem);
    line-height: 0.92;
  }
  .journey-actions {
    flex-wrap: wrap;
    gap: 1rem;
  }
  .agent-whisper {
    grid-template-columns: auto 1fr;
  }
  .agent-whisper i {
    display: none;
  }
  .local-clock {
    align-items: center;
  }
  .local-clock time {
    font-size: 4.4rem;
  }
  .hero {
    padding-top: 3.4rem;
  }
  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }
  .hero-actions {
    gap: 1.1rem;
  }
  .hero-notes {
    margin-top: 2.2rem;
  }
  .hero-visual {
    padding-top: 11rem;
  }
  .hero-art {
    height: 16rem;
    border-radius: 0.75rem;
  }
  .hero-art img {
    object-position: 61% center;
  }
  .relay-stage {
    min-height: 0;
    border-radius: 0.75rem;
  }
  .relay-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    min-height: 0;
    padding: 1rem;
  }
  .agent-card {
    max-width: none;
  }
  .relay-path {
    min-height: 2.5rem;
    transform: rotate(90deg);
  }
  .relay-caption {
    transform: translateX(-50%) rotate(-90deg);
  }
  .phone-wrap {
    align-self: center;
    padding-top: 0;
  }
  .phone-shell {
    width: 13.3rem;
  }
  .phone-screen {
    min-height: 17.8rem;
  }
  .phone-message {
    margin-top: 4.2rem;
  }
  .proof-grid {
    grid-template-columns: 1fr auto;
    gap: 0.3rem 1rem;
    min-height: 0;
    padding: 1.15rem 0;
  }
  .proof-grid p:first-child {
    grid-column: 1 / -1;
    margin-bottom: 0.4rem;
  }
  .proof-grid p:nth-child(3) {
    grid-column: 1;
  }
  .proof-mark {
    grid-column: 2;
    grid-row: 2 / span 2;
  }
  .section-heading h2,
  .reliability-copy h2,
  .setup-card h2,
  .get-layout h2,
  .faq-layout h2 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
  }
  .steps-grid {
    grid-template-columns: 1fr;
    margin-top: 2.4rem;
  }
  .step-card {
    min-height: 0;
    padding: 1.25rem;
  }
  .step-icon {
    margin-top: 2.6rem;
  }
  .step-card h3 {
    margin-top: 2.8rem;
  }
  .reliability-grid {
    gap: 2.8rem;
  }
  .offline-time {
    font-size: clamp(4.75rem, 21vw, 6.5rem);
  }
  .offline-content {
    display: block;
  }
  .offline-ready {
    margin-top: 1rem;
  }
  .setup-card {
    grid-template-columns: 1fr;
    gap: 1.6rem;
    padding: 1.5rem;
  }
  .setup-card h2 {
    max-width: 12ch;
  }
  .store-buttons {
    grid-template-columns: 1fr;
  }
  .faq-list summary {
    font-size: 0.94rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .footer-links {
    grid-column: auto;
    grid-row: auto;
    justify-content: start;
  }
  .footer-meta {
    grid-row: auto;
  }
}

/* Generic product-led presentation */
:root {
  --ink: #f5f6f3;
  --ink-soft: #ffffff;
  --paper: #191c18;
  --paper-muted: #565d55;
  --paper-faint: #747b73;
  --brass: #6b7755;
  --brass-bright: #87906f;
  --brass-ink: #ffffff;
  --green: #527b4a;
  --line: rgba(25, 28, 24, 0.14);
  --line-soft: rgba(25, 28, 24, 0.08);
  --display: "Manrope", Arial, sans-serif;
  --ui: "Manrope", Arial, sans-serif;
  color-scheme: light;
}
body {
  background:
    radial-gradient(900px 620px at 80% 0%, rgba(117, 136, 183, 0.13), transparent 70%),
    radial-gradient(720px 480px at 8% 28%, rgba(135, 144, 111, 0.09), transparent 72%), var(--ink);
}
.page-noise {
  opacity: 0.035;
  mix-blend-mode: multiply;
}
.site-header {
  border-color: var(--line-soft);
  background: rgba(245, 246, 243, 0.8);
}
.site-nav {
  color: var(--paper-muted);
}
.site-nav a:hover,
.footer-links a:hover {
  color: var(--paper);
}
.header-cta {
  border-color: rgba(25, 28, 24, 0.28);
  color: var(--paper);
}
.header-cta:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: white;
}
.journey {
  height: 390svh;
  background: #f7f8f6;
}
.journey-sticky {
  background: #f7f8f6;
}
.journey-world {
  background: linear-gradient(180deg, #f8f9f7 0%, #f1f3f0 100%);
}
.ambient-grid {
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background-image: radial-gradient(circle, rgba(30, 35, 30, 0.17) 0.7px, transparent 0.8px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}
.ambient-orb {
  position: absolute;
  width: 44rem;
  height: 44rem;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
}
.ambient-orb-a {
  top: -22rem;
  left: -12rem;
  background: rgba(205, 181, 132, 0.24);
}
.ambient-orb-b {
  right: -18rem;
  bottom: -25rem;
  background: rgba(139, 154, 190, 0.22);
}
.journey-chapter,
.chapter-arrival,
.chapter-local {
  top: 14%;
  right: 0;
  left: 0;
  width: 100%;
  max-width: none;
  text-align: center;
  transform: none;
  filter: blur(var(--chapter-blur, 0));
}
.journey-chapter h1,
.journey-chapter h2 {
  max-width: 16ch;
  margin: 0.75rem auto 0;
  font-size: clamp(3.2rem, 5.1vw, 5.7rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.98;
}
.journey-chapter h2 {
  max-width: 18ch;
  font-size: clamp(2.85rem, 4.6vw, 5.15rem);
}
.journey-chapter .eyebrow,
.journey-chapter .section-label {
  justify-content: center;
  color: var(--brass);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
}
.journey-actions {
  justify-content: center;
  margin-top: 1.5rem;
}
.button {
  border-radius: 0.55rem;
}
.button-brass {
  background: var(--paper);
  color: white;
  box-shadow: 0 8px 24px rgba(25, 28, 24, 0.12);
}
.button-brass:hover {
  background: #30352f;
}
.text-link {
  color: var(--paper-muted);
}
.product-stage {
  position: absolute;
  right: 50%;
  bottom: 3.5%;
  display: grid;
  width: min(980px, calc(100% - 3rem));
  height: min(44vh, 360px);
  grid-template-columns: 1.25fr 0.55fr 0.62fr;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(26, 30, 25, 0.14);
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 24px 70px rgba(39, 45, 38, 0.13),
    inset 0 1px 0 white;
  transform: translateX(50%);
  backdrop-filter: blur(20px);
}
.agent-console {
  height: 100%;
  overflow: hidden;
  border-right: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}
.console-bar {
  display: flex;
  height: 42px;
  align-items: center;
  gap: 0.35rem;
  padding: 0 0.85rem;
  border-bottom: 1px solid var(--line-soft);
}
.console-bar > span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #c7cbc5;
}
.console-bar i {
  margin-left: auto;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.06em;
}
.session-list {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
}
.session {
  display: grid;
  grid-template-columns: 2rem 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem;
  border: 1px solid var(--line-soft);
  border-radius: 0.65rem;
  background: white;
  box-shadow: 0 4px 14px rgba(25, 28, 24, 0.035);
}
.session-icon {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 0.45rem;
  background: #f1f2ef;
  color: var(--paper-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}
.session div {
  display: grid;
  gap: 0.18rem;
}
.session strong {
  color: var(--paper);
  font-size: 0.82rem;
  font-weight: 650;
}
.session small {
  color: var(--paper-faint);
  font-size: 0.7rem;
}
.session-state {
  width: 0.55rem;
  height: 0.55rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  animation: session-pulse 1.8s ease-in-out infinite;
}
.session-c {
  border-color: rgba(82, 123, 74, 0.28);
  background: rgba(82, 123, 74, 0.045);
}
.session-c .session-state {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border: 0;
  background: rgba(82, 123, 74, 0.12);
  color: var(--green);
  font-size: 0.72rem;
  font-style: normal;
  animation: none;
}
.console-event {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin: 0 1rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid rgba(107, 119, 85, 0.24);
  border-radius: 0.6rem;
  background: rgba(135, 144, 111, 0.07);
  opacity: clamp(0, calc((var(--journey-progress) - 0.18) * 7), 1);
}
.console-event span {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(107, 119, 85, 0.12);
  color: var(--brass);
  font-size: 0.72rem;
  font-weight: 700;
}
.console-event p {
  margin: 0;
  color: var(--paper);
  font-size: 0.75rem;
  font-weight: 600;
}
.console-event small {
  margin-left: auto;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.6rem;
}
.signal-field {
  position: relative;
  height: 100%;
  overflow: hidden;
}
.signal-track {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(107, 119, 85, 0.35), transparent);
  transform: scaleX(clamp(0, calc((var(--journey-progress) - 0.2) * 2.2), 1));
  transform-origin: left;
}
.signal-pulse {
  position: absolute;
  top: calc(50% - 0.3rem);
  left: calc(5% + clamp(0, calc((var(--journey-progress) - 0.2) * 1.55), 1) * 85%);
  width: 0.6rem;
  height: 0.6rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: white;
  box-shadow: 0 0 0 6px rgba(135, 144, 111, 0.09);
}
.pulse-b {
  width: 0.3rem;
  height: 0.3rem;
  margin: 0.15rem 0 0 -2rem;
  opacity: 0.55;
}
.signal-field small {
  position: absolute;
  top: calc(50% + 1.15rem);
  width: 100%;
  color: var(--paper-faint);
  font-family: var(--mono);
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-align: center;
}
.destination-phone {
  justify-self: center;
  width: 8.5rem;
  padding: 0.38rem;
  border: 1px solid rgba(25, 28, 24, 0.55);
  border-radius: 1.45rem;
  background: #20231f;
  box-shadow: 0 18px 35px rgba(25, 28, 24, 0.2);
  opacity: 1;
}
.destination-screen {
  display: flex;
  min-height: 15.5rem;
  flex-direction: column;
  padding: 0.75rem;
  border-radius: 1.1rem;
  background: linear-gradient(160deg, #f5f6f1, #e2e7df);
  color: var(--paper);
}
.destination-status {
  display: flex;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.55rem;
}
.destination-status i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--green);
  animation: mark-glow 2.4s var(--ease) infinite;
}
.destination-mark {
  display: grid;
  place-items: center;
  margin-top: 1.15rem;
}
.destination-mark .mark-ring {
  grid-area: 1 / 1;
  border: 1px solid rgba(183, 174, 143, 0.42);
  border-radius: 50%;
}
.destination-mark .mark-ring-outer {
  width: 3.4rem;
  height: 3.4rem;
  opacity: 0.35;
  animation: mark-breathe 3.4s var(--ease) infinite;
}
.destination-mark .mark-ring-mid {
  width: 2.35rem;
  height: 2.35rem;
  opacity: 0.7;
  animation: mark-breathe 3.4s var(--ease) 0.45s infinite;
}
.destination-mark .mark-ring-core {
  width: 0.42rem;
  height: 0.42rem;
  border: 0;
  background: var(--green);
  box-shadow: 0 0 10px rgba(165, 215, 131, 0.45);
  animation: mark-glow 2.4s var(--ease) infinite;
}
.destination-copy {
  position: relative;
  min-height: 6.8rem;
  margin-top: 1.15rem;
  flex: 1;
  overflow: hidden;
}
.destination-message {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}
.destination-message.is-intent {
  opacity: var(--chapter-intent);
}
.destination-message.is-relay {
  opacity: var(--chapter-relay);
}
.destination-message.is-arrival {
  opacity: var(--chapter-arrival);
}
.destination-message.is-local {
  opacity: var(--chapter-local);
}
.destination-message small {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.08em;
}
.destination-message strong {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.85rem;
}
.destination-message p {
  margin: 0.28rem 0 0;
  color: var(--paper-muted);
  font-size: 0.64rem;
}
.destination-ready {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 1.15rem;
  padding-top: 0.55rem;
  border-top: 1px solid var(--line);
  color: var(--green);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.04em;
}
.destination-ready i {
  flex: 0 0 0.38rem;
  width: 0.38rem;
  height: 0.38rem;
  align-self: flex-start;
  margin-top: 0.18rem;
  border-radius: 50%;
  background: var(--green);
  animation: mark-glow 2.4s var(--ease) infinite;
}
.destination-ready em {
  font-style: normal;
  line-height: 1.35;
}
.agent-whisper,
.arrival-status,
.local-clock {
  display: none;
}
.get-layout,
.faq-layout {
  border-color: var(--line);
}
.store-area {
  background: white;
}
.store-button {
  border-color: var(--line);
  background: #20231f;
  color: white;
}
.site-footer {
  border-color: var(--line);
}
@keyframes session-pulse {
  50% {
    background: rgba(107, 119, 85, 0.18);
    box-shadow: 0 0 0 4px rgba(107, 119, 85, 0.07);
  }
}
@keyframes mark-breathe {
  50% {
    transform: scale(1.06);
    opacity: 0.18;
  }
}
@keyframes mark-glow {
  50% {
    opacity: 0.55;
    box-shadow: 0 0 14px rgba(165, 215, 131, 0.28);
  }
}

@media (max-width: 640px) {
  .site-header {
    background: rgba(247, 248, 246, 0.9);
  }
  .journey {
    height: 360svh;
  }
  .journey-chapter,
  .chapter-arrival,
  .chapter-local {
    top: 14%;
    bottom: auto;
    text-align: center;
  }
  .journey-chapter h1,
  .journey-chapter h2 {
    max-width: 14ch;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(2.4rem, 11vw, 3.2rem);
    line-height: 1.02;
    text-wrap: balance;
  }
  .journey-chapter .eyebrow,
  .journey-chapter .section-label {
    justify-content: center;
    font-size: 0.68rem;
  }
  .journey-actions {
    justify-content: center;
  }
  .product-stage {
    bottom: 5%;
    width: calc(100% - 2rem);
  }
  .console-bar {
    height: 36px;
    padding: 0 0.6rem;
  }
  .console-bar i {
    display: none;
  }
  .session-list {
    gap: 0.45rem;
    padding: 0.65rem;
  }
  .session {
    grid-template-columns: 1.65rem 1fr auto;
    gap: 0.45rem;
    padding: 0.55rem;
  }
  .session-icon {
    width: 1.65rem;
    height: 1.65rem;
  }
  .session strong {
    font-size: 0.68rem;
  }
  .session small {
    font-size: 0.58rem;
  }
  .console-event {
    margin: 0 0.65rem;
    padding: 0.55rem;
  }
  .console-event p {
    font-size: 0.62rem;
  }
  .console-event small {
    display: none;
  }
  .signal-field small {
    display: none;
  }
  .destination-phone {
    width: 6.4rem;
  }
  .destination-screen {
    min-height: 13rem;
    padding: 0.55rem;
  }
  .destination-message strong {
    font-size: 0.68rem;
  }
  .destination-message p {
    font-size: 0.54rem;
  }
}

/* Illustrated journey with product data in the foreground */
.site-header {
  border-color: rgba(244, 240, 230, 0.1);
  background: rgba(15, 16, 13, 0.82);
  color: #f4f0e6;
}
.site-nav {
  color: #bbb8ae;
}
.site-nav a:hover {
  color: #f4f0e6;
}
.header-cta {
  border-color: rgba(183, 174, 143, 0.65);
  color: #e7ce7e;
}
.header-cta:hover {
  border-color: #b7ae8f;
  background: #b7ae8f;
  color: #211c0c;
}
.journey {
  height: 390svh;
  background: #11120f;
}
.journey-sticky,
.journey-world {
  background: #11120f;
}
.world-plate {
  display: block;
  filter: brightness(1.13) saturate(0.82);
}
.ambient-orb {
  display: none;
}
.ambient-grid {
  z-index: 1;
  opacity: 0.16;
  background-image:
    linear-gradient(rgba(244, 240, 230, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 240, 230, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, black, transparent 82%);
}
.journey-world::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(17, 18, 15, 0.18),
      rgba(17, 18, 15, 0.05) 46%,
      rgba(17, 18, 15, 0.72)
    ),
    linear-gradient(90deg, rgba(17, 18, 15, 0.3), transparent 54%);
  content: "";
  pointer-events: none;
}
.journey-chapter,
.chapter-arrival,
.chapter-local {
  z-index: 4;
  top: 13%;
  right: auto;
  left: 0;
  width: min(42rem, 62vw);
  color: #f4f0e6;
  text-align: left;
}
.journey-chapter h1,
.journey-chapter h2 {
  max-width: 11ch;
  margin: 0.7rem 0 0;
  color: #f4f0e6;
  font-size: clamp(3.3rem, 5vw, 5.6rem);
  font-weight: 600;
  line-height: 0.96;
}
.journey-chapter h2 {
  max-width: none;
  font-size: clamp(2.7rem, 4.2vw, 4.7rem);
}
.journey-chapter .eyebrow,
.journey-chapter .section-label {
  justify-content: flex-start;
  color: #b7ae8f;
  font-size: 0.76rem;
}
.journey-actions {
  justify-content: flex-start;
}
.journey .button-brass {
  background: #b7ae8f;
  color: #211c0c;
}
.journey .button-brass:hover {
  background: #cec6a5;
}
.journey .text-link {
  color: #d0cdc2;
}
.product-stage {
  z-index: 3;
  right: clamp(1.5rem, 5vw, 5rem);
  bottom: 4.5%;
  width: min(850px, 64vw);
  height: min(45vh, 350px);
  grid-template-columns: 1.2fr 0.4fr 0.68fr;
  border-color: rgba(244, 240, 230, 0.18);
  background: rgba(15, 16, 13, 0.72);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: #f4f0e6;
  transform: none;
  backdrop-filter: blur(22px);
}
.agent-console {
  border-color: rgba(244, 240, 230, 0.12);
  background: rgba(17, 18, 15, 0.76);
}
.console-bar {
  border-color: rgba(244, 240, 230, 0.1);
}
.console-bar > span {
  background: #6b6d65;
}
.console-bar i {
  color: #aaa79d;
}
.session {
  border-color: rgba(244, 240, 230, 0.1);
  background: rgba(34, 36, 30, 0.9);
  box-shadow: none;
}
.session-icon {
  background: rgba(244, 240, 230, 0.08);
  color: #d7d2c6;
}
.session strong {
  color: #f4f0e6;
}
.session small {
  color: #aaa79d;
}
.session-c {
  border-color: rgba(165, 215, 131, 0.28);
  background: rgba(165, 215, 131, 0.07);
}
.session-c .session-state {
  background: rgba(165, 215, 131, 0.13);
  color: #a5d783;
}
.console-event {
  border-color: rgba(183, 174, 143, 0.34);
  background: rgba(183, 174, 143, 0.1);
}
.console-event p {
  color: #f4f0e6;
}
.console-event small {
  color: #aaa79d;
}
.signal-track {
  background: linear-gradient(90deg, transparent, rgba(183, 174, 143, 0.62), transparent);
}
.signal-pulse {
  border-color: #b7ae8f;
  background: #171914;
  box-shadow:
    0 0 0 6px rgba(183, 174, 143, 0.11),
    0 0 22px rgba(183, 174, 143, 0.25);
}
.signal-field small {
  color: #aaa79d;
}
.destination-phone {
  border-color: rgba(244, 240, 230, 0.52);
  background: #070805;
}
.destination-screen {
  background: linear-gradient(160deg, #2d3028, #171914);
  color: #f4f0e6;
}
.destination-message strong {
  color: #f4f0e6;
}
.destination-message p {
  color: #bdb9ae;
}
.destination-ready {
  border-color: rgba(244, 240, 230, 0.12);
  color: #a5d783;
  margin-top: auto;
}
@media (max-width: 640px) {
  .site-header {
    background: rgba(15, 16, 13, 0.88);
  }
  .journey-chapter,
  .chapter-arrival,
  .chapter-local {
    top: 12%;
    left: 0;
    width: 100%;
    text-align: left;
  }
  .journey-chapter h1,
  .journey-chapter h2 {
    max-width: 10ch;
    margin-left: 0;
    font-size: clamp(2.8rem, 12vw, 3.6rem);
  }
  .journey-chapter .eyebrow,
  .journey-chapter .section-label {
    justify-content: flex-start;
  }
  .journey-actions {
    justify-content: flex-start;
  }
  .product-stage {
    right: 1rem;
    bottom: 4%;
    width: calc(100% - 2rem);
  }
  .world-plate {
    filter: brightness(1.2) saturate(0.78);
  }
}

@media (prefers-reduced-motion: reduce) {
  .journey {
    height: 100svh;
    --journey-progress: 0.72;
  }
  .chapter-intent {
    display: block;
    opacity: 1;
    filter: none;
  }
  .chapter-relay,
  .chapter-arrival,
  .chapter-local {
    display: none;
  }
  .product-stage {
    opacity: 1;
  }
  .console-event,
  .destination-phone {
    opacity: 1;
    transform: none;
  }
  .signal-track {
    transform: scaleX(1);
  }
  .signal-pulse {
    left: 82%;
  }
}

/* Brand typography and independent scene interpolation */
:root {
  --display: "Bricolage Grotesque", "Inter", Arial, sans-serif;
  --ui: "Inter", Arial, sans-serif;
}
.journey {
  --scene-intent: 1;
  --scene-relay: 0;
  --scene-arrival: 0;
  --scene-local: 0;
}
.world-intent {
  opacity: var(--scene-intent);
}
.world-signal {
  opacity: var(--scene-relay);
}
.world-arrival {
  opacity: var(--scene-arrival);
}
.world-local {
  opacity: var(--scene-local);
}
.brand {
  font-family: var(--display);
  font-weight: 650;
  letter-spacing: -0.045em;
}
.journey-chapter h1,
.journey-chapter h2 {
  font-family: var(--display);
  font-weight: 620;
  letter-spacing: -0.055em;
}
.journey-chapter h1 {
  font-size: clamp(3.65rem, 5.5vw, 6.2rem);
}
.journey-chapter h2 {
  font-size: clamp(3rem, 4.65vw, 5.15rem);
}
.journey-chapter .eyebrow,
.journey-chapter .section-label {
  font-size: 0.8rem;
  line-height: 1.5;
}
.session strong {
  font-size: 0.88rem;
}
.session small {
  font-size: 0.76rem;
}
.console-bar i {
  font-size: 0.66rem;
}
.console-event p {
  font-size: 0.8rem;
}
.signal-field small {
  font-size: 0.62rem;
}
.destination-message small,
.destination-ready {
  font-size: 0.54rem;
}
.destination-message strong {
  font-size: 0.92rem;
}
.destination-message p {
  font-size: 0.7rem;
}

@media (max-width: 640px) {
  .journey-chapter h1 {
    font-size: clamp(3rem, 13vw, 4rem);
  }
  .journey-chapter h2 {
    font-size: clamp(2.7rem, 11vw, 3.5rem);
  }
  .journey-chapter .eyebrow,
  .journey-chapter .section-label {
    font-size: 0.72rem;
  }
  .session strong {
    font-size: 0.74rem;
  }
  .session small {
    font-size: 0.64rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-intent {
    opacity: 1;
  }
  .world-signal,
  .world-arrival,
  .world-local {
    display: none;
  }
}

/* Keep the four-state story responsive without over-pinning the page. */
.journey {
  height: 360svh;
}
@media (max-width: 640px) {
  .journey {
    height: 380svh;
  }
}

/* Final chrome and handoff-state alignment */
:root {
  --ink: #11120f;
  --ink-soft: #171914;
  --paper: #f4f0e6;
  --paper-muted: #c6c0b2;
  --paper-faint: #8f8c81;
  --brass: #b7ae8f;
  --brass-bright: #cec6a5;
  --brass-ink: #211c0c;
  --green: #a5d783;
  --line: rgba(244, 240, 230, 0.15);
  --line-soft: rgba(244, 240, 230, 0.09);
  color-scheme: dark;
}
body {
  background:
    radial-gradient(900px 610px at 84% 3%, rgba(183, 174, 143, 0.065), transparent 70%), #11120f;
  color: var(--paper);
}
.page-noise {
  opacity: 0.12;
  mix-blend-mode: soft-light;
}
.site-header {
  z-index: 12;
  border-bottom-color: transparent;
  background: #11120f;
  box-shadow: none;
  backdrop-filter: none;
}
.store-area {
  border-color: var(--line);
  background: var(--ink);
}
.store-button {
  border-color: var(--line);
  background: #090a08;
  color: var(--paper);
}
.destination-ready {
  position: relative;
  min-height: 1.2rem;
  padding-top: 0;
  border-top: 0;
}
.destination-ready > span {
  position: absolute;
  inset: 0;
  display: flex;
  gap: 0.4rem;
  align-items: flex-start;
}
.destination-ready .mode-wait {
  opacity: min(1, calc(var(--chapter-intent) + var(--chapter-relay)));
}
.destination-ready .mode-notify {
  opacity: var(--chapter-arrival);
}
.destination-ready .mode-alarm {
  opacity: var(--chapter-local);
}
.destination-message.is-local strong {
  font-size: 1.28rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.journey[data-chapter="intent"] .session-a,
.journey[data-chapter="relay"] .session-b,
.journey[data-chapter="arrival"] .session-c,
.journey[data-chapter="local"] .session-c {
  border-color: rgba(183, 174, 143, 0.34);
  background: rgba(183, 174, 143, 0.08);
}
.journey[data-chapter="intent"] .session-c,
.journey[data-chapter="relay"] .session-c {
  border-color: rgba(244, 240, 230, 0.1);
  background: rgba(34, 36, 30, 0.9);
}
.journey[data-chapter="intent"] .session-b,
.journey[data-chapter="intent"] .session-c,
.journey[data-chapter="relay"] .session-a,
.journey[data-chapter="relay"] .session-c,
.journey[data-chapter="arrival"] .session-a,
.journey[data-chapter="arrival"] .session-b,
.journey[data-chapter="local"] .session-a,
.journey[data-chapter="local"] .session-b {
  opacity: 0.58;
}
.brand {
  letter-spacing: -0.02em;
}
.journey-chapter h1,
.journey-chapter h2 {
  letter-spacing: -0.025em;
  line-height: 0.98;
}
.section-heading h2,
.reliability-copy h2,
.setup-card h2,
.get-layout h2,
.faq-layout h2 {
  letter-spacing: -0.03em;
  line-height: 1.04;
}
.offline-time,
.local-clock time {
  letter-spacing: 0.01em;
}
.destination-message strong,
.session strong,
.step-card h3 {
  letter-spacing: -0.015em;
}
.step-visual {
  display: grid;
  min-height: 11.5rem;
  align-items: center;
  margin-top: 1.6rem;
  color: var(--brass);
}
.step-visual svg {
  width: 100%;
  height: auto;
  overflow: visible;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-visual .visual-frame,
.step-visual .visual-device,
.step-visual .visual-agent,
.step-visual .visual-message,
.step-visual .visual-notify,
.step-visual .visual-alarm {
  fill: rgba(244, 240, 230, 0.025);
  stroke: rgba(183, 174, 143, 0.58);
}
.step-visual .visual-muted {
  stroke: rgba(244, 240, 230, 0.24);
}
.step-visual .visual-code {
  stroke: rgba(183, 174, 143, 0.66);
}
.step-visual .visual-route {
  stroke: rgba(183, 174, 143, 0.52);
}
.step-card.is-visible .visual-route,
.product-card.is-visible .visual-route {
  stroke-dasharray: 7 9;
  animation: onexit-dash 1.35s linear infinite;
}
.step-visual .visual-pulse {
  fill: var(--brass);
  stroke: rgba(183, 174, 143, 0.28);
  stroke-width: 8;
  transform-box: fill-box;
  transform-origin: center;
  animation: onexit-pulse 1.7s ease-in-out infinite;
}
.step-visual .visual-success {
  fill: rgba(165, 215, 131, 0.16);
  stroke: var(--green);
}
.step-visual .visual-check {
  stroke: var(--green);
  stroke-width: 1.8;
}
.step-visual .visual-key {
  fill: rgba(183, 174, 143, 0.1);
}
.step-visual .visual-ghost {
  stroke: rgba(244, 240, 230, 0.12);
  stroke-dasharray: 3 4;
}
.step-card h3 {
  margin-top: 1.35rem;
}
.step-card p {
  max-width: 28ch;
}
@keyframes onexit-pulse {
  50% {
    opacity: 0.45;
    transform: scale(1.55);
  }
}
@keyframes onexit-dash {
  to {
    stroke-dashoffset: -32;
  }
}

@media (prefers-reduced-motion: reduce) {
  .destination-message.is-intent {
    opacity: 1;
  }
  .destination-message.is-relay,
  .destination-message.is-arrival,
  .destination-message.is-local {
    opacity: 0;
  }
  .destination-ready .mode-wait {
    opacity: 1;
  }
  .destination-ready .mode-notify,
  .destination-ready .mode-alarm {
    opacity: 0;
  }
  .step-visual .visual-pulse,
  .step-card.is-visible .visual-route,
  .product-card.is-visible .visual-route {
    animation: none;
  }
}

@media (max-width: 860px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
  .product-card {
    min-height: 0;
  }
  .about-layout {
    grid-template-columns: 1fr;
  }
  .about-card {
    max-width: 38rem;
  }
}

/* Daylight keeps the same relay world: muted linen, graphite controls, and warm brass. */
:root[data-theme="light"] {
  --ink: #d9d2c2;
  --ink-soft: #e7e0d1;
  --paper: #1d1e19;
  --paper-muted: #4c4c45;
  --paper-faint: #59564e;
  --brass: #657552;
  --brass-bright: #536547;
  --brass-text: #536547;
  --brass-ink: #fbf6ea;
  --green: #3f7139;
  --line: rgba(29, 30, 25, 0.17);
  --line-soft: rgba(29, 30, 25, 0.1);
  color-scheme: light;
}
html[data-theme="light"] {
  background: var(--ink);
}
html[data-theme="light"] body {
  background:
    radial-gradient(900px 620px at 82% 0%, rgba(101, 109, 92, 0.08), transparent 70%),
    radial-gradient(720px 480px at 8% 28%, rgba(101, 117, 82, 0.08), transparent 72%), var(--ink);
  color: var(--paper);
}
html[data-theme="light"] .page-noise {
  opacity: 0.035;
  mix-blend-mode: multiply;
}
html[data-theme="light"] .site-header {
  border-bottom-color: var(--line-soft);
  background: rgba(217, 210, 194, 0.9);
  color: var(--paper);
  box-shadow: 0 1px 0 rgba(25, 28, 24, 0.03);
}
html[data-theme="light"] .site-nav {
  color: var(--paper-muted);
}
html[data-theme="light"] .site-nav a:hover,
html[data-theme="light"] .footer-links a:hover {
  color: var(--paper);
}
html[data-theme="light"] .header-cta {
  border-color: rgba(25, 28, 24, 0.25);
  color: var(--paper);
}
html[data-theme="light"] .header-cta:hover {
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}
html[data-theme="light"] .journey,
html[data-theme="light"] .journey-sticky,
html[data-theme="light"] .journey-world {
  background: #cfc6b4;
}
html[data-theme="light"] .world-plate {
  filter: none;
}
html[data-theme="light"] .journey-world::after {
  background:
    linear-gradient(180deg, rgba(217, 210, 194, 0.18), transparent 42%, rgba(90, 78, 58, 0.16)),
    linear-gradient(
      90deg,
      rgba(231, 224, 209, 0.62),
      rgba(231, 224, 209, 0.22) 32%,
      transparent 58%
    );
}
html[data-theme="light"] .journey-chapter,
html[data-theme="light"] .chapter-arrival,
html[data-theme="light"] .chapter-local,
html[data-theme="light"] .journey-chapter h1,
html[data-theme="light"] .journey-chapter h2 {
  color: var(--paper);
}
html[data-theme="light"] .journey-chapter .eyebrow,
html[data-theme="light"] .journey-chapter .section-label {
  color: #5d481e;
}
html[data-theme="light"] .journey .text-link {
  padding: 0.66rem 0.8rem;
  border: 1px solid rgba(25, 28, 24, 0.12);
  border-radius: 999px;
  background: rgba(231, 224, 209, 0.78);
  box-shadow: 0 0.35rem 1rem rgba(29, 30, 25, 0.11);
  color: #303027;
}
html[data-theme="light"] .product-stage {
  border-color: rgba(25, 28, 24, 0.14);
  background: #e7ddca;
  box-shadow:
    0 24px 70px rgba(55, 49, 39, 0.18),
    inset 0 1px 0 rgba(255, 250, 238, 0.5);
  color: var(--paper);
}
html[data-theme="light"] .agent-console {
  border-color: var(--line);
  background: #e9dfce;
}
html[data-theme="light"] .console-bar,
html[data-theme="light"] .session {
  border-color: var(--line-soft);
}
html[data-theme="light"] .session {
  background: #f0e6d5;
  box-shadow: 0 4px 14px rgba(29, 30, 25, 0.07);
}
html[data-theme="light"] .journey[data-chapter="intent"] .session-a,
html[data-theme="light"] .journey[data-chapter="relay"] .session-b,
html[data-theme="light"] .journey[data-chapter="arrival"] .session-c,
html[data-theme="light"] .journey[data-chapter="local"] .session-c {
  border-color: rgba(101, 117, 82, 0.32);
  background: rgba(101, 117, 82, 0.08);
}
html[data-theme="light"] .journey[data-chapter="intent"] .session-c,
html[data-theme="light"] .journey[data-chapter="relay"] .session-c {
  border-color: var(--line-soft);
  background: #f0e6d5;
}
html[data-theme="light"] .session-icon {
  background: #d4cab8;
  color: var(--paper-muted);
}
html[data-theme="light"] .session strong,
html[data-theme="light"] .console-event p {
  color: var(--paper);
}
html[data-theme="light"] .session small,
html[data-theme="light"] .console-bar i,
html[data-theme="light"] .console-event small,
html[data-theme="light"] .signal-field small {
  color: var(--paper-faint);
}
html[data-theme="light"] .console-event {
  border-color: rgba(107, 119, 85, 0.24);
  background: rgba(135, 144, 111, 0.07);
}
html[data-theme="light"] .signal-track {
  background: linear-gradient(90deg, transparent, rgba(107, 119, 85, 0.35), transparent);
}
html[data-theme="light"] .signal-pulse {
  border-color: var(--brass);
  background: #eee6d6;
  box-shadow: 0 0 0 6px rgba(135, 144, 111, 0.09);
}
html[data-theme="light"] .destination-phone {
  border-color: rgba(244, 240, 230, 0.42);
  background: #070805;
}
html[data-theme="light"] .destination-screen {
  background: #f7f8f5;
  color: #242d27;
}
html[data-theme="light"] .destination-message strong {
  color: #242d27;
}
html[data-theme="light"] .destination-message small {
  color: #30634b;
}
html[data-theme="light"] .destination-message p {
  color: #5b685f;
}
html[data-theme="light"] .destination-ready {
  color: #30634b;
}
html[data-theme="light"] .store-area {
  border-color: var(--line);
  background: #ded3bf;
}
html[data-theme="light"] .store-button {
  border-color: var(--line);
  background: #20231f;
  color: white;
}
html[data-theme="light"] .store-button-preview {
  border-color: rgba(107, 119, 85, 0.55);
}
/* The how-it-works diagrams are line art, not low-opacity decoration. */
html[data-theme="light"] .step-visual {
  color: #4f3c12;
}
html[data-theme="light"] .step-visual svg {
  stroke-width: 1.85;
}
html[data-theme="light"] .step-visual .visual-frame,
html[data-theme="light"] .step-visual .visual-device,
html[data-theme="light"] .step-visual .visual-agent,
html[data-theme="light"] .step-visual .visual-message,
html[data-theme="light"] .step-visual .visual-notify,
html[data-theme="light"] .step-visual .visual-alarm {
  fill: #efe6d4;
  stroke: #5a4518;
}
html[data-theme="light"] .step-visual .visual-muted {
  stroke: #5c5952;
}
html[data-theme="light"] .step-visual .visual-code,
html[data-theme="light"] .step-visual .visual-route {
  stroke: #4f3c12;
}
html[data-theme="light"] .step-visual .visual-pulse {
  fill: #4f3c12;
  stroke: rgba(79, 60, 18, 0.32);
  stroke-width: 8;
}
html[data-theme="light"] .step-visual .visual-success {
  fill: rgba(36, 87, 36, 0.16);
  stroke: #1f5525;
}
html[data-theme="light"] .step-visual .visual-check {
  stroke: #1f5525;
  stroke-width: 2.1;
}
html[data-theme="light"] .step-visual .visual-key {
  fill: rgba(90, 69, 24, 0.16);
}
html[data-theme="light"] .step-visual .visual-ghost {
  stroke: #6f6a60;
}

/* These two components intentionally differ: an editorial data card adapts;
   the offline alarm remains a dark device display in both themes. */
:root {
  --about-card-surface: rgba(8, 9, 6, 0.48);
  --about-card-border: rgba(183, 174, 143, 0.35);
  --about-card-rule: rgba(244, 240, 230, 0.09);
  --about-card-text: #f4f0e6;
  --about-card-muted: #c6c0b2;
  --about-card-faint: #8f8c81;
  --device-paper: #f4f0e6;
  --device-muted: #c6c0b2;
  --device-faint: #aaa79d;
  --device-line: rgba(244, 240, 230, 0.14);
  /* The alarm is deliberately a dark device surface in either site theme. */
  --device-brass: #b7ae8f;
  --device-green: #a5d783;
  --about-card-accent: #a5d783;
  --docs-callout-strong: #a5d783;
}
html[data-theme="light"] {
  --about-card-surface: #e3dac9;
  --about-card-border: rgba(92, 72, 30, 0.36);
  --about-card-rule: rgba(29, 30, 25, 0.14);
  --about-card-text: #1d1e19;
  --about-card-muted: #45443e;
  --about-card-faint: #5a564d;
  --about-card-accent: #245724;
  --docs-callout-strong: #1f5525;
}
.about-card {
  border-color: var(--about-card-border);
  background: var(--about-card-surface);
  box-shadow: inset 0 1px rgba(255, 250, 238, 0.16);
}
.about-card-lede {
  color: var(--about-card-text);
}
.about-card dl div {
  border-color: var(--about-card-rule);
}
.about-card dt {
  color: var(--about-card-faint);
}
.about-card dd {
  color: var(--about-card-muted);
}
.offline-card {
  color: var(--device-paper);
}
.offline-header,
.offline-footer {
  border-color: var(--device-line);
  color: var(--device-faint);
}
.offline-mode {
  color: var(--device-muted);
}
.offline-mode i,
.timeline-dot {
  border-color: var(--device-faint);
}
.offline-time,
.offline-title {
  color: var(--device-paper);
}
.offline-label {
  color: var(--device-brass);
}
.offline-ready {
  color: var(--device-green);
}
.timeline-dot.done {
  border-color: var(--device-green);
  background: var(--device-green);
}
.timeline-dot.active {
  border-color: var(--device-brass);
  background: var(--device-brass);
}
.timeline-line {
  background: var(--device-line);
}
.timeline-line.done {
  background: var(--device-green);
}
.about-card-foot {
  color: var(--about-card-accent);
}
html[data-theme="light"] .docs-callout {
  border-color: rgba(47, 101, 45, 0.38);
  background: rgba(47, 101, 45, 0.09);
}
html[data-theme="light"] .docs-callout strong {
  color: var(--docs-callout-strong);
}

@media (max-width: 640px) {
  html[data-theme="light"] .site-header {
    background: linear-gradient(to bottom, rgba(217, 210, 194, 0.96), rgba(217, 210, 194, 0.78));
  }
}

@media (max-width: 640px) {
  .site-nav a:nth-child(2),
  .site-nav a:nth-child(3) {
    display: none;
  }
  .product-grid {
    margin-top: 2.25rem;
  }
  .product-card {
    padding: 1.45rem;
  }
  .product-card h3 {
    margin-top: 1.2rem;
  }
  .product-card .text-link,
  .product-detail {
    margin-top: 1.5rem;
    padding-top: 0;
  }
  .about-copy h2 {
    max-width: 11ch;
  }
  .section-heading h2,
  .reliability-copy h2,
  .setup-card h2,
  .get-layout h2,
  .faq-layout h2 {
    font-size: clamp(2.05rem, 8.4vw, 2.6rem);
    line-height: 1.08;
  }

  /* Phone-first relay: a readable screen that changes with the chapters. */
  .header-inner {
    min-height: 56px;
  }
  .journey {
    height: 380svh;
  }
  .journey-chapter,
  .chapter-arrival,
  .chapter-local {
    top: 1rem;
    width: 100%;
    filter: none;
  }
  .journey-chapter h1 {
    max-width: 13ch;
    font-size: clamp(2.05rem, 8.4vw, 2.55rem);
    line-height: 1.04;
  }
  .journey-chapter h2 {
    max-width: 14ch;
    font-size: clamp(1.9rem, 7.6vw, 2.35rem);
    line-height: 1.06;
  }
  .journey-chapter .eyebrow,
  .journey-chapter .section-label {
    max-width: 100%;
    font-size: 0.64rem;
    letter-spacing: 0.06em;
  }
  .journey-actions {
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.95rem;
  }
  .product-stage {
    right: auto;
    left: 50%;
    bottom: max(0.85rem, var(--safe-bottom));
    display: grid;
    width: min(12.75rem, calc(100% - 2.3rem));
    height: auto;
    min-height: 0;
    max-height: calc(100svh - var(--header-height) - 12.5rem);
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 0.5rem;
    align-items: stretch;
    overflow: visible;
    padding: 0.45rem;
    border-radius: 1.15rem;
    transform: translateX(-50%);
  }
  .signal-field {
    display: none;
  }
  .agent-console {
    height: auto;
    overflow: hidden;
    border-right: 0;
  }
  .console-bar {
    height: 2rem;
    padding: 0 0.55rem;
  }
  .session-list {
    gap: 0;
    padding: 0.45rem;
    overflow: hidden;
  }
  .session {
    grid-template-columns: 1.5rem minmax(0, 1fr) auto;
    gap: 0.42rem;
    padding: 0.42rem;
    border-radius: 0.5rem;
    opacity: 1;
  }
  .session-b,
  .session-c {
    display: none;
  }
  .journey[data-chapter="relay"] .session-a,
  .journey[data-chapter="arrival"] .session-a,
  .journey[data-chapter="local"] .session-a {
    display: none;
  }
  .journey[data-chapter="relay"] .session-b,
  .journey[data-chapter="arrival"] .session-c,
  .journey[data-chapter="local"] .session-c {
    display: grid;
  }
  .session-icon {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 0.38rem;
  }
  .session strong {
    font-size: 0.72rem;
  }
  .session small {
    font-size: 0.6rem;
    line-height: 1.25;
  }
  .session-state {
    width: 0.42rem;
    height: 0.42rem;
  }
  .session-c .session-state {
    width: 0.95rem;
    height: 0.95rem;
    font-size: 0.56rem;
  }
  .console-event {
    display: none;
  }
  .destination-phone {
    align-self: center;
    justify-self: center;
    order: -1;
    width: 100%;
    height: auto;
    max-height: none;
    overflow: visible;
    padding: 0.36rem;
    border-radius: 1.35rem;
    opacity: 1;
    transform: none;
  }
  .destination-screen {
    min-height: min(16.75rem, 42svh);
    height: auto;
    padding: 0.7rem 0.72rem 0.8rem;
    border-radius: 1.05rem;
  }
  .destination-mark {
    margin-top: 1.15rem;
  }
  .destination-mark .mark-ring-outer {
    width: 2.7rem;
    height: 2.7rem;
  }
  .destination-mark .mark-ring-mid {
    width: 1.85rem;
    height: 1.85rem;
  }
  .destination-copy {
    min-height: 6.4rem;
    margin-top: 1.15rem;
  }
  .destination-message {
    margin: 0;
  }
  .destination-message strong {
    font-size: 0.92rem;
    line-height: 1.2;
  }
  .destination-message.is-local strong {
    font-size: 1.35rem;
  }
  .destination-ready {
    position: relative;
    display: block;
    min-height: 2.1rem;
    margin-top: 0.85rem;
  }
  .destination-ready > span {
    align-items: flex-start;
  }
  .destination-message p {
    font-size: 0.64rem;
    line-height: 1.35;
  }
  html[data-theme="light"] .agent-console {
    border-right-color: transparent;
  }
}

@media (max-width: 640px) and (max-height: 740px) {
  .destination-mark {
    display: none;
  }
  .destination-screen {
    min-height: 0;
  }
  .destination-copy {
    margin-top: 0.7rem;
  }
  .destination-ready {
    margin-top: 0.4rem;
    min-height: 1.6rem;
  }
}

@media (min-width: 641px) and (max-width: 1000px) {
  .product-stage {
    right: 1.5rem;
    width: calc(100% - 3rem);
  }
}
@media (min-width: 641px) and (max-height: 740px) {
  .journey-chapter,
  .chapter-arrival,
  .chapter-local {
    top: 6%;
  }
  .journey-chapter h1,
  .journey-chapter h2 {
    font-size: clamp(2rem, 4vw, 3rem);
  }
  .product-stage {
    height: 260px;
    bottom: 1rem;
  }
  .destination-screen {
    min-height: 13rem;
  }
  .session-list {
    gap: 0.35rem;
    padding: 0.65rem;
  }
  .session {
    padding: 0.5rem;
  }
  .console-event {
    display: none;
  }
}

@media (max-width: 640px) and (max-height: 600px) {
  .product-stage {
    grid-template-rows: 1fr;
  }
  .product-stage .agent-console {
    display: none;
  }
}

/* Shared application controls; the illustrated journey keeps its own art direction. */
:root {
  --action: #b5d4a6;
  --action-text: #1d3325;
  --control-surface: #202521;
  --control-text: #edf1e9;
  --control-muted: #aab7ac;
  --control-border: #354037;
}
:root[data-theme="light"] {
  --action: #30634b;
  --action-text: #ffffff;
  --control-surface: #ffffff;
  --control-text: #242d27;
  --control-muted: #5b685f;
  --control-border: #e0e5dd;
}
:root .site-header .header-cta,
:root .button.button-brass {
  border: 1px solid var(--action);
  border-radius: 9px;
  background: var(--action);
  color: var(--action-text);
  transition: opacity 140ms ease;
}
:root .site-header .header-cta:hover,
:root .button.button-brass:hover {
  opacity: 0.88;
}
:root :focus-visible {
  outline-color: var(--action);
}
:root .plan-public-grid .product-card {
  border: 1px solid var(--control-border);
  border-radius: 16px;
  background: var(--control-surface);
  box-shadow: none;
  color: var(--control-text);
}
:root .plan-public-grid .product-card h3 {
  color: var(--control-text);
}
:root .plan-public-grid .product-card > p:not(.plan-price):not(.plan-allowance) {
  color: var(--control-muted);
}
:root .plan-public-grid .plan-price span {
  color: var(--control-text);
}
:root .plan-public-grid .plan-price small,
:root .plan-public-grid .plan-allowance-label {
  color: var(--control-muted);
}
:root .plan-public-grid .plan-allowance {
  border-color: var(--control-border);
  color: var(--control-muted);
}
:root .plan-public-grid .plan-allowance strong {
  color: var(--control-text);
}
:root .plan-public-grid .text-link {
  color: var(--action);
}
:root .plan-public-grid .product-card-featured {
  border-color: var(--action);
}
.destination-screen {
  font-family: var(--ui);
}
@media (min-width: 641px) {
  .destination-screen {
    min-height: 0;
    height: 100%;
    box-sizing: border-box;
  }
  .destination-phone {
    width: auto;
    max-width: calc(100% - 1rem);
    aspect-ratio: 1 / 2;
    box-sizing: border-box;
    height: calc(100% - 16px);
    max-height: calc(100% - 16px);
  }
  .destination-copy {
    min-height: 0;
    flex: 1;
  }
}
.navigation-status {
  position: fixed;
  z-index: 30;
  right: max(20px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: flex;
  align-items: center;
  gap: 12px;
  width: min(360px, calc(100% - 40px));
  padding: 12px 18px;
  border: 1px solid var(--control-border);
  border-radius: 16px;
  background: var(--control-surface);
  color: var(--control-text);
  box-shadow: 0 4px 24px #0002;
  font: 500 14px / 1.5 var(--ui);
}
.navigation-status[hidden] {
  display: none;
}
.navigation-status img {
  flex: none;
}
.is-navigating {
  cursor: progress;
}
.is-navigating > span[aria-hidden] {
  width: 16px;
  height: 16px;
  font-size: 0;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: navigation-spin 800ms linear infinite;
}
@keyframes navigation-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-navigating > span[aria-hidden] {
    animation: none;
  }
}

@media (min-width: 641px) and (max-height: 740px) {
  .destination-mark {
    display: none;
  }
}

/* Short landscape windows put the phone beside the story instead of over it. */
@media (min-width: 641px) and (max-height: 560px) {
  .journey-chapter,
  .chapter-arrival,
  .chapter-local {
    width: 42%;
    top: 10%;
  }
  .journey-chapter h1,
  .journey-chapter h2 {
    font-size: clamp(1.7rem, 3vw, 2.4rem);
  }
  .product-stage {
    width: 48%;
    right: 1.5rem;
    bottom: 1rem;
    height: calc(100% - 2rem);
    grid-template-columns: 1fr;
  }
  .agent-console,
  .signal-field {
    display: none;
  }
  .destination-phone {
    width: min(9.5rem, calc(100% - 2rem));
  }
}

:root .plan-public-grid {
  gap: 18px;
  background: transparent;
  border: 0;
}
:root .plan-public-grid .product-card {
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}
:root .plan-public-grid .product-card:hover,
:root .plan-public-grid .product-card:focus-within,
:root .plan-public-grid .product-card.is-selected {
  border-color: var(--action);
  background: color-mix(in srgb, var(--action) 8%, var(--control-surface));
  box-shadow: inset 0 0 0 1px var(--action);
}
:root .plan-public-grid .plan-cta {
  display: inline-flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--action);
  border-radius: 9px;
  text-decoration: none;
}
:root .plan-public-grid .plan-cta:hover,
:root .plan-public-grid .plan-cta:active {
  background: var(--action);
  color: var(--action-text);
}
@media (prefers-reduced-motion: reduce) {
  :root .plan-public-grid .product-card {
    transition: none;
  }
}
@media (max-width: 640px) {
  .plan-public-grid .product-card h3,
  .plan-public-grid .product-card [data-plan-blurb] {
    min-height: 0;
  }
}

:root {
  --theme-muted: var(--paper-muted);
  --theme-accent: var(--action);
}

/* Appearance: a recessed switch with a stable footprint in both themes. */
:root .theme-toggle {
  display: inline-grid;
  place-items: center;
  flex: 0 0 60px;
  width: 60px;
  min-width: 60px;
  height: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--theme-muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: color 160ms ease;
}
.appearance-art {
  display: grid;
  place-items: center;
  width: 56px;
  height: 32px;
}
.appearance-art img {
  grid-area: 1 / 1;
  display: block;
  width: 56px;
  height: 32px;
  transition: opacity 320ms ease;
}
.appearance-dark {
  opacity: 0;
}
[data-theme="dark"] .appearance-light {
  opacity: 0;
}
[data-theme="dark"] .appearance-dark {
  opacity: 1;
}
:root .theme-toggle:hover {
  color: var(--theme-accent);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--theme-accent);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .appearance-art img {
    transition: none;
  }
}

.theme-toggle:hover .appearance-art {
  filter: brightness(1.08);
}
.theme-toggle:active .appearance-art {
  filter: brightness(0.94);
}

@media (max-width: 380px) {
  .header-cta {
    white-space: nowrap;
    padding: 12px;
    font-size: 12px;
    gap: 6px;
  }
  .header-actions {
    gap: 6px;
  }
}

/* The thumb travels independently; repeated clicks reverse from its current position. */
.appearance-art .appearance-thumb {
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(0);
}
[data-theme="dark"] .appearance-art .appearance-thumb {
  transform: translateX(22px);
}
@media (prefers-reduced-motion: reduce) {
  .appearance-art .appearance-thumb {
    transition: none;
  }
}

/* One playable handoff replaces the former static setup and offline-alarm sections. */
.how-heading > p:not(.section-label) {
  max-width: 42rem;
  margin: 1.2rem 0 0;
  color: var(--paper-muted);
  font-size: 1.02rem;
  line-height: 1.62;
}
.how-demo {
  display: grid;
  grid-template-columns: minmax(14rem, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  margin-top: 3.5rem;
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  background: rgba(244, 240, 230, 0.025);
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.12);
}
.how-steps {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
}
.how-step {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.25rem 0.85rem;
  min-height: 8.5rem;
  padding: 1.3rem 1.35rem;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  color: var(--paper);
  text-align: left;
  cursor: pointer;
  transition:
    background-color 240ms var(--ease),
    color 240ms var(--ease);
}
.how-step:last-child {
  border-bottom: 0;
}
.how-step:hover {
  background: rgba(244, 240, 230, 0.035);
}
.how-step.is-active {
  background: rgba(183, 174, 143, 0.09);
}
.how-step > span {
  grid-row: 1 / span 2;
  color: var(--brass-text);
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.06em;
}
.how-step strong {
  align-self: end;
  font-family: var(--display);
  font-size: 1.13rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.how-step small {
  max-width: 21ch;
  color: var(--paper-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}
.how-stage {
  --how-panel: #20221d;
  --how-panel-soft: #282b24;
  --how-panel-line: rgba(244, 240, 230, 0.12);
  --how-copy: #f4f0e6;
  --how-muted: #aaa79d;
  position: relative;
  min-width: 0;
  min-height: 35rem;
  overflow: hidden;
  background:
    radial-gradient(circle at 74% 58%, rgba(183, 174, 143, 0.1), transparent 30%), #151713;
  color: var(--how-copy);
}
.how-stage-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 3.5rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--how-panel-line);
  color: var(--how-muted);
  font-family: var(--mono);
  font-size: 0.59rem;
  letter-spacing: 0.07em;
}
.how-live {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.how-live i,
.how-phone-ready i {
  width: 0.42rem;
  height: 0.42rem;
  flex: none;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(165, 215, 131, 0.08);
}
.how-scene {
  min-height: 27.75rem;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  animation: how-scene-in 280ms ease both;
}
.how-scene[hidden] {
  display: none;
}
.how-scene-phone {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(8rem, 0.42fr);
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.how-browser,
.how-editor {
  overflow: hidden;
  border: 1px solid var(--how-panel-line);
  border-radius: 0.8rem;
  background: var(--how-panel);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.18);
}
.how-window-bar {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 2.55rem;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--how-panel-line);
  color: var(--how-muted);
  font-family: var(--mono);
  font-size: 0.55rem;
  letter-spacing: 0.06em;
}
.how-window-bar > i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: rgba(244, 240, 230, 0.24);
}
.how-window-bar > span {
  margin-left: 0.45rem;
}
.how-window-body {
  padding: clamp(1.15rem, 3vw, 2rem);
}
.how-empty-phone,
.how-linked-phone {
  min-height: 8.6rem;
  padding: 1rem;
  border: 1px solid var(--how-panel-line);
  border-radius: 0.75rem;
  background: var(--how-panel-soft);
}
.how-empty-phone {
  display: grid;
  place-items: center;
  text-align: center;
}
.how-empty-phone strong,
.how-linked-phone strong {
  font-size: 0.94rem;
  font-weight: 550;
}
.how-empty-phone small,
.how-linked-phone small {
  color: var(--how-muted);
  font-size: 0.75rem;
}
.how-line-phone {
  position: relative;
  display: block;
  width: 1.9rem;
  height: 2.9rem;
  border: 1px solid var(--how-muted);
  border-radius: 0.42rem;
}
.how-line-phone > i {
  position: absolute;
  bottom: 0.28rem;
  left: calc(50% - 0.12rem);
  width: 0.24rem;
  height: 0.24rem;
  border-radius: 50%;
  background: currentColor;
}
.how-line-phone.is-linked {
  border-color: var(--green);
  color: var(--green);
}
.how-linked-phone {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.9rem;
  align-items: center;
}
.how-linked-phone[hidden] {
  display: none;
}
.how-linked-phone > span:nth-child(2) {
  display: grid;
  gap: 0.2rem;
}
.how-check {
  display: grid;
  width: 1.5rem;
  height: 1.5rem;
  place-items: center;
  border-radius: 50%;
  background: rgba(165, 215, 131, 0.12);
  color: var(--green);
  font-style: normal;
  font-size: 0.72rem;
}
.how-action,
.how-stop,
.how-mode button {
  min-height: 2.75rem;
  border: 1px solid var(--how-panel-line);
  border-radius: 0.65rem;
  font: inherit;
  cursor: pointer;
  transition:
    background-color 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease),
    opacity 180ms var(--ease);
}
.how-action {
  width: 100%;
  margin-top: 1rem;
  padding: 0.72rem 1rem;
  border-color: transparent;
  background: var(--brass);
  color: var(--brass-ink);
  font-weight: 650;
}
.how-action:hover,
.how-stop:hover {
  background: var(--brass-bright);
}
.how-action:disabled {
  cursor: default;
  opacity: 0.62;
}
.how-courier {
  display: grid;
  justify-items: center;
  gap: 0.6rem;
  color: var(--how-muted);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  text-align: center;
}
.how-courier img {
  width: 7rem;
  height: auto;
  filter: drop-shadow(0 1rem 1.5rem rgba(0, 0, 0, 0.2));
}
.how-scene-agent {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(4rem, 0.4fr) minmax(8.5rem, 0.55fr);
  align-items: center;
}
.how-code {
  padding: 1.25rem;
}
.how-code > p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
}
.how-code > p span {
  margin-right: 0.5rem;
  color: var(--brass);
}
.how-tool-row,
.how-key-row {
  display: flex;
  gap: 0.65rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.8rem;
  border: 1px solid var(--how-panel-line);
  border-radius: 0.6rem;
  background: var(--how-panel-soft);
  color: var(--how-muted);
  font-size: 0.71rem;
}
.how-tool-row i {
  color: var(--brass);
  font-style: normal;
}
.how-key-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  opacity: 0.48;
  transition: opacity 240ms var(--ease);
}
.how-key-row.is-ready {
  opacity: 1;
}
.how-key-row span {
  font-family: var(--mono);
  font-size: 0.52rem;
  letter-spacing: 0.07em;
}
.how-key-row code {
  overflow: hidden;
  color: var(--how-copy);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.how-key-row i {
  color: var(--green);
  font-style: normal;
  opacity: 0;
}
.how-key-row.is-ready i {
  opacity: 1;
}
.how-lane,
.how-delivery {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 3rem;
}
.how-lane > span,
.how-delivery > span {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(183, 174, 143, 0.55), transparent);
}
.how-lane > i,
.how-delivery > i {
  position: absolute;
  left: calc(50% - 0.22rem);
  width: 0.44rem;
  height: 0.44rem;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--how-panel);
  box-shadow: 0 0 0 5px rgba(183, 174, 143, 0.07);
}
.how-lane small,
.how-delivery small {
  position: absolute;
  top: 0.8rem;
  left: 50%;
  color: var(--how-muted);
  font-family: var(--mono);
  font-size: 0.48rem;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transform: translateX(-50%);
}
.how-mini-phone {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: center;
  min-height: 7rem;
  padding: 1rem;
  border: 1px solid var(--how-panel-line);
  border-radius: 0.8rem;
  background: var(--how-panel);
}
.how-mini-phone > span {
  display: block;
  width: 2.4rem;
  height: 4.2rem;
  border: 1px solid var(--how-muted);
  border-radius: 0.62rem;
}
.how-mini-phone > div {
  display: grid;
  gap: 0.35rem;
}
.how-mini-phone small {
  color: var(--how-muted);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
}
.how-mini-phone strong {
  font-size: 0.78rem;
  font-weight: 550;
}
.how-scene-handoff {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(4rem, 0.32fr) minmax(12rem, 0.72fr);
  align-items: center;
}
.how-compose {
  min-width: 0;
  padding: 1rem;
  border: 1px solid var(--how-panel-line);
  border-radius: 0.8rem;
  background: var(--how-panel);
}
.how-mode {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.3rem;
  min-width: 0;
  margin: 0;
  padding: 0.25rem;
  border: 0;
  border-radius: 0.75rem;
  background: var(--how-panel-soft);
}
.how-mode button {
  min-height: 2.35rem;
  padding: 0.55rem;
  border-color: transparent;
  background: transparent;
  color: var(--how-muted);
  font-size: 0.73rem;
}
.how-mode button.is-active {
  border-color: var(--how-panel-line);
  background: var(--how-panel);
  color: var(--how-copy);
}
.how-request {
  display: grid;
  gap: 0.55rem;
  min-height: 6.3rem;
  padding: 1.1rem 0.2rem 0.7rem;
}
.how-request small {
  color: var(--brass);
  font-family: var(--mono);
  font-size: 0.53rem;
  letter-spacing: 0.08em;
}
.how-request strong {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.35;
}
.how-delay {
  margin: 0.25rem 0 0.65rem;
}
.how-delay[hidden],
.how-offline[hidden] {
  display: none;
}
.how-delay label {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: var(--how-muted);
  font-size: 0.67rem;
}
.how-delay output {
  color: var(--how-copy);
  font-variant-numeric: tabular-nums;
}
.how-delay input {
  width: 100%;
  accent-color: var(--brass);
}
.how-offline {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  min-height: 2.75rem;
  margin-top: 0.55rem;
  color: var(--how-muted);
  font-size: 0.67rem;
  cursor: pointer;
}
.how-offline input {
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--green);
}
.how-phone {
  position: relative;
  min-height: 22rem;
  overflow: hidden;
  padding: 1rem;
  border: 0.32rem solid #32362f;
  border-radius: 1.8rem;
  background: #f7f8f5;
  color: #242d27;
  box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.28);
  transition:
    border-color 240ms var(--ease),
    box-shadow 240ms var(--ease);
}
.how-phone-speaker {
  width: 3.2rem;
  height: 0.28rem;
  margin: 0 auto 0.65rem;
  border-radius: 1rem;
  background: #d8ddd5;
}
.how-phone-status {
  display: flex;
  justify-content: space-between;
  color: #667168;
  font-size: 0.53rem;
  font-variant-numeric: tabular-nums;
}
.how-phone-brand {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 1rem;
  color: #242d27;
  font-family: var(--display);
  font-size: 0.76rem;
  font-weight: 600;
}
.how-phone-brand .brand-mark {
  background: #30634b;
}
.how-phone-message {
  display: grid;
  gap: 0.55rem;
  margin-top: 3rem;
}
.how-phone-message small {
  color: #30634b;
  font-family: var(--mono);
  font-size: 0.51rem;
  letter-spacing: 0.07em;
}
.how-phone-message strong {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.how-phone-message p {
  margin: 0;
  color: #5b685f;
  font-size: 0.75rem;
  line-height: 1.45;
}
.how-phone-ready {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.48rem;
  align-items: center;
  color: #30634b;
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.06em;
}
.how-phone-ready i {
  background: #30634b;
  box-shadow: 0 0 0 4px rgba(48, 99, 75, 0.08);
}
.how-stop {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  padding: 0.7rem;
  border-color: transparent;
  background: #30634b;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 650;
}
.how-stop[hidden] {
  display: none;
}
.how-demo[data-phase="sending"] .how-delivery > i {
  animation: how-signal 720ms var(--ease) both;
}
.how-demo[data-phase="ringing"] .how-phone {
  border-color: var(--brass);
  box-shadow:
    0 0 0 0.55rem rgba(183, 174, 143, 0.1),
    0 1.5rem 3rem rgba(0, 0, 0, 0.28);
  animation: how-ring 900ms ease-in-out infinite alternate;
}
.how-demo[data-phase="ringing"] .how-phone-message small,
.how-demo[data-phase="ringing"] .how-phone-ready {
  color: #8a551f;
}
.how-demo[data-phase="ringing"] .how-phone-ready i {
  background: #a35e1e;
}
.how-status {
  position: absolute;
  right: 1rem;
  bottom: 0;
  left: 1rem;
  min-height: 3.75rem;
  margin: 0;
  padding: 0.9rem 0;
  border-top: 1px solid var(--how-panel-line);
  color: var(--how-muted);
  font-size: 0.71rem;
  line-height: 1.45;
}
@keyframes how-scene-in {
  from {
    opacity: 0;
  }
}
@keyframes how-signal {
  from {
    left: 0;
    opacity: 0;
  }
  16%,
  84% {
    opacity: 1;
  }
  to {
    left: 100%;
    opacity: 0;
  }
}
@keyframes how-ring {
  to {
    box-shadow:
      0 0 0 0.85rem rgba(183, 174, 143, 0.14),
      0 1.5rem 3rem rgba(0, 0, 0, 0.28);
  }
}

html[data-theme="light"] .how-demo {
  background: rgba(255, 250, 238, 0.2);
  box-shadow: 0 2rem 5rem rgba(55, 49, 39, 0.12);
}
html[data-theme="light"] .how-step:hover {
  background: rgba(255, 250, 238, 0.24);
}
html[data-theme="light"] .how-step.is-active {
  background: rgba(101, 117, 82, 0.1);
}
html[data-theme="light"] .how-stage {
  --how-panel: #eee5d6;
  --how-panel-soft: #e6dccb;
  --how-panel-line: rgba(29, 30, 25, 0.15);
  --how-copy: #24251f;
  --how-muted: #5f5d55;
  background:
    radial-gradient(circle at 74% 58%, rgba(101, 117, 82, 0.13), transparent 32%), #e8dfd0;
}
html[data-theme="light"] .how-window-bar > i {
  background: rgba(29, 30, 25, 0.28);
}

@media (max-width: 960px) {
  .how-demo {
    grid-template-columns: 1fr;
  }
  .how-steps {
    grid-template-columns: repeat(3, 1fr);
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .how-step {
    min-height: 7.6rem;
    border-right: 1px solid var(--line-soft);
    border-bottom: 0;
  }
  .how-step:last-child {
    border-right: 0;
  }
}

@media (max-width: 720px) {
  .how-stage {
    min-height: 0;
  }
  .how-scene {
    min-height: 0;
    padding-bottom: 5.5rem;
  }
  .how-scene-phone,
  .how-scene-agent,
  .how-scene-handoff {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .how-courier {
    grid-template-columns: auto 1fr;
    justify-self: center;
    align-items: center;
    text-align: left;
  }
  .how-courier img {
    width: 5.2rem;
  }
  .how-lane,
  .how-delivery {
    display: none;
  }
  .how-mini-phone,
  .how-phone {
    width: min(100%, 19rem);
    justify-self: center;
  }
  .how-phone {
    min-height: 20rem;
  }
}

@media (max-width: 540px) {
  .how-demo {
    margin-top: 2.4rem;
    border-radius: 1rem;
  }
  .how-steps {
    grid-template-columns: 1fr;
  }
  .how-step {
    grid-template-columns: 1.65rem minmax(0, 1fr);
    min-height: 0;
    padding: 1rem;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .how-step:last-child {
    border-bottom: 0;
  }
  .how-step small {
    max-width: none;
  }
  .how-stage-head {
    padding-inline: 0.85rem;
  }
  .how-scene {
    padding: 1rem 1rem 5.5rem;
  }
  .how-status {
    right: 0.85rem;
    left: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-scene,
  .how-demo[data-phase="sending"] .how-delivery > i,
  .how-demo[data-phase="ringing"] .how-phone {
    animation: none;
  }
  .how-key-row,
  .how-action,
  .how-stop,
  .how-mode button,
  .how-phone,
  .how-step {
    transition: none;
  }
}

/* The handoff is one theme-native scene. It plays once and remains directly selectable. */
.how-heading {
  max-width: 42rem;
}
.how-demo {
  display: block;
  margin-top: 3rem;
  border-radius: 1.25rem;
  background: color-mix(in srgb, var(--paper) 2.5%, transparent);
  box-shadow: none;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-right: 0;
  border-bottom: 1px solid var(--line);
}
.how-step {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  min-height: 4.5rem;
  padding: 1.1rem 1.25rem;
  overflow: hidden;
  align-items: center;
  border-right: 1px solid var(--line-soft);
  border-bottom: 0;
}
.how-step:last-child {
  border-right: 0;
}
.how-step.is-active {
  background: color-mix(in srgb, var(--brass) 9%, transparent);
}
.how-step > span {
  grid-row: auto;
  font-size: 0.62rem;
}
.how-step strong {
  align-self: auto;
  font-family: var(--ui);
  font-size: 0.92rem;
  font-weight: 580;
  letter-spacing: -0.012em;
}
.how-step > i {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  overflow: hidden;
}
.how-stage {
  min-height: 34rem;
  background:
    radial-gradient(
      circle at 78% 46%,
      color-mix(in srgb, var(--brass) 9%, transparent),
      transparent 27%
    ),
    color-mix(in srgb, var(--paper) 1.5%, transparent);
  color: var(--paper);
}
.how-stage-head {
  padding: 1rem 1.25rem;
  border-bottom: 0;
  color: var(--paper-faint);
}
.how-playback {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: var(--paper-muted);
  font: 500 0.72rem / 1 var(--ui);
  cursor: pointer;
  transition: color 180ms ease;
}
.how-playback:hover {
  color: var(--paper);
}
.how-playback [data-how-playback-icon] {
  width: 0.8rem;
  color: var(--brass-text);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-align: center;
}
.how-flow {
  display: grid;
  grid-template-columns: minmax(9rem, 0.7fr) minmax(8rem, 0.55fr) minmax(13rem, 0.75fr);
  gap: clamp(1rem, 3vw, 3rem);
  min-height: 26rem;
  padding: 1.5rem clamp(1.5rem, 4vw, 4rem) 5rem;
  align-items: center;
}
.how-node {
  transition:
    opacity 420ms var(--ease),
    border-color 420ms var(--ease),
    background-color 420ms var(--ease);
}
.how-agent-node {
  display: grid;
  gap: 0.42rem;
  min-height: 10rem;
  padding: 1.3rem;
  align-content: center;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: color-mix(in srgb, var(--paper) 3%, transparent);
  opacity: 0.38;
}
.how-demo:not([data-beat="phone-ready"]):not([data-beat="phone-linked"]) .how-agent-node {
  border-color: color-mix(in srgb, var(--brass) 34%, var(--line));
  opacity: 1;
}
.how-agent-glyph {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 0.55rem;
  place-items: center;
  border-radius: 0.65rem;
  background: color-mix(in srgb, var(--brass) 13%, transparent);
  color: var(--brass-text);
  font-size: 1.15rem;
}
.how-agent-node small,
.how-device-copy small,
.how-route small {
  color: var(--paper-faint);
  font: 500 0.6rem / 1.2 var(--mono);
  letter-spacing: 0.09em;
}
.how-agent-node strong {
  overflow: hidden;
  font-size: 0.98rem;
  font-weight: 590;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.how-agent-node > span:last-child {
  color: var(--paper-muted);
  font-size: 0.76rem;
}
.how-route {
  display: grid;
  justify-items: center;
  align-items: center;
}
.how-route-line {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  overflow: hidden;
  background: var(--line);
}
.how-route-line i {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--brass), transparent);
  transform: translateX(-100%);
}
.how-route-courier {
  width: min(5rem, 70%);
  height: auto;
  margin: -0.25rem 0 0.1rem;
  opacity: 0.42;
  filter: saturate(0.8);
  transition:
    opacity 420ms var(--ease),
    filter 420ms var(--ease);
}
.how-demo:not([data-beat="phone-ready"]) .how-route-courier {
  opacity: 1;
  filter: none;
}
.how-demo[data-beat="phone-linked"] .how-route-line i,
.how-demo[data-beat="agent-connected"] .how-route-line i,
.how-demo[data-beat="message-sending"] .how-route-line i,
.how-demo[data-beat="alarm-armed"] .how-route-line i {
  animation: how-route-signal 1.2s var(--ease) both;
}
.how-demo[data-beat="alarm-offline"] .how-route,
.how-demo[data-beat="alarm-ringing"] .how-route {
  opacity: 0.48;
}
.how-device {
  position: relative;
  display: flex;
  width: min(100%, 15rem);
  min-height: 22rem;
  padding: 1rem;
  justify-self: end;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1.8rem;
  background: color-mix(in srgb, var(--paper) 4%, transparent);
  box-shadow:
    inset 0 0 0 4px color-mix(in srgb, var(--ink) 44%, transparent),
    0 1.4rem 3rem rgba(0, 0, 0, 0.12);
  transition:
    border-color 420ms var(--ease),
    box-shadow 420ms var(--ease),
    background-color 420ms var(--ease);
}
.how-device-speaker {
  width: 2.4rem;
  height: 0.2rem;
  margin: 0 auto 0.8rem;
  border-radius: 1rem;
  background: var(--line);
}
.how-device-bar,
.how-device-brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.how-device-bar {
  color: var(--paper-faint);
  font: 500 0.54rem / 1 var(--mono);
}
.how-device-brand {
  justify-content: flex-start;
  gap: 0.38rem;
  margin-top: 1.2rem;
  font: 570 0.78rem / 1 var(--ui);
}
.how-device-qr {
  position: absolute;
  top: 6rem;
  left: 50%;
  display: grid;
  width: 4.9rem;
  height: 4.9rem;
  place-items: center;
  color: var(--brass-text);
  transform: translateX(-50%);
  transition:
    opacity 280ms ease,
    visibility 280ms ease;
}
.how-device-qr[hidden] {
  display: grid;
  visibility: hidden;
  opacity: 0;
}
.how-device-qr svg {
  width: 100%;
  height: 100%;
}
.how-device-qr path:first-child {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
}
.how-device-qr path:last-child {
  fill: currentColor;
}
.how-device-copy {
  display: grid;
  gap: 0.45rem;
  margin-top: auto;
  padding-bottom: 3.1rem;
}
.how-device-copy strong {
  font-family: var(--display);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.how-device-copy p {
  margin: 0;
  color: var(--paper-muted);
  font-size: 0.76rem;
}
.how-device-state {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.45rem;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line-soft);
  color: var(--paper-faint);
  font: 500 0.56rem / 1.2 var(--mono);
  letter-spacing: 0.06em;
}
.how-device-state i {
  width: 0.38rem;
  height: 0.38rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}
.how-demo[data-beat="alarm-offline"] .how-device-state i {
  background: var(--brass);
}
.how-demo[data-beat="alarm-ringing"] .how-device {
  border-color: color-mix(in srgb, var(--brass) 72%, var(--line));
  box-shadow:
    inset 0 0 0 4px color-mix(in srgb, var(--ink) 44%, transparent),
    0 0 0 0.45rem color-mix(in srgb, var(--brass) 8%, transparent),
    0 1.4rem 3rem rgba(0, 0, 0, 0.12);
  animation: how-local-ring 1.1s ease-in-out 2;
}
.how-mode {
  position: absolute;
  bottom: 3.7rem;
  left: 50%;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.2rem;
  margin: 0;
  padding: 0.2rem;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: color-mix(in srgb, var(--ink) 82%, transparent);
  transform: translateX(-50%);
}
.how-mode[hidden] {
  display: none;
}
.how-mode button {
  min-height: 2rem;
  padding: 0.4rem 0.8rem;
  border: 0;
  border-radius: 0.5rem;
  background: transparent;
  color: var(--paper-muted);
  font: 560 0.72rem / 1 var(--ui);
  cursor: pointer;
}
.how-mode button.is-active {
  background: var(--paper);
  color: var(--ink);
}
.how-status {
  right: 1.25rem;
  bottom: 1.15rem;
  left: 1.25rem;
  min-height: 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--paper-muted);
  font-size: 0.78rem;
  text-align: center;
}

html[data-theme="light"] .how-device {
  background: color-mix(in srgb, white 42%, transparent);
  box-shadow:
    inset 0 0 0 4px color-mix(in srgb, var(--paper) 4%, transparent),
    0 1.4rem 3rem rgba(29, 30, 25, 0.07);
}
html[data-theme="light"] .how-mode {
  background: color-mix(in srgb, white 78%, transparent);
}
html[data-theme="light"] .how-demo[data-beat="alarm-ringing"] .how-device {
  box-shadow:
    inset 0 0 0 4px color-mix(in srgb, var(--paper) 4%, transparent),
    0 0 0 0.45rem color-mix(in srgb, var(--brass) 10%, transparent),
    0 1.4rem 3rem rgba(29, 30, 25, 0.07);
}

@keyframes how-route-signal {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}
@keyframes how-local-ring {
  0%,
  100% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(-0.45deg);
  }
  70% {
    transform: rotate(0.45deg);
  }
}

@media (max-width: 720px) {
  .how-step {
    min-height: 4.1rem;
    padding: 0.9rem 0.8rem;
  }
  .how-step strong {
    font-size: 0.875rem;
  }
  .how-stage {
    min-height: 29rem;
  }
  .how-flow {
    grid-template-columns: minmax(5.5rem, 0.68fr) minmax(3.2rem, 0.34fr) minmax(9rem, 1fr);
    gap: 0.55rem;
    min-height: 22rem;
    padding: 1rem 0.85rem 5.2rem;
  }
  .how-agent-node {
    gap: 0.34rem;
    min-height: 7.8rem;
    padding: 0.8rem;
  }
  .how-agent-glyph {
    width: 1.9rem;
    height: 1.9rem;
    margin-bottom: 0.3rem;
    font-size: 0.95rem;
  }
  .how-agent-node strong {
    font-size: 0.78rem;
  }
  .how-agent-node > span:last-child {
    font-size: 0.65rem;
  }
  .how-route-courier {
    width: min(3.3rem, 86%);
  }
  .how-device {
    min-height: 18rem;
    padding: 0.78rem;
    border-radius: 1.35rem;
  }
  .how-device-speaker {
    width: 1.8rem;
    margin-bottom: 0.6rem;
  }
  .how-device-brand {
    margin-top: 0.85rem;
    font-size: 0.68rem;
  }
  .how-device-qr {
    top: 5.2rem;
    width: 4rem;
    height: 4rem;
  }
  .how-device-copy {
    gap: 0.32rem;
    padding-bottom: 2.8rem;
  }
  .how-device-copy strong {
    font-size: clamp(1.15rem, 5vw, 1.6rem);
  }
  .how-device-copy p {
    font-size: 0.65rem;
  }
  .how-device-state {
    right: 0.78rem;
    bottom: 0.78rem;
    left: 0.78rem;
    font-size: 0.5rem;
  }
  .how-mode {
    bottom: 3.7rem;
  }
  .how-status {
    right: 0.85rem;
    bottom: 1rem;
    left: 0.85rem;
    font-size: 0.72rem;
  }
}

@media (max-width: 480px) {
  .how-demo {
    margin-top: 2.4rem;
  }
  .how-step {
    display: flex;
    justify-content: center;
    padding-inline: 0.45rem;
    text-align: center;
  }
  .how-step > span {
    display: none;
  }
  .how-stage-head {
    padding-inline: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .how-demo .how-route-line i,
  .how-demo[data-beat="alarm-ringing"] .how-device {
    animation: none;
  }
  .how-node,
  .how-route-courier,
  .how-device,
  .how-playback {
    transition: none;
  }
}

/* The final scene is a quiet panorama: one signal crossing from an agent to its phone. */
:root {
  --closing-sky-top: #202a25;
  --closing-sky-bottom: #141a16;
  --closing-ridge-back: #344039;
  --closing-ridge-mid: #26332b;
  --closing-ridge-front: #1b251f;
  --closing-contour: rgba(204, 214, 190, 0.13);
  --closing-glow: rgba(184, 181, 145, 0.18);
  --closing-orb: #d1c9aa;
  --closing-star: #e3e4d8;
  --closing-home: #1b241e;
  --closing-home-edge: #455246;
  --closing-window: #c4bc99;
  --closing-route: #c7d5a8;
  --closing-route-dim: #96a989;
  --closing-device: #101512;
  --closing-device-edge: #58665a;
  --closing-device-base: #323c33;
  --closing-agent-copy: #e0e5d8;
  --closing-agent-muted: #a6b19f;
  --closing-screen: #e5e8da;
  --closing-card: #f3f3e8;
  --closing-device-copy: #252c26;
  --closing-device-muted: #566257;
  --closing-lamp: #738f62;
  --closing-warm-lamp: #c0b58c;
  --closing-label: #c6c9b8;
  --closing-grass: #687b64;
  --theme-control-border: rgba(244, 240, 230, 0.16);
  --theme-control-bg: rgba(244, 240, 230, 0.035);
}
:root[data-theme="light"] {
  --closing-sky-top: #c8d1c2;
  --closing-sky-bottom: #d9d4c6;
  --closing-ridge-back: #a0a891;
  --closing-ridge-mid: #7e8a75;
  --closing-ridge-front: #5c6d60;
  --closing-contour: rgba(39, 52, 43, 0.2);
  --closing-glow: rgba(239, 231, 196, 0.5);
  --closing-orb: #efe4c4;
  --closing-star: #f5f3e7;
  --closing-home: #39463b;
  --closing-home-edge: #596750;
  --closing-window: #e8dcae;
  --closing-route: #e7e1c6;
  --closing-route-dim: #c7d3b5;
  --closing-device: #17211b;
  --closing-device-edge: #637467;
  --closing-device-base: #39483d;
  --closing-agent-copy: #e0e5d8;
  --closing-agent-muted: #a6b19f;
  --closing-screen: #eef0e4;
  --closing-card: #fbfaf1;
  --closing-device-copy: #283129;
  --closing-device-muted: #566257;
  --closing-lamp: #8ca477;
  --closing-warm-lamp: #d1c396;
  --closing-label: #f4f0de;
  --closing-grass: #d0d5ba;
  --theme-control-border: rgba(29, 30, 25, 0.18);
  --theme-control-bg: rgba(255, 255, 255, 0.36);
}

.closing-scene {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  isolation: isolate;
  background: var(--closing-sky-bottom);
  color: var(--paper);
}
.closing-art {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}
.closing-mono {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}
.closing-screen-copy {
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.closing-small-copy {
  font-size: 8px;
  letter-spacing: 0.01em;
}
.closing-object-label {
  font-size: 9px;
  letter-spacing: 0.12em;
}
.closing-route-line {
  animation: closing-signal-travel 18s linear infinite;
}
.closing-traveler {
  filter: drop-shadow(0 0 8px var(--closing-route));
}
.closing-copy {
  position: relative;
  z-index: 1;
  padding-top: clamp(4.5rem, 7vw, 6rem);
  padding-bottom: 6rem;
}
.closing-copy::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: calc((100vw - min(1184px, 100vw - 3rem)) / -2);
  width: min(64rem, 88vw);
  background: linear-gradient(90deg, var(--closing-sky-top), transparent 94%);
  content: "";
  opacity: 0.42;
  pointer-events: none;
}
.closing-copy .section-label {
  color: var(--brass-text);
}
.closing-copy h2 {
  max-width: 13ch;
  margin: 1rem 0 0;
  font-family: var(--display);
  font-size: clamp(2.6rem, 4.5vw, 4.3rem);
  font-weight: 520;
  letter-spacing: -0.055em;
  line-height: 0.99;
}
.closing-copy > p:not(.section-label) {
  max-width: 31rem;
  margin: 1.25rem 0 0;
  color: var(--paper-muted);
  font-size: clamp(0.96rem, 1.4vw, 1.08rem);
}
.closing-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.65rem;
}
.closing-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1rem 0.65rem 1.1rem;
  border: 1px solid var(--action);
  border-radius: 9px;
  background: var(--action);
  color: var(--action-text);
  font-size: 0.88rem;
  font-weight: 650;
  transition: filter 160ms ease;
}
.closing-cta:hover {
  filter: brightness(1.07);
}
.closing-email {
  color: var(--paper-muted);
  font-size: 0.88rem;
  transition: color 160ms ease;
}
.closing-email:hover {
  color: var(--paper);
}
.site-footer {
  margin-top: 0;
}
.footer-appearance {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  gap: 0.75rem;
  color: var(--paper-faint);
  font-size: 0.72rem;
}
:root .site-footer .footer-appearance .theme-toggle {
  display: inline-flex;
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  height: 36px;
  min-height: 36px;
  align-items: center;
  gap: 0.48rem;
  padding: 0.42rem 0.7rem;
  border: 1px solid var(--theme-control-border);
  border-radius: 999px;
  background: var(--theme-control-bg);
  color: var(--paper-muted);
  font: inherit;
  cursor: pointer;
  transition:
    color 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease;
}
:root .site-footer .footer-appearance .theme-toggle:hover {
  border-color: var(--action);
  background: color-mix(in srgb, var(--action) 8%, transparent);
  color: var(--paper);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--action);
  outline-offset: 3px;
}
.theme-toggle svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}
.theme-target-light,
.theme-toggle-sun {
  display: none;
}
html[data-theme="dark"] .theme-target-light,
html[data-theme="dark"] .theme-toggle-sun {
  display: inline;
}
html[data-theme="dark"] .theme-target-dark,
html[data-theme="dark"] .theme-toggle-moon {
  display: none;
}
html[data-theme="light"] .theme-target-dark,
html[data-theme="light"] .theme-toggle-moon {
  display: inline;
}
html[data-theme="light"] .theme-target-light,
html[data-theme="light"] .theme-toggle-sun {
  display: none;
}
html[data-theme="light"] .closing-copy::before {
  background: linear-gradient(90deg, var(--closing-sky-top), transparent 96%);
  opacity: 0.45;
}

@keyframes closing-signal-travel {
  to {
    stroke-dashoffset: -252;
  }
}
@media (max-width: 720px) {
  .closing-scene {
    min-height: 560px;
  }
  .closing-copy {
    padding-top: 4rem;
    padding-bottom: 5rem;
  }
  .closing-copy h2 {
    max-width: 12ch;
    font-size: clamp(2.35rem, 10vw, 3.5rem);
  }
  .closing-copy > p:not(.section-label) {
    max-width: 27rem;
  }
  .footer-appearance {
    grid-column: 1;
  }
}
@media (max-width: 400px) {
  .closing-copy h2 {
    max-width: 11ch;
  }
  .closing-actions {
    gap: 0.9rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .closing-route-line {
    animation: none;
  }
  .closing-traveler {
    display: none;
  }
}

/* A real, keyboard-accessible workspace sits within the landscape. */
:root[data-theme="light"] {
  --closing-sky-top: #eeede4;
  --closing-sky-bottom: #e0e4d8;
  --closing-ridge-back: #cbd3bd;
  --closing-ridge-mid: #b8c5ac;
  --closing-ridge-front: #9eaf98;
  --closing-glow: rgba(250, 249, 233, 0.5);
}
.how-hint {
  color: var(--paper-muted);
  font-size: 0.9rem;
  margin: 1rem 0 0;
}
.closing-scene {
  min-height: 810px;
  padding-bottom: 3rem;
}
.closing-copy {
  padding-bottom: 2.5rem;
}
.closing-copy h2 {
  max-width: 17ch;
}
.closing-copy > p:not(.section-label) {
  max-width: 34rem;
}
.closing-art {
  pointer-events: none;
}
.closing-playground {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 340px) 76px 170px;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: min(100% - 3rem, 660px);
  margin: -10rem max(2rem, calc((100vw - 1184px) / 2)) 0 auto;
  padding-top: 5rem;
}
.scene-laptop {
  min-width: 0;
}
.scene-laptop-screen {
  border: 2px solid var(--closing-device-edge);
  border-radius: 12px 12px 4px 4px;
  background: var(--closing-device);
  color: var(--closing-agent-copy);
  overflow: hidden;
  box-shadow: 0 16px 40px #0002;
  font-family: var(--mono);
  font-size: 11px;
}
.scene-window-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  color: var(--closing-agent-muted);
  font-size: 9px;
}
.scene-window-dots {
  color: var(--closing-warm-lamp);
  letter-spacing: 2px;
}
.scene-demo-label {
  margin-left: auto;
  font-size: 8px;
  letter-spacing: 0.1em;
}
.scene-tabs {
  min-width: 0;
  margin: 0;
  border: 0;
  display: flex;
  border-bottom: 1px solid var(--closing-device-edge);
  padding: 0 8px;
}
.scene-tabs button {
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--closing-agent-muted);
  font: inherit;
  cursor: pointer;
}
.scene-tabs button[aria-pressed="true"] {
  border-bottom-color: var(--closing-route);
  color: var(--closing-agent-copy);
  background: #ffffff08;
}
.scene-terminal {
  padding: 14px 18px 18px;
}
.scene-terminal p {
  margin: 0 0 10px;
  line-height: 1.5;
}
.scene-terminal-path {
  color: var(--closing-agent-muted);
  font-size: 10px;
}
.scene-terminal-path span {
  color: var(--closing-route);
  margin-left: 8px;
}
.scene-check {
  color: #b5c99d;
}
.scene-terminal-command {
  padding-top: 9px;
  color: var(--closing-agent-muted);
}
.scene-terminal-result {
  min-height: 33px;
}
.scene-send {
  min-height: 44px;
  padding: 9px 14px;
  border: 1px solid #a9bd93;
  border-radius: 6px;
  background: #c7d5b3;
  color: #19221b;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.scene-send:disabled {
  opacity: 0.75;
  cursor: wait;
}
.scene-signal {
  display: flex;
  align-items: center;
  position: relative;
  height: 44px;
  margin: 0 8px;
}
.scene-signal span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--closing-route);
}
.scene-signal i {
  flex: 1;
  border-top: 2px dotted var(--closing-device-edge);
}
.scene-phone {
  position: relative;
  min-height: 292px;
  padding: 18px 10px 30px;
  border: 5px solid var(--closing-device);
  border-radius: 29px;
  background: var(--closing-screen);
  color: var(--closing-device-copy);
  box-shadow: 0 14px 35px #0002;
}
.scene-phone-speaker {
  width: 42px;
  height: 5px;
  margin: -9px auto 20px;
  border-radius: 4px;
  background: var(--closing-device);
}
.scene-phone-time {
  text-align: center;
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.05em;
}
.scene-phone-waiting {
  margin: 24px 6px;
  color: var(--closing-device-muted);
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.scene-notification {
  position: absolute;
  top: 105px;
  left: 8px;
  right: 8px;
  padding: 12px 10px 5px;
  border: 1px solid #71816a30;
  border-radius: 12px;
  background: var(--closing-card);
  font-size: 10px;
}
.scene-notification[hidden] {
  display: none;
}
.scene-notification-brand {
  font-weight: 650;
}
.scene-notification-now {
  float: right;
  color: var(--closing-device-muted);
}
.scene-notification strong {
  display: block;
  margin-top: 12px;
  font-size: 13px;
}
.scene-notification p {
  line-height: 1.5;
  margin: 5px 0;
  color: var(--closing-device-muted);
}
.scene-notification button {
  min-height: 44px;
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--closing-device-copy);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.scene-phone-home {
  position: absolute;
  bottom: 8px;
  left: 32%;
  width: 36%;
  height: 3px;
  border-radius: 3px;
  background: var(--closing-device-edge);
}
.closing-playground button:focus-visible {
  outline: 2px solid var(--closing-route);
  outline-offset: -4px;
}
.scene-notification button:focus-visible {
  outline-color: var(--closing-device-copy);
}
.closing-playground[data-state="sending"] .scene-signal::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--closing-route);
  animation: scene-ping 1.1s ease-in-out both;
}
.closing-playground[data-state="delivered"] .scene-notification {
  animation: scene-arrive 240ms ease-out both;
}
@keyframes scene-ping {
  from {
    left: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  to {
    left: calc(100% - 7px);
    opacity: 1;
  }
}
@keyframes scene-arrive {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 1100px) {
  .closing-playground {
    margin: 0 auto;
    padding-top: 0;
  }
  .closing-copy {
    padding-bottom: 3rem;
  }
  .closing-copy h2 {
    max-width: 20ch;
  }
}
@media (max-width: 600px) {
  .closing-playground {
    width: min(100% - 2.5rem, 390px);
    grid-template-columns: minmax(0, 1fr) 22px 128px;
  }
  .scene-window-bar {
    gap: 5px;
    padding: 10px 8px;
    font-size: 8px;
  }
  .scene-window-dots {
    display: none;
  }
  .scene-demo-label {
    font-size: 7px;
  }
  .scene-tabs {
    padding: 0 3px;
  }
  .scene-tabs button {
    padding: 6px;
    font-size: 9px;
  }
  .scene-terminal {
    padding: 12px 10px;
    font-size: 10px;
  }
  .scene-terminal-path {
    font-size: 8px;
  }
  .scene-terminal-command {
    min-height: 48px;
  }
  .scene-terminal-result {
    min-height: 45px;
  }
  .scene-send {
    padding: 6px;
    font-size: 10px;
    width: 100%;
  }
  .scene-phone {
    min-height: 260px;
    padding-left: 6px;
    padding-right: 6px;
    border-width: 4px;
  }
  .scene-notification {
    left: 4px;
    right: 4px;
    padding: 10px 7px 3px;
  }
  .scene-notification strong {
    font-size: 11px;
  }
  .scene-phone-waiting {
    font-size: 11px;
  }
  .scene-signal {
    margin: 0 3px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .closing-playground[data-state="sending"] .scene-signal::after,
  .closing-playground[data-state="delivered"] .scene-notification {
    animation: none;
  }
}
@media (max-width: 360px) {
  .closing-playground {
    width: calc(100% - 2rem);
    grid-template-columns: minmax(0, 1fr) 18px 110px;
  }
  .scene-tabs button {
    padding-inline: 5px;
  }
}
.closing-playground[data-state="delivered"] .scene-phone-waiting {
  visibility: hidden;
}

/* Keep setup and delivery readable, with one packet traveling the entire connection. */
.how-flow {
  gap: 0;
  max-width: 58rem;
  margin-inline: auto;
  grid-template-columns: minmax(0, 15rem) minmax(4rem, 1fr) minmax(0, 15rem);
}
.how-agent-node {
  min-height: 15rem;
}
.how-agent-node strong {
  white-space: normal;
  overflow: visible;
  line-height: 1.3;
}
.how-agent-node .how-device-qr {
  position: static;
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 0 0.8rem;
  transform: none;
}
.how-agent-node .how-device-qr[hidden] {
  display: none;
}
.how-demo[data-step="phone"] .how-agent-glyph {
  display: none;
}
.how-route {
  position: relative;
  width: 100%;
  height: 6rem;
}
.how-route-line {
  position: absolute;
  top: 50%;
}
.how-route-courier {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.8rem;
  margin: 0;
  transform: translate(-50%, -50%);
  opacity: 0;
}
.how-demo:not([data-beat="phone-ready"]) .how-route-courier {
  opacity: 0;
}
.how-demo[data-beat="message-sending"] .how-route-courier,
.how-demo[data-beat="alarm-sending"] .how-route-courier {
  opacity: 1;
}
.how-route small {
  position: absolute;
  top: calc(50% + 1.6rem);
  max-width: 100%;
  text-align: center;
  font-size: 0.55rem;
  letter-spacing: 0;
}
.how-demo[data-beat="phone-linked"] .how-route-line i,
.how-demo[data-beat="agent-connected"] .how-route-line i,
.how-demo[data-beat="message-sending"] .how-route-line i,
.how-demo[data-beat="alarm-armed"] .how-route-line i {
  animation: none;
}

.how-playback {
  min-height: 44px;
  padding-inline: 0.5rem;
}
.how-mode button {
  min-height: 44px;
}
.how-status {
  min-height: 2.8em;
  line-height: 1.5;
}
.scene-phone {
  min-height: 360px;
}
.scene-phone-waiting {
  position: absolute;
  top: 112px;
  left: 6px;
  right: 6px;
}
.scene-notification {
  position: relative;
  inset: auto;
  margin: 18px 0 0;
  min-height: 205px;
}
.scene-notification[hidden] {
  display: block;
  visibility: hidden;
  pointer-events: none;
}
.scene-notification-message {
  color: var(--closing-device-copy);
}
.scene-notification-now {
  float: none;
  display: block;
  margin-top: 3px;
}
.scene-terminal-command {
  min-height: 3em;
}
.scene-terminal-result {
  min-height: 3em;
}
.closing-playground[data-mode="alarm"][data-state="delivered"] .scene-phone {
  animation: scene-alarm 180ms ease-in-out 4 alternate;
}
@keyframes scene-alarm {
  from {
    transform: rotate(-1deg);
  }
  to {
    transform: rotate(1deg);
  }
}
@media (max-width: 600px) {
  .how-flow {
    grid-template-columns: minmax(0, 1fr) 3rem minmax(0, 1.25fr);
    padding-inline: 0.85rem;
  }
  .how-agent-node {
    padding: 0.7rem;
    min-height: 13rem;
  }
  .how-agent-node strong {
    font-size: 0.85rem;
  }
  .how-route-courier {
    width: 2.2rem;
  }
  .how-agent-node > span:last-child {
    font-size: 0.7rem;
  }
  .how-stage {
    min-height: 38rem;
  }
  .how-flow {
    padding-bottom: 7rem;
  }
  .how-status {
    bottom: 0.85rem;
    font-size: 0.75rem;
  }
  .how-mode {
    bottom: 5rem;
  }
  .scene-phone {
    min-height: 360px;
  }
  .scene-notification {
    min-height: 215px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .closing-playground[data-mode="alarm"][data-state="delivered"] .scene-phone {
    animation: none;
  }
}

/* A workstation in the landscape: a wide display, keyboard deck and phone. */
.closing-playground {
  width: min(100% - 4rem, 920px);
  grid-template-columns: minmax(0, 570px) 80px 220px;
  margin: 2rem auto 0;
  padding-top: 0;
  align-items: center;
}
.closing-copy {
  padding-bottom: 0;
}
.closing-art {
  height: 100%;
}
.scene-laptop {
  padding: 0 14px;
  perspective: 900px;
}
.scene-laptop-screen {
  position: relative;
  border: 7px solid var(--closing-device-base);
  border-bottom-width: 7px;
  border-radius: 17px;
  font-size: 12px;
  box-shadow:
    0 0 0 1px var(--closing-device-edge),
    0 20px 38px #0002;
}
.scene-app-window {
  min-height: 348px;
}
.scene-window-bar {
  padding: 0 9px;
  min-height: 36px;
  border-bottom: 1px solid #ffffff09;
  font-family: var(--ui);
  font-size: 10px;
}
.mac-controls {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: -4px;
}
.mac-controls button {
  display: grid;
  place-items: center;
  border: 0;
  padding: 0;
  width: 27px;
  height: 36px;
  background: none;
  cursor: pointer;
}
.mac-controls button span {
  width: 12px;
  height: 12px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font: 11px / 1 var(--ui);
  color: transparent;
  background: #78837a;
  transition:
    background 160ms,
    color 160ms;
}
.mac-controls:hover button:nth-child(1) span,
.mac-controls:focus-within button:nth-child(1) span {
  background: #ff625b;
  color: #641714;
}
.mac-controls:hover button:nth-child(2) span,
.mac-controls:focus-within button:nth-child(2) span {
  background: #ffbd44;
  color: #6a460a;
}
.mac-controls:hover button:nth-child(3) span,
.mac-controls:focus-within button:nth-child(3) span {
  background: #00c84b;
  color: #064e20;
}
.mac-dots {
  display: inline-flex;
  gap: 5px;
}
.mac-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff625b;
}
.mac-dots i:nth-child(2) {
  background: #ffbd44;
}
.mac-dots i:nth-child(3) {
  background: #36c86a;
}
.scene-tabs {
  background: #ffffff03;
}
.scene-tabs button {
  flex: 1;
  font-family: var(--ui);
  font-size: 12px;
}
.scene-tabs button span {
  padding-right: 5px;
  color: #c9d7b3;
}
.scene-workspace-body {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  min-height: 290px;
}
.scene-file-list {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
  border-right: 1px solid #ffffff10;
  color: var(--closing-agent-muted);
  font-size: 10px;
}
.scene-file-list span {
  padding-inline: 10px;
  white-space: pre;
}
.scene-file-list > span:first-child {
  font-size: 8px;
  letter-spacing: 0.13em;
  margin-bottom: 5px;
}
.scene-file-list .is-selected {
  background: #c7d5b318;
  color: var(--closing-agent-copy);
  padding-block: 5px;
}
.scene-branch {
  margin-top: auto;
}
.scene-terminal {
  padding: 12px 15px 14px;
  min-width: 0;
}
.scene-terminal p {
  margin-bottom: 8px;
}
.scene-terminal-path {
  font-size: 10px;
}

.how-work-code b {
  font-weight: 400;
  color: #8a978b;
  margin-right: 9px;
}

.how-work-code i {
  font-style: normal;
  color: #b9a7d8;
}

.how-work-code em {
  font-style: normal;
  color: #c5d69b;
}
.scene-terminal-command {
  border: 1px solid #c7d5b320;
  border-radius: 7px;
  padding: 9px 10px;
  color: #c8d0c3;
  background: #ffffff04;
}
.scene-terminal-result {
  font-size: 11px;
  min-height: 2.5em;
  padding-top: 4px;
}
.scene-send {
  font-size: 11px;
}
.scene-editor-status {
  display: flex;
  justify-content: space-between;
  padding: 7px 10px;
  color: #b4c1ad;
  background: #a9bd9310;
  border-top: 1px solid #ffffff09;
  font-size: 8px;
}
.scene-desktop {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(ellipse at 75% 15%, #6d815b, transparent 65%),
    linear-gradient(140deg, #18291f, #3b5341);
}
.scene-desktop[hidden],
.scene-app-window[hidden] {
  display: none;
}
.scene-desktop button {
  min-height: 44px;
  border: 1px solid #a9bd9370;
  border-radius: 8px;
  background: #b5c99d;
  color: #18221b;
  padding: 8px 16px;
  font: inherit;
  cursor: pointer;
}
.closing-playground.is-expanded {
  width: min(100% - 4rem, 1080px);
  grid-template-columns: minmax(0, 720px) 80px 220px;
}
.closing-playground.is-expanded .scene-terminal {
  padding: 20px;
}
.scene-phone {
  min-height: 350px;
}
.scene-notification {
  font-size: 12px;
}
.scene-notification strong {
  font-size: 15px;
}
.scene-notification-message {
  color: var(--closing-device-copy) !important;
}
.closing-home {
  opacity: 0.7;
}

/* The walkthrough uses the same workspace, so an agent is a visible task. */
.how-flow {
  max-width: 60rem;
  grid-template-columns: minmax(0, 26rem) minmax(3rem, 1fr) minmax(0, 15rem);
}
.how-agent-node {
  padding: 0 0 20px;
  text-align: left;
  align-items: stretch;
  min-height: 260px;
  gap: 0;
  background: var(--ink);
  color: var(--paper);
  border: 5px solid var(--line);
  border-radius: 12px;
  opacity: 1 !important;
}
.how-agent-node::after {
  content: "";
  height: 7px;
  position: absolute;
  bottom: -11px;
  left: -9px;
  right: -9px;
  border-radius: 1px 1px 50% 50%;
  background: var(--paper-muted);
}
.how-workspace-bar {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid var(--line);
  font: 9px var(--mono);
  color: var(--paper-muted);
}
.how-agent-roster {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
}
.how-agent-roster > span {
  flex: 1;
  font: 11px var(--ui);
  padding: 10px;
  color: var(--paper-muted);
  white-space: nowrap;
}
.how-agent-roster > span::after {
  display: block;
  content: attr(data-status);
  font: 8px var(--mono);
  margin-top: 5px;
  opacity: 0.8;
}
.how-agent-roster .is-active {
  background: color-mix(in srgb, var(--brass) 12%, transparent);
  color: var(--paper);
  box-shadow: inset 0 -2px var(--brass);
}
.how-work-code {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 16px 18px 12px;
  font: 10px var(--mono);
  opacity: 0.75;
}
.how-agent-node > small,
.how-agent-node > strong,
.how-agent-node > span {
  padding-inline: 18px;
}
.how-agent-node > small {
  margin-top: 15px;
  font-size: 8px;
}
.how-agent-node > strong {
  font-size: 18px;
  line-height: 1.3;
  margin-top: 7px;
}
.how-agent-node > span {
  font-size: 11px;
  margin-top: 7px;
  color: var(--paper-muted);
}
.how-demo[data-step="phone"] .how-work-code,
.how-demo[data-step="phone"] .how-agent-roster {
  display: none;
}
.how-agent-node .how-device-qr {
  margin: 18px auto 5px;
  width: 80px;
  height: 80px;
}
.how-demo[data-step="phone"] .how-agent-node {
  text-align: center;
}
.how-demo[data-step="phone"] .how-agent-node > small {
  margin-top: 12px;
}
.how-demo[data-running="true"] .how-agent-roster > span::after {
  animation: workspace-working 2s ease-in-out 2;
}
@keyframes workspace-working {
  50% {
    opacity: 0.4;
  }
}
@media (hover: none) {
  .mac-controls button:nth-child(1) span {
    background: #ff625b;
  }
  .mac-controls button:nth-child(2) span {
    background: #ffbd44;
  }
  .mac-controls button:nth-child(3) span {
    background: #36c86a;
  }
}
@media (max-width: 900px) {
  .closing-playground,
  .closing-playground.is-expanded {
    width: calc(100% - 3rem);
    grid-template-columns: minmax(0, 1fr) 45px 190px;
  }
  .scene-file-list {
    display: none;
  }
  .scene-workspace-body {
    grid-template-columns: 1fr;
  }
  .scene-window-bar {
    gap: 4px;
  }
  .scene-demo-label {
    display: none;
  }
}
@media (max-width: 680px) {
  .closing-playground,
  .closing-playground.is-expanded {
    width: min(100% - 2.5rem, 520px);
    grid-template-columns: minmax(0, 1fr);
    margin-top: 2rem;
  }
  .scene-laptop {
    padding-inline: 10px;
  }
  .scene-app-window {
    min-height: 350px;
  }
  .scene-terminal {
    padding: 14px 16px;
    font-size: 12px;
  }
  .scene-terminal-command {
    min-height: 0;
  }
  .scene-terminal-result {
    min-height: 2.5em;
  }
  .scene-terminal-path {
    font-size: 10px;
  }
  .scene-send {
    width: auto;
    padding: 9px 14px;
    font-size: 11px;
  }
  .scene-tabs button {
    font-size: 12px;
  }
  .scene-window-bar {
    padding: 0 8px;
    font-size: 10px;
  }
  .scene-demo-label {
    display: inline;
  }
  .scene-phone {
    width: min(230px, 90%);
    min-height: 335px;
    justify-self: center;
    padding: 18px 10px 25px;
  }
  .scene-notification {
    padding: 12px 10px 5px;
    min-height: 190px;
  }
  .scene-notification strong {
    font-size: 15px;
  }
  .scene-signal {
    width: 2px;
    height: 64px;
    justify-self: center;
    margin: 0;
    flex-direction: column;
  }
  .scene-signal i {
    border-top: 0;
    border-left: 2px dotted var(--closing-device-edge);
  }
  .scene-signal span {
    flex-shrink: 0;
  }
  .closing-playground[data-state="sending"] .scene-signal::after {
    animation-name: scene-ping-down;
    left: -2px;
  }
  .closing-copy {
    padding-bottom: 0;
  }
  .closing-home {
    transform: translate(100px, 440px) scale(0.8);
    opacity: 0.4;
  }
  .how-stage {
    padding: 1rem;
    min-height: 0;
  }
  .how-flow {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    padding: 1.5rem 0 8rem;
  }
  .how-agent-node {
    width: min(100%, 340px);
    justify-self: center;
    min-height: 240px;
  }
  .how-agent-node > strong {
    font-size: 18px;
  }
  .how-agent-node > span {
    font-size: 11px;
  }
  .how-route {
    height: 65px;
    width: 100%;
  }
  .how-route-line {
    height: 100%;
    width: 1px;
    top: 0;
    left: 50%;
    transform: none;
  }
  .how-route-line i {
    display: none;
  }
  .how-route-courier {
    top: 0;
    left: 50%;
    width: 2.5rem;
  }
  .how-route small {
    left: calc(50% + 20px);
    top: 22px;
    transform: none;
    width: auto;
  }
  .how-device {
    width: min(225px, 85%);
    justify-self: center;
    min-height: 280px;
  }
  .how-mode {
    bottom: 5.5rem;
  }
  .how-status {
    min-height: 4em;
  }
  .how-agent-roster > span {
    padding: 10px 8px;
    font-size: 11px;
  }
}
@keyframes scene-ping-down {
  from {
    top: 0;
    opacity: 0;
  }
  15% {
    opacity: 1;
  }
  to {
    top: calc(100% - 7px);
    opacity: 1;
  }
}
@media (prefers-reduced-motion: reduce) {
  .how-demo[data-running="true"] .how-agent-roster > span::after {
    animation: none;
  }
  .mac-controls button span {
    transition: none;
  }
}

.how-agent-node {
  position: relative;
  align-content: start;
}

.how-agent-node {
  background: var(--closing-device);
  color: var(--closing-agent-copy);
  border-color: var(--closing-device-edge);
}
.how-agent-node > small,
.how-agent-node > span,
.how-workspace-bar,
.how-agent-roster > span {
  color: var(--closing-agent-muted);
}
.how-agent-roster .is-active {
  color: var(--closing-agent-copy);
}
.how-workspace-bar,
.how-agent-roster {
  border-color: #ffffff15;
}
.how-agent-node > strong {
  color: var(--closing-agent-copy);
}
@media (min-width: 901px) {
  .closing-playground {
    width: min(100% - 4rem, 1020px);
    grid-template-columns: minmax(0, 640px) 80px 220px;
  }
  .scene-workspace-body {
    min-height: 250px;
  }
}
@media (max-width: 680px) {
  .scene-app-window {
    min-height: 0;
  }
  .scene-workspace-body {
    min-height: 238px;
  }
  .scene-desktop {
    min-height: 320px;
  }
}

.mac-controls {
  margin-block: 0;
  margin-right: 0;
  border: 0;
  padding: 0;
  min-width: 0;
}
.how-demo .how-agent-node > span {
  color: #b9c3b4;
}
@media (min-width: 681px) {
  .closing-home {
    transform: translate(340px, 445px) scale(0.75);
  }
}

.how-agent-roster > span::after {
  opacity: 1;
  color: #b9c3b4;
}
@media (max-width: 680px) {
  .closing-stars {
    opacity: 0.15;
  }
}

/* Agent selection changes the task, never the workspace geometry. */
.scene-announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.scene-terminal [data-scene-task],
.scene-terminal [data-scene-progress] {
  min-height: 3em;
}
.scene-terminal-command {
  min-height: calc(3em + 18px);
}
.scene-terminal-result {
  min-height: 3em;
}
.scene-notification {
  height: 250px;
  display: flex;
  flex-direction: column;
}
.scene-notification button {
  margin-top: auto;
  flex-shrink: 0;
}
@media (max-width: 680px) {
  .scene-terminal-command {
    min-height: calc(4.5em + 18px);
  }
}
.scene-terminal-result {
  min-height: calc(3em + 4px);
}
.scene-send {
  min-width: 9rem;
}

/* The step underline follows the same playback clock as the scene. */
.how-step > i {
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
}
.how-step.is-complete > i {
  transform: scaleX(1);
}

.how-stage {
  min-height: 0;
}
.how-flow {
  padding-bottom: 5.5rem;
}
.how-mode {
  bottom: 1.5rem;
}
.how-agent-node {
  min-height: 19rem;
}

/* One compact theme control across the public pages. */
:root .theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  width: auto;
  min-width: 84px;
  min-height: 40px;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--paper-muted);
  background: var(--theme-control-bg);
  font-family: var(--ui);
  font-size: 0.75rem;
  font-weight: 550;
}
:root .theme-toggle:hover {
  color: var(--paper);
  border-color: var(--paper-faint);
}
.theme-toggle svg {
  width: 17px;
  height: 17px;
  stroke: currentColor;
  stroke-width: 1.6;
  fill: none;
}
.page-ending {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--closing-sky-top);
  border-top: 1px solid var(--line-soft);
}
.page-ending-art {
  position: absolute;
  inset: auto 0 0;
  width: 100%;
  height: 100%;
  min-height: 320px;
  z-index: -1;
  pointer-events: none;
}
.page-ending-content {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.page-ending h2 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 580;
  line-height: 1.05;
  letter-spacing: -0.045em;
  margin: 0.8rem 0 1rem;
  max-width: 16ch;
}
.page-ending-content > p:not(.section-label) {
  color: var(--paper-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.page-ending .button {
  border-radius: 12px;
}
.ending-orb {
  fill: var(--closing-orb);
  opacity: 0.75;
}
.ending-ridge-back {
  fill: var(--closing-ridge-back);
  opacity: 0.5;
}
.ending-ridge-front {
  fill: var(--closing-ridge-front);
  opacity: 0.55;
}
.ending-home {
  fill: var(--closing-home);
}
.ending-roof {
  fill: none;
  stroke: var(--closing-home-edge);
  stroke-width: 8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ending-window,
.ending-door {
  fill: var(--closing-window);
}
.ending-mullion {
  stroke: var(--closing-home);
  stroke-width: 2;
}
.ending-trees {
  fill: var(--closing-home);
}
.ending-trunks {
  stroke: var(--closing-home);
  stroke-width: 6;
}
.ending-path {
  fill: none;
  stroke: var(--closing-route-dim);
  stroke-width: 16;
  opacity: 0.35;
}
.page-ending-footer {
  background: var(--ink);
}
.page-ending-footer .footer-appearance {
  justify-content: flex-start;
}
@media (max-width: 640px) {
  .page-ending-content {
    padding-bottom: 12rem;
  }
  .page-ending-art {
    height: 230px;
    min-height: 0;
    width: 850px;
    max-width: none;
    left: auto;
    right: -70px;
  }
  .page-ending-content > p:not(.section-label) {
    max-width: 27rem;
  }
  .page-ending-footer .footer-links {
    gap: 0.8rem 1.2rem;
  }
}
