/* ============================================================
   SEONNET — design system
   Product branding: quiet SaaS clarity, local-growth gold.
   Ink + bone + one gold signal. Type stays calm.
   ============================================================ */

:root {
  --ink: #07080c;
  --ink-1: #0c0e14;
  --ink-2: #12151d;
  --ink-3: #1a1e28;
  --bone: #f3eee4;
  --bone-2: #b8b1a2;
  --bone-3: #7a7466;
  --gold: #e9a93a;
  --gold-lt: #f8d89a;
  --gold-dk: #8a5e10;
  --verified: #74dcb8;
  --line: rgba(242, 236, 222, 0.12);
  --line-2: rgba(242, 236, 222, 0.06);
  --glow: rgba(233, 169, 58, 0.14);

  --display: "Sora", "IBM Plex Sans", system-ui, sans-serif;
  --sans: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;

  --pad: clamp(1.25rem, 6vw, 7rem);
  --maxw: 84rem;
  --radius: 0.55rem;
}

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

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.65;
  letter-spacing: -0.011em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: -20% -10% auto;
  height: 70vh;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 55% 45% at 18% 20%, rgba(233, 169, 58, 0.13), transparent 70%),
    radial-gradient(ellipse 40% 35% at 82% 8%, rgba(116, 220, 184, 0.06), transparent 65%);
  animation: ambience 18s ease-in-out infinite alternate;
}

@keyframes ambience {
  from { transform: translate3d(0, 0, 0) scale(1); opacity: 0.85; }
  to { transform: translate3d(2%, 3%, 0) scale(1.05); opacity: 1; }
}

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

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

a {
  color: inherit;
}

/* ---------- shared atoms ---------- */

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.35rem);
}

h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

em {
  font-family: inherit;
  font-style: normal;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: inherit;
}

p {
  margin: 0;
}

.idx,
.kicker,
.pn,
.lbl,
.tagline,
.caption,
.fine {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-3);
  font-weight: 500;
}

.sec-head {
  max-width: var(--maxw);
  margin: 0 auto 3.5rem;
}

.sec-head h2 {
  margin: 0.7rem 0 0;
  max-width: 17ch;
}

.sec-lede {
  margin-top: 1.1rem;
  max-width: 44ch;
  color: var(--bone-2);
  font-size: 1.05rem;
}

section {
  position: relative;
  z-index: 2;
  padding: clamp(5rem, 12vh, 9rem) var(--pad);
  scroll-margin-top: 5rem;
}

.skip {
  position: absolute;
  left: -9999px;
}

.skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 50;
  background: var(--gold);
  color: var(--ink);
  padding: 0.5rem 0.8rem;
  border-radius: 2px;
}

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

/* ---------- atmosphere ---------- */

#field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

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

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: var(--gold);
  z-index: 40;
}

/* ---------- header ---------- */

.top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.95rem var(--pad);
  background: rgba(6, 7, 10, 0.86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-2);
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.mark-glyph {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
  flex: none;
}

.top nav {
  display: flex;
  gap: 1.7rem;
  margin-left: auto;
}

.top nav a {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-2);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.top nav a:hover {
  color: var(--bone);
  border-color: var(--gold);
}

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

.menu summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone);
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--line);
}

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

.menu[open] summary {
  border-color: var(--gold);
  color: var(--gold);
}

.menu-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  right: 0;
  min-width: 13rem;
  display: grid;
  background: var(--ink-2);
  border: 1px solid var(--line);
}

.menu-panel a {
  padding: 0.85rem 1rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--bone-2);
  border-bottom: 1px solid var(--line-2);
}

.menu-panel a:last-child {
  border-bottom: 0;
}

.menu-panel a:hover {
  color: var(--gold);
  background: var(--ink-3);
}

.top-cta {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  background: var(--bone);
  padding: 0.55rem 0.9rem;
  white-space: nowrap;
  transition: background 0.2s;
}

