:root {
  --bg: #07081a;
  --bg-2: #0d0f2b;
  --surface: rgba(255, 255, 255, 0.045);
  --surface-strong: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --text: #f3f4ff;
  --muted: #a6abd6;
  --dim: #6f75a6;
  --violet: #7b6cf6;
  --cyan: #3cc8f0;
  --ok: #4ade80;
  --no: #f87171;
  --grad: linear-gradient(100deg, var(--violet), var(--cyan));
  --radius: 18px;
  --max: 1120px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  background: rgba(7, 8, 26, 0.72);
  border-bottom: 1px solid var(--border);
}
.nav .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.01em; }
.brand img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 15px; }
.nav-links a { color: var(--muted); text-decoration: none; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px; border-radius: 12px;
  font-weight: 650; font-size: 16px; text-decoration: none;
  border: 1px solid var(--border); background: var(--surface);
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); background: var(--surface-strong); }
.btn-primary { background: var(--grad); border: 0; color: #fff; box-shadow: 0 10px 30px -10px rgba(91, 120, 240, .7); }
.btn-primary:hover { background: var(--grad); box-shadow: 0 14px 40px -10px rgba(91, 120, 240, .9); }
.btn small { display: block; font-size: 11px; font-weight: 500; opacity: .85; line-height: 1.1; }
.btn .stack { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.nav .btn { padding: 8px 14px; font-size: 14px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 40px; text-align: center; }
.hero::before {
  /* Sized close to the image's own 16:9 shape so it isn't blown up on tall, narrow screens */
  content: ""; position: absolute; inset: 0 0 auto 0; height: max(56vw, 560px);
  background: url("/assets/hero.webp") center top / cover no-repeat;
  opacity: 1;
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(7, 8, 26, .55), rgba(7, 8, 26, .15) 45%, rgba(7, 8, 26, .6) 80%, var(--bg));
}
.hero .wrap { position: relative; z-index: 1; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--muted); font-size: 14px; font-weight: 550;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--grad); }
h1 {
  font-size: clamp(40px, 6.6vw, 76px); line-height: 1.03; letter-spacing: -0.035em;
  margin: 22px auto 18px; max-width: 1060px; font-weight: 800;
}
.nowrap { white-space: nowrap; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { font-size: clamp(18px, 2.1vw, 21px); color: var(--muted); max-width: 640px; margin: 0 auto 34px; }
.cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.formats { margin-top: 26px; color: var(--dim); font-size: 14px; letter-spacing: .02em; }
.formats code { font: 600 13px ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--muted); background: var(--surface); padding: 3px 8px; border-radius: 6px; border: 1px solid var(--border); }

.shot {
  margin: 64px auto 0; max-width: 940px;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 40px 120px -30px rgba(60, 110, 255, .55), 0 0 0 1px rgba(0, 0, 0, .4);
  background: #fff;
}
.shot img { width: 100%; height: auto; }
.titlebar { height: 34px; display: flex; align-items: center; gap: 8px; padding: 0 14px; background: #ececee; border-bottom: 1px solid #d6d6da; }
.titlebar.dark { background: #2a2a2c; border-color: #151515; }
.titlebar span { width: 12px; height: 12px; border-radius: 50%; }
.titlebar span:nth-child(1) { background: #ff5f57; }
.titlebar span:nth-child(2) { background: #febc2e; }
.titlebar span:nth-child(3) { background: #28c840; }

/* Sections */
section { padding: 96px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.kicker { color: var(--cyan); font-weight: 650; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
h2 { font-size: clamp(32px, 4.4vw, 48px); letter-spacing: -0.03em; line-height: 1.1; margin: 10px 0 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 18px; }

.grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.card {
  background: linear-gradient(180deg, var(--surface-strong), var(--surface));
  border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px;
}
.card h3 { margin: 14px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.card p { margin: 0; color: var(--muted); font-size: 15.5px; }
.icon {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(123, 108, 246, .25), rgba(60, 200, 240, .2));
  border: 1px solid rgba(255, 255, 255, .12);
}
.icon svg { width: 22px; height: 22px; stroke: #cfd3ff; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: step; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: 22px; left: 26px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 700; font-size: 15px;
  background: var(--grad); color: #fff;
}
.step .menu { margin-top: 12px; font: 13px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; color: #c9cdf5; }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split .shot { margin: 0; }
.list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.list li strong { color: var(--text); font-weight: 600; }
.mark { flex: 0 0 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; margin-top: 2px; }
.mark.yes { background: rgba(74, 222, 128, .15); color: var(--ok); }
.mark.no { background: rgba(248, 113, 113, .14); color: var(--no); }

/* Gallery */
.gallery { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
.gallery .shot { margin: 0; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
details { border-bottom: 1px solid var(--border); padding: 18px 4px; }
summary { cursor: pointer; font-weight: 620; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--dim); font-weight: 400; font-size: 24px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 10px 0 0; }

/* Closing CTA */
.closing {
  text-align: center; border-radius: 28px; padding: 64px 24px;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(123, 108, 246, .35), transparent 60%),
    radial-gradient(ellipse at 80% 100%, rgba(60, 200, 240, .28), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--border);
}
.closing img { width: 96px; height: 96px; margin: 0 auto 18px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--dim); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 18px 32px; justify-content: space-between; }
footer nav { display: flex; gap: 22px; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
.legal { flex-basis: 100%; font-size: 12.5px; color: var(--dim); }

/* Document pages */
.doc { max-width: 760px; margin: 0 auto; padding: 72px 24px 96px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); margin: 8px 0 8px; text-align: left; }
.doc .updated { color: var(--dim); margin: 0 0 36px; }
.doc h2 { font-size: 24px; margin: 40px 0 10px; letter-spacing: -0.015em; }
.doc p, .doc li { color: var(--muted); }
.doc ul, .doc ol { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc code { font: 14px ui-monospace, SFMono-Regular, Menlo, monospace; color: #d5d8ff; }
.doc .card { margin: 18px 0; }
.doc a { color: #b8bcff; }

@media (max-width: 900px) {
  .grid, .steps { grid-template-columns: 1fr 1fr; }
  .split, .gallery { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav .wrap { gap: 12px; }
  .nav .btn { margin-left: auto; padding: 7px 12px; font-size: 13px; white-space: nowrap; }
  .brand { font-size: 15px; white-space: nowrap; }
  .brand img { width: 26px; height: 26px; }
  .grid, .steps { grid-template-columns: 1fr; }
  section { padding: 72px 0; }
  .hero { padding-top: 64px; }
  .shot { margin-top: 44px; }
}
@media (max-width: 380px) {
  .brand { font-size: 13px; gap: 8px; }
  .brand img { width: 22px; height: 22px; }
  .nav .btn { padding: 6px 10px; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
