/* ===========================================================================
   Synara — light editorial theme
   Core brand palette from cloudservices/brand: Paper, Ink and Teal. One accent,
   hairline rules, no web fonts, no dependencies. Dark Panel is reserved for
   the event-stream inset (banner / terminal chrome), not the page.
   =========================================================================== */

:root {
  /* surfaces — Paper family */
  --bg:        #f7f6f2;
  --bg-2:      #ffffff;
  --panel:     #ffffff;
  --panel-2:   #f0efe9;
  --line:      #d9d7ce;
  --line-2:    #c5c3b8;

  /* ink */
  --txt:       #14201c;
  --txt-2:     #6d6f6a;
  --txt-3:     #6d6f6a;

  /* Teal on light surfaces (never teal-lift — that is for dark Panel only). */
  --accent:          #0f6e56;
  --accent-2:        #0c5a46;
  --accent-hover:    #0c5a46;
  --accent-a:        rgba(15, 110, 86, 0.10);
  --accent-b:        rgba(15, 110, 86, 0.22);
  --accent-faint:    rgba(15, 110, 86, 0.08);
  --accent-whisper:  rgba(15, 110, 86, 0.04);
  --accent-clear:    rgba(15, 110, 86, 0);
  --on-accent:       #f7f6f2;
  --danger:          #b21f2d;

  /* Dark Panel — only for the stream inset and matching chrome */
  --stage:           #101614;
  --stage-2:         #14201c;
  --stage-line:      #2a332e;
  --stage-line-2:    #3a4740;
  --stage-ink:       #f2f1ed;
  --stage-muted:     #8f958f;
  --stage-accent:    #2f9e7c;

  /* Translucent surfaces are named so the core palette cannot drift. */
  --nav-bg:          rgba(247, 246, 242, 0.82);
  --nav-bg-stuck:    rgba(247, 246, 242, 0.94);
  --panel-wash:      rgba(240, 239, 233, 0.7);
  --panel-solid:     #ffffff;
  --panel-soft:      rgba(247, 246, 242, 0.72);
  --panel-subtle:    rgba(240, 239, 233, 0.55);

  /* type */
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  /* metrics */
  --wrap: 1120px;
  --pad: 24px;
  --r: 4px;
  --r-sm: 4px;

  color-scheme: light;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* a faint teal wash so Paper has depth without looking like a gradient band */
  background-image:
    radial-gradient(900px 520px at 50% -8%, rgba(15, 110, 86, 0.06), transparent 70%),
    radial-gradient(700px 400px at 92% 8%, rgba(15, 110, 86, 0.035), transparent 65%);
  background-repeat: no-repeat;
}

img, svg { max-width: 100%; }
a { color: inherit; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

::selection { background: var(--accent-b); color: var(--txt); }

:where(a, button, input, textarea):focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  padding: 9px 13px;
  border-radius: var(--r-sm);
  background: var(--accent);
  color: var(--on-accent);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 0.16s ease;
}
.skip-link:focus { transform: translateY(0); }

/* ============================== NAV ================================= */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  background: var(--nav-bg-stuck);
}
.nav-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 66px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--txt);
}
.brand-wordmark { display: block; width: 96px; height: auto; flex: none; }
.nav-right { display: flex; align-items: center; gap: 14px; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 11px 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--panel);
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-b);
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 var(--accent-b); }
  70%  { box-shadow: 0 0 0 7px var(--accent-clear); }
  100% { box-shadow: 0 0 0 0 var(--accent-clear); }
}

/* ============================= BUTTONS ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 560;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.16s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 18px -10px var(--accent-b);
}
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: var(--panel);
  border-color: var(--line-2);
  color: var(--txt);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--txt-2);
  font-size: 15px;
  text-decoration: none;
  transition: color 0.2s ease;
}
.btn-link:hover { color: var(--accent); }
.btn-link .arr { transition: transform 0.2s ease; }
.btn-link:hover .arr { transform: translateY(2px); }

/* ============================== HERO ================================ */

