/* =============================================================================
   MacEdge — design system
   Warm near-black surfaces with a single hot orange.
   ========================================================================== */

:root {
  /* Surfaces */
  --bg:            #151414;
  --bg-200:        #191817;
  --bg-300:        #2a2927;
  --bg-content:    #1a1a1a;
  --bg-elevated:   #201f1e;

  /* Foreground */
  --fg:            #f0e3de;
  --fg-200:        #f0e3de;
  --fg-muted:      #a8a29e;
  --fg-dim:        #78716c;

  /* Accent */
  --accent:        #ff5e1f;
  --accent-200:    #ff7038;
  --accent-muted:  #bf4c14;
  --accent-ink:    #171717;
  --accent-wash:   #ff5e1f1a;

  /* Category colors */
  --c-compute:     #0a95ff;
  --c-ai:          #00bd7d;
  --c-storage:     #ff5ef0;
  --c-security:    #ff5b66;
  --c-sand:        #e5cbb3;

  /* Lines */
  --border:        #f0e3de20;
  --border-strong: #f0e3de33;
  --border-solid:  #2a2927;

  /* Radii */
  --r-xs:  .125rem;
  --r-sm:  .25rem;
  --r-md:  .375rem;
  --r-lg:  .5rem;
  --r-xl:  .75rem;
  --r-2xl: 1rem;
  --r-3xl: 1.5rem;

  /* Type */
  --font-display: -apple-system, "SF Pro Display", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-sans: -apple-system, "SF Pro Text", "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --maxw: 1200px;
  --gutter: 24px;
  --section-y: 112px;

  --shadow-card: 0 1px 2px #0000004d, 0 8px 24px -12px #00000080;
  --shadow-lift: 0 2px 4px #00000059, 0 24px 48px -16px #000000a6;
}

/* ============================ reset ===================================== */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }

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

p { margin: 0; text-wrap: pretty; }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}

/* ============================ layout =================================== */

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

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: 80px; }

.rule { height: 1px; background: var(--border); border: 0; margin: 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}

.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 52px); }
.section-head p {
  margin-top: 20px;
  font-size: 18px;
  color: var(--fg-muted);
  max-width: 62ch;
}

/* ============================ buttons ================================== */

.btn {
  --btn-bg: var(--accent);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-lg);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: background .18s ease, border-color .18s ease,
              transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.btn:hover { --btn-bg: var(--accent-200); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: .55; pointer-events: none; }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--fg);
  border-color: var(--border-strong);
}
.btn--ghost:hover { --btn-bg: #f0e3de0f; border-color: var(--fg-dim); }

.btn--lg { padding: 16px 30px; font-size: 16px; border-radius: var(--r-xl); }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.price-note {
  font-size: 14px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
}

/* ============================ nav ====================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #151414cc;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.nav[data-stuck="true"] { border-bottom-color: var(--border); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.03em;
}
.brand__mark {
  width: 26px; height: 26px;
  border-radius: 7px;
  border: 1.5px solid var(--accent);
  position: relative;
  flex: none;
}
.brand__mark::before,
.brand__mark::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 2px;
}
.brand__mark::before { left: 2.5px; top: 5px; bottom: 5px; width: 2.5px; }
.brand__mark::after  { right: 2.5px; top: 5px; bottom: 5px; width: 2.5px; }

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  font-size: 14px;
  color: var(--fg-muted);
  transition: color .18s ease;
}
.nav__links a:hover { color: var(--fg); }

.nav__cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__inner { gap: 16px; }
}

/* ============================ hero ===================================== */

.hero {
  position: relative;
  padding-block: 92px 96px;
  overflow: hidden;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 8%;
  translate: -50% 0;
  width: min(980px, 120vw);
  aspect-ratio: 1.6;
  background: radial-gradient(ellipse at center,
              #ff5e1f26 0%, #ff5e1f0d 38%, transparent 70%);
  filter: blur(14px);
  pointer-events: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(42px, 6.1vw, 76px);
  letter-spacing: -0.038em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero__lede {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.58;
  color: var(--fg-muted);
  max-width: 54ch;
}

.hero .btn-row { margin-top: 34px; }

.hero__meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  font-size: 13.5px;
  color: var(--fg-dim);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero__meta span::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--bg-200);
  font-size: 13px;
  color: var(--fg-muted);
  margin-bottom: 26px;
}
.badge b {
  color: var(--accent);
  font-weight: 600;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
}

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-block: 64px 72px; }
}

/* ============================ trackpad widget ========================== */

