:root {
  --ground: #14171f;
  --ground-alt: #1b1f29;
  --card: #222734;
  --line: #2f3543;
  --paper: #f7f8f9;
  --quiet: #a2a9ae;
  --sand: #dcc2b2;
  --mauve: #b08d88;
  --font: "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ground); color: var(--paper); font-family: var(--font); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--sand); }
a:hover { color: #efdccf; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }

.top { position: sticky; top: 0; z-index: 2; background: rgba(20, 23, 31, .9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.top a { color: var(--paper); text-decoration: none; font-weight: 500; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 19px; }
.brand img { width: 32px; height: 32px; }

.hero { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: center; padding-top: 64px; padding-bottom: 72px; }
.hero .icon { width: 96px; height: 96px; margin-bottom: 20px; }
h1, h2 { font-weight: 300; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 18px; }
h1 { font-size: clamp(36px, 5vw, 56px); }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-weight: 500; font-size: 22px; margin: 0 0 8px; line-height: 1.3; }
.lead { font-size: 21px; color: #d6dade; margin: 0 0 28px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.btn { display: inline-block; padding: 13px 24px; border-radius: 999px; border: 1px solid var(--line); color: var(--paper); text-decoration: none; font-weight: 500; }
.btn:hover { border-color: var(--sand); color: var(--paper); }
.btn.primary { background: var(--sand); border-color: var(--sand); color: #16181d; font-weight: 600; }
.btn.primary:hover { background: #e8d4c7; color: #16181d; }
.fine { font-size: 15px; color: var(--quiet); }
figure { margin: 0; }
figure img { border-radius: 14px; border: 1px solid var(--line); }
figcaption { font-size: 14px; color: var(--quiet); margin-top: 10px; }

section { padding: 80px 0; }
section.alt { background: var(--ground-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.intro { max-width: 720px; margin-bottom: 40px; }
.intro p { color: #d6dade; }
.eyebrow { color: var(--sand); text-transform: uppercase; letter-spacing: .14em; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
video { width: 100%; border-radius: 16px; border: 1px solid var(--line); background: #000; }

.row { display: grid; grid-template-columns: 1fr 1.5fr; gap: 48px; align-items: center; padding: 28px 0; }
.row + .row { border-top: 1px solid var(--line); }
.row p { color: #d6dade; margin: 0; }

.steps { max-width: 760px; padding-left: 0; list-style: none; counter-reset: s; margin: 0 0 24px; }
.steps li { counter-increment: s; position: relative; padding: 4px 0 18px 54px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--sand); color: #16181d; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.steps .shot { margin: 14px 0 6px; width: 100%; max-width: 440px; border-radius: 12px; border: 1px solid var(--line); }
.steps .shot.small { max-width: 230px; border: 0; }
.narrow { max-width: 760px; }
.gap { margin-top: 40px; }
.sub { color: var(--quiet); margin: 0 0 12px; }
pre { background: #0b0c0e; border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

details { max-width: 760px; border-top: 1px solid var(--line); padding: 16px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 500; font-size: 19px; }
details p { color: #d6dade; margin: 10px 0 0; }

footer { padding: 40px 0 56px; }
footer .links { display: flex; flex-wrap: wrap; gap: 24px; margin-bottom: 10px; }
footer a { color: var(--paper); text-decoration: none; }
footer a:hover { color: var(--sand); }

@media (max-width: 820px) {
  body { font-size: 17px; }
  .wrap { padding: 0 16px; }
  .hero { grid-template-columns: 1fr; gap: 36px; padding-top: 40px; padding-bottom: 48px; }
  .row { grid-template-columns: 1fr; gap: 18px; }
  section { padding: 56px 0; }
}
