/* SupportBeacon.io — marketing site (cut ①)
   Design system: "a beacon over dark water" — dark harbor grounds for
   atmosphere (hero, final CTA), light foam middle for product truth.
   Amber appears ONLY on conversion actions. */

:root {
  --harbor: #0a1826;
  --harbor-2: #0d2438;
  --harbor-3: #0e3350;
  --foam: #f3f7fa;
  --surface: #ffffff;
  --ink: #12222f;
  --slate: #5a7184;
  --slate-2: #7d93a3;
  --line: #d9e4ec;
  --cyan: #22b8e6;
  --cyan-deep: #0e7fae;
  --cyan-dim: rgba(34, 184, 230, 0.14);
  --amber: #f5a623;
  --amber-deep: #d98c0f;
  --hero-ink: #eaf4fa;
  --hero-muted: #9dbbcd;
  --radius: 14px;
  --shadow-lg: 0 2px 6px rgba(18, 34, 47, 0.07), 0 24px 60px rgba(18, 34, 47, 0.13);
  --display: 'Archivo', 'Segoe UI Variable Display', 'Segoe UI', sans-serif;
  --body: 'Instrument Sans', 'Segoe UI', -apple-system, sans-serif;
  --mono: 'IBM Plex Mono', 'Cascadia Code', ui-monospace, Consolas, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.12; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.6rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 750; letter-spacing: -0.02em; }
h3 { font-size: 1.25rem; font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; }

.kicker {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-deep);
}
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* ---------- buttons: amber = action, always ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 11px; border: none; cursor: pointer;
  text-decoration: none; transition: box-shadow 0.22s ease, transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; }