.hero { padding: clamp(56px, 9vw, 108px) 0 clamp(40px, 6vw, 72px); }

.eyebrow {
  margin: 0 0 22px;
  color: var(--txt-3);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.h1 {
  margin: 0 0 22px;
  max-width: 17ch;
  font-size: clamp(38px, 6.4vw, 76px);
  font-weight: 630;
  line-height: 1.04;
  letter-spacing: -0.032em;
}
.h1 .dim { color: var(--txt-3); }

.lede {
  margin: 0 0 32px;
  max-width: 60ch;
  color: var(--txt-2);
  font-size: clamp(17px, 1.7vw, 19.5px);
  line-height: 1.62;
}
.lede strong { color: var(--txt); font-weight: 560; }

.hero-cta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-bottom: clamp(48px, 7vw, 80px);
}

/* ---- the event stream: the whole thesis in one picture ---- */

.stream {
  margin: 0;
  border: 1px solid var(--stage-line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--stage-2) 0%, var(--stage) 100%);
  color: var(--stage-ink);
  overflow: hidden;
}
.stream-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--stage-line);
  color: var(--stage-muted);
}
.stream-id { color: var(--stage-muted); }
.stream-tag {
  padding: 3px 8px;
  border: 1px solid var(--stage-line-2);
  border-radius: 4px;
  font-size: 10px;
  letter-spacing: 0.12em;
}
.stream-svg {
  display: block;
  width: 100%;
  height: clamp(150px, 22vw, 210px);
}
.stream-svg .grid line { stroke: var(--stage-line); stroke-width: 1; stroke-dasharray: 2 6; }
.stream-svg .axis { stroke: var(--stage-line-2); stroke-width: 1; }
.stream-svg .noise { fill: var(--stage-muted); }
.stream-svg .signals { fill: var(--stage-accent); }

/* Ticks grow up from the baseline. fill-box makes transform-origin resolve
   against each rect's own box rather than the whole viewBox, and the keyframe
   settles on --o so every tick keeps the opacity it was authored with. */
.stream-svg .tk {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: tickRise 0.5s ease-out forwards;
  animation-delay: var(--d, 0s);
}
@keyframes tickRise {
  from { opacity: 0;         transform: scaleY(0.2); }
  to   { opacity: var(--o, 1); transform: scaleY(1); }
}

.stream-svg .sig {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center bottom;
  animation: sigIn 0.6s cubic-bezier(0.2, 0.9, 0.25, 1) forwards;
  animation-delay: var(--d, 0s);
  filter: drop-shadow(0 0 10px rgba(47, 158, 124, 0.35));
}
@keyframes sigIn {
  from { opacity: 0; transform: scaleY(0.1); }
  to   { opacity: 1; transform: scaleY(1); }
}

/* Ambient scan line. Kept faint on purpose — at full strength a still frame
   reads it as a stray bar rather than motion. */
.stream-svg .sweep {
  stroke: var(--stage-accent);
  stroke-width: 1;
  opacity: 0;
  animation: sweep 7s cubic-bezier(0.5, 0, 0.5, 1) 1.6s infinite;
}
@keyframes sweep {
  0%        { transform: translateX(0);      opacity: 0; }
  8%        {                                opacity: 0.2; }
  86%       {                                opacity: 0.07; }
  92%, 100% { transform: translateX(1200px); opacity: 0; }
}

.stream-axis {
  display: flex;
  justify-content: space-between;
  padding: 0 16px 12px;
  color: var(--stage-muted);
  font-size: 10.5px;
  letter-spacing: 0.1em;
}
.stream-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  padding: 13px 16px;
  border-top: 1px solid var(--stage-line);
  background: rgba(20, 32, 28, 0.55);
  color: var(--stage-muted);
  font-size: 13.5px;
}
.lg { display: inline-flex; align-items: center; gap: 9px; }
.sw { width: 3px; height: 14px; border-radius: 2px; flex: none; }
.sw-noise { background: var(--stage-muted); }
.sw-sig { background: var(--stage-accent); box-shadow: 0 0 8px rgba(47, 158, 124, 0.35); }

