:root {
  --bg: #121614;
  --bg-2: #1a211c;
  --card: #212922;
  --card-2: #28322b;
  --line: #3c4b40;
  --text: #f4f1e8;
  --body: #d5dbd2;
  --muted: #aeb8ae;
  --amber: #f5b942;
  --amber-2: #ffd98a;
  --ink: #1a1408;
  --signal: #ff6a45;
  --ok: #8fd0a8;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --mono: "Cascadia Mono", Consolas, "Segoe UI Mono", ui-monospace, monospace;
  --max: 1140px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: clip;
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(245, 185, 66, 0.08), transparent 55%),
    var(--bg);
  color: var(--body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  padding-bottom: calc(92px + env(safe-area-inset-bottom));
}
img, svg { max-width: 100%; }
a { color: var(--amber-2); }
a:hover { color: white; }
h1, h2, h3, h4 { color: var(--text); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 10px; }
h1 { font-size: clamp(2rem, 4vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 2.4vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

.stripe {
  height: 8px;
  background: repeating-linear-gradient(-45deg, var(--amber) 0 10px, #1a1408 10px 20px);
}
.top {
  position: sticky; top: 0; z-index: 30;
  background: rgba(18, 22, 20, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 185, 66, 0.25);
}
.top-row { display: flex; align-items: center; gap: 16px; min-height: 74px; }
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--text); text-decoration: none; margin-right: auto;
}
.logo .mark { width: 36px; height: 36px; color: var(--amber); flex: none; }
.word { display: flex; flex-direction: column; line-height: 1.05; }
.w1 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.w2 { font-size: 16px; font-weight: 700; color: var(--text); }
.nav-toggle { position: absolute; opacity: 0; pointer-events: none; }
.nav-btn {
  display: none; border: 1px solid var(--line); color: var(--text);
  background: transparent; border-radius: 999px; min-height: 42px; padding: 0 14px; cursor: pointer;
}
nav { display: flex; gap: 16px; align-items: center; }
nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: 15px; }
nav a:hover, nav a[aria-current="page"] { color: var(--amber); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 18px; border-radius: 999px;
  font-weight: 700; text-decoration: none; border: 0; cursor: pointer;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { color: var(--ink); filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--amber); color: white; }
.btn-signal { background: var(--signal); color: white; }
.btn-signal:hover { color: white; }
.call-short { display: none; }

.hero { padding: 42px 0 20px; }
.hero-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 28px; align-items: stretch; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--amber); font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; font-size: 12px; margin-bottom: 12px;
}
.kicker i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); display: inline-block; }
.lead { font-size: 1.15rem; max-width: 62ch; color: var(--body); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.meta-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; list-style: none; min-width: 0; }
.meta-row li {
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 12px; color: var(--text); font-size: 14px;
}
.card {
  background: linear-gradient(180deg, var(--card-2), var(--card));
  border: 1px solid var(--line); border-radius: 18px; padding: 20px;
  box-shadow: var(--shadow);
}
.who { color: var(--muted); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }
.phone {
  display: block; margin: 6px 0 12px; color: var(--text); text-decoration: none;
  font-family: var(--mono); font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 700; letter-spacing: -0.03em;
}
.phone:hover { color: var(--amber); }
.dispatch .stack { display: grid; gap: 8px; }
.dispatch .fine { color: var(--muted); font-size: 14px; margin: 12px 0 0; }

.section { padding: 28px 0; }
.section h2 { margin-bottom: 8px; }
.sub { color: var(--muted); max-width: 70ch; margin-bottom: 18px; }