.top-cta:hover {
  background: var(--gold-lt);
}

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.5rem, 4vw, 4.5rem);
  align-items: center;
  min-height: min(92vh, 56rem);
  max-width: var(--maxw);
  margin: 0 auto;
  padding-top: clamp(3rem, 7vh, 6rem);
}

.hero-copy,
.stage {
  min-width: 0;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--verified);
  animation: pulse 2.4s ease-in-out infinite;
}

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

h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.95rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.12;
  margin: 1.1rem 0 1.25rem;
  max-width: 18ch;
}

h1 em {
  font-size: 1em;
}

.lede {
  max-width: 42ch;
  font-size: clamp(1.02rem, 1.45vw, 1.15rem);
  color: var(--bone-2);
  line-height: 1.55;
}

.lede strong {
  color: var(--bone);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.btn,
.form button {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  background: var(--gold);
  color: #1a1206;
  border: 0;
  border-radius: var(--radius);
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn:hover,
.form button:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(233, 169, 58, 0.22);
}

.btn-ghost {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.95rem 1.35rem;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--bone);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.btn-ghost:hover {
  border-color: var(--gold);
  background: rgba(233, 169, 58, 0.06);
  transform: translateY(-1px);
}

.hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  list-style: none;
  margin: 2.4rem 0 0;
  padding: 1.3rem 0 0;
  border-top: 1px solid var(--line);
}

.hero-chips li {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-2);
  position: relative;
  padding-left: 1rem;
}

.hero-chips li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--verified);
}

/* ---------- product stage ---------- */

.stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1400px;
  min-width: 0;
  min-height: 32rem;
  padding: 1.5rem 0 0 1.5rem;
}

.rig {
  position: relative;
  width: min(100%, 32rem);
  height: 27rem;
  transform-style: preserve-3d;
  transform: rotateX(-7deg) rotateY(8deg);
  will-change: transform;
}

.rig-glow {
  position: absolute;
  inset: 8% 6%;
  background: radial-gradient(circle, rgba(233, 169, 58, 0.22), transparent 68%);
  filter: blur(18px);
  transform: translateZ(-80px);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.dash {
  position: absolute;
  inset: 0.3rem 8.6rem 0.6rem 0;
  overflow: hidden;
  background: linear-gradient(180deg, #161a22 0%, #0c0e13 100%);
  border: 1px solid rgba(242, 236, 222, 0.16);
  border-radius: 18px;
  padding: 1.15rem 1.15rem 1rem;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(248, 216, 154, 0.18);
  transform: translateZ(20px);
  overflow: hidden;
}

.dash-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.dash-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.dash-who {
  margin-top: 0.25rem;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.dash-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-bottom: 0.9rem;
}

.dash-metrics > div {
  background: rgba(242, 236, 222, 0.04);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 0.65rem 0.7rem 0.7rem;
}

.metric {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0.15rem 0 0.3rem;
}

.metric small {
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
}

.metric-sub {
  font-size: 0.68rem;
  color: var(--bone-3);
  line-height: 1.3;
}

.dash-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.45rem;
}

.dash-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: center;
  padding: 0.55rem 0.15rem;
  border-top: 1px solid var(--line-2);
}

.dash-list strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
}

.dash-list span:last-child {
  display: block;
  color: var(--bone-3);
  font-size: 0.75rem;
}