.pad {
  --pad-edge: 11%;
  position: relative;
  width: 100%;
  aspect-ratio: 1.62 / 1;
  border-radius: 22px;
  background: linear-gradient(168deg, #262524 0%, #1b1a19 58%, #151414 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lift),
              inset 0 1px 0 #ffffff14,
              inset 0 -1px 0 #0000006b;
  overflow: hidden;
  user-select: none;
  touch-action: none;
  cursor: crosshair;
}

/* the four live zones */
.pad__zone {
  position: absolute;
  background: #f0e3de00;
  transition: background .3s ease;
  pointer-events: none;
}
.pad__zone[data-active="true"] { background: #ff5e1f1f; }

.pad__zone--left   { left: 0; top: 0; bottom: 0; width: var(--pad-edge); }
.pad__zone--right  { right: 0; top: 0; bottom: 0; width: var(--pad-edge); }
.pad__zone--bottom { left: 0; right: 0; bottom: 0; height: var(--pad-edge); }
.pad__zone--tl     { left: 0; top: 0; width: 22%; height: 24%; }
.pad__zone--tr     { right: 0; top: 0; width: 22%; height: 24%; }

/* dashed guides */
.pad__guide {
  position: absolute;
  border: 0 dashed var(--border-strong);
  pointer-events: none;
}
.pad__guide--l { left: var(--pad-edge);  top: 0; bottom: 0; border-left-width: 1px; }
.pad__guide--r { right: var(--pad-edge); top: 0; bottom: 0; border-right-width: 1px; }
.pad__guide--b { left: 0; right: 0; bottom: var(--pad-edge); border-bottom-width: 1px; }

.pad__label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--fg-dim);
  transition: color .3s ease;
  pointer-events: none;
  white-space: nowrap;
}
.pad__label[data-active="true"] { color: var(--accent); }

.pad__label--left {
  left: calc(var(--pad-edge) / 2);
  top: 50%;
  translate: -50% -50%;
  rotate: -90deg;
}
.pad__label--right {
  right: calc(var(--pad-edge) / 2);
  top: 50%;
  translate: 50% -50%;
  rotate: 90deg;
}
.pad__label--bottom {
  left: 50%;
  bottom: calc(var(--pad-edge) / 2);
  translate: -50% 50%;
}

.pad__corner {
  position: absolute;
  top: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 11px;
  border-radius: 8px;
  background: #0f0e0ecc;
  border: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--fg-muted);
  transition: all .25s ease;
  pointer-events: none;
}
.pad__corner--l { left: 12px; }
.pad__corner--r { right: 12px; }
.pad__corner[data-active="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  scale: 1.06;
}

/* the finger */
.pad__finger {
  position: absolute;
  width: 46px; height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 32%, #ffffff42, #ff5e1f55 48%, #ff5e1f00 72%);
  border: 1.5px solid #ff5e1fcc;
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
  will-change: transform;
}
.pad__finger[data-visible="true"] { opacity: 1; }
.pad__finger::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: 50%;
  border: 1px solid #ff5e1f40;
  animation: pulse-ring 1.5s ease-out infinite;
}
@keyframes pulse-ring {
  0%   { transform: scale(.72); opacity: .9; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* the macOS-style HUD */
.pad__hud {
  position: absolute;
  left: 50%;
  top: 50%;
  translate: -50% -50%;
  width: 148px;
  padding: 20px 18px 16px;
  border-radius: 18px;
  background: #2b2a29e6;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid #ffffff1f;
  box-shadow: 0 18px 44px #00000080;
  text-align: center;
  opacity: 0;
  scale: .94;
  transition: opacity .2s ease, scale .2s ease;
  pointer-events: none;
}
.pad__hud[data-visible="true"] { opacity: 1; scale: 1; }

.pad__hud-icon { font-size: 34px; line-height: 1; margin-bottom: 14px; }
.pad__hud-track {
  display: grid;
  grid-template-columns: repeat(16, 1fr);
  gap: 2px;
  height: 9px;
}
.pad__hud-track i {
  background: #ffffff2b;
  border-radius: 1px;
  transition: background .09s linear;
}
.pad__hud-track i[data-on="true"] { background: #f0e3de; }
.pad__hud-caption {
  margin-top: 11px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

/* media timeline overlay */
.pad__scrub {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: calc(var(--pad-edge) + 18px);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.pad__scrub[data-visible="true"] { opacity: 1; }
.pad__scrub-bar {
  height: 4px;
  border-radius: 999px;
  background: #f0e3de26;
  overflow: hidden;
}
.pad__scrub-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  border-radius: 999px;
}
.pad__scrub-meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--fg-muted);
}

.pad-caption {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--fg-dim);
  text-align: center;
  min-height: 21px;
}
.pad-caption b { color: var(--fg); font-weight: 500; }

/* ============================ marquee ================================== */

.marquee {
  border-block: 1px solid var(--border);
  padding-block: 26px;
  overflow: hidden;
  position: relative;
  background: var(--bg-200);
}
.marquee::before, .marquee::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 140px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before { left: 0;  background: linear-gradient(90deg, var(--bg-200), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-200), transparent); }

.marquee__track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: slide 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  color: var(--fg-dim);
  white-space: nowrap;
}
.marquee__item svg { width: 17px; height: 17px; opacity: .65; flex: none; }

