/* Monadeck showcase site. Zero-build: plain CSS, self-hosted fonts. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("assets/fonts/bricolage.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("assets/fonts/figtree.woff2") format("woff2");
  font-weight: 300 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono.woff2") format("woff2");
  font-weight: 100 800;
  font-display: swap;
}

:root {
  /* Monadeck's own palette: teal accent over a deep SteamVR-like charcoal. */
  --bg: #07090b;
  --bg-2: #0b0f13;
  --surface: #11161b;
  --surface-2: #161b21;
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.12);
  --text: #e4e9f0;
  --text-2: #a0acba;
  --text-3: #6f7c8b;
  --accent: #40e0d0;
  --accent-2: #30c47f;
  --accent-ink: #042420;
  --accent-soft: rgba(64, 224, 208, 0.12);
  --grad: linear-gradient(100deg, #40e0d0 0%, #36cdd6 35%, #30c47f 100%);

  --font-display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", monospace;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
/* Faint teal/green aurora behind everything, fixed like a skybox. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60vw 40vw at 85% -10%, rgba(48, 196, 127, 0.07), transparent 70%),
    radial-gradient(70vw 50vw at 10% 0%, rgba(64, 224, 208, 0.08), transparent 70%),
    linear-gradient(180deg, var(--bg-2), var(--bg) 60%);
  pointer-events: none;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
b, strong { font-weight: 600; color: var(--text); }
h1, h2, h3 { font-family: var(--font-display); margin: 0; letter-spacing: -0.025em; }
p { margin: 0; }
::selection { background: rgba(64, 224, 208, 0.3); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.i { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; vertical-align: -0.2em; }
.i--sm { width: 0.95em; height: 0.95em; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: var(--r-sm); font-weight: 600;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap--wide { max-width: 1360px; }
.wrap--narrow { max-width: 820px; }

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55em;
  font: 600 16px/1 var(--font-body);
  padding: 0.95em 1.35em;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.2s var(--ease), background-color 0.2s var(--ease), border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 0 8px 28px -8px rgba(64, 224, 208, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}
.btn--primary:hover { background: #5ae8da; box-shadow: 0 12px 34px -8px rgba(64, 224, 208, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.2); }
.btn--sm { font-size: 14px; padding: 0.7em 1.05em; }
.btn--lg { font-size: 17px; padding: 1em 1.5em; }

/* Nav ----------------------------------------------------------------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease), backdrop-filter 0.25s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(7, 9, 11, 0.72);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; gap: 24px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font: 700 20px/1 var(--font-display); letter-spacing: -0.02em; }
.brand:hover { text-decoration: none; }
.brand img { border-radius: 8px; }
.nav__links { display: flex; gap: 4px; margin: 0 auto; }
.nav__links a {
  color: var(--text-2); font-weight: 500; font-size: 15px;
  padding: 8px 14px; border-radius: 999px;
  transition: color 0.2s, background-color 0.2s;
}
.nav__links a:hover { color: var(--text); background: rgba(255, 255, 255, 0.05); text-decoration: none; }
.nav__cta { display: flex; align-items: center; gap: 8px; }
.icon-link {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 999px;
  color: var(--text-2); transition: color 0.2s, background-color 0.2s;
}
.icon-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.06); }
.icon-link .i { width: 22px; height: 22px; }

/* Hero ---------------------------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 7vw, 88px) 0 40px; }
.hero__glow {
  position: absolute; left: 50%; top: 42%; width: min(1400px, 100%); height: 900px;
  transform: translate(-50%, 0);
  background: radial-gradient(closest-side, rgba(64, 224, 208, 0.16), rgba(48, 196, 127, 0.05) 55%, transparent);
  filter: blur(20px);
  pointer-events: none;
  z-index: -1;
}
.hero__copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line-strong);
  color: var(--text-2); font-size: 14px; font-weight: 500;
}
.pill__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 4px rgba(64, 224, 208, 0.15), 0 0 12px var(--accent);
}
.hero__title {
  margin-top: 26px;
  font-size: clamp(46px, 8.4vw, 104px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.045em;
}
.hero__sub {
  margin-top: 24px; max-width: 640px;
  color: var(--text-2); font-size: clamp(17px, 1.9vw, 20px); line-height: 1.6;
}
.hero__actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero__meta { margin-top: 18px; color: var(--text-3); font-size: 14px; letter-spacing: 0.01em; }

/* The headset view: a big rounded "lens" that tilts back into place as you
   scroll, and follows the pointer a touch, like turning your head. */
.stage {
  margin-top: clamp(44px, 6vw, 72px);
  perspective: 1800px;
  --rx: 0deg; --ry: 0deg; --lift: 0px;
}
.stage__frame {
  margin: 0;
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: var(--surface);
  box-shadow:
    0 50px 120px -30px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.6),
    0 30px 140px -40px rgba(64, 224, 208, 0.35);
  transform: translateY(var(--lift)) rotateX(var(--rx)) rotateY(var(--ry));
  transform-origin: 50% 100%;
  will-change: transform;
}
.stage__frame::after {
  /* lens vignette + a soft top sheen */
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 120px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.stage__frame img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }

.works {
  list-style: none; margin: clamp(40px, 5vw, 56px) auto 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px;
  max-width: 900px;
}
.works li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px;
  color: var(--text-2); font-size: 14px; font-weight: 500;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line);
}
.works .i { color: var(--accent); width: 18px; height: 18px; }

/* Sections -------------------------------------------------------------- */
.section { padding: clamp(72px, 10vw, 128px) 0 0; }
.head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.head--center { margin-left: auto; margin-right: auto; text-align: center; max-width: 900px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.head h2, .cta h2 {
  margin-top: 14px;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.035em;
}
.lede { margin-top: 18px; color: var(--text-2); font-size: clamp(17px, 1.7vw, 19px); }

/* Feature cards (Fluxer-style big rounded cards, copy + media). */
.feature {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  padding: clamp(24px, 3.4vw, 44px);
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.feature + .feature { margin-top: 24px; }
.feature::before {
  content: "";
  position: absolute; inset: auto -10% -40% auto; width: 60%; height: 80%;
  background: radial-gradient(closest-side, rgba(64, 224, 208, 0.09), transparent);
  pointer-events: none;
}
.feature--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.feature--flip .feature__copy { order: 2; }
.feature--flip::before { inset: auto auto -40% -10%; }
.feature__copy { position: relative; z-index: 1; }
.feature__copy h3 { margin-top: 14px; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.08; font-weight: 750; }
.feature__copy > p:not(.kicker) { margin-top: 16px; color: var(--text-2); }
.feature__media { margin: 0; position: relative; z-index: 1; }
.shot img {
  width: 100%;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
}

.checks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 30px; color: var(--text); font-size: 16px; line-height: 1.5; }
.checks li::before {
  content: "";
  position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-soft) no-repeat center / 12px
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%2340e0d0' d='M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z'/%3E%3C/svg%3E");
}

.watches {
  grid-column: 1 / -1;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2.4vw, 32px);
  padding-top: clamp(4px, 1vw, 12px);
  position: relative; z-index: 1;
  order: 3;
}
.watches figure { margin: 0; text-align: center; }
.watches img { width: 100%; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.6)); transition: transform 0.3s var(--ease); }
.watches figure:hover img { transform: translateY(-4px); }
.watches figcaption { margin-top: 12px; color: var(--text-3); font-size: 14px; }