.rank-list, .spot-grid, .service-grid, .step-grid, .cols, .mah-grid, .info-grid { display: grid; gap: 12px; }
.spot-grid, .service-grid { grid-template-columns: repeat(3, 1fr); }
.step-grid { grid-template-columns: repeat(4, 1fr); }
.cols { grid-template-columns: repeat(3, 1fr); align-items: start; }
.mah-grid { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.info-grid { grid-template-columns: 1.2fr 0.8fr; }

.rank-row, .spot, .service, .step, .panel, .mah-grid a, .note, .faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: 14px;
}
.rank-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 12px 14px;
  text-decoration: none; color: inherit;
}
.rank-row:hover { border-color: var(--amber); color: inherit; }
.num {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: #2c2414; color: var(--amber); font-weight: 800;
}
.rank-row p, .spot p, .service p, .step p { color: var(--muted); margin: 0; font-size: 14.5px; }
.score { font-family: var(--mono); color: var(--amber); font-weight: 700; }
.bar { display: block; height: 6px; background: #2a332d; border-radius: 99px; margin-top: 8px; overflow: hidden; }
.bar span { display: block; height: 100%; background: linear-gradient(90deg, #c4841a, var(--amber)); }

.spot, .service, .step { padding: 16px; }
.spot { text-decoration: none; color: inherit; display: block; }
.spot:hover, .mah-grid a:hover { border-color: var(--amber); color: inherit; }
.spot b, .service b { color: var(--text); display: block; margin-bottom: 4px; }
.step em { color: var(--amber); font-style: normal; font-family: var(--mono); font-size: 13px; }

.panel { padding: 16px 16px 8px; }
.panel h2 { font-size: 1.25rem; }
.panel ul { list-style: none; padding: 0; margin: 0; }
.panel li { border-top: 1px solid rgba(60, 75, 64, 0.7); }
.panel a {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 9px 0; color: var(--text); text-decoration: none; font-weight: 600;
}
.panel a span { color: var(--muted); font-weight: 500; font-size: 13px; }
.panel a:hover { color: var(--amber); }

.mah-grid a {
  display: block; padding: 10px 12px; color: var(--text); text-decoration: none; min-height: 58px;
}
.mah-grid a small { display: block; color: var(--muted); font-size: 12px; }
.tag {
  display: inline-block; margin-top: 4px; font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--ink); background: var(--amber); border-radius: 99px; padding: 2px 7px; font-weight: 800;
}

.search {
  display: flex; gap: 10px; margin: 8px 0 16px;
}
.search input {
  flex: 1; min-height: 52px; border-radius: 12px; border: 1px solid var(--line);
  background: #101512; color: var(--text); padding: 0 14px; font: inherit;
}
.search input:focus { outline: 2px solid var(--amber); border-color: transparent; }
.empty { color: var(--amber-2); }

.prose { max-width: 72ch; }
.prose p { color: var(--body); }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.crumbs a { color: var(--muted); }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.facts span { background: #1a211c; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; color: var(--text); font-size: 14px; }
.note { padding: 14px 16px; margin: 14px 0; }
.note strong { color: var(--text); }
.split { display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 16px; align-items: start; }
ul.clean, ol.clean { margin: 8px 0 16px; padding-left: 18px; }
ul.clean li, ol.clean li { margin: 6px 0; }
.faq details { padding: 12px 14px; margin-bottom: 8px; }
.faq summary { cursor: pointer; color: var(--text); font-weight: 700; }
.faq details p { margin: 8px 0 0; }

.band {
  margin-top: 22px; padding: 22px; border-radius: 18px;
  background: #2a230f; border: 1px solid rgba(245, 185, 66, 0.45);
  display: flex; justify-content: space-between; gap: 16px; align-items: center;
}
.band p { margin: 0; color: var(--body); }

.foot { margin-top: 30px; border-top: 1px solid var(--line); padding: 28px 0 10px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 18px; }
.foot a { display: block; color: var(--body); text-decoration: none; margin: 6px 0; }
.foot a:hover { color: var(--amber); }
.legal { color: var(--muted); font-size: 13px; margin-top: 16px; }

.dock {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; gap: 8px; box-sizing: border-box;
  width: 100%; max-width: 100vw;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: rgba(18, 22, 20, 0.98); border-top: 1px solid var(--line);
}
.dock .btn {
  flex: 1 1 50%; width: 50%; min-width: 0; max-width: 50%; padding: 0 8px;
  font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  justify-content: center;
}
.dock .btn-ghost { background: #1c2420; }
.dock-num { display: none; }
.dock-short { display: inline; }
@media (min-width: 861px) {
  .dock-num { display: inline; }
  .dock-short { display: none; }
}

.method { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.method div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.method b { display: block; color: var(--text); margin-bottom: 4px; }
.method span { color: var(--muted); font-size: 14px; }

@media (max-width: 980px) {
  .hero-grid, .info-grid, .split, .cols, .foot-grid { grid-template-columns: 1fr; }
  .spot-grid, .service-grid { grid-template-columns: 1fr 1fr; }
  .step-grid, .method { grid-template-columns: 1fr 1fr; }
  .band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 860px) {
  .top-row { gap: 8px; }
  .top .call { display: none; }
  .logo { min-width: 0; }
  .nav-btn { display: inline-flex; min-height: 42px; flex: none; }
  nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #171d19; border-bottom: 1px solid var(--line); padding: 8px 16px 14px;
  }
  nav a { padding: 10px 0; border-top: 1px solid var(--line); }
  .nav-toggle:checked ~ nav { display: flex; }
  .call-long { display: none; }
  .call-short { display: inline; }
}
@media (max-width: 640px) {
  .spot-grid, .service-grid, .step-grid, .method { grid-template-columns: 1fr; }
  .wrap { width: min(var(--max), calc(100% - 22px)); }
}
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print {
  .top, .dock, .stripe, .actions, .band { display: none !important; }
  body { background: white; color: black; padding: 0; }
  a { color: black; }
}
