:root {
  --ink: #101714;
  --ink-soft: #1b2822;
  --desk: #0c1210;
  --paper: #f4efe4;
  --paper-2: #e7e0d2;
  --cream: #f7f1e6;
  --brass: #c8923e;
  --brass-2: #e0b56a;
  --text: #f3ecdf;
  --muted: #b7ad9e;
  --muted-ink: #4e493f;
  --line: rgba(243, 236, 223, 0.14);
  --line-ink: rgba(16, 23, 20, 0.12);
  --danger: #8c2f24;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 8% -10%, rgba(224, 181, 106, 0.16), transparent 60%),
    radial-gradient(700px 380px at 100% 0%, rgba(90, 122, 96, 0.2), transparent 55%),
    var(--desk);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(243, 236, 223, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(243, 236, 223, 0.035) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 15%, transparent 72%);
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--brass-2);
  color: var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.wrap {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(12, 18, 16, 0.9); backdrop-filter: blur(16px); border-bottom: 1px solid var(--line); }
.topline { border-bottom: 1px solid var(--line); }
.topline-inner {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 34px;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.topline-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--brass-2); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand strong { display: block; font-size: 16px; letter-spacing: 0.01em; }
.brand small { display: block; color: var(--muted); font-size: 12px; }
.mark { width: 36px; height: 36px; color: var(--brass-2); flex: none; }
nav { display: flex; align-items: center; gap: 22px; }
nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }
.nav-cta {
  color: var(--ink) !important;
  background: var(--brass-2);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 600;
}
.nav-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
}

.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 360px); gap: 40px; align-items: end; padding: 64px 0 28px; }
.kicker {
  margin: 0 0 12px;
  color: var(--brass-2);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 460; letter-spacing: -0.03em; }
h1 { margin: 0; font-size: clamp(3.1rem, 6.4vw, 5.5rem); line-height: 0.92; }
h1 em { font-style: italic; font-weight: 450; color: var(--brass-2); }
.lede { font-size: 1.12rem; max-width: 46rem; color: var(--cream); }
.muted { color: var(--muted); }
.hero-actions { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.link { color: var(--brass-2); }

.docket {
  background: var(--paper);
  color: var(--ink);
  border-radius: 18px;
  padding: 22px 22px 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.docket::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(16, 23, 20, 0.1);
  border-radius: 12px;
  pointer-events: none;
}
.docket-kicker { margin: 0; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-ink); }
.docket-no { margin: 14px 0 0; font-family: var(--serif); font-size: 1.7rem; }
.docket h2 { margin: 4px 0 12px; font-size: 2.4rem; line-height: 1; }
.docket dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin: 0; }
.docket dl > div { min-width: 0; }
.docket dt { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-ink); }
.docket dd { margin: 2px 0 0; font-weight: 600; }
.docket-status { display: flex; align-items: center; gap: 8px; }
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f7d45;
  box-shadow: 0 0 0 0 rgba(47, 125, 69, 0.6);
  animation: pulse 2.4s infinite;
}
.city-index { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.city-index a {
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
.city-index a:hover { color: var(--text); border-color: var(--brass-2); }

.section { padding: 28px 0 72px; }
.section-intro { max-width: 44rem; margin-bottom: 22px; }
.section-intro h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); margin: 0 0 8px; line-height: 1; }

.region-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.chip {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
}
.chip.on, .chip:hover { color: var(--ink); background: var(--paper); border-color: var(--paper); }