.dash-scan {
  position: absolute;
  left: 0;
  right: 0;
  height: 28%;
  background: linear-gradient(to bottom, transparent, rgba(233, 169, 58, 0.07), transparent);
  animation: scan 4.8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes scan {
  0% { top: -30%; }
  100% { top: 110%; }
}

.float {
  position: absolute;
  width: 10.2rem;
  background: rgba(12, 14, 18, 0.92);
  border: 1px solid rgba(233, 169, 58, 0.35);
  border-radius: 14px;
  padding: 0.75rem 0.85rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.float p:last-child {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  line-height: 1.35;
}

.f-alert {
  top: 0.2rem;
  right: 0;
  left: auto;
  transform: translateZ(78px);
}

.f-trend {
  right: 0;
  left: auto;
  bottom: 0.4rem;
  top: auto;
  transform: translateZ(96px);
}

.bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  height: 2.4rem;
  margin-top: 0.45rem;
}

.bars i {
  display: block;
  width: 7px;
  border-radius: 2px 2px 0 0;
  background: linear-gradient(var(--gold-lt), var(--gold-dk));
}

.stage-note {
  margin: 0.2rem 0 0;
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-3);
  text-align: center;
}

/* ---------- marquee ---------- */

.marquee {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.1rem 0;
  background: var(--ink-1);
}

.marquee-track {
  display: flex;
  gap: 2.5rem;
  width: max-content;
  animation: slide 38s linear infinite;
}

.marquee-track span {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.7vw, 1.25rem);
  white-space: nowrap;
}

.marquee-track i {
  color: var(--gold);
  font-style: normal;
  font-size: 0.7rem;
  align-self: center;
}

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

/* ---------- shared panel language ---------- */

.panel {
  background: linear-gradient(165deg, #171b24 0%, #0c0e13 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem 1.4rem;
  box-shadow: inset 0 1px 0 rgba(248, 216, 154, 0.08);
  transition: border-color 0.28s, transform 0.28s, box-shadow 0.28s, background 0.28s;
}

.panel:hover {
  border-color: rgba(233, 169, 58, 0.4);
  transform: translateY(-3px);
  box-shadow:
    inset 0 1px 0 rgba(248, 216, 154, 0.12),
    0 18px 40px rgba(0, 0, 0, 0.35);
}

.panel .pn {
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.panel h3 {
  font-size: 1.25rem;
  margin: 0 0 0.55rem;
  max-width: 16ch;
  line-height: 1.1;
}

.panel > p:not(.pn):not(.panel-out):not(.plan-lede):not(.plan-tag) {
  color: var(--bone-2);
  font-size: 0.95rem;
  line-height: 1.5;
}

.panel-out {
  margin-top: 1.1rem !important;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line-2);
  font-family: var(--mono) !important;
  font-size: 0.66rem !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--bone-3) !important;
}

.panel.soon {
  opacity: 0.72;
}

.panel.soon .pn {
  color: var(--verified);
}

.tick,
.cross {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.tick li,
.cross li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.94rem;
  color: var(--bone-2);
}

.tick li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-family: var(--mono);
  font-size: 0.85rem;
}

.cross li::before {
  content: "×";
  position: absolute;
  left: 0;
  color: var(--bone-3);
  font-family: var(--mono);
}

/* ---------- problem ---------- */

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

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

/* ---------- pillars ---------- */

.pillars {
  max-width: var(--maxw);
  margin: 0 auto;
  background:
    radial-gradient(ellipse 60% 40% at 20% 0%, rgba(233, 169, 58, 0.05), transparent 55%);
}

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

/* ---------- how / flow ---------- */

.how {
  background: var(--ink-1);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.flow {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.flow .panel {
  position: relative;
}

.flow .panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  border-radius: 16px 16px 0 0;
}

/* ---------- scope ---------- */

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

.scope-split {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.scope-in {
  border-color: rgba(233, 169, 58, 0.3);
}

.scope-in h3,
.scope-out h3 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  max-width: 14ch;
  margin-bottom: 0.7rem;
}

.scope-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.scope-list .panel h3 {
  font-size: 1.1rem;
  max-width: 12ch;
}

.scope-list .soon {
  grid-column: span 1;
}

/* ---------- engine ---------- */

.engine {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
}

.engine-copy h2 {
  margin: 0.8rem 0 1.3rem;
  max-width: 12ch;
}

.engine-copy > p {
  color: var(--bone-2);
  max-width: 42ch;
}

.engine-note {
  margin-top: 1.2rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--gold);
  background: rgba(233, 169, 58, 0.05);
  border-radius: 0 12px 12px 0;
  color: var(--bone) !important;
  font-size: 0.95rem;
}

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