/* ============================ cards =================================== */

.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 1000px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 680px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
}

.card {
  background: var(--bg-200);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
  background: var(--bg-300);
}

.card__icon {
  width: 38px; height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  color: var(--accent);
}
.card__icon svg { width: 100%; height: 100%; }

.card h3 { font-size: 20px; margin-bottom: 10px; letter-spacing: -0.02em; }
.card p  { font-size: 14.5px; color: var(--fg-muted); line-height: 1.6; }

.card__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 12px;
}

/* edge cards carry an animated preview strip */
.card--edge { padding: 0; display: flex; flex-direction: column; }
.card--edge .card__body { padding: 26px 28px 28px; }
.card__preview {
  height: 150px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 120%, #ff5e1f1a, transparent 62%),
    linear-gradient(180deg, #1f1e1d, #171615);
  border-bottom: 1px solid var(--border);
}

/* feature list */
.feature-col h3 {
  font-size: 15px;
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.feature-list li {
  display: flex;
  gap: 14px;
  padding: 14px 12px;
  border-radius: var(--r-lg);
  transition: background .2s ease;
}
.feature-list li:hover { background: var(--bg-200); }
.feature-list .dot {
  width: 9px; height: 9px;
  border-radius: 2px;
  rotate: 45deg;
  margin-top: 7px;
  flex: none;
  background: var(--accent);
}
.feature-list strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 3px; }
.feature-list span   { font-size: 13.5px; color: var(--fg-muted); line-height: 1.55; }

/* ============================ steps =================================== */

.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  align-items: start;
}
.step:last-child { border-bottom: 0; }
.step__n {
  counter-increment: step;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--accent);
  background: var(--bg-200);
}
.step__n::before { content: "0" counter(step); }
.step h3 { font-size: 19px; margin-bottom: 8px; }
.step p  { color: var(--fg-muted); font-size: 15px; max-width: 70ch; }

@media (max-width: 680px) {
  .step { grid-template-columns: 1fr; gap: 14px; }
}

/* ============================ interactive demo ======================== */

.demo {
  background: var(--bg-200);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  padding: 40px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 44px;
  align-items: center;
}
@media (max-width: 940px) {
  .demo { grid-template-columns: 1fr; padding: 26px; gap: 30px; }
}

.demo__side h3 { font-size: 26px; margin-bottom: 14px; }
.demo__side > p { color: var(--fg-muted); font-size: 15px; margin-bottom: 26px; }

.readout { display: grid; gap: 12px; }
.readout__row {
  display: grid;
  grid-template-columns: 92px 1fr 52px;
  gap: 14px;
  align-items: center;
  padding: 12px 15px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  transition: border-color .2s ease;
}
.readout__row[data-active="true"] { border-color: var(--accent); }
.readout__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--fg-dim);
}
.readout__bar { height: 5px; background: #f0e3de1f; border-radius: 999px; overflow: hidden; }
.readout__fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width .12s linear;
}
.readout__val {
  font-family: var(--font-mono);
  font-size: 13px;
  text-align: right;
  color: var(--fg);
}

.demo__log {
  margin-top: 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--fg-dim);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 13px 15px;
  min-height: 42px;
  line-height: 1.5;
}
.demo__log b { color: var(--accent); font-weight: 500; }

/* ============================ requirements ============================ */

.req-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 44px; }
@media (max-width: 760px) { .req-grid { grid-template-columns: 1fr; } }

.req {
  display: flex;
  gap: 15px;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.req__check {
  width: 21px; height: 21px;
  border-radius: 50%;
  background: var(--accent-wash);
  border: 1px solid #ff5e1f55;
  display: grid;
  place-items: center;
  flex: none;
  margin-top: 2px;
}
.req__check svg { width: 11px; height: 11px; color: var(--accent); }
.req strong { display: block; font-size: 15.5px; margin-bottom: 3px; font-weight: 600; }
.req span { font-size: 13.5px; color: var(--fg-muted); }

/* ============================ pricing ================================= */

.pricing {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 420px);
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .pricing { grid-template-columns: 1fr; gap: 36px; } }

.price-card {
  background: linear-gradient(170deg, var(--bg-300), var(--bg-200));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-3xl);
  padding: 36px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lift);
}
.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.price-card__tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.price-card__amount {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 8px;
}
.price-card__amount b {
  font-family: var(--font-display);
  font-size: 62px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.price-card__amount span { color: var(--fg-dim); font-size: 15px; }
.price-card > p { color: var(--fg-muted); font-size: 14.5px; margin-bottom: 26px; }
.price-card .btn { width: 100%; }

.price-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 11px; }
.price-list li {
  display: flex;
  gap: 11px;
  font-size: 14px;
  color: var(--fg-muted);
  align-items: flex-start;
}
.price-list li::before {
  content: "✓";
  color: var(--accent);
  font-size: 13px;
  flex: none;
  line-height: 1.5;
}