/* ============================ SECTIONS ============================== */

.sec { padding: clamp(64px, 9vw, 112px) 0; }
.sec-tight { padding: clamp(40px, 6vw, 72px) 0; }
.sec-alt {
  border-block: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-wash), transparent);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.rule {
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
  flex: none;
}

.h2 {
  margin: 0 0 18px;
  max-width: 21ch;
  font-size: clamp(27px, 3.6vw, 40px);
  font-weight: 620;
  line-height: 1.16;
  letter-spacing: -0.024em;
}
.body {
  margin: 0;
  max-width: 56ch;
  color: var(--txt-2);
  font-size: 16.5px;
}

/* ---- thesis cards ---- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.card {
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg);
  transition: background 0.25s ease;
}
.card:hover { background: var(--panel); }
.card-n {
  display: block;
  margin-bottom: 18px;
  color: var(--accent);
  opacity: 0.7;
  font-size: 11px;
}
.card-h {
  margin: 0 0 12px;
  font-size: 19.5px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.3;
}
.card-p {
  margin: 0;
  color: var(--txt-2);
  font-size: 15.5px;
  line-height: 1.62;
}
.card-p em { color: var(--txt); font-style: normal; font-weight: 560; }

/* ---- who we're building with ---- */

.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.who-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
}
.who-list li {
  display: flex;
  gap: 16px;
  padding: 22px;
  background: var(--bg);
  transition: background 0.25s ease;
}
.who-list li:hover { background: var(--panel); }
.who-k { color: var(--accent); opacity: 0.7; font-size: 11px; padding-top: 4px; }
.who-list b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 3px;
}
.who-list span {
  display: block;
  color: var(--txt-2);
  font-size: 14.5px;
  line-height: 1.55;
}

/* ---- stance ---- */

.stance {
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: var(--r);
  background: linear-gradient(100deg, var(--accent-a), transparent 55%), var(--panel);
}
.stance .kicker { color: var(--accent); }
.stance-p {
  margin: 0;
  max-width: 66ch;
  font-size: clamp(17px, 1.9vw, 20px);
  line-height: 1.6;
  letter-spacing: -0.008em;
}
.stance-sub {
  margin-top: 14px;
  color: var(--txt-2);
  font-size: 16px;
}

/* ============================= CONTACT ============================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}
.contact-direct {
  margin: 26px 0 0;
  color: var(--txt-2);
  font-size: 15.5px;
}
.contact-direct a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent-b);
  padding-bottom: 1px;
}
.contact-direct a:hover { border-bottom-color: var(--accent); }

.form {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 560;
  color: var(--txt-2);
}
.opt {
  color: var(--txt-3);
  font-weight: 400;
  font-size: 12.5px;
}
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--txt);
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.55;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 118px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--txt-3); }
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-a);
}
.field.is-bad input,
.field.is-bad textarea { border-color: var(--danger); }

.err {
  margin: 7px 0 0;
  color: var(--danger);
  font-size: 13px;
}

/* honeypot — off-screen rather than display:none, which some bots skip */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.btn-submit {
  width: 100%;
  margin-top: 4px;
  padding: 13px 20px;
  font-size: 15.5px;
}
.btn-submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }

.spinner {
  display: none;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(247, 246, 242, 0.35);
  border-top-color: var(--on-accent);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.is-sending .spinner { display: block; }

.form-note {
  margin: 14px 0 0;
  color: var(--txt-3);
  font-size: 13px;
  text-align: center;
}
.form-status {
  margin: 14px 0 0;
  font-size: 14.5px;
  text-align: center;
  min-height: 0;
}
.form-status:empty { margin: 0; }
.form-status.ok { color: var(--accent); }
.form-status.bad { color: var(--danger); }

/* ============================= INSTALL ============================= */

.install-page {
  min-height: 100vh;
  background-image:
    radial-gradient(820px 520px at 68% 4%, rgba(15, 110, 86, 0.07), transparent 68%),
    radial-gradient(620px 380px at 8% 24%, var(--accent-whisper), transparent 68%);
}

.install-main { overflow: hidden; }

.install-hero {
  padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 8vw, 104px);
}