.btn--amber {
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  color: #241703;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 6px 18px rgba(245, 166, 35, 0.32);
}
.btn--amber:hover { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 26px rgba(245, 166, 35, 0.5); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--hero-ink); border: 1.5px solid rgba(157, 187, 205, 0.45); }
.btn--ghost:hover { border-color: var(--cyan); color: #fff; }
.btn--ghost-ink { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn--ghost-ink:hover { border-color: var(--cyan-deep); }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 60;
  transition: background 0.25s ease, box-shadow 0.25s ease, height 0.2s ease;
  height: 72px; display: flex; align-items: center;
  color: var(--hero-ink);
}
.nav .wrap { display: flex; align-items: center; gap: 30px; width: 100%; }
.nav--scrolled {
  height: 58px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.nav__brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 1.18rem; color: inherit; letter-spacing: -0.01em; }
.nav__brand:hover { text-decoration: none; }
.nav__brand img { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 24px; margin-left: 12px; flex: 1; }
.nav__links a { color: inherit; opacity: 0.86; font-size: 0.95rem; font-weight: 500; }
.nav__links a:hover { opacity: 1; text-decoration: none; }
.nav__links .soon { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em; vertical-align: 6px; opacity: 0.55; margin-left: 3px; }
.nav__cta { display: flex; align-items: center; gap: 18px; }
.nav__signin { color: inherit; opacity: 0.86; font-size: 0.95rem; font-weight: 500; }
.nav .btn--amber { padding: 10px 20px; font-size: 0.92rem; }
.nav__burger { display: none; background: none; border: none; color: inherit; cursor: pointer; padding: 8px; }
.nav__burger svg { display: block; }

/* mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: 70; background: var(--harbor);
  color: var(--hero-ink); padding: 28px 32px; display: none; flex-direction: column;
}
.sheet.open { display: flex; }
.sheet__top { display: flex; justify-content: space-between; align-items: center; }
.sheet__links { display: flex; flex-direction: column; gap: 20px; margin-top: 44px; font-size: 1.3rem; font-family: var(--display); font-weight: 650; }
.sheet__links a { color: var(--hero-ink); }
.sheet .btn--amber { margin-top: auto; justify-content: center; }

/* ---------- hero ---------- */
.hero {
  background: linear-gradient(165deg, var(--harbor) 30%, var(--harbor-2) 70%, var(--harbor-3) 110%);
  color: var(--hero-ink);
  position: relative; overflow: hidden;
  padding: 148px 0 0;
}
.hero .wrap { display: grid; grid-template-columns: minmax(420px, 5fr) 6fr; gap: 24px; align-items: center; min-height: 560px; }
.hero__copy { padding-bottom: 72px; position: relative; z-index: 2; }
.hero__copy h1 { color: #fff; margin: 14px 0 18px; max-width: 13ch; }
.hero__sub { color: var(--hero-muted); font-size: 1.13rem; max-width: 46ch; }
.hero__ctas { display: flex; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.hero__facts {
  margin-top: 26px; font-family: var(--mono); font-size: 0.74rem;
  letter-spacing: 0.05em; color: #6f96ad;
}
.hero__scene { position: relative; align-self: stretch; min-height: 480px; }
.hero__scene canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* entrance choreography */
.hero__copy .kicker, .hero__copy h1, .hero__sub, .hero__ctas, .hero__facts {
  opacity: 0; transform: translateY(14px);
  animation: rise 0.65s cubic-bezier(0.2, 0.7, 0.3, 1) forwards;
}
.hero__copy .kicker { animation-delay: 0.55s; }
.hero__copy h1 { animation-delay: 0.7s; }
.hero__sub { animation-delay: 0.85s; }
.hero__ctas { animation-delay: 1.05s; }
.hero__facts { animation-delay: 1.2s; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- proof strip ---------- */
.proof { background: var(--harbor); color: var(--hero-ink); padding: 20px 0 30px; }
.proof .wrap { display: flex; gap: 0; flex-wrap: wrap; border-top: 1px solid rgba(157, 187, 205, 0.16); padding-top: 22px; }
.proof__chip {
  flex: 1 1 220px; padding: 6px 22px 6px 0; margin-right: 22px;
  border-right: 1px solid rgba(157, 187, 205, 0.16);
  opacity: 0; transform: translateY(8px); transition: opacity 0.5s ease, transform 0.5s ease;
}
.proof__chip:last-child { border-right: none; margin-right: 0; }
.inview .proof__chip { opacity: 1; transform: none; }
.inview .proof__chip:nth-child(2) { transition-delay: 0.08s; }
.inview .proof__chip:nth-child(3) { transition-delay: 0.16s; }
.inview .proof__chip:nth-child(4) { transition-delay: 0.24s; }
.proof__chip b { display: block; font-family: var(--display); font-weight: 650; font-size: 0.97rem; color: #fff; }
.proof__chip span { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: #6f96ad; }

/* ---------- problem: the dark->light transition ---------- */
.problem { background: linear-gradient(180deg, var(--harbor) 0%, #33506278 55%, var(--foam) 82%); padding: 110px 0 60px; }
.problem__beat1 { color: var(--hero-ink); text-align: center; max-width: 700px; margin: 0 auto; }
.problem__beat1 h2 { color: #fff; }
.problem__beat1 p { color: var(--hero-muted); margin: 18px auto 0; }
.problem__scatter { position: relative; height: 130px; max-width: 700px; margin: 34px auto 0; }
.problem__frag {
  position: absolute; font-size: 0.85rem; color: #93aec0; background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(157, 187, 205, 0.25); padding: 7px 14px; border-radius: 99px;
  white-space: nowrap; transition: opacity 1s ease, transform 1.2s ease;
}
.scattered .problem__frag { opacity: 0; }
.scattered .problem__frag:nth-child(1) { transform: translate(-70px, -34px) rotate(-7deg); }
.scattered .problem__frag:nth-child(2) { transform: translate(80px, -20px) rotate(5deg); }
.scattered .problem__frag:nth-child(3) { transform: translate(-50px, 42px) rotate(4deg); }
.scattered .problem__frag:nth-child(4) { transform: translate(90px, 30px) rotate(-5deg); }
.problem__beat2 { text-align: center; max-width: 640px; margin: 60px auto 0; }
.problem__beat2 .tray-glyph {
  width: 58px; height: 58px; margin: 0 auto 22px; border-radius: 14px;
  background: linear-gradient(150deg, #1668b3, var(--cyan));
  display: grid; place-items: center;
  box-shadow: 0 0 0 8px var(--cyan-dim), 0 10px 30px rgba(34, 184, 230, 0.35);
}
.problem__beat2 .tray-glyph img { width: 34px; height: 34px; }
.problem__beat2 p { margin: 16px auto 0; color: var(--slate); font-size: 1.1rem; }

/* ---------- shared section scaffolding ---------- */
.section { padding: 96px 0; }
.section__head { max-width: 660px; margin-bottom: 54px; }
.section__head h2 { margin: 12px 0 14px; }
.section__head p { color: var(--slate); }

/* ---------- triptych ---------- */
.trip { display: grid; grid-template-columns: 6.5fr 4.5fr; gap: 56px; align-items: center; margin-bottom: 96px; }
.trip:last-child { margin-bottom: 0; }
.trip--flip { grid-template-columns: 4.5fr 6.5fr; }
.trip--flip .trip__shot { order: 2; }
.trip__shot { perspective: 1200px; }
.trip__frame {
  border-radius: 12px; overflow: hidden; background: var(--harbor-2);
  border: 1px solid rgba(18, 34, 47, 0.12);
  box-shadow: var(--shadow-lg);
  transform: rotateX(9deg) rotateY(-4deg) translateY(18px);
  opacity: 0.45;
  transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.25, 1), opacity 0.6s ease;
  cursor: zoom-in;
}
.trip--flip .trip__frame { transform: rotateX(9deg) rotateY(4deg) translateY(18px); }
.trip.inview .trip__frame { transform: none; opacity: 1; }
.trip__frame .bar { height: 30px; background: #0d1f30; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.trip__frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #29455c; }
.trip__frame--light .bar { background: #e6edf3; }
.trip__frame--light .bar i { background: #c2d2de; }
.trip__frame--light { background: #fff; }
.trip__copy .kicker { color: var(--cyan-deep); }
.trip__copy h3 { font-size: 1.55rem; margin: 12px 0 14px; letter-spacing: -0.015em; }
.trip__copy ul { margin: 0 0 18px; padding: 0; list-style: none; color: var(--slate); }
.trip__copy li { padding-left: 24px; position: relative; margin-bottom: 9px; }
.trip__copy li::before {
  content: ''; position: absolute; left: 0; top: 0.52em; width: 12px; height: 3px;
  border-radius: 2px; background: var(--cyan);
}
.trip__kick { font-family: var(--display); font-weight: 650; font-style: italic; color: var(--ink); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 80; background: rgba(10, 24, 38, 0.9);
  display: none; place-items: center; padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 92vh; width: auto; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6); }

/* ---------- segment fork ---------- */
.fork { background: var(--surface); border-block: 1px solid var(--line); }
.fork__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fork__card {
  display: block; background: var(--foam); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px 26px; color: var(--ink); position: relative;
  transition: transform 0.18s ease, box-shadow 0.25s ease, border-color 0.2s ease;
  transform-style: preserve-3d; will-change: transform;
  opacity: 0; translate: 0 16px;
}
.inview .fork__card { opacity: 1; translate: 0 0; transition: opacity 0.5s ease, translate 0.55s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.18s ease, box-shadow 0.25s ease, border-color 0.2s ease; }
.inview .fork__card:nth-child(2) { transition-delay: 0.1s; }
.inview .fork__card:nth-child(3) { transition-delay: 0.2s; }
.fork__card:hover { text-decoration: none; box-shadow: var(--shadow-lg); border-color: var(--cyan); }
.fork__card--primary { background: linear-gradient(170deg, #eaf5fb, var(--foam) 60%); border-color: #bfe0ef; }
.fork__glyph { width: 44px; height: 44px; margin-bottom: 18px; color: var(--cyan-deep); }
.fork__card h3 { margin-bottom: 4px; }
.fork__tag { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan-deep); }
.fork__card p { color: var(--slate); font-size: 0.95rem; margin-top: 12px; }
.fork__arrow { display: inline-block; margin-top: 18px; font-weight: 650; font-family: var(--display); color: var(--cyan-deep); transition: transform 0.15s ease; }
.fork__card:hover .fork__arrow { transform: translateX(4px); }

/* ---------- rollup spotlight ---------- */
.rollup__panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); padding: 30px; display: grid;
  grid-template-columns: 1fr 88px 1fr; gap: 12px; align-items: start;
}
.rollup__col h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate); margin: 0 0 14px; font-weight: 500; }
.chatlog { display: flex; flex-direction: column; gap: 10px; }
.chatlog .m {
  font-size: 0.87rem; padding: 9px 13px; border-radius: 11px; max-width: 92%;
  background: var(--foam); border: 1px solid var(--line); color: var(--ink);
  overflow: hidden; transition: opacity 0.7s ease, max-height 0.8s ease, padding 0.8s ease, margin 0.8s ease;
  max-height: 120px;
}
.chatlog .m.tech { align-self: flex-end; background: #e5f3fa; border-color: #c8e6f4; }
.chatlog .m .who { font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.08em; color: var(--slate); display: block; margin-bottom: 2px; }
.rollup.rolled .chatlog .m { opacity: 0.45; max-height: 46px; padding-block: 4px; }
.rollup__beam { align-self: center; display: grid; place-items: center; gap: 10px; padding-top: 20px; }
.rollup__beam .line { width: 100%; height: 2px; background: linear-gradient(90deg, transparent, var(--cyan), transparent); }
#rollBtn { font-size: 0.85rem; padding: 10px 14px; white-space: nowrap; }
.notes {
  font-family: var(--mono); font-size: 0.8rem; line-height: 1.75; color: var(--ink);
  background: var(--foam); border: 1px solid var(--line); border-radius: 11px; padding: 18px 20px;
  min-height: 300px; white-space: pre-wrap;
}
.notes .h { color: var(--cyan-deep); font-weight: 500; }
.notes .caret { display: inline-block; width: 7px; height: 14px; background: var(--cyan); vertical-align: -2px; animation: blink 0.85s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.rollup__alt { margin-top: 14px; font-size: 0.88rem; }
.rollup__small { margin-top: 22px; color: var(--slate-2); font-size: 0.85rem; }

/* ---------- integrations constellation ---------- */
.constellation { background: var(--surface); border-block: 1px solid var(--line); }
.const__stage { position: relative; height: 470px; }
.const__stage svg.lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.const__stage svg.lines path { stroke: #bcd8e7; stroke-width: 1.5; fill: none; stroke-dasharray: 600; stroke-dashoffset: 600; transition: stroke-dashoffset 0.9s ease, stroke 0.2s ease; }
.inview .const__stage svg.lines path { stroke-dashoffset: 0; }
.const__stage svg.lines path.hot { stroke: var(--cyan); stroke-width: 2.5; }
.const__center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 92px; height: 92px; border-radius: 22px;
  background: linear-gradient(150deg, #1668b3, var(--cyan));
  display: grid; place-items: center; box-shadow: 0 0 0 12px var(--cyan-dim), 0 16px 44px rgba(34, 184, 230, 0.4);
  z-index: 2;
}
.const__center img { width: 52px; height: 52px; }
.const__node {
  position: absolute; transform: translate(-50%, -50%); z-index: 2;
  background: var(--foam); border: 1px solid var(--line); border-radius: 12px;
  padding: 12px 16px; width: 195px; cursor: default;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.const__node:hover, .const__node:focus-visible { border-color: var(--cyan); box-shadow: var(--shadow-lg); z-index: 3; }
.const__node b { font-family: var(--display); font-weight: 650; font-size: 0.95rem; display: block; }
.const__node span { font-size: 0.78rem; color: var(--slate); line-height: 1.45; display: block; margin-top: 2px; }
.const__honest { text-align: center; color: var(--slate); font-size: 0.92rem; margin: 26px auto 0; max-width: none; }

/* ---------- security ledger ---------- */
.ledger { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.ledger__row { display: grid; grid-template-columns: 30px 1fr; gap: 16px; padding: 15px 22px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 0.84rem; color: var(--ink); align-items: start; }
.ledger__row:last-child { border-bottom: none; }
.ledger__row svg { color: var(--slate); margin-top: 2px; }
.ledger__link { display: inline-block; margin-top: 18px; font-weight: 600; font-family: var(--display); }

/* ---------- deployment ---------- */
.deploy { background: linear-gradient(180deg, var(--foam), #e8eff5); }
.deploy__grid { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; }
.deploy__steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.deploy__steps li { counter-increment: step; position: relative; padding: 0 0 26px 58px; }
.deploy__steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  background: var(--surface); border: 1.5px solid var(--line);
  font-family: var(--display); font-weight: 750; color: var(--cyan-deep);
}
.deploy__steps li:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 42px; bottom: 4px; width: 1.5px; background: var(--line); }
.deploy__steps b { font-family: var(--display); font-weight: 650; display: block; margin-bottom: 3px; }
.deploy__steps span { color: var(--slate); font-size: 0.95rem; }
.terminal {
  background: var(--harbor); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); font-family: var(--mono); font-size: 0.84rem;
}
.terminal__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #0d1f30; color: #587a92; font-size: 0.72rem; letter-spacing: 0.06em; }
.terminal__bar i { width: 9px; height: 9px; border-radius: 50%; background: #29455c; }
.terminal__bar span { margin-left: 8px; }
.terminal__body { padding: 20px 22px 24px; color: #bfe0ef; line-height: 1.9; min-height: 150px; }
.terminal__body .p { color: #5f8ba6; }
.terminal__body .cmd { color: #eaf4fa; word-break: break-all; }
.terminal__body .ok { color: #57d99a; }
.terminal__copy {
  margin: 0 22px 18px; background: rgba(34, 184, 230, 0.12); color: var(--cyan);
  border: 1px solid rgba(34, 184, 230, 0.35); border-radius: 8px; padding: 7px 14px;
  font-family: var(--mono); font-size: 0.76rem; cursor: pointer;
}
.terminal__copy:hover { background: rgba(34, 184, 230, 0.2); }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center;
  font-family: var(--display); font-weight: 650; font-size: 1.07rem; padding: 20px 4px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { transition: transform 0.2s ease; color: var(--slate); flex: none; margin-left: 16px; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .a { padding: 0 4px 22px; color: var(--slate); max-width: 66ch; }

/* ---------- final CTA ---------- */
.cta {
  background: radial-gradient(ellipse 90% 130% at 50% 115%, var(--harbor-3), var(--harbor) 62%);
  color: var(--hero-ink); text-align: center; padding: 120px 0 130px; position: relative; overflow: hidden;
}
.cta__beacon { position: relative; width: 74px; height: 74px; margin: 0 auto 30px; }
.cta__beacon .mark {
  position: relative; z-index: 2; width: 74px; height: 74px; border-radius: 18px;
  background: linear-gradient(150deg, #1668b3, var(--cyan));
  display: grid; place-items: center; box-shadow: 0 12px 40px rgba(34, 184, 230, 0.45);
}
.cta__beacon .mark img { width: 42px; height: 42px; }
.cta__beacon .ring {
  position: absolute; inset: 0; border-radius: 50%; border: 1.5px solid rgba(34, 184, 230, 0.55);
  animation: ringout 8s ease-out infinite; z-index: 1;
}
@keyframes ringout {
  0% { transform: scale(1); opacity: 0.9; }
  22% { transform: scale(4.2); opacity: 0; }
  100% { transform: scale(4.2); opacity: 0; }
}
.cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.8rem); }
.cta p { color: var(--hero-muted); margin: 16px auto 32px; }
.cta__mail { display: block; margin-top: 20px; color: var(--hero-muted); font-size: 0.95rem; }
.cta__mail a { color: var(--cyan); }

/* ---------- footer ---------- */
.footer { background: var(--harbor); color: #7fa3ba; padding: 64px 0 40px; font-size: 0.92rem; }
.footer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; padding-bottom: 44px; border-bottom: 1px solid rgba(157, 187, 205, 0.14); }
.footer h4 { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: #587a92; margin: 0 0 16px; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.footer a { color: #a8c4d6; }
.footer .soon { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.08em; opacity: 0.5; margin-left: 4px; vertical-align: 3px; }
.footer__bottom { display: flex; align-items: center; gap: 18px; padding-top: 28px; flex-wrap: wrap; }
.footer__bottom img { width: 26px; height: 26px; }
.footer__sub { margin-left: auto; display: flex; gap: 8px; }
.footer__sub input {
  background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(157, 187, 205, 0.3);
  border-radius: 9px; color: var(--hero-ink); padding: 9px 14px; font-family: var(--body); font-size: 0.88rem; width: 220px;
}
.footer__sub input::placeholder { color: #587a92; }
.footer__sub button {
  background: rgba(34, 184, 230, 0.14); color: var(--cyan); border: 1px solid rgba(34, 184, 230, 0.4);
  border-radius: 9px; padding: 9px 16px; font-family: var(--display); font-weight: 650; font-size: 0.85rem; cursor: pointer;
}

/* ---------- sticky mobile demo bar ---------- */
.stickybar {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 55;
  display: none; align-items: center; gap: 12px;
  background: rgba(10, 24, 38, 0.94); backdrop-filter: blur(10px);
  border: 1px solid rgba(157, 187, 205, 0.25); border-radius: 14px; padding: 10px 10px 10px 18px;
  color: var(--hero-ink); font-family: var(--display); font-weight: 650; font-size: 0.95rem;
  transform: translateY(90px); transition: transform 0.3s ease;
}
.stickybar.show { transform: none; }
.stickybar .btn--amber { margin-left: auto; padding: 10px 18px; font-size: 0.9rem; }
.stickybar button.x { background: none; border: none; color: #7fa3ba; font-size: 1.1rem; cursor: pointer; padding: 6px; }

/* ---------- demo page ---------- */
.demo-hero { background: linear-gradient(165deg, var(--harbor) 40%, var(--harbor-2)); color: var(--hero-ink); padding: 140px 0 64px; }
.demo-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); max-width: 18ch; }
.demo-hero p { color: var(--hero-muted); margin-top: 14px; }
.demo-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 56px; align-items: start; padding: 64px 0 110px; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 36px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--display); font-weight: 650; font-size: 0.92rem; margin-bottom: 7px; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: 10px; padding: 12px 14px;
  font-family: var(--body); font-size: 0.98rem; color: var(--ink); background: var(--foam);
  transition: border-color 0.12s ease, box-shadow 0.12s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px var(--cyan-dim); }
.field .err { display: none; color: #b3400f; font-size: 0.84rem; margin-top: 5px; }
.field.invalid input { border-color: #d96a2b; }
.field.invalid .err { display: block; }
.field .hint { color: var(--slate-2); font-size: 0.84rem; margin-top: 5px; display: none; }
.seg { display: flex; gap: 0; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; }
.seg label { flex: 1; margin: 0; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span {
  display: block; text-align: center; padding: 11px 6px; cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 0.88rem; color: var(--slate);
  border-right: 1.5px solid var(--line); transition: background 0.12s ease, color 0.12s ease;
}
.seg label:last-child span { border-right: none; }
.seg input:checked + span { background: var(--cyan-dim); color: var(--cyan-deep); }
.seg input:focus-visible + span { outline: 2px solid var(--cyan); outline-offset: -2px; }
.form-card .btn--amber { width: 100%; justify-content: center; margin-top: 6px; }
.demo-aside h3 { margin-bottom: 16px; }
.demo-aside ul { list-style: none; margin: 0 0 34px; padding: 0; color: var(--slate); }
.demo-aside li { padding-left: 26px; position: relative; margin-bottom: 12px; }
.demo-aside li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 13px; height: 3px; border-radius: 2px; background: var(--cyan); }
.demo-aside .factbox { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); padding: 20px 22px; font-family: var(--mono); font-size: 0.78rem; line-height: 2; color: var(--ink); }
.success { text-align: center; padding: 30px 10px; display: none; }
.success.show { display: block; }
.success .pulse {
  width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%;
  background: linear-gradient(180deg, var(--amber), var(--amber-deep));
  display: grid; place-items: center; color: #241703;
  animation: successpulse 1.1s ease-out 1;
}
@keyframes successpulse {
  0% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0.55); }
  100% { box-shadow: 0 0 0 42px rgba(245, 166, 35, 0); }
}
.success h3 { font-size: 1.4rem; }
.success p { color: var(--slate); margin: 12px auto 0; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero__scene { min-height: 340px; margin: 0 -32px; }
  .trip, .trip--flip { grid-template-columns: 1fr; gap: 28px; margin-bottom: 72px; }
  .trip--flip .trip__shot { order: 0; }
  .fork__grid { grid-template-columns: 1fr; }
  .rollup__panel { grid-template-columns: 1fr; }
  .rollup__beam { padding: 6px 0; }
  .rollup__beam .line { height: 34px; width: 2px; background: linear-gradient(180deg, transparent, var(--cyan), transparent); }
  .deploy__grid { grid-template-columns: 1fr; gap: 36px; }
  .const__stage { height: auto; display: flex; flex-direction: column; gap: 12px; padding-left: 18px; border-left: 2px solid #bcd8e7; }
  .const__stage svg.lines { display: none; }
  .const__center { position: static; transform: none; margin-bottom: 8px; }
  .const__node { position: static; transform: none; width: 100%; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__sub { margin-left: 0; width: 100%; }
  .demo-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .nav__links, .nav__signin { display: none; }
  .nav__burger { display: block; }
  .nav .btn--amber { display: none; }
  .stickybar { display: flex; }
  body { font-size: 16px; }
  .section { padding: 72px 0; }
  .wrap { padding: 0 22px; }
  .hero { padding-top: 112px; }
  .btn { width: 100%; justify-content: center; }
  .hero__ctas .btn { width: auto; flex: 1; }
}

/* ---------- reduced motion: every scene settles to a composed still ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero__copy .kicker, .hero__copy h1, .hero__sub, .hero__ctas, .hero__facts { animation: none; opacity: 1; transform: none; }
  .trip__frame, .trip--flip .trip__frame { transform: none !important; opacity: 1 !important; transition: none; }
  .proof__chip, .fork__card { opacity: 1 !important; translate: 0 0 !important; transition: none; }
  .cta__beacon .ring { animation: none; opacity: 0; }
  .const__stage svg.lines path { stroke-dashoffset: 0; transition: none; }
  .notes .caret { animation: none; }
  .success .pulse { animation: none; }
}