.checkout-error {
  margin-top: 14px;
  font-size: 13px;
  color: var(--c-security);
  min-height: 18px;
}

/* ============================ FAQ ===================================== */

.faq { border-top: 1px solid var(--border); max-width: 880px; }
.faq__item { border-bottom: 1px solid var(--border); }
.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 4px;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: color .2s ease;
}
.faq__q:hover { color: var(--accent); }
.faq__icon {
  flex: none;
  width: 18px; height: 18px;
  position: relative;
  transition: rotate .3s ease;
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--accent);
  border-radius: 1px;
  inset: 50% 0 auto 0;
  height: 1.5px;
  margin-top: -.75px;
}
.faq__icon::after { rotate: 90deg; transition: opacity .3s ease; }
.faq__item[data-open="true"] .faq__icon { rotate: 180deg; }
.faq__item[data-open="true"] .faq__icon::after { opacity: 0; }

.faq__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .32s cubic-bezier(.4,0,.2,1);
}
.faq__item[data-open="true"] .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p {
  padding: 0 4px 26px;
  color: var(--fg-muted);
  font-size: 15px;
  max-width: 72ch;
}
.faq__a p + p { padding-top: 0; margin-top: -12px; }

/* ============================ CTA ===================================== */

.cta {
  position: relative;
  text-align: center;
  padding-block: 120px;
  overflow: hidden;
  border-top: 1px solid var(--border);
}
.cta::before {
  content: "";
  position: absolute;
  left: 50%; top: 0;
  translate: -50% -42%;
  width: min(900px, 130vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ff5e1f1f 0%, transparent 62%);
  pointer-events: none;
}
.cta h2 { font-size: clamp(34px, 5vw, 58px); position: relative; }
.cta p {
  margin: 20px auto 34px;
  color: var(--fg-muted);
  font-size: 18px;
  max-width: 54ch;
  position: relative;
}
.cta .btn-row { justify-content: center; position: relative; }

/* ============================ footer ================================== */

.footer {
  border-top: 1px solid var(--border);
  padding-block: 52px 40px;
  background: var(--bg-200);
}
.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-bottom: 44px;
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

.footer p { font-size: 14px; color: var(--fg-dim); margin-top: 14px; max-width: 34ch; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 15px;
}
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--fg-muted); transition: color .18s ease; }
.footer ul a:hover { color: var(--accent); }

.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 26px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-dim);
}

/* ============================ reveal ================================== */

/* Content only starts hidden once JS has confirmed it can reveal it again.
   Without JS — or if the observer never fires — everything stays visible. */
html.js [data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .62s cubic-bezier(.2,.7,.3,1),
              transform .62s cubic-bezier(.2,.7,.3,1);
}
html.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal] { opacity: 1; transform: none; }
}

/* ============================ install page ============================ */

.install-main { min-height: 72vh; padding-block: 72px; }

.panel {
  background: var(--bg-200);
  border: 1px solid var(--border);
  border-radius: var(--r-3xl);
  padding: 40px;
  max-width: 820px;
  margin-inline: auto;
}
@media (max-width: 680px) { .panel { padding: 26px; } }

.panel__status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  border: 1px solid;
}
.panel__status--ok   { color: var(--c-ai);       border-color: #00bd7d4d; background: #00bd7d14; }
.panel__status--wait { color: var(--accent);     border-color: #ff5e1f4d; background: var(--accent-wash); }
.panel__status--bad  { color: var(--c-security); border-color: #ff5b664d; background: #ff5b6614; }
.panel__status::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.panel__status--wait::before { animation: blink 1.1s ease-in-out infinite; }
@keyframes blink { 50% { opacity: .25; } }

.panel h1 { font-size: clamp(28px, 4vw, 40px); margin-bottom: 14px; }
.panel > p { color: var(--fg-muted); font-size: 16px; }

.keybox {
  margin-top: 28px;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  padding: 20px 22px;
}
.keybox__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-dim);
  margin-bottom: 10px;
}
.keybox__row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.keybox code {
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  letter-spacing: .05em;
  word-break: break-all;
  flex: 1;
  min-width: 220px;
}

.term {
  margin-top: 16px;
  background: #0d0c0c;
  border: 1px solid var(--border-strong);
  border-radius: var(--r-xl);
  overflow: hidden;
}
.term__bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 11px 15px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-300);
}
.term__bar i {
  width: 11px; height: 11px;
  border-radius: 50%;
  display: block;
}
.term__bar i:nth-child(1) { background: #ff5f57; }
.term__bar i:nth-child(2) { background: #febc2e; }
.term__bar i:nth-child(3) { background: #28c840; }
.term__bar span {
  margin-left: 8px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--fg-dim);
}
.term__body {
  padding: 18px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.75;
  color: #d8d2cd;
  overflow-x: auto;
  white-space: pre;
}
.term__body .p { color: var(--c-ai); user-select: none; }

.copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: var(--r-md);
  border: 1px solid var(--border-strong);
  background: var(--bg-300);
  font-size: 13px;
  font-weight: 500;
  transition: all .18s ease;
  flex: none;
}
.copy-btn:hover { border-color: var(--accent); color: var(--accent); }
.copy-btn[data-done="true"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 28px 0 20px;
  color: var(--fg-dim);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.divider-or::before, .divider-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.note {
  margin-top: 26px;
  padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--accent-wash);
  border: 1px solid #ff5e1f33;
  font-size: 13.5px;
  color: var(--fg-muted);
  line-height: 1.6;
}
.note b { color: var(--fg); }

.lookup { display: flex; gap: 10px; margin-top: 20px; flex-wrap: wrap; }
.lookup input {
  flex: 1;
  min-width: 220px;
  padding: 13px 16px;
  border-radius: var(--r-lg);
  border: 1px solid var(--border-strong);
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-mono);
  font-size: 14px;
}
.lookup input::placeholder { color: var(--fg-dim); }
.lookup input:focus { outline: none; border-color: var(--accent); }