.install-intro {
  max-width: 760px;
  margin-bottom: clamp(36px, 6vw, 60px);
}

.install-h1 {
  max-width: 13ch;
  font-size: clamp(38px, 6vw, 68px);
}

.install-lede { max-width: 64ch; }
.install-page .eyebrow { color: var(--txt-2); }

.platform-catalog {
  display: grid;
  gap: 20px;
}

.catalog-state {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 142px;
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}

.catalog-state h2 {
  margin: 0 0 4px;
  font-size: 19px;
  font-weight: 600;
}

.catalog-state p {
  margin: 0;
  color: var(--txt-2);
  font-size: 14.5px;
}

.catalog-state a { color: var(--accent); }

.catalog-state-error {
  justify-content: space-between;
  border-color: var(--line-2);
}

.catalog-pulse {
  width: 12px;
  height: 12px;
  flex: none;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 var(--accent-b);
  animation: pulse 1.8s ease-out infinite;
}

.catalog-retry { flex: none; }

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(270px, 0.75fr);
  gap: 20px;
  align-items: stretch;
}

.platform-card,
.install-aside {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-solid) 100%);
}

.platform-card {
  position: relative;
  padding: clamp(24px, 4vw, 40px);
  overflow: hidden;
}

.platform-card::after {
  position: absolute;
  right: -80px;
  bottom: -120px;
  width: 300px;
  height: 300px;
  border: 1px solid var(--accent-faint);
  border-radius: 50%;
  box-shadow: 0 0 0 34px var(--accent-whisper), 0 0 0 68px rgba(15, 110, 86, 0.02);
  content: "";
  pointer-events: none;
}

.platform-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.platform-identity {
  display: flex;
  align-items: center;
  gap: 16px;
}

.platform-mark {
  display: grid;
  width: 54px;
  height: 54px;
  flex: none;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: var(--bg);
  color: var(--accent);
}