/* Tour: a faithful dashboard mock with a clickable rail. */
.tour {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: clamp(18px, 3vw, 40px);
  border-radius: var(--r-xl);
  background:
    radial-gradient(80% 60% at 50% 0%, rgba(64, 224, 208, 0.08), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.01));
  border: 1px solid var(--line);
}
.tour__rail {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  align-self: center;
  min-height: 86%;
  padding: 10px 8px;
  border-radius: 22px;
  background: #161a1f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
}
.tour__group { display: flex; flex-direction: column; gap: 4px; }
.tour__tab {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  padding: 11px 4px 9px;
  border: 0; border-radius: 14px;
  background: transparent;
  color: #a0acba;
  font: 500 12.5px/1.1 var(--font-body);
  cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease);
}
.tour__tab .i { width: 24px; height: 24px; }
.tour__tab:hover { background: rgba(255, 255, 255, 0.05); color: var(--text); }
.tour__tab[aria-selected="true"] { background: #1c3a3a; color: #e4e9f0; }
.tour__tab[aria-selected="true"] .i { color: var(--accent); }
.tour__tab[aria-selected="true"]::before {
  content: ""; position: absolute; left: -8px; top: 22%; bottom: 22%; width: 4px; border-radius: 4px; background: var(--accent);
}
.tour__main { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.tour__view {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.85);
  background: #161a1f;
  aspect-ratio: 16 / 10;
}
.tour__view img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.22s var(--ease); }
.tour__view.is-swapping img { opacity: 0; }
.tour__bar { width: 82%; margin: 0 auto; filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.6)); }
.tour__caption { margin: 22px auto 0; max-width: 680px; text-align: center; color: var(--text-2); min-height: 3.2em; }

/* Bento --------------------------------------------------------------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tile {
  display: flex; flex-direction: column; gap: 22px;
  padding: 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  overflow: hidden;
  min-width: 0;
}
.tile--wide { grid-column: span 2; flex-direction: row; align-items: center; }
.tile--wide .tile__copy { flex: 0 0 34%; }
.tile h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; line-height: 1.2; font-weight: 700; letter-spacing: -0.02em; }
.tile h3 .i { color: var(--accent); width: 22px; height: 22px; }
.tile__copy p { margin-top: 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
.tile__media { margin-top: auto; position: relative; min-width: 0; }
.tile__media > img:not(.tile__float) {
  width: 100%;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.8);
}
.tile__media--gaming { flex: 1; padding-bottom: 36px; }
.tile__media--grow { flex: 1; margin-top: 0; }
.chips--tile { list-style: none; margin: auto 0 0; padding: 0; }
.chips--tile li {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text);
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line);
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: #3ecf8e; box-shadow: 0 0 8px rgba(62, 207, 142, 0.7); }
.tile__float {
  position: absolute; right: -10px; bottom: 0; width: 44%;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, 0.7));
}
.tile__media--center { flex: 1; display: grid; place-items: center; min-height: 150px; }

.code {
  margin: auto 0 0;
  padding: 18px 20px;
  border-radius: var(--r-md);
  background: #0c1014;
  border: 1px solid var(--line);
  font: 400 13.5px/1.75 var(--font-mono);
  color: var(--text-2);
  overflow-x: auto;
}
.code code { font: inherit; }
.c-a { color: var(--accent); }
.c-d { color: var(--text-3); }
.c-s { color: #f0c674; }

/* Desktop app composition. */
.feature--panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.note {
  margin-top: 26px;
  display: flex; gap: 14px; align-items: flex-start;
  padding: 16px 18px;
  border-radius: var(--r-md);
  background: var(--accent-soft);
  border: 1px solid rgba(64, 224, 208, 0.22);
}
.note .i { color: var(--accent); width: 22px; height: 22px; margin-top: 2px; }
.note p { color: var(--text-2); font-size: 15.5px; }
.desk { position: relative; padding: 0 0 12% 0; }
.desk__settings {
  width: 88%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.desk__deck {
  position: absolute; right: 0; bottom: 0; width: 46%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.95), 0 0 60px -10px rgba(64, 224, 208, 0.25);
}

