:root {
  --navy: #0b162b;
  --bg: #081022;
  --bg-top: #14264b;
  --card: #111d38;
  --card-hi: #18274a;
  --line: #213051;
  --text: #f4f6fb;
  --muted: #93a0bb;
  --gold: #e2a72e;
  --gold-light: #f6d577;
  --gold-deep: #c98a17;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(900px 600px at 90% -10%, rgba(226, 167, 46, 0.16), transparent 60%),
    linear-gradient(180deg, var(--bg-top) 0, var(--bg) 620px) var(--bg);
  background-repeat: no-repeat;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* Header */
header.site { padding: 22px 0; }
header.site .wrap { display: flex; align-items: center; gap: 20px; }
.brand { display: flex; flex-direction: column; gap: 4px; text-decoration: none; }
.brand img { height: 24px; width: auto; display: block; }
.brand span { font-size: 10px; font-weight: 600; letter-spacing: 0.42em; color: var(--gold); }
nav.main { margin-left: auto; display: flex; gap: 22px; flex-wrap: wrap; }
nav.main a { color: var(--muted); text-decoration: none; font-size: 15px; font-weight: 500; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--text); }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; padding: 48px 0 72px; }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.34em; color: var(--gold); margin: 0 0 14px; }
h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 18px; text-wrap: balance; }
.lead { font-size: 1.14rem; color: var(--muted); margin: 0 0 30px; max-width: 34em; }
.actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 54px; padding: 0 26px; border-radius: 16px;
  font-weight: 700; font-size: 16px; text-decoration: none;
}
.btn.gold { color: var(--navy); background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-deep)); box-shadow: 0 12px 30px -12px rgba(226, 167, 46, 0.7); }
.btn.ghost { color: var(--text); border: 1px solid var(--line); background: rgba(17, 29, 56, 0.6); }
.note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.hero-shot { justify-self: center; width: min(340px, 78vw); border-radius: 34px; border: 1px solid rgba(226, 167, 46, 0.45); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8); display: block; }

/* Sections */
section { padding: 56px 0; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); letter-spacing: -0.01em; margin: 0 0 10px; text-wrap: balance; }
.sub { color: var(--muted); margin: 0 0 32px; max-width: 40em; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: linear-gradient(140deg, var(--card-hi), var(--card)); border: 1px solid var(--line); border-radius: 22px; padding: 22px; }
.card h3 { margin: 14px 0 6px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); font-size: 0.97rem; }
.ico { width: 44px; height: 44px; border-radius: 14px; background: rgba(226, 167, 46, 0.14); display: grid; place-items: center; }
.ico svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.shots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.shots img { width: 100%; height: auto; border-radius: 20px; border: 1px solid var(--line); display: block; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.steps li { list-style: none; counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: var(--navy); font-weight: 800; background: linear-gradient(120deg, var(--gold-light), var(--gold-deep)); }
.steps { padding: 0; margin: 0; }

.callout { border-left: 4px solid var(--gold); background: var(--card); border-radius: 16px; padding: 18px 22px; border-top: 1px solid var(--line); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Document pages */
.doc { max-width: 760px; padding: 24px 0 72px; }
.doc h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.doc h2 { font-size: 1.2rem; margin: 34px 0 8px; }
.doc .meta { color: var(--muted); margin: 0 0 26px; }
.doc p, .doc li { color: #d5dbe8; }
.doc code { background: var(--card); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; font-size: 0.92em; }
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; margin: 10px 0; }
summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
details p { margin: 0 0 16px; }

/* Footer */
footer.site { border-top: 1px solid var(--line); padding: 30px 0 44px; color: var(--muted); font-size: 14px; }
footer.site .wrap { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
footer.site nav { margin-left: auto; display: flex; gap: 20px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; }
footer.site a:hover { color: var(--text); }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 24px; gap: 36px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(2, 1fr); }
  nav.main { gap: 16px; }
  nav.main a { font-size: 14px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
