/* Decibel Meter — dark amber theme (matches app) */
:root {
  --bg: #0a0c18;
  --surface: #111827;
  --surface-high: #1a1f35;
  --ink: #f3f4f6;
  --muted: #9ca3af;
  --accent: #f59e0b;
  --accent-dim: #d97706;
  --border: #2d3748;
  --danger: #ef4444;
  --radius: 16px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --max: 960px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  font-size: 17px;
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-dim);
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
}

.site-header {
  background: rgba(17, 24, 39, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
}

.site-header .inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 1.15rem;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  flex-shrink: 0;
  background: var(--surface-high);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--accent);
}

.hero {
  padding: 2rem 0 1rem;
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

@media (min-width: 800px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    padding: 2.75rem 0 1.5rem;
  }
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.hero .lede {
  margin: 0;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36em;
}

.hero-feature {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  background: var(--surface);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.badge {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
}

.badge.accent {
  background: rgba(52, 211, 153, 0.12);
  border-color: rgba(52, 211, 153, 0.4);
  color: var(--accent);
}

.section {
  margin: 2.25rem 0 1rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.section-head h2 {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 800;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.shot-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 720px) {
  .shot-gallery {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

.shot-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.shot-card figure {
  margin: 0;
  background: #0d111c;
  aspect-ratio: 9 / 16;
  overflow: hidden;
}

.shot-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.shot-card figcaption {
  padding: 0.75rem 0.9rem 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
}

.shot-card figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  box-shadow: var(--shadow);
}

.card h2,
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 560px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid transparent;
}

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

.btn-primary:hover {
  background: var(--accent-dim);
  color: var(--bg);
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--surface-high);
  color: var(--ink);
}

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

.doc h1 {
  font-size: 1.85rem;
  margin: 1.5rem 0 0.35rem;
  font-weight: 800;
}

.doc h2 {
  font-size: 1.2rem;
  margin: 1.75rem 0 0.5rem;
  font-weight: 700;
  color: var(--ink);
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.doc h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.doc p,
.doc li {
  color: var(--ink);
}

.doc ul,
.doc ol {
  padding-left: 1.25rem;
}

.doc li {
  margin: 0.35rem 0;
}

.doc .note {
  background: rgba(52, 211, 153, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.28);
  border-radius: 12px;
  padding: 0.9rem 1rem;
  font-size: 0.95rem;
  margin: 1rem 0;
  color: var(--ink);
}

.doc code {
  font-size: 0.9em;
  background: var(--surface-high);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer a {
  font-weight: 600;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.tier-table th,
.tier-table td {
  text-align: left;
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
}

.tier-table th {
  color: var(--muted);
  font-weight: 600;
}