.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;
}

/* ============================ small screens =========================== */

@media (max-width: 620px) {
  :root {
    --gutter: 18px;
    --section-y: 72px;
  }

  /* Two nowrap buttons plus the wordmark overflow a phone; the secondary
     action lives in the footer and the FAQ, so it steps aside here. */
  .nav__cta .btn--ghost { display: none; }
  .nav__inner { height: 58px; }

  .btn { padding: 11px 17px; font-size: 14px; }
  .btn--lg { padding: 14px 20px; font-size: 15px; }
  .btn-row > .btn { flex: 1 1 auto; }

  .hero { padding-block: 44px 56px; }
  .hero h1 { font-size: clamp(34px, 9.4vw, 46px); }
  .hero__lede { font-size: 17px; }
  .hero__meta { gap: 8px 16px; font-size: 12.5px; }

  .section-head { margin-bottom: 36px; }
  .section-head p { font-size: 16px; }

  .card { padding: 22px; }
  .panel { padding: 22px; }
  .price-card { padding: 26px; }
  .price-card__amount b { font-size: 50px; }

  .faq__q { font-size: 16px; gap: 14px; padding: 20px 2px; }
  .cta { padding-block: 80px; }

  .term__body { font-size: 11px; }
  .keybox code { font-size: 14px; }

  .footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 400px) {
  .footer__grid { grid-template-columns: 1fr; }
  .brand { font-size: 16px; }
}


/* ============================ realism pass ============================== */

.brand__logo { width: 28px; height: 28px; border-radius: 7px; display: block; }
.btn:not(.btn--ghost) { background: #e8500f; color: #fff; box-shadow: 0 1px 0 #ffffff2e inset, 0 8px 22px -10px #e8500f; }
.btn:not(.btn--ghost):hover { background: #ff5e1f; }
.hero h1 { font-weight: 650; letter-spacing: -.035em; }
h2 { letter-spacing: -.025em; }

.hero__grid { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; }
.hero__stage { min-width: 0; }
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; } }