/* Monado fork: the features that need it, grouped in their own box. */
.section--tight { padding-top: clamp(24px, 3vw, 32px); }
.forkbox {
  position: relative;
  padding: clamp(22px, 3.4vw, 40px);
  border-radius: var(--r-xl);
  border: 1px solid rgba(64, 224, 208, 0.28);
  background:
    radial-gradient(70% 90% at 0% 0%, rgba(64, 224, 208, 0.1), transparent 60%),
    radial-gradient(60% 80% at 100% 100%, rgba(48, 196, 127, 0.07), transparent 60%),
    rgba(255, 255, 255, 0.015);
  box-shadow: 0 0 80px -40px rgba(64, 224, 208, 0.35);
}
.forkbox__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.forkbox__head > div { max-width: 640px; }
.forkbox__head h2 { margin-top: 12px; font-size: clamp(28px, 3.6vw, 40px); line-height: 1.08; font-weight: 800; letter-spacing: -0.03em; }
.forkbox__head .lede { margin-top: 12px; font-size: 17px; }
.forkbox__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.forkbox__also { margin-top: 22px; color: var(--text-3); font-size: 14.5px; }
.tile--fork { position: relative; background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02)); }
.tile--fork h3 { padding-right: 70px; }
.fork-badge {
  position: absolute; top: 22px; right: 22px;
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px 4px 8px; border-radius: 999px;
  font: 600 12px/1.2 var(--font-body); letter-spacing: 0.02em;
  color: var(--accent); background: var(--accent-soft); border: 1px solid rgba(64, 224, 208, 0.28);
}
.fork-badge .i { width: 13px; height: 13px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Hotplug: the chips appear as devices join, then hold, on a loop. */
.hotplug { position: relative; width: 100%; max-width: 360px; aspect-ratio: 480 / 115; }
.hotplug img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border-radius: 14px;
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.6));
  opacity: 0;
}
.hotplug img:nth-child(1) { animation: hp-0 8s infinite; }
.hotplug img:nth-child(2) { animation: hp-1 8s infinite; }
.hotplug img:nth-child(3) { animation: hp-2 8s infinite; }
.hotplug img:nth-child(4) { animation: hp-3 8s infinite; }
@keyframes hp-0 { 0%, 14% { opacity: 1; } 17%, 97% { opacity: 0; } 100% { opacity: 1; } }
@keyframes hp-1 { 0%, 14% { opacity: 0; } 17%, 31% { opacity: 1; } 34%, 100% { opacity: 0; } }
@keyframes hp-2 { 0%, 31% { opacity: 0; } 34%, 48% { opacity: 1; } 51%, 100% { opacity: 0; } }
@keyframes hp-3 { 0%, 48% { opacity: 0; } 51%, 94% { opacity: 1; } 97%, 100% { opacity: 0; } }

