:root {
  color-scheme: dark;
  --page: #0b0d11;
  --page-raised: #101319;
  --ink: #f4f5f7;
  --ink-soft: #b4b9c4;
  --ink-muted: #737987;
  --line: rgba(255,255,255,0.075);
  --line-strong: rgba(255,255,255,0.13);
  --cobalt: #6673e8;
  --cobalt-bright: #aeb7ff;
  --green: #3dd68c;
  --font-sans: "Geist", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Geist Mono", "SFMono-Regular", Consolas, monospace;
  --ease: cubic-bezier(.16,1,.3,1);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--page); scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--page); color: var(--ink-soft); font-family: var(--font-sans); line-height: 1.55; }
a { color: inherit; }

.skip-link { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 10px 14px; background: var(--ink); color: var(--page); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.handoff-nav {
  position: relative;
  z-index: 4;
  width: min(100% - 64px, 1680px);
  min-height: 72px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.handoff-brand,
.handoff-back { display: inline-flex; align-items: center; text-decoration: none; }
.handoff-brand { gap: 10px; color: var(--ink); font-size: 15px; font-weight: 620; letter-spacing: -0.02em; }
.handoff-brand img { display: block; border-radius: 7px; }
.handoff-back { gap: 7px; color: var(--ink-muted); font-size: 12px; transition: color 180ms ease; }
.handoff-back:hover { color: var(--ink); }
.handoff-back svg { width: 15px; height: 15px; }

.handoff-hero {
  position: relative;
  isolation: isolate;
  width: min(100% - 64px, 1680px);
  min-height: calc(100dvh - 72px);
  margin-inline: auto;
  padding: clamp(84px, 9vw, 148px) 0 clamp(96px, 10vw, 160px);
  display: grid;
  grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(60px, 8vw, 132px);
  align-items: center;
}

.handoff-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  right: 0;
  bottom: -20%;
  width: 72%;
  height: 58%;
  background: radial-gradient(ellipse, rgba(102,115,232,0.12), transparent 70%);
  pointer-events: none;
}

.handoff-kicker,
.handoff-section-label {
  margin: 0;
  color: var(--ink-muted);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.handoff-kicker { display: flex; align-items: center; gap: 9px; }
.handoff-kicker span { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(61,214,140,0.08); }
.handoff-kicker b { font-weight: 500; color: var(--ink-muted); }

.handoff-copy h1 {
  max-width: 9ch;
  margin: 26px 0 0;
  color: var(--ink);
  font-size: clamp(58px, 6.2vw, 96px);
  font-weight: 570;
  letter-spacing: -0.064em;
  line-height: 0.94;
}

.handoff-lede { max-width: 48ch; margin: 30px 0 0; color: var(--ink-soft); font-size: clamp(17px, 1.3vw, 20px); }

.download-status { display: grid; grid-template-columns: 10px 1fr; gap: 13px; align-items: start; margin-top: 34px; padding: 19px 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line); }
.download-status-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--cobalt-bright); animation: status-pulse 1.4s var(--ease) infinite; }
.download-started .download-status-dot { background: var(--green); animation: none; }
.download-status strong,
.download-status span { display: block; }
.download-status strong { color: var(--ink); font-size: 14px; font-weight: 580; }
.download-status div > span { margin-top: 3px; color: var(--ink-muted); font-size: 12px; }

