:root {
  --bg: #0c1a24;
  --bg-soft: #122532;
  --text: #edf3f6;
  --muted: #94a9b8;
  --accent: #2ecc71;
  --accent-soft: #1f9f57;
  --line: #243845;
  --wrap: 980px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.wrap {
  width: min(100% - 2rem, var(--wrap));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(12, 26, 36, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 3.5rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 700;
  font-size: 1rem;
}

.brand-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  object-fit: cover;
}

.nav {
  display: none;
  gap: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.1rem;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: #062012;
}

.btn-primary:hover { background: #36d977; }

.btn-secondary {
  border-color: var(--line);
  color: var(--text);
  background: transparent;
}

.btn-secondary:hover { border-color: var(--muted); }

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

/* Hero */
.hero {
  display: grid;
  gap: 2rem;
  padding: 2rem 0 3rem;
}

.hero-visual img {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--line);
}

.hero-copy h1 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.05;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lead {
  margin: 0;
  font-size: 1.05rem;
  color: #c8d6df;
  max-width: 42rem;
}

.meta {
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* Sections */
.section {
  padding: 3rem 0;
  border-top: 1px solid var(--line);
}

.section-muted {
  background: var(--bg-soft);
}

.section h2 {
  margin: 0 0 0.75rem;
  font-size: 1.6rem;
}

.section-intro {
  margin: 0 0 1.5rem;
  color: var(--muted);
  max-width: 38rem;
}

.prose p {
  color: #c8d6df;
  max-width: 42rem;
}

.prose h2 { margin-top: 0; }

/* Steps */
.steps {
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1rem;
}

.steps li {
  padding: 1rem 0 0;
  border-top: 1px solid var(--line);
}

.steps strong {
  display: block;
  margin-bottom: 0.25rem;
}

.steps span {
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-block {
  margin: 2rem 0 0;
}

.shot-block img {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.shot-block figcaption {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Modes table */
.mode-table {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.mode-row {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.mode-row:first-child { border-top: none; }

.mode-row-highlight {
  background: #152532;
}

.mode-name { font-weight: 700; }

.mode-steps {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 600;
}

.mode-note {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Gallery */
.gallery {
  display: grid;
  gap: 1rem;
}

.gallery figure {
  margin: 0;
}

.gallery img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
}

/* FAQ */
.faq {
  margin: 0;
}

.faq dt {
  margin-top: 1.25rem;
  font-weight: 700;
}

.faq dt:first-child { margin-top: 0; }

.faq dd {
  margin: 0.35rem 0 0;
  color: var(--muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 1.5rem;
  background: #081018;
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 40rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-links a:hover { color: var(--text); }

.footer-copy {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.footer-copy p { margin: 0; }

/* Legal pages */
.page {
  padding: 5rem 0 3rem;
}

.page h1 {
  margin: 0 0 1rem;
  font-size: 2rem;
}

.page h2 {
  margin: 2rem 0 0.5rem;
  font-size: 1.2rem;
}

.page p,
.page li {
  color: var(--muted);
  max-width: 42rem;
}

.page a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 760px) {
  .nav { display: flex; }

  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 3rem 0 4rem;
  }

  .mode-row {
    grid-template-columns: 120px 100px 1fr;
    align-items: center;
    gap: 1rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery figure:first-child,
  .gallery figure:nth-child(2) {
    grid-column: span 2;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

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