.ticks { display: grid; grid-template-columns: repeat(16, 1fr); gap: 1.5px; flex: 1; }
.ticks i { display: block; height: 100%; background: #ffffff30; border-radius: 1px; }
.ticks i[data-on="true"] { background: #fff; }

/* the laptop. Everything inside scales with its width, so phones match desktops. */
.mac { container-type: inline-size; position: relative; width: 100%; max-width: 640px; margin-inline: auto; padding-bottom: 7cqw; }
.mac__lid {
  position: relative; padding: 1.5cqw 1.5cqw 1.9cqw;
  margin-inline: 5.5cqw; border-radius: 2.6cqw 2.6cqw 0 0;
  background: #07080a;
  box-shadow: 0 0 0 1px #3a3d46, inset 0 0 0 1px #000, 0 30px 70px -30px #000;
}
.mac__screen {
  position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: .9cqw;
  background: radial-gradient(120% 90% at 20% 0%, #3a5a9e 0%, #1d2b52 45%, #10142a 100%);
  font-family: var(--font-sans); color: #fff;
}
.mac__menubar {
  position: absolute; inset: 0 0 auto 0; height: 3.9cqw; display: flex; align-items: center; gap: 2.1cqw;
  padding-inline: 1.8cqw; font-size: 1.65cqw; background: #ffffff1c; backdrop-filter: blur(6px); color: #ffffffe0;
}
.mac__menubar b { font-weight: 650; }
.mac__menubar i { margin-left: auto; font-style: normal; }
.mac__window {
  position: absolute; left: 8%; right: 8%; top: 12%; bottom: 7%; display: flex; flex-direction: column;
  border-radius: 1.3cqw; overflow: hidden; background: #15161b; box-shadow: 0 0 0 1px #ffffff1f, 0 3cqw 6cqw -2cqw #000c;
}
.mac__titlebar { flex: none; height: 4cqw; display: flex; align-items: center; gap: .75cqw; padding-inline: 1.4cqw; background: #24252c; font-size: 1.5cqw; color: #ffffffa8; }
.mac__titlebar u { width: 1.15cqw; height: 1.15cqw; border-radius: 50%; background: #565862; }
.mac__titlebar span { margin-left: 1cqw; }
.mac__film { flex: 1; min-height: 0; width: 100%; display: block; }
.mac__controls { flex: none; height: 5cqw; display: flex; align-items: center; gap: 1.4cqw; padding-inline: 1.6cqw; background: #1b1c22; font-size: 1.45cqw; font-variant-numeric: tabular-nums; color: #ffffffc4; }
.mac__controls svg { width: 2.3cqw; height: 2.3cqw; flex: none; }
.mac__progress { flex: 1; height: .55cqw; border-radius: 1cqw; background: #ffffff2b; overflow: hidden; }
.mac__progress div { height: 100%; background: #fff; }
.mac__dim { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; transition: opacity .12s linear; }

/* the system indicator, top right as on current macOS */
.mac__osd {
  position: absolute; top: 5.3cqw; right: 1.6cqw; width: 27cqw; height: 5.2cqw;
  display: flex; align-items: center; gap: 1.2cqw; padding-inline: 1.4cqw; border-radius: 2.6cqw;
  background: #2a2c34e8; backdrop-filter: blur(10px); box-shadow: 0 0 0 1px #ffffff24, 0 1.4cqw 3cqw #0008;
  opacity: 0; transform: translateY(-.8cqw) scale(.97); transition: opacity .18s ease, transform .22s cubic-bezier(.2,.9,.3,1.2);
}
.mac__osd[data-visible="true"] { opacity: 1; transform: none; }
.mac__osd > span { display: block; width: 2.7cqw; height: 2.7cqw; flex: none; }
.mac__osd > span svg { display: block; width: 100%; height: 100%; }
.mac__osd .ticks { height: 1.15cqw; }

/* MacEdge's own seek preview, laid out like the panel in the app */
.mac__seek {
  position: absolute; left: 50%; bottom: 5%; width: 42cqw; padding: 1.9cqw 2.2cqw; border-radius: 1.6cqw;
  background: #2a2c34ec; backdrop-filter: blur(10px); box-shadow: 0 0 0 1px #ffffff24, 0 2cqw 4cqw #0009; text-align: center;
  opacity: 0; transform: translate(-50%, .8cqw); transition: opacity .16s ease, transform .2s ease;
}
.mac__seek[data-visible="true"] { opacity: 1; transform: translate(-50%, 0); }
.mac__seek small { display: block; font-size: 1.4cqw; color: #ffffffa8; }
.mac__seek strong { display: block; margin: .7cqw 0 1cqw; font-family: var(--font-mono); font-size: 3cqw; font-weight: 600; font-variant-numeric: tabular-nums; }
.mac__seekbar { height: .7cqw; border-radius: 1cqw; background: #ffffff30; overflow: hidden; }
.mac__seekbar div { height: 100%; width: 0; background: var(--accent-200); }

.mac__hinge { height: 1.1cqw; margin-inline: 5.5cqw; background: linear-gradient(#34363e, #16171b); border-radius: 0 0 .5cqw .5cqw; }
.mac__deck {
  position: relative; padding: 2.2cqw 7cqw 2.4cqw; border-radius: 0 0 2.8cqw 2.8cqw;
  background: linear-gradient(180deg, #33353d 0%, #2a2c33 60%, #25272d 100%);
  box-shadow: inset 0 1px 0 #ffffff24, inset 0 -1px 0 #0009, 0 2.2cqw 4cqw -1.4cqw #000;
}
.mac__keys { display: grid; gap: .55cqw; margin-bottom: 2.2cqw; }
.mac__keys > div { display: flex; gap: .55cqw; }
.mac__keys i { flex: 1; height: 3.6cqw; border-radius: .55cqw; background: linear-gradient(#17181c, #101114); box-shadow: 0 0 0 .5px #000, inset 0 .5px 0 #ffffff14; }
.mac__keys i.wide { flex: 5.4; }

.mac__pad {
  position: relative; width: 53cqw; margin-inline: auto; aspect-ratio: 1.6 / 1; border-radius: 1.5cqw;
  background: linear-gradient(170deg, #383a43 0%, #2f3139 55%, #2a2c33 100%);
  box-shadow: 0 0 0 1px #0000008c, 0 0 0 1.5px #ffffff12, inset 0 1px 0 #ffffff1c;
  transition: filter .08s linear;
}
.mac__pad[data-down="true"] { filter: brightness(.965); }

/* Strips exist only as a hint while in use: a real trackpad has no markings. */
.mac__strip { position: absolute; background: #ff5e1f00; opacity: 0; transition: opacity .28s ease; display: grid; place-items: center; overflow: hidden; }
.mac__strip[data-active="true"] { opacity: 1; background: #ff5e1f30; box-shadow: inset 0 0 0 1px #ff703866; }
.mac__strip em { font-style: normal; font-family: var(--font-mono); font-size: 1.25cqw; letter-spacing: .12em; text-transform: uppercase; color: #ffd9c8; white-space: nowrap; }
.mac__strip--left { left: 0; top: 0; bottom: 0; width: 10%; border-radius: 1.5cqw 0 0 1.5cqw; }
.mac__strip--left em { transform: rotate(-90deg); }
.mac__strip--right { right: 0; top: 0; bottom: 0; width: 10%; border-radius: 0 1.5cqw 1.5cqw 0; }
.mac__strip--right em { transform: rotate(90deg); }
.mac__strip--bottom { left: 0; right: 0; bottom: 0; height: 10%; border-radius: 0 0 1.5cqw 1.5cqw; }
.mac__strip--tl { left: 0; top: 0; width: 20%; height: 17%; border-radius: 1.5cqw 0 0 0; }

/* the click, shown at the contact point */
.mac__ripple, .pad__ripple {
  position: absolute; width: 2px; height: 2px; border-radius: 50%; pointer-events: none; opacity: 0;
  box-shadow: 0 0 0 1px #ffffffb3;
}
.mac__ripple.is-on, .pad__ripple.is-on { animation: click-ring .3s cubic-bezier(.2,.7,.3,1) both; }
@keyframes click-ring {
  0% { opacity: .9; transform: translate(-50%, -50%) scale(4); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(16); }
}

/* the finger */
.finger {
  position: absolute; left: 0; top: 0; z-index: 3; width: 0; height: 0; pointer-events: none;
  opacity: 0; transition: opacity .16s ease; will-change: transform;
}
.finger[data-visible="true"] { opacity: 1; }
.finger svg {
  position: absolute; display: block; max-width: none;
  /* the contact point sits under the fingertip pad */
  left: calc(var(--finger-w, 9.2cqw) * -.5); top: calc(var(--finger-w, 9.2cqw) * -.36);
  width: var(--finger-w, 9.2cqw); height: auto; transform-origin: 50% 12%;
  filter: drop-shadow(0 1.1cqw 1cqw #000a); transition: transform .09s ease-out, filter .09s ease-out;
}
.finger[data-down="true"] svg { transform: scale(.975) translateY(.25cqw); filter: drop-shadow(0 .25cqw .45cqw #000c); }
.finger .finger__nail { transition: fill-opacity .09s; }
.finger[data-down="true"] .finger__nail { fill-opacity: .82; }

.pad-caption { min-height: 1.5em; text-align: center; }

/* the try-it trackpad: the same glass, larger */
.pad {
  --finger-w: 62px; container-type: normal; overflow: visible; border-radius: 18px;
  background: linear-gradient(170deg, #383a43 0%, #2f3139 55%, #2a2c33 100%);
  border: 0; box-shadow: 0 0 0 1px #000a, 0 0 0 2px #ffffff12, inset 0 1px 0 #ffffff1c, var(--shadow-lift);
  cursor: default;
}
.pad__zone--left { border-radius: 18px 0 0 18px; }
.pad__zone--right { border-radius: 0 18px 18px 0; }
.pad__zone--bottom { border-radius: 0 0 18px 18px; }
.pad__zone--tl { border-radius: 18px 0 0 0; width: 20%; height: 17%; }
.pad__zone--tr { border-radius: 0 18px 0 0; width: 20%; height: 17%; }
.pad__zone[data-active="true"] { background: #ff5e1f2e; }
.pad__zone--left, .pad__zone--right { width: 10%; }
.pad__zone--bottom { height: 10%; }
.pad { --pad-edge: 10%; }
.pad__guide { display: none; }
.pad__label { color: #ffffff4d; }
.pad__corner { background: #0000002e; border-color: #ffffff14; color: #ffffffa0; }
.pad__corner[data-active="true"] { background: #e8500f; border-color: #e8500f; scale: 1; }
.pad__hud {
  top: 14%; translate: -50% 0; width: 52%; padding: 0 12px; height: 36px; border-radius: 18px; display: flex; align-items: center; gap: 9px;
  background: #1c1d23f0; box-shadow: 0 0 0 1px #ffffff24, 0 10px 28px #0008;
}
.pad__hud-icon { display: block; width: 19px; height: 19px; flex: none; margin: 0; }
.pad__hud-icon svg { display: block; width: 100%; height: 100%; }
.pad__hud .ticks { height: 7px; }
.card__preview { background: radial-gradient(100% 90% at 50% 0%, #211f1e, #171615); }
.card { transition: transform .25s ease, border-color .25s ease, background .25s ease; }
@media (hover: hover) { .card:hover { transform: translateY(-2px); } }

@media (max-width: 560px) { .pad { --finger-w: 44px; } }
@media (prefers-reduced-motion: reduce) { .mac__osd, .mac__seek, .finger svg { transition: none; } }
.readout__fill { display: block; background: var(--accent-200); }


/* ============================ the big hero ============================== */

.stage {
  position: relative; isolation: isolate; overflow: hidden;
  background-color: var(--bg);
  background-image: radial-gradient(#f0e3de1c 1px, transparent 1.3px);
  background-size: 14px 14px;
}
.stage::before, .stage::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 0; z-index: -1;
  border-left: 1px dashed #f0e3de1f;
}
.stage::before { left: max(16px, 7%); }
.stage::after { right: max(16px, 7%); }

.stage__canvas { container-type: inline-size; position: relative; width: 100%; aspect-ratio: 100 / 47; margin-top: 8px; }
.stage__words {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif; font-weight: 800; font-size: 17.6cqw; line-height: .8; letter-spacing: -.072em;
  user-select: none;
}
.word { display: block; margin: 0; font: inherit; letter-spacing: inherit; white-space: nowrap; padding-right: .07em; }
.word--solid { position: relative; z-index: 1; color: var(--accent); }
.word--ghost {
  color: transparent; -webkit-text-stroke: 1px #ff5e1f3d;
  background-color: #2a1a12cc;
  background-image: radial-gradient(#ff5e1f42 .9px, transparent 1.2px);
  background-size: 5px 5px;
  -webkit-background-clip: text; background-clip: text;
}

.stage__paths { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; overflow: visible; pointer-events: none; }
.stage__paths path { fill: none; stroke: #ff5e1fa6; stroke-width: 1; stroke-dasharray: 3 5; }
.stage__node { position: absolute; z-index: 2; left: calc(var(--x) * 1%); top: calc(var(--y) / 56 * 100%); width: 6px; height: 6px; margin: -3px; background: var(--accent); }

.fcard {
  position: absolute; left: 0; top: 0; z-index: 3; width: clamp(36px, 7cqw, 112px); aspect-ratio: 5 / 6;
  display: grid; place-items: center; border-radius: 16%;
  background: #cfc6c04d; backdrop-filter: blur(9px) saturate(1.2); -webkit-backdrop-filter: blur(9px) saturate(1.2);
  box-shadow: inset 0 0 0 1px #ffffff2e, 0 1.4cqw 3cqw -1cqw #000a;
  will-change: transform, opacity; pointer-events: none;
}
.fcard__tile { display: grid; place-items: center; width: 56%; aspect-ratio: 1; border-radius: 24%; }
.fcard__tile svg { width: 66%; height: 66%; display: block; max-width: none; }
.fcard__tile img { width: 100%; height: 100%; display: block; border-radius: 24%; }
.fcard__tile--dark { background: #0d0c0c; color: #fff; }
.fcard__tile--light { background: #fff; color: #141312; }
.fcard__tile--hot { background: var(--accent); color: #fff; }
.fcard__tile--plain { background: none; }

.stage__copy { position: relative; z-index: 4; max-width: 720px; margin-top: 18px; padding-bottom: 88px; text-align: center; }
.stage__lede { margin: 0 auto 28px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; color: var(--fg-muted); }
.stage__lede b { color: var(--fg); font-weight: 600; }
.stage__copy .btn-row { justify-content: center; }
.stage__copy .hero__meta { justify-content: center; margin-top: 24px; }

.see { border-top: 1px solid var(--border); }
.see__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.see__text h2 { margin: 12px 0 16px; }
.see__text p:last-child { color: var(--fg-muted); line-height: 1.6; }
@media (max-width: 980px) { .see__grid { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 640px) {
  .stage { background-size: 11px 11px; }
  .stage__canvas { aspect-ratio: 100 / 60; }
  .stage__words { font-size: 21cqw; }
  .word--ghost { -webkit-text-stroke-width: .6px; background-size: 4px 4px; }
}

/* ============================ launch video ============================== */

.film { padding-block: clamp(32px, 5vw, 72px) clamp(56px, 8vw, 112px); scroll-margin-top: 72px; }
.film__frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: clamp(12px, 1.6vw, 22px);
  background: #0a0909 url("/assets/macedge-launch-poster.jpg") center / cover no-repeat;
  box-shadow: 0 0 0 1px var(--border-strong), 0 40px 90px -40px #ff5e1f55, var(--shadow-lift);
}
.film__video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film__sound {
  position: absolute; left: 50%; bottom: clamp(52px, 8%, 72px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border: 0; border-radius: 999px;
  background: #151414e0; color: #fff; font: 600 14px/1 var(--font-sans); cursor: pointer;
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: 0 0 0 1px #ffffff2e, 0 10px 30px #0009;
  transition: background .15s ease;
}
.film__sound:hover { background: var(--accent); }
.film__sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.film__sound[hidden] { display: none; }
.film__sound svg { width: 18px; height: 18px; display: block; }