/* Install ------------------------------------------------------------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step {
  position: relative;
  padding: 28px 26px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
}
.step__n {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink);
  font: 800 19px/1 var(--font-display);
  box-shadow: 0 8px 24px -8px rgba(64, 224, 208, 0.6);
}
.step h3 { margin-top: 18px; font-size: 22px; font-weight: 700; }
.step p { margin-top: 8px; color: var(--text-2); font-size: 15.5px; }
.dl { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.reqs {
  margin-top: 20px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px;
}
.reqs > div {
  padding: 28px 26px;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.015);
}
.reqs h3 { font-size: 20px; font-weight: 700; }
.reqs .checks li { font-size: 15.5px; color: var(--text-2); }
.code--shell { position: relative; margin-top: 18px; padding: 0; }
.code--shell pre { margin: 0; padding: 18px 56px 18px 20px; overflow-x: auto; color: var(--text); }
.code--shell pre code::before { content: none; }
.copy {
  position: absolute; top: 10px; right: 10px;
  display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 10px; border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.04); color: var(--text-2);
  cursor: pointer; transition: color 0.2s, background-color 0.2s;
}
.copy:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); }
.copy.is-done { color: var(--accent); border-color: rgba(64, 224, 208, 0.4); }

/* FAQ ----------------------------------------------------------------- */
.faq { display: grid; gap: 12px; }
.faq details {
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  transition: background-color 0.2s, border-color 0.2s;
}
.faq details[open] { background: rgba(255, 255, 255, 0.045); border-color: var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font: 600 18px/1.35 var(--font-body);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .i { color: var(--text-3); transition: transform 0.25s var(--ease); }
.faq details[open] summary .i { transform: rotate(180deg); color: var(--accent); }
.faq details p { padding: 0 22px 22px; color: var(--text-2); }

/* CTA ----------------------------------------------------------------- */
.section--cta { padding-bottom: clamp(72px, 10vw, 120px); }
.cta {
  position: relative; overflow: hidden;
  text-align: center;
  padding: clamp(48px, 7vw, 88px) var(--gutter);
  border-radius: var(--r-xl);
  border: 1px solid rgba(64, 224, 208, 0.25);
  background:
    radial-gradient(90% 120% at 50% 110%, rgba(48, 196, 127, 0.22), transparent 60%),
    radial-gradient(70% 90% at 50% -20%, rgba(64, 224, 208, 0.2), transparent 60%),
    #0d1418;
}
.cta__icon { margin: 0 auto; border-radius: 18px; box-shadow: 0 20px 50px -10px rgba(64, 224, 208, 0.45); }
.cta h2 { margin-top: 26px; }
.cta p { margin: 14px auto 0; max-width: 520px; color: var(--text-2); font-size: 18px; }

/* Footer -------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); background: rgba(0, 0, 0, 0.25); padding: 56px 0 28px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 0.6fr 0.6fr 1.6fr; gap: 36px; }
.footer__about p { margin-top: 14px; color: var(--text-2); font-size: 15px; max-width: 300px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col p { color: var(--text-3); font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.footer__col a { color: var(--text-2); font-size: 15px; }
.footer__col a:hover { color: var(--text); }
.footer__credits p { color: var(--text-3); font-size: 13.5px; line-height: 1.65; }
.footer__credits p + p { margin-top: 12px; }
.footer__credits a { color: var(--text-2); }
.footer__base {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-3); font-size: 14px;
}
.footer__base a { color: var(--text-2); }
.footer__top { display: inline-flex; align-items: center; gap: 6px; }
.footer__top .i { transform: rotate(-90deg); }

/* Reveal on scroll (only when JS runs; content is never hidden without it). */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Responsive ------------------------------------------------------------ */
@media (max-width: 1000px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .feature, .feature--flip, .feature--panel { grid-template-columns: minmax(0, 1fr); }
  .feature--flip .feature__copy { order: 0; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; }
  .tile--wide { grid-column: span 2; }
  .forkbox__grid { grid-template-columns: minmax(0, 1fr); }
  .forkbox__head { flex-direction: column; align-items: flex-start; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .reqs { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__about, .footer__credits { grid-column: span 2; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .stage { perspective: none; }
  .stage__frame { border-radius: var(--r-lg); }
  .stage__frame img { aspect-ratio: 4 / 3; object-position: 58% 50%; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .br-lg { display: none; }
  .tile--wide { grid-column: auto; flex-direction: column; align-items: stretch; }
  .tile--wide .tile__copy { flex: none; }
  .tour { grid-template-columns: minmax(0, 1fr); padding: 14px; }
  .tour__rail {
    flex-direction: row; gap: 4px; min-height: 0; overflow-x: auto;
    scrollbar-width: none; order: 2;
  }
  .tour__rail::-webkit-scrollbar { display: none; }
  .tour__group { flex-direction: row; }
  .tour__tab { min-width: 72px; }
  .tour__tab[aria-selected="true"]::before { left: 22%; right: 22%; top: auto; bottom: -6px; width: auto; height: 3px; }
  .tour__bar { display: none; }
  .watches { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .watches figure:last-child { display: none; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .btn--lg { font-size: 16px; }
  .hero__actions .btn { flex: 1 1 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .stage__frame { transform: none !important; }
  .hotplug img { animation: none !important; }
  .hotplug img:last-child { opacity: 1; }
}