.pipe li {
  display: grid;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(242, 236, 222, 0.02);
  color: var(--bone-2);
  font-size: 0.9rem;
}

.pipe li span {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--bone);
}

.pipe li.last {
  border-color: rgba(116, 220, 184, 0.4);
  background: rgba(116, 220, 184, 0.05);
}

.pipe li.last span {
  color: var(--verified);
}

/* ---------- output / delivery board ---------- */

.output {
  background:
    radial-gradient(ellipse 70% 50% at 70% 20%, rgba(233, 169, 58, 0.07), transparent 60%),
    var(--ink-1);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.output .sec-head h2 {
  max-width: 14ch;
}

.board {
  display: grid;
  grid-template-columns: minmax(12rem, 0.78fr) 1.55fr;
  gap: 1.25rem;
  max-width: var(--maxw);
  margin: 0 auto;
  align-items: stretch;
}

.board-rail {
  background: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.2rem 1.4rem;
  display: flex;
  flex-direction: column;
}

.rail-list {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
  flex: 1;
}

.rail-list li {
  display: grid;
  gap: 0.35rem;
  justify-items: start;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(242, 236, 222, 0.02);
  transition: border-color 0.2s, background 0.2s;
}

.rail-list li.is-on {
  border-color: rgba(233, 169, 58, 0.45);
  background: rgba(233, 169, 58, 0.06);
}

.rail-list strong {
  font-size: 0.98rem;
  font-weight: 600;
}

.rail-list em {
  font-family: var(--mono);
  font-style: normal;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--bone-3);
}

.rail-note {
  margin-top: 1.1rem;
  font-size: 0.84rem;
  color: var(--bone-3);
  line-height: 1.45;
}

.board-card {
  position: relative;
  background: linear-gradient(165deg, #171b24 0%, #0c0e13 100%);
  border: 1px solid rgba(233, 169, 58, 0.28);
  border-radius: 18px;
  padding: clamp(1.3rem, 2.4vw, 2rem);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(248, 216, 154, 0.12);
  overflow: hidden;
}

.board-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(var(--gold-lt), var(--gold-dk));
}

.board-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}

.board-head h3 {
  font-size: clamp(1.45rem, 2.6vw, 2.05rem);
  margin: 0.45rem 0 0;
  max-width: 18ch;
  line-height: 1.05;
}

.board-delta {
  display: grid;
  grid-template-columns: 1fr auto 1fr 1fr;
  gap: 0.8rem;
  align-items: end;
  padding: 1.1rem 1rem;
  margin-bottom: 1.4rem;
  border-radius: 14px;
  background: rgba(242, 236, 222, 0.035);
  border: 1px solid var(--line-2);
}

.delta-n {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 4vw, 2.8rem);
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin: 0.15rem 0 0.25rem;
}

.delta-n.gold {
  color: var(--gold);
}

.delta-sub {
  font-size: 0.72rem;
  color: var(--bone-3);
}

.delta-arrow {
  font-family: var(--display);
  font-size: 1.6rem;
  color: var(--gold);
  padding-bottom: 1.1rem;
}

.board-body {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 1.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--line-2);
}

.board-body > div > p:not(.lbl) {
  color: var(--bone-2);
  font-size: 0.97rem;
}

.board-action {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 1.2rem;
  padding: 1.35rem 0 1.2rem;
  border-bottom: 1px solid var(--line-2);
}

.board-action p:not(.lbl) {
  font-size: 0.95rem;
}

.board-foot {
  padding-top: 1.2rem;
}

.board-foot p {
  color: var(--bone-2);
  font-size: 0.92rem;
  max-width: 52ch;
}

