/*
  Farm Terminal — moss editorial visual system
  Original art direction inspired by dark ecological-tech presentation design.
*/

:root {
  --bg: #080907;
  --bg-soft: #0d0f0b;
  --panel: #11130f;
  --panel-2: #151811;
  --ink: #eef0e7;
  --muted: #92978a;
  --faint: #5e6359;
  --line: rgba(229, 234, 213, 0.16);
  --line-strong: rgba(229, 234, 213, 0.3);
  --moss: #bccb79;
  --moss-bright: #d9e8a0;
  --moss-dark: #5f6c32;
  --ok: #b9d56e;
  --font: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --max: 1180px;
  --radius: 0.35rem;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  background: var(--bg);
}

html::-webkit-scrollbar {
  display: none;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(ellipse 42% 28% at 18% 22%, rgba(133, 146, 65, 0.11), transparent 72%),
    radial-gradient(ellipse 44% 28% at 78% 68%, rgba(116, 130, 54, 0.08), transparent 74%),
    var(--bg);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible,
button:focus-visible {
  outline: 1px solid var(--moss-bright);
  outline-offset: 4px;
}

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

.skip {
  position: fixed;
  top: 1rem;
  left: -999px;
  z-index: 100;
  padding: 0.6rem 0.8rem;
  background: var(--ink);
  color: var(--bg);
}

.skip:focus {
  left: 1rem;
}

.sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.sky::before,
.sky::after {
  content: "";
  position: absolute;
  width: 30rem;
  height: 30rem;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.08;
}

.sky::before {
  top: 10%;
  left: -14rem;
  background: var(--moss);
}

.sky::after {
  right: -16rem;
  bottom: 18%;
  background: var(--moss-dark);
}

.sky-beam {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(115deg, transparent 30%, rgba(207, 220, 139, 0.025) 48%, transparent 64%);
}

.sky-stars {
  position: absolute;
  inset: 0;
  opacity: 0.28;
  background-image:
    radial-gradient(1px 1px at 13% 17%, rgba(224, 232, 197, 0.7), transparent),
    radial-gradient(1px 1px at 64% 21%, rgba(224, 232, 197, 0.5), transparent),
    radial-gradient(1px 1px at 79% 63%, rgba(224, 232, 197, 0.42), transparent),
    radial-gradient(1px 1px at 33% 76%, rgba(224, 232, 197, 0.4), transparent);
}

.topbar,
main,
.footer {
  position: relative;
  z-index: 1;
}

/* Masthead */
.topbar {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 30;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.25rem 0;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 0;
  background: transparent;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 11rem;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.brand::after {
  content: "";
  width: clamp(3rem, 14vw, 13rem);
  height: 1px;
  background: var(--line-strong);
}

.topnav {
  display: flex;
  gap: clamp(1rem, 2.5vw, 2.25rem);
  margin-left: auto;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.topnav a,
.link-quiet {
  transition: color 180ms ease;
}

.topnav a:hover,
.link-quiet:hover {
  color: var(--ink);
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-left: clamp(0.4rem, 2vw, 1.5rem);
}

.link-quiet {
  color: var(--muted);
  font-size: 0.82rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font: 500 0.82rem/1 var(--font);
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  border-color: var(--moss);
  color: var(--moss-bright);
}

.btn-sm {
  min-height: 2.1rem;
  padding: 0.55rem 0.9rem;
  font-size: 0.76rem;
}

.btn-primary {
  border-color: var(--moss);
  color: #0b0d08;
  background: var(--moss-bright);
}

.btn-primary:hover {
  color: #050604;
  background: #edf6bd;
}

/* Hero composition */
.hero {
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 0 0 clamp(5rem, 10vw, 8rem);
  scroll-margin-top: 5rem;
}

.hero-ghost {
  display: none;
}

.hero-art {
  position: relative;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #0a0c08;
}

.hero-art::after {
  content: "realtime   /   multi-exchange   /   hft";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  transform: translateY(-50%);
  color: rgba(238, 240, 231, 0.58);
  font-family: var(--mono);
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.terrain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
  filter: saturate(0.82) contrast(1.08) brightness(0.82);
  transform: scale(1.01);
}

.terrain-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(3, 4, 3, 0.35), transparent 28%, transparent 70%, rgba(3, 4, 3, 0.7)),
    linear-gradient(90deg, rgba(3, 4, 3, 0.44), transparent 32%, transparent 72%, rgba(3, 4, 3, 0.3));
}

.hero-orbit {
  position: absolute;
  border: 1px solid rgba(225, 234, 193, 0.24);
  border-radius: 50%;
}

.orbit-a {
  width: min(58vw, 52rem);
  height: min(58vw, 52rem);
  top: -35%;
  left: -8%;
}

.orbit-b {
  width: min(45vw, 42rem);
  height: min(45vw, 42rem);
  right: 18%;
  top: 22%;
}

.hero-wordmark {
  position: absolute;
  top: 48%;
  left: clamp(2rem, 7vw, 7rem);
  width: auto;
  transform: translateY(-50%);
  display: flex;
  gap: 0.25em;
  text-align: left;
  text-transform: uppercase;
}

.hero-wordmark span {
  display: inline;
  font-size: clamp(3rem, 7.6vw, 7.2rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.16em;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.65);
}

.hero-wordmark span:last-child {
  margin: 0;
  padding: 0;
  font-size: clamp(3rem, 7.6vw, 7.2rem);
  letter-spacing: 0.16em;
  color: var(--ink);
}

.hero-art-note {
  position: absolute;
  top: 53%;
  left: 55%;
  right: auto;
  margin: 0;
  max-width: 11rem;
  color: rgba(238, 240, 231, 0.74);
  font-size: 0.84rem;
  line-height: 1.5;
}

.hero-art-status {
  position: absolute;
  right: clamp(2rem, 5vw, 5rem);
  bottom: clamp(1.5rem, 4vw, 3.5rem);
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(238, 240, 231, 0.7);
}

.live-dot {
  width: 0.45rem;
  height: 0.45rem;
  flex: none;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(185, 213, 110, 0.12);
}

.hero-details {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(24rem, 0.9fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
  width: min(calc(100% - 2rem), 1040px);
  margin: clamp(2.5rem, 5vw, 4rem) auto 0;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-statement h1 {
  margin: 0;
  max-width: 9ch;
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 32rem;
  margin: 1.5rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.text-link {
  display: inline-flex;
  gap: 1.4rem;
  align-items: center;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--line-strong);
  font-size: 0.88rem;
}

.text-link span {
  color: var(--moss);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding-top: 1.5rem;
}

.fact-card {
  min-height: 10.5rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12, 14, 10, 0.72);
}

.fact-card > span,
.feature-num,
.link-kicker {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.7rem;
}

.fact-card strong {
  display: block;
  margin-top: 2.4rem;
  font-size: 1.2rem;
  font-weight: 400;
}

.fact-card p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.hero-console {
  position: relative;
  z-index: 4;
  width: min(68rem, calc(100% - 2rem));
  margin: 3rem max(1rem, calc((100% - var(--max)) / 2)) 0 auto;
  border: 1px solid var(--line);
  background: #060706;
  box-shadow: 0 2rem 7rem rgba(0, 0, 0, 0.58);
}

.hero-console img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-console figcaption {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Infinite system strip */
.proof {
  padding: 0.5rem 0 2.5rem;
}

.proof-label {
  margin: 0 0 1.5rem;
  text-align: center;
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.marquee {
  --marquee-gap: 0.7rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee-track {
  display: flex;
  gap: var(--marquee-gap);
  width: max-content;
  min-width: 100%;
  will-change: transform;
  animation: marquee 30s linear infinite;
}

.marquee-group {
  display: flex;
  flex: none;
  width: max-content;
  min-width: 100vw;
  justify-content: space-around;
  gap: var(--marquee-gap);
  padding-right: var(--marquee-gap);
}

.proof-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.7rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(12, 14, 10, 0.6);
  font-family: var(--mono);
  font-size: 0.7rem;
  white-space: nowrap;
}

/* Editorial chapters */
.section {
  position: relative;
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 6.5rem) 0;
  scroll-margin-top: 5rem;
}

.section::before {
  position: absolute;
  top: 0.75rem;
  left: 50%;
  z-index: -1;
  transform: translateX(-50%);
  color: rgba(232, 237, 215, 0.035);
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.06em;
  white-space: nowrap;
  pointer-events: none;
}

#demo::before { content: "INTERFACE"; }
#flow::before { content: "PIPELINE"; }
#product::before { content: "SURFACES"; }
#architecture::before { content: "SYSTEM"; }

.section-wide {
  max-width: 1260px;
}

.section-head {
  max-width: 50rem;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.section h2 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(3.1rem, 7.5vw, 6.8rem);
  font-weight: 300;
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.section-lead {
  max-width: 34rem;
  margin: 1.15rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.glass {
  border: 1px solid var(--line);
  background: rgba(13, 15, 11, 0.88);
}

/* Tour */
.demo-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.62fr);
  gap: 1.1rem;
  align-items: start;
}

.demo-stage {
  overflow: hidden;
  background: #050605;
}

.demo-media {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.demo-steps {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.demo-step {
  width: 100%;
  min-height: 5.6rem;
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.6rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(12, 14, 10, 0.7);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease;
}

.demo-step:hover,
.demo-step.is-active {
  border-color: rgba(196, 215, 124, 0.55);
  background: rgba(24, 28, 17, 0.86);
}

.demo-step-num {
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
}

.demo-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.demo-step-body strong {
  font-size: 0.98rem;
  font-weight: 400;
}

.demo-step-body span {
  color: var(--muted);
  font-size: 0.82rem;
}

/* Flow */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
  max-width: none;
  margin-left: 0;
}

.feature-card {
  min-height: 10.5rem;
  padding: 1.3rem;
  border-radius: var(--radius);
}

.feature-card h3 {
  margin: 2.4rem 0 0.45rem;
  font-size: 1.25rem;
  font-weight: 400;
}

.feature-card p {
  max-width: 25rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Product gallery */
.shots {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-height: 0;
}

.shot {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #050605;
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.34);
}

.shot img {
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #050605;
}

.shot figcaption {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.75rem 0.85rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #0b0d09;
  font-family: var(--mono);
  font-size: 0.72rem;
}

.shot figcaption span {
  color: var(--moss);
}

.shot-featured {
  grid-column: 1 / -1;
}

.shot-featured img {
  width: 100%;
  height: auto;
}

.shot:nth-child(2),
.shot:nth-child(3) {
  position: relative;
  inset: auto;
  width: 100%;
}

/* Shipped */
.two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.split-card {
  min-height: 17rem;
  padding: 1.5rem;
  border-radius: var(--radius);
}

.split-card h3 {
  max-width: 13ch;
  margin: 3.5rem 0 0.8rem;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.04em;
}

.split-card > p {
  max-width: 28rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

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

.check-list li {
  padding: 0.38rem 0.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
}

/* Architecture */
.arch-frame {
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: var(--radius);
  background: #070806;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
}

.arch-frame::-webkit-scrollbar {
  display: none;
}

.arch-frame svg {
  width: 100%;
  min-width: 820px;
  height: auto;
}

.arch-frame svg > rect:first-of-type {
  fill: #080907;
}

.arch-frame svg g[stroke-width="1.5"] rect {
  fill: #11130f;
  stroke: rgba(229, 234, 213, 0.2);
}

.arch-frame svg g[stroke-width="1.5"] rect:nth-child(2),
.arch-frame svg g[stroke-width="1.5"] rect:nth-child(5) {
  fill: #171b10;
  stroke: rgba(188, 203, 121, 0.5);
}

.arch-frame svg g[fill="#f8fafc"] {
  fill: var(--ink);
}

.arch-frame svg g[fill="#94a3b8"] {
  fill: var(--muted);
}

.arch-frame svg g[stroke-width="1.6"] {
  stroke: rgba(229, 234, 213, 0.4);
}

.arch-frame svg marker path {
  fill: rgba(205, 220, 139, 0.82);
}

.arch-frame svg text {
  font-family: var(--font);
}

.arch-frame svg g[fill="#94a3b8"] text {
  font-family: var(--mono);
}

.arch-hint {
  position: sticky;
  left: 0;
  width: 100%;
  padding: 0.7rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  background: #0d0f0b;
  font-family: var(--mono);
  font-size: 0.68rem;
  text-align: center;
}

/* Stack + links */
.stack-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stack-chips li {
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.74rem;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
}

.link-card {
  min-height: 9.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.15rem;
  border-radius: var(--radius);
  transition: border-color 180ms ease, transform 180ms ease;
}

.link-card:hover {
  border-color: rgba(196, 215, 124, 0.5);
  transform: translateY(-3px);
}

.link-card strong {
  margin-top: auto;
  font-size: 1.18rem;
  font-weight: 400;
}

.link-card span:last-child {
  margin-top: 0.35rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.cta-band {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1rem 0 5rem;
}

.cta-band-inner {
  position: relative;
  overflow: hidden;
  min-height: 19rem;
  display: grid;
  align-content: center;
  justify-items: center;
  padding: 3rem 1.5rem;
  border-radius: var(--radius);
  text-align: center;
  background:
    radial-gradient(circle at 50% 115%, rgba(164, 180, 82, 0.28), transparent 48%),
    #0d0f0b;
}

.cta-band-inner::before {
  content: "";
  position: absolute;
  width: 34rem;
  height: 34rem;
  bottom: -28rem;
  border: 1px solid rgba(212, 225, 151, 0.24);
  border-radius: 50%;
}

.cta-band h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.cta-band p {
  max-width: 30rem;
  margin: 1.2rem 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.cta-row {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.6rem;
}

.footer {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-family: var(--mono);
  font-size: 0.68rem;
}

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

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

.reveal.delay-1 { transition-delay: 80ms; }
.reveal.delay-2 { transition-delay: 160ms; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(calc(-50% - (var(--marquee-gap) / 2))); }
}

@media (min-width: 901px) {
  .arch-frame svg {
    min-width: 0;
  }

  .arch-hint {
    display: none;
  }
}

@media (max-width: 980px) {
  .topnav {
    display: none;
  }

  .top-actions {
    margin-left: auto;
  }

  .hero-details {
    grid-template-columns: 1fr;
    width: 90%;
  }

  .hero-facts {
    max-width: 38rem;
    margin-left: auto;
  }

  .hero-console {
    width: 92%;
    margin-top: 2rem;
  }

  .demo-shell {
    grid-template-columns: 1fr;
  }

  .demo-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .shots {
    min-height: 0;
  }
}

@media (max-width: 720px) {
  .topbar {
    width: min(calc(100% - 1.5rem), var(--max));
    padding: 0.9rem 0;
  }

  .brand {
    min-width: 0;
    font-size: 0.9rem;
  }

  .brand::after {
    display: none;
  }

  .top-actions {
    gap: 0.65rem;
  }

  .hero {
    width: 100%;
    padding: 0 0 5rem;
  }

  .hero-ghost {
    top: 1.5rem;
  }

  .hero-art {
    min-height: 100svh;
  }

  .terrain {
    object-position: 58% center;
  }

  .hero-wordmark {
    top: 43%;
    left: 1.25rem;
    gap: 0.18em;
  }

  .hero-wordmark span {
    font-size: clamp(1.8rem, 8.4vw, 3rem);
    letter-spacing: 0.1em;
  }

  .hero-wordmark span:last-child {
    font-size: clamp(1.8rem, 8.4vw, 3rem);
    letter-spacing: 0.1em;
  }

  .hero-art-note {
    top: auto;
    right: auto;
    bottom: 1.4rem;
    left: 1.2rem;
  }

  .hero-art-status {
    right: 1.2rem;
    bottom: 1.45rem;
  }

  .hero-details {
    width: 100%;
    margin-top: 3.5rem;
  }

  .hero-facts {
    grid-template-columns: 1fr;
    margin: 0;
  }

  .fact-card {
    min-height: 10rem;
  }

  .fact-card strong {
    margin-top: 2.5rem;
  }

  .hero-console {
    width: 100%;
    margin: 2.5rem 0 0;
  }

  .hero-console figcaption {
    flex-direction: column;
    gap: 0.2rem;
  }

  .section,
  .cta-band,
  .footer {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .section {
    padding: 4.5rem 0;
  }

  .section::before {
    top: 2.5rem;
  }

  .section h2 {
    font-size: clamp(2.65rem, 14vw, 4.4rem);
  }

  .demo-steps,
  .feature-grid,
  .two-col,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 10rem;
  }

  .feature-card h3 {
    margin-top: 2.2rem;
  }

  .shots {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 0.8rem;
  }

  .shot-featured,
  .shot:nth-child(2),
  .shot:nth-child(3) {
    position: relative;
    inset: auto;
    width: 100%;
  }

  .split-card {
    min-height: 15.5rem;
  }

  .split-card h3 {
    margin-top: 3rem;
  }

  .arch-frame svg {
    min-width: 760px;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .link-quiet {
    display: none;
  }

  .hero-art-status {
    display: none;
  }
}

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

  .reveal,
  .marquee-track {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
