:root {
  --bg: #0e0c09;
  --bg-2: #15110d;
  --surface: #1b1612;
  --surface-2: #221c17;
  --line: #2e261f;
  --line-strong: #3d3329;
  --ink: #f5ede2;
  --ink-soft: #cdbfae;
  --muted: #8a7d6c;
  --accent: #d65a3e;
  --accent-hover: #e0694d;
  --accent-soft: rgba(214, 90, 62, 0.14);
  --ok: #4ea784;
  --ok-soft: rgba(78, 167, 132, 0.14);
  --warn: #d39a3c;
  --warn-soft: rgba(211, 154, 60, 0.14);
  --danger: #cf5050;
  --danger-soft: rgba(207, 80, 80, 0.14);
  --shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --radius-sm: 14px;
  --font: "Manrope", system-ui, sans-serif;
  --serif: "Newsreader", Georgia, serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(900px 500px at 100% -10%, rgba(214, 90, 62, 0.08), transparent 60%),
    radial-gradient(700px 420px at -10% 20%, rgba(78, 167, 132, 0.05), transparent 55%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); }
h1, h2, h3 {
  margin: 0;
  font-family: var(--serif);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--ink);
}
p { margin: 0; }

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}
.container--narrow { width: min(760px, calc(100% - 40px)); }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-top: var(--safe-top);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.topbar.is-scrolled {
  background: rgba(14, 12, 9, 0.88);
  backdrop-filter: blur(18px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow);
}
.topbar__inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
  font-size: 18px;
}
.brand__text { display: grid; gap: 1px; }
.brand__name { font-weight: 800; font-size: 16px; }
.brand__sub {
  font-size: 12px;
  color: var(--muted);
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav { display: none; gap: 22px; }
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 14px;
}
.nav a:hover { color: var(--accent); }
.topbar__phone {
  text-decoration: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 14px;
  white-space: nowrap;
}
.topbar__phone:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  transition: .2s ease;
}
.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 12px 28px rgba(214, 90, 62, 0.25);
}
.btn--primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--ink); }

.hero { padding: 48px 0 28px; }
.hero__grid { display: grid; gap: 28px; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.hero h1 {
  font-size: clamp(32px, 6.5vw, 56px);
  max-width: 16ch;
}
.lead {
  margin-top: 18px;
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 54ch;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.hero__badges li {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(27, 22, 18, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}

.status-board {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.status-board__title {
  font-weight: 800;
  margin-bottom: 16px;
}
.status-item {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.status-item p {
  color: var(--muted);
  font-size: 14px;
}
.pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
}
.pill--warn { background: var(--warn-soft); color: var(--warn); }
.pill--ok { background: var(--ok-soft); color: var(--ok); }
.pill--muted { background: rgba(255,255,255,0.06); color: var(--muted); }
.pill--danger { background: var(--danger-soft); color: var(--danger); }

.section { padding: 72px 0; }
.section--tint {
  background: rgba(27, 22, 18, 0.45);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.section__head {
  max-width: 680px;
  margin-bottom: 32px;
}
.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section__head h2 {
  font-size: clamp(30px, 5vw, 46px);
  margin-top: 8px;
}
.section__head p {
  margin-top: 14px;
  color: var(--ink-soft);
  font-size: 17px;
}

.facts, .cards, .avoid-grid, .cases {
  display: grid;
  gap: 14px;
}
.fact, .card, .avoid-item, .case {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.fact__label, .case__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.fact strong { font-size: 17px; }
.fact a { color: var(--ink); text-decoration: none; }
.fact a:hover { color: var(--accent); }

.card__num {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .08em;
}
.card h3, .avoid-item h3, .case h3 {
  font-size: 24px;
  margin-bottom: 10px;
}
.card p, .avoid-item p, .case p, .step p {
  color: var(--ink-soft);
  font-size: 15px;
}

.table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.reason-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}
.reason-table th,
.reason-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.reason-table th {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--muted);
  background: var(--surface-2);
}
.reason-table td:first-child {
  font-weight: 700;
  width: 34%;
}
.reason-table tr:last-child td { border-bottom: 0; }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.step__num {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--bg);
  font-weight: 800;
}
.step h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.notice {
  margin-top: 22px;
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  background: var(--warn-soft);
  border: 1px solid rgba(211, 154, 60, 0.28);
  color: var(--warn);
  font-size: 15px;
}

.faq { display: grid; gap: 10px; }
.faq__item {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.faq__item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 700;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item p {
  padding: 0 20px 18px;
  color: var(--ink-soft);
}
.faq__item a { color: var(--accent); }

.cta { padding: 20px 0 90px; }
.cta__box {
  display: grid;
  gap: 22px;
  padding: 32px 24px;
  border-radius: 30px;
  background:
    radial-gradient(500px 220px at 100% 0%, rgba(214, 90, 62, 0.22), transparent 60%),
    #1a1612;
  color: var(--ink);
}
.cta__box h2 {
  color: #fff;
  font-size: clamp(28px, 5vw, 42px);
  margin-top: 8px;
}
.cta__box p {
  margin-top: 12px;
  color: var(--ink-soft);
  max-width: 50ch;
}
.cta__box .eyebrow {
  background: rgba(255,255,255,0.08);
  color: #ffb4a6;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta__box .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,0.22);
}

.footer {
  padding: 56px 0 calc(36px + var(--safe-bottom));
  background: #100d09;
  color: var(--ink-soft);
}
.footer__grid {
  display: grid;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand {
  color: #fff;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.footer h4 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer__links {
  display: grid;
  gap: 8px;
}
.footer__links a {
  color: rgba(245, 237, 226, 0.84);
  text-decoration: none;
}
.footer__links a:hover { color: #fff; }
.footer__bottom {
  padding-top: 22px;
  display: grid;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.footer__bottom a {
  color: var(--ink-soft);
  text-decoration: none;
}
.footer__bottom a:hover { color: #fff; }

.legal { padding: 48px 0 90px; }
.legal h1 {
  font-size: clamp(34px, 6vw, 52px);
  margin-top: 8px;
}
.legal__meta {
  margin-top: 12px;
  color: var(--muted);
}
.legal__content h2 {
  margin: 34px 0 10px;
  font-size: 28px;
}
.legal__content p,
.legal__content li { color: var(--ink-soft); }
.legal__content p + p { margin-top: 10px; }
.legal__content ul { margin: 10px 0 0; padding-left: 18px; }
.legal .btn { margin-top: 28px; }

.js-ready .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s ease, transform .7s ease;
}
.js-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (min-width: 840px) {
  .nav { display: flex; }
  .hero__grid {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 40px;
    padding: 24px 0 10px;
  }
  .facts, .cards, .cases {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
  .cta__box {
    grid-template-columns: 1.3fr auto;
    align-items: end;
    padding: 40px;
  }
}

@media (min-width: 1100px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * {
    animation: none !important;
    transition: none !important;
  }
  .js-ready .reveal {
    opacity: 1;
    transform: none;
  }
}