.sheet {
  background: var(--paper);
  color: var(--ink);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.sheet-head, .sheet-foot { display: flex; justify-content: space-between; gap: 20px; }
.sheet-head h2 { margin: 0; font-size: 2.4rem; }
.sheet-kicker, .sheet-meta, .sheet-foot { color: var(--muted-ink); }
.sheet-kicker { margin: 0 0 4px; letter-spacing: 0.14em; text-transform: uppercase; font-size: 11px; }
.sheet-meta { margin: 0; text-align: right; font-size: 14px; }
.sheet-foot { margin: 16px 4px 2px; font-size: 14px; max-width: 70ch; }

.tariff { display: flex; flex-direction: column; margin-top: 8px; }
.row {
  display: grid;
  grid-template-columns: 72px minmax(0, 1.3fr) minmax(180px, 0.9fr) 110px 140px;
  gap: 16px;
  align-items: center;
  padding: 18px 8px;
  border-top: 1px solid var(--line-ink);
  scroll-margin-top: 130px;
}
.row.featured { background: #efe6d2; margin: 0 -8px; padding-left: 16px; padding-right: 16px; border-radius: 14px; border-top-color: transparent; }
.code {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: var(--brass-2);
  font-weight: 600;
  letter-spacing: 0.06em;
}
.row-title { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.row h3 { margin: 0; font-size: 1.7rem; }
.country { margin: 0; color: var(--muted-ink); }
.summary { margin: 6px 0 0; font-size: 14.5px; }
.flag {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid var(--brass);
  color: #7a5414;
  border-radius: 999px;
  padding: 3px 8px;
}
.specs { list-style: none; margin: 0; padding: 0; color: var(--muted-ink); font-size: 14px; }
.specs li + li { margin-top: 2px; }
.price { margin: 0; font-family: var(--serif); font-size: 2rem; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.per { margin: 0; color: var(--muted-ink); font-size: 13px; }
.checkout { min-width: 128px; }

.button {
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 12px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.button:disabled { opacity: 0.7; cursor: wait; }
.button-ink { background: var(--ink); color: var(--cream); }
.button-brass { background: var(--brass); color: #1a140c; }
.button-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.form-error { color: var(--danger); font-size: 13px; margin: 8px 0 0; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  background: rgba(16, 23, 20, 0.35);
}
.panel h2, .page-intro h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 0.95; margin: 0 0 12px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.steps h2, .prose h2 { font-size: 1.65rem; margin: 1.4rem 0 0.4rem; line-height: 1.15; }
.prose h2:first-of-type { margin-top: 0.4rem; }
.steps li { display: grid; grid-template-columns: auto 1fr; gap: 14px; }
.num {
  font-family: var(--serif);
  font-size: 1.8rem;
  color: var(--brass-2);
  line-height: 1;
}
.include { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 28px; margin: 0; padding: 0; list-style: none; }
.include li { padding: 12px 0; border-top: 1px solid var(--line); }

.faq { display: grid; gap: 8px; }
.faq details { border-top: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { color: var(--muted); margin: 8px 0 0; max-width: 70ch; }

.page-intro { padding: 56px 0 10px; }
.page-intro p { max-width: 46rem; }

.matrix-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { font-weight: 600; color: var(--brass-2); }
td:first-child, th:first-child { color: var(--muted); }

.config {
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 13px;
  line-height: 1.6;
  background: #08110f;
  border-radius: 16px;
  padding: 18px;
  overflow: auto;
  color: #d9d0c1;
  border: 1px solid var(--line);
}
.platforms { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.platforms article { border-top: 1px solid var(--line); padding-top: 12px; }
.platforms h3 { margin: 0 0 6px; font-size: 1.4rem; }

.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts dt { color: var(--muted); }

.contact-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 36px; align-items: start; padding-bottom: 80px; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label, .span-2 { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.span-2 { grid-column: span 2; }
input, select, textarea {
  background: #0e1613;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 12px;
}
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 2px solid var(--brass-2);
  outline-offset: 2px;
}
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.sent { background: var(--paper); color: var(--ink); border-radius: 18px; padding: 28px; }
.sent h2 { margin: 0 0 8px; font-size: 2.4rem; }

.closing {
  margin: 10px 0 70px;
  padding: 28px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(224, 181, 106, 0.16), rgba(224, 181, 106, 0.05));
  border: 1px solid rgba(224, 181, 106, 0.3);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: end;
}
.closing h2 { margin: 0 0 8px; font-size: clamp(2rem, 4vw, 3rem); }

.site-footer { border-top: 1px solid var(--line); padding: 42px 0 24px; background: #0a100e; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 0.7fr 0.7fr 0.9fr; gap: 24px; }
.footer-brand small, .footer-note, .site-footer p { color: var(--muted); }
.footer-note { max-width: 36ch; }
.site-footer h2 { font-family: var(--sans); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass-2); font-weight: 600; }
.site-footer a { display: block; text-decoration: none; color: var(--text); margin: 6px 0; }
.footer-base { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }

.cookie {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 15;
  width: min(420px, calc(100% - 32px));
  background: var(--paper);
  color: var(--ink);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 12px;
  align-items: center;
}
.cookie p { margin: 0; font-size: 14px; }

@media (max-width: 1120px) {
  .hero, .split, .contact-grid, .footer-grid, .platforms { grid-template-columns: 1fr; }
  .row { grid-template-columns: 72px 1fr; }
  .specs, .price-block, .checkout { grid-column: 2; }
  .nav-toggle { display: inline-flex; }
  nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 110px;
    background: #101714;
    border-bottom: 1px solid var(--line);
    padding: 12px 20px 18px;
    flex-direction: column;
    align-items: flex-start;
  }
  nav.open { display: flex; }
  .sheet-head, .closing, .footer-base { flex-direction: column; align-items: flex-start; }
  .sheet-meta { text-align: left; }
  .include { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .span-2 { grid-column: auto; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dot { animation: none; }
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(47, 125, 69, 0.55); }
  70% { box-shadow: 0 0 0 8px rgba(47, 125, 69, 0); }
  100% { box-shadow: 0 0 0 0 rgba(47, 125, 69, 0); }
}

@media print {
  body { background: white; color: black; }
  body::before, .site-header, .site-footer, .cookie, .checkout, .region-row, .hero-actions, .no-print { display: none !important; }
  .sheet, .docket { box-shadow: none; }
}