.board-foot strong {
  color: var(--bone);
  font-weight: 600;
}

.board-promise {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line-2);
  border: 1px solid var(--line-2);
}

.board-promise li {
  background: var(--ink-1);
  padding: 1.3rem 1.2rem 1.45rem;
  display: grid;
  gap: 0.45rem;
}

.board-promise strong {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

.board-promise span {
  color: var(--bone-2);
  font-size: 0.95rem;
  line-height: 1.45;
}

.chip {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border: 1px solid var(--line);
  color: var(--bone-2);
  white-space: nowrap;
}

.chip-do {
  border-color: rgba(233, 169, 58, 0.5);
  color: var(--gold);
}

.chip-ok {
  border-color: rgba(116, 220, 184, 0.45);
  color: var(--verified);
}

.chip-new {
  border-color: rgba(242, 236, 222, 0.28);
  color: var(--bone);
}

.lbl {
  margin-bottom: 0.5rem !important;
  color: var(--gold) !important;
}

.ev {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.ev li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--bone-2);
  border-bottom: 1px dotted var(--line);
  padding-bottom: 0.4rem;
}

.ev b {
  font-family: var(--mono);
  color: var(--bone);
  font-weight: 500;
}

/* ---------- who ---------- */

.who {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  max-width: var(--maxw);
  margin: 0 auto;
}

.who h2 {
  margin: 0.8rem 0 1.2rem;
  max-width: 12ch;
}

.who-copy > p {
  color: var(--bone-2);
  max-width: 42ch;
}

.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.fit-grid .panel p:not(.pn) {
  font-size: 0.9rem;
}

.trades {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--ink-2);
}

.trades li {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.9vw, 1.45rem);
  letter-spacing: -0.03em;
  padding: 0.95rem 1.2rem;
  border-bottom: 1px solid var(--line-2);
  color: var(--bone);
  transition: color 0.2s, padding-left 0.2s, background 0.2s;
}

.trades li:last-child {
  border-bottom: 0;
}

.trades li:hover {
  color: var(--gold);
  padding-left: 1.6rem;
  background: rgba(233, 169, 58, 0.04);
}

/* ---------- manifesto ---------- */

.principles {
  background: var(--ink-1);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
}

.manifesto {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.manifesto li.panel {
  padding: 1.3rem 1.25rem;
}

.manifesto p {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.05rem, 2vw, 1.45rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  max-width: 28ch;
  margin: 0;
}

/* ---------- plans ---------- */

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

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

.plan {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.plan-hot {
  border-color: rgba(233, 169, 58, 0.45);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(248, 216, 154, 0.14);
}

.plan h3 {
  font-size: 1.85rem;
  margin: 0.35rem 0 0.5rem;
  max-width: none;
}

.plan-lede {
  color: var(--bone-2) !important;
  font-size: 0.95rem !important;
}

.plan .tick {
  margin-top: 1.2rem;
  flex: 1;
}

.plan-tag {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- faq ---------- */

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

.faq-list {
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line-2);
}

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.35rem 2.5rem 1.35rem 0;
  position: relative;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.02rem, 1.9vw, 1.3rem);
  letter-spacing: -0.025em;
  transition: color 0.2s;
}

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

.faq summary::after {
  content: "+";
  position: absolute;
  right: 0.2rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--gold);
  transition: transform 0.25s;
}

.faq details[open] summary {
  color: var(--gold-lt);
}

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

.faq summary:hover {
  color: var(--gold-lt);
}

.faq details p {
  padding: 0 3rem 1.6rem 0;
  color: var(--bone-2);
  max-width: 72ch;
  font-size: 0.99rem;
}

/* ---------- contact ---------- */

.contact {
  background:
    radial-gradient(ellipse 80% 60% at 80% 20%, rgba(233, 169, 58, 0.12), transparent 55%),
    var(--bone);
  color: #14161a;
}