.handoff-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.handoff-button { min-height: 48px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line-strong); border-radius: 8px; text-decoration: none; font-size: 13px; font-weight: 620; transition: transform 180ms var(--ease), background-color 180ms ease, color 180ms ease, border-color 180ms ease; }
.handoff-button:hover { transform: translateY(-1px); }
.handoff-button:active { transform: scale(0.98); }
.handoff-button-primary { background: var(--ink); color: #0b0d11; border-color: var(--ink); }
.handoff-button-primary:hover { background: #fff; }
.handoff-button-secondary { color: var(--ink); background: rgba(255,255,255,0.02); }
.handoff-button-secondary:hover { border-color: rgba(255,255,255,0.24); background: rgba(255,255,255,0.045); }

.handoff-trust { display: flex; flex-wrap: wrap; gap: 0; margin: 18px 0 0; color: var(--ink-muted); font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.025em; }
.handoff-trust span::before,
.handoff-trust span::after { content: "/"; margin: 0 10px; color: rgba(255,255,255,0.2); }

.handoff-product { position: relative; margin: 0; overflow: visible; transform: perspective(1400px) rotateY(-3deg) rotateX(1deg); transform-origin: center; }
.handoff-product > img { display: block; width: 100%; height: auto; border: 1px solid var(--line-strong); border-top: 0; border-radius: 0 0 13px 13px; box-shadow: 0 46px 110px rgba(0,0,0,0.5); }
.handoff-frame-bar { min-height: 40px; padding: 0 14px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border: 1px solid var(--line-strong); border-bottom-color: var(--line); border-radius: 13px 13px 0 0; background: #101319; color: var(--ink-muted); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.06em; text-transform: uppercase; }
.handoff-frame-bar > span:first-child { display: flex; gap: 5px; }
.handoff-frame-bar i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.16); }
.handoff-frame-bar > span:last-child { justify-self: end; }
.handoff-product figcaption { position: absolute; right: 0; bottom: -28px; width: min(270px, 46%); padding: 17px 19px; border: 1px solid var(--line-strong); border-radius: 9px; background: rgba(16,19,25,0.92); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 18px 48px rgba(0,0,0,0.36); color: var(--ink); font-size: 12px; }
.handoff-product figcaption span { display: block; margin-bottom: 6px; color: var(--green); font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; text-transform: uppercase; }

.handoff-next { width: min(100% - 64px, 1680px); margin-inline: auto; padding: clamp(96px, 10vw, 160px) 0; display: grid; grid-template-columns: minmax(320px, 0.72fr) minmax(0, 1.28fr); gap: clamp(72px, 11vw, 176px); border-top: 1px solid var(--line-strong); }
.handoff-next h2 { max-width: 12ch; margin: 22px 0 0; color: var(--ink); font-size: clamp(38px, 4.4vw, 66px); font-weight: 570; letter-spacing: -0.052em; line-height: 0.98; }
.handoff-next > div > p:last-child { max-width: 46ch; margin: 26px 0 0; color: var(--ink-muted); font-size: 15px; }
.handoff-steps { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.handoff-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.handoff-steps li > span { color: var(--cobalt-bright); font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; }
.handoff-steps strong { color: var(--ink); font-size: 17px; font-weight: 580; }
.handoff-steps p { max-width: 58ch; margin: 7px 0 0; color: var(--ink-muted); font-size: 14px; }
.handoff-steps a { color: var(--ink-soft); text-decoration-color: rgba(174,183,255,0.5); text-underline-offset: 3px; }

.handoff-help { width: min(100% - 64px, 1680px); margin-inline: auto; padding: 36px 0 72px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-top: 1px solid var(--line); }
.handoff-help p { margin: 0; color: var(--ink); font-size: 14px; font-weight: 560; }
.handoff-help div { display: flex; flex-wrap: wrap; gap: 22px; }
.handoff-help a { color: var(--ink-muted); font-size: 12px; text-underline-offset: 4px; transition: color 180ms ease; }
.handoff-help a:hover { color: var(--ink); }

@keyframes status-pulse { 50% { opacity: 0.42; transform: scale(0.84); } }

@media (max-width: 980px) {
  .handoff-hero { min-height: auto; grid-template-columns: 1fr; }
  .handoff-copy { max-width: 720px; }
  .handoff-copy h1 { max-width: 10ch; }
  .handoff-product { transform: none; }
  .handoff-product figcaption { right: 14px; bottom: -24px; }
  .handoff-next { grid-template-columns: 1fr; gap: 58px; }
}

@media (max-width: 620px) {
  .handoff-nav,
  .handoff-hero,
  .handoff-next,
  .handoff-help { width: min(100% - 32px, 1680px); }
  .handoff-nav { min-height: 64px; }
  .handoff-back { font-size: 0; }
  .handoff-back svg { width: 20px; height: 20px; }
  .handoff-hero { padding: 76px 0 96px; gap: 58px; }
  .handoff-copy h1 { font-size: clamp(48px, 14vw, 66px); }
  .handoff-actions { display: grid; grid-template-columns: 1fr; }
  .handoff-button { width: 100%; }
  .handoff-product figcaption { position: relative; right: auto; bottom: auto; width: 100%; margin-top: 10px; }
  .handoff-next { padding: 88px 0; }
  .handoff-next h2 { font-size: clamp(40px, 11.5vw, 54px); }
  .handoff-help { align-items: flex-start; flex-direction: column; padding-bottom: 48px; }
  .handoff-help div { flex-direction: column; gap: 10px; }
}

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