.platform-overline {
  display: block;
  margin-bottom: 2px;
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.platform-name {
  margin: 0;
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 620;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.availability {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--accent-b);
  border-radius: 999px;
  background: var(--accent-a);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  white-space: nowrap;
}

.availability::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.availability.is-unavailable {
  border-color: var(--line-2);
  background: var(--bg);
  color: var(--txt-2);
}

.platform-description {
  position: relative;
  z-index: 1;
  margin: 0 0 22px;
  max-width: 56ch;
  color: var(--txt-2);
  font-size: 16px;
}

.platform-specs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.platform-specs li {
  padding: 5px 9px;
  border: 1px solid var(--line-2);
  border-radius: 5px;
  background: var(--panel-soft);
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.download-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px 18px;
}

.download-btn { min-height: 46px; }
.download-btn.is-disabled { cursor: not-allowed; opacity: 0.68; }

.download-meta {
  margin: 0;
  color: var(--txt-2);
  font-size: 12.5px;
  line-height: 1.45;
}

.download-meta p { margin: 0; }
.release-summary { color: var(--txt); font-weight: 570; }
.package-filename { margin-top: 4px !important; }
.package-checksum {
  max-width: min(100%, 52ch);
  margin-top: 2px !important;
  color: var(--txt-2);
}
.package-checksum code {
  font-family: var(--mono);
  font-size: 10.5px;
  overflow-wrap: anywhere;
}

.install-aside {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
}

.aside-title {
  margin: 0 0 22px;
  color: var(--txt-2);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.requirement-list {
  display: grid;
  gap: 18px;
  margin: 0;
}

.requirement-row {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
}

.requirement-row dt {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.7;
}

.requirement-row dd {
  margin: 0;
  color: var(--txt-2);
  font-size: 14px;
  line-height: 1.55;
}

.requirement-row strong { color: var(--txt); font-weight: 580; }

.install-note {
  margin: auto 0 0;
  padding-top: 24px;
  color: var(--txt-2);
  font-size: 12.5px;
}

.steps-section {
  border-block: 1px solid var(--line);
  background: var(--panel-subtle);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--line);
}

.step {
  min-height: 210px;
  padding: clamp(22px, 3vw, 30px);
  background: var(--bg);
}

.step-number {
  display: block;
  margin-bottom: 42px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.step h3 {
  margin: 0 0 9px;
  font-size: 18px;
  font-weight: 600;
}

.step p {
  margin: 0;
  color: var(--txt-2);
  font-size: 14.5px;
}

.future-platforms {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--panel);
}

.future-platforms h2 {
  margin: 0 0 5px;
  font-size: 20px;
  font-weight: 600;
}

.future-platforms p {
  margin: 0;
  color: var(--txt-2);
  font-size: 15px;
}

.future-tag {
  flex: none;
  color: var(--txt-2);
}

/* form replaced by a confirmation once sent */
.sent {
  text-align: center;
  padding: clamp(28px, 5vw, 48px) 20px;
}
.sent-mark {
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--accent-a);
  display: grid;
  place-items: center;
  color: var(--accent);
  font-size: 21px;
}
.sent h3 { margin: 0 0 8px; font-size: 20px; font-weight: 620; }
.sent p { margin: 0; color: var(--txt-2); font-size: 15.5px; }

/* ============================== FOOTER ============================== */

.foot {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: var(--panel-2);
}
.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 24px;
}
.foot-brand {
  display: inline-flex;
  align-items: center;
}
.foot-wordmark { display: block; width: 84px; height: auto; }
.foot-note, .foot-copy { margin: 0; color: var(--txt-3); font-size: 11px; }
.foot-note a { color: var(--txt-2); text-decoration: none; }
.foot-note a:hover { color: var(--accent); }

/* ============================== MOTION ============================== */

.rv {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s cubic-bezier(0.2, 0.7, 0.3, 1), transform 0.6s cubic-bezier(0.2, 0.7, 0.3, 1);
}
.rv.rv-pending { opacity: 0; transform: translateY(14px); }
.rv.rv-pending.in { opacity: 1; transform: none; }

/* ============================ RESPONSIVE ============================ */

@media (max-width: 860px) {
  .who-grid, .contact-grid { grid-template-columns: 1fr; }
  .h1 { max-width: none; }
  .platform-layout { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .step { min-height: auto; }
  .step-number { margin-bottom: 24px; }
}

@media (max-width: 560px) {
  :root { --pad: 18px; }
  body { font-size: 16px; }
  .nav-contact { display: none; }
  .nav-in { height: 60px; }
  .stream-axis span:nth-child(even) { display: none; }
  .stream-legend { gap: 6px 18px; font-size: 12.5px; }
  .hero-cta { gap: 12px; }
  .hero-cta .btn-primary { width: 100%; }
  .nav-right > .chip { display: none; }
  .install-hero { padding-top: 44px; }
  .platform-head { align-items: flex-start; }
  .platform-identity { align-items: flex-start; gap: 12px; }
  .platform-mark { width: 46px; height: 46px; }
  .availability { padding-inline: 8px; }
  .download-action, .download-btn { width: 100%; }
  .future-platforms { align-items: flex-start; flex-direction: column; }
  .catalog-state { align-items: flex-start; flex-direction: column; }
  .catalog-retry { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .rv, .rv.rv-pending { opacity: 1; transform: none; }
  .stream-svg .tk, .stream-svg .sig { opacity: 1; }
  .stream-svg .sweep { display: none; }
}