.contact-shell {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
  background: #f7f2e8;
  border: 1px solid #d9d0c0;
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.4rem);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.contact .idx {
  color: #6f6858;
}

.contact h2 {
  margin: 0.7rem 0 1.1rem;
  color: #0a0b0e;
  max-width: 12ch;
}

.contact-copy > p {
  color: #4b4a45;
  max-width: 38ch;
}

.contact-alt {
  margin-top: 1.4rem;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.contact-check {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.contact-check li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.94rem;
  color: #4b4a45;
}

.contact-check li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: #8a5e10;
  font-family: var(--mono);
  font-size: 0.85rem;
}

.contact-alt a {
  color: #0a0b0e;
  text-underline-offset: 3px;
}

.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 1.2rem;
  background: #fffdf8;
  border: 1px solid #d9d0c0;
  border-radius: 14px;
  padding: 1.2rem 1.15rem 1.3rem;
}

.form label {
  display: grid;
  gap: 0.4rem;
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #56544c;
}

.form .wide,
.form button,
.form .fine {
  grid-column: 1 / -1;
}

.form input,
.form textarea {
  font-family: var(--sans);
  font-size: 1rem;
  color: #0a0b0e;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #b9b0a0;
  padding: 0.6rem 0.2rem;
  border-radius: 0;
}

.form input:focus,
.form textarea:focus {
  outline: 0;
  border-bottom-color: #0a0b0e;
}

.form textarea {
  resize: vertical;
}

.form button {
  justify-self: start;
  background: #0a0b0e;
  color: var(--bone);
  margin-top: 0.4rem;
}

.form button:hover {
  background: var(--gold);
  color: #14161a;
}

.form .fine {
  color: #6f6858;
  margin-top: 0.2rem;
}

/* ---------- footer ---------- */

.foot {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 7vh, 5rem) var(--pad) 2rem;
  max-width: var(--maxw);
  margin: 0 auto;
}

.foot-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--line);
}

.foot-mark {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.foot-line {
  font-family: var(--display);
  font-style: normal;
  font-weight: 500;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--bone-2);
  max-width: 28ch;
  line-height: 1.45;
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 14rem));
  gap: 2rem;
  padding: 2.5rem 0;
}

.foot-grid ul {
  list-style: none;
  margin: 0.9rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  font-size: 0.93rem;
  color: var(--bone-2);
}

.foot-grid a {
  text-decoration: none;
  color: var(--bone-2);
  transition: color 0.2s;
}

.foot-grid a:hover {
  color: var(--gold);
}

.foot-legal {
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-2);
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bone-3);
}

/* ---------- motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.in {
  opacity: 1;
  transform: none;
  transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}


/* ---------- hero probe (product intent bar) ---------- */

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

.probe {
  display: flex;
  align-items: stretch;
  gap: 0.45rem;
  margin-top: 1.85rem;
  max-width: 28rem;
  padding: 0.35rem;
  background: rgba(242, 236, 222, 0.04);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 0.15rem);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.probe:focus-within {
  border-color: rgba(233, 169, 58, 0.55);
  box-shadow: 0 12px 40px rgba(233, 169, 58, 0.12);
}

.probe input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.98rem;
  padding: 0.85rem 0.95rem;
  outline: none;
}

.probe input::placeholder {
  color: var(--bone-3);
}

.probe button {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: -0.01em;
  border: 0;
  border-radius: var(--radius);
  background: var(--gold);
  color: #1a1206;
  padding: 0.85rem 1.15rem;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}

.probe button:hover {
  background: var(--gold-lt);
  transform: translateY(-1px);
}

h1 em {
  display: block;
}

/* ---------- recover / AI assistant ---------- */

.recover {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

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

.recover-card .recover-ui {
  margin-top: 1.15rem;
  padding: 0.85rem;
  border-radius: calc(var(--radius) - 0.1rem);
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid var(--line-2);
  display: grid;
  gap: 0.55rem;
}

.rui-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: var(--bone-2);
}

.rui-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rui-dot.miss {
  background: #e07a6a;
  box-shadow: 0 0 0 3px rgba(224, 122, 106, 0.2);
  animation: pulse 2s ease-in-out infinite;
}

.rui-dot.ok {
  background: var(--verified);
}

.rui-tag {
  margin-left: auto;
  color: var(--gold-lt);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.rui-tag.soft {
  color: var(--bone-3);
}

.rui-bubble {
  font-size: 0.82rem;
  line-height: 1.4;
  padding: 0.65rem 0.75rem;
  border-radius: 0.65rem;
  max-width: 92%;
}

.rui-bubble.out {
  background: rgba(233, 169, 58, 0.14);
  border: 1px solid rgba(233, 169, 58, 0.25);
  color: var(--bone);
}

.rui-bubble.in {
  justify-self: end;
  background: rgba(242, 236, 222, 0.08);
  border: 1px solid var(--line);
  color: var(--bone-2);
}

.rui-slot {
  display: grid;
  gap: 0.2rem;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.rui-slot strong {
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: var(--bone);
}

.rui-ok {
  color: var(--verified) !important;
  font-style: normal !important;
  font-weight: 500 !important;
  font-size: 0.72rem !important;
}

.recover-note {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 1.4rem;
  background: linear-gradient(120deg, rgba(233, 169, 58, 0.08), transparent 55%),
    linear-gradient(165deg, #171b24 0%, #0c0e13 100%);
}

.recover-note > p:not(.pn) {
  color: var(--bone-2);
  max-width: 70ch;
  margin: 0;
}

.recover-note .btn-ghost {
  justify-self: start;
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .hero,
  .engine,
  .who,
  .contact-shell,
  .scope-split,
  .board {
    grid-template-columns: 1fr;
  }

  .board-rail {
    order: 2;
  }

  .board-delta {
    grid-template-columns: 1fr auto 1fr;
  }

  .board-delta .delta-gap {
    grid-column: 1 / -1;
  }

  .hero {
    min-height: auto;
  }

  .stage {
    padding: 1.5rem 0 0;
    min-height: 0;
    perspective: none;
  }

  .rig {
    height: auto;
    transform: none !important;
  }

  .dash {
    position: relative;
    inset: auto;
    transform: none;
  }

  .float {
    position: relative;
    width: auto;
    margin-top: 0.7rem;
    transform: none;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .f-alert,
  .f-trend {
    transform: none;
  }

  .flow,
  .loss-grid,
  .plan-grid,
  .pillar-grid,
  .scope-list,
  .manifesto,
  .recover-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top nav {
    display: none;
  }

  .menu {
    display: block;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 0.97rem;
  }

  .flow,
  .loss-grid,
  .plan-grid,
  .pillar-grid,
  .scope-list,
  .manifesto,
  .fit-grid,
  .board-body,
  .board-action,
  .board-promise,
  .form,
  .foot-grid,
  .recover-grid {
    grid-template-columns: 1fr;
  }

  .probe {
    flex-direction: column;
  }

  .probe button {
    width: 100%;
  }

  .board-delta {
    grid-template-columns: 1fr auto 1fr;
  }

  .board-delta .delta-gap {
    grid-column: 1 / -1;
  }

  .dash-metrics {
    grid-template-columns: 1fr;
  }

  .foot-top {
    flex-direction: column;
  }

  .top {
    gap: 0.7rem;
    padding: 0.8rem 1rem;
  }

  .mark {
    letter-spacing: 0.18em;
  }

  .menu summary,
  .top-cta {
    font-size: 0.66rem;
    padding: 0.5rem 0.65rem;
  }
}

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

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

  .dash-scan,
  .marquee-track,
  .dot,
  .rui-dot.miss,
  body::before {
    animation: none;
  }

  .rig {
    transform: rotateX(-6deg) rotateY(4deg) !important;
  }
}
