:root {
  --paper: #f3efe4;
  --paper-2: #fffdf8;
  --ink: #17212b;
  --muted: #4d5b6a;
  --line: #d9d0bf;
  --green: #0e5c40;
  --green-deep: #123528;
  --green-soft: #e5f4ec;
  --amber: #a86b0d;
  --stamp: #8d2e2a;
  --shadow: 0 16px 40px rgba(23, 33, 43, 0.08);
  --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --mono: "Cascadia Mono", "Segoe UI Mono", ui-monospace, monospace;
  --max: 1120px;
  --header: 72px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

body.has-callbar { padding-bottom: 0; }

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

a { color: var(--green); text-underline-offset: 0.18em; }

a:hover { color: var(--green-deep); }

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: var(--ink);
  color: white;
  padding: 8px 12px;
  z-index: 20;
}

.skip:focus { top: 12px; }

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.topbar {
  background: var(--green-deep);
  color: #e7f6ee;
  font-size: 0.92rem;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  flex-wrap: wrap;
}

.topbar a { color: #f3e2bf; text-decoration: none; font-weight: 600; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(243, 239, 228, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px dashed var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header);
}

.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-mark {
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--green-deep);
  color: #f2d48a;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.brand strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 640;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.brand > span:not(.brand-mark) > span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper-2);
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 560;
  font-size: 0.98rem;
}

.site-nav a[aria-current="page"] { color: var(--green); }

.nav-phone {
  background: var(--green);
  color: white !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 650;
}

.hero {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 28px;
  padding: 42px 0 20px;
  align-items: stretch;
}

.kicker {
  margin: 0 0 8px;
  color: var(--stamp);
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 640;
  letter-spacing: -0.03em;
  line-height: 1.12;
  scroll-margin-top: 96px;
}

h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0 0 14px; }

h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0 0 12px; }

h3 { font-size: 1.25rem; margin: 0 0 8px; }

.lead { font-size: 1.16rem; color: var(--ink); max-width: 46rem; }

.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 650;
  border: 1px solid transparent;
}

.btn-primary { background: var(--green); color: white; }
.btn-primary:hover { background: var(--green-deep); color: white; }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: white; }

.device {
  background: var(--green-deep);
  color: #e9f7f0;
  border-radius: 18px;
  padding: 18px 18px 14px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.device-top, .device-foot {
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f0d7a2;
}

.device ol { list-style: none; margin: 12px 0; padding: 0; flex: 1; }

.device li a {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: white;
  text-decoration: none;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 560;
}

.device li span { color: #f0d7a2; font-family: var(--mono); font-size: 0.85rem; }

.crumbs { padding: 18px 0 0; font-size: 0.92rem; color: var(--muted); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }

.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #9aa3ad; }

.crumbs a { color: var(--muted); text-decoration: none; }

.page-hero { padding: 18px 0 8px; max-width: 48rem; }

.block { padding: 28px 0; }

.prose { max-width: 46rem; }

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

.prose ul, .prose ol { padding-left: 1.2rem; }

.grid-3, .grid-2, .brand-grid, .district-grid {
  display: grid;
  gap: 14px;
}

.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.brand-grid { grid-template-columns: repeat(6, 1fr); }
.district-grid { grid-template-columns: repeat(3, 1fr); }

.card, .model-card, .brand-card, .district-card, .info-card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.7) inset;
}

.card h3 a, .model-card h3 a, .district-card a, .brand-card {
  color: inherit;
  text-decoration: none;
}

.brand-card {
  text-align: center;
  font-weight: 650;
  padding: 18px 8px;
}

.brand-card small { display: block; font-weight: 500; color: var(--muted); margin-top: 4px; }

.model-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background:
    radial-gradient(circle at 50% 40%, #fff, #f6f1e6 70%);
  border-radius: 12px;
  margin-bottom: 10px;
}

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

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper-2); }

table { width: 100%; border-collapse: collapse; min-width: 640px; }

th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }

th { font-size: 0.86rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); font-weight: 650; }

tr:last-child td { border-bottom: 0; }

.steps { counter-reset: step; display: grid; gap: 12px; }

.steps article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
}

.steps article::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--mono);
  color: var(--stamp);
  font-size: 1.1rem;
  padding-top: 4px;
}

.faq { display: grid; gap: 10px; }

.faq article {
  background: var(--paper-2);
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid var(--line);
}

.faq h3 { font-family: var(--sans); font-size: 1.05rem; letter-spacing: 0; }

.cta-band {
  margin: 10px 0 36px;
  background: var(--green-deep);
  color: #edf8f2;
  border-radius: 20px;
  padding: 28px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.cta-band h2 { margin: 0 0 6px; color: white; }
.cta-band p { margin: 0; color: #d5ebdf; }
.cta-band .btn-primary { background: #f0d7a2; color: #1d1406; }
.cta-band .btn-primary:hover { background: white; }

.site-footer {
  border-top: 1px dashed var(--line);
  padding: 32px 0 48px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, 1fr);
  gap: 18px;
}

.site-footer h2 {
  font-family: var(--sans);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--ink);
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--green); }

.legal {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

address { font-style: normal; }

.map-frame {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: 16px;
  background: #ddd;
}

.spec { margin: 0; }
.spec div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
}
.spec dt { color: var(--muted); }

.callbar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--paper-2);
  border-top: 1px solid var(--line);
  padding: 8px;
  gap: 8px;
  z-index: 12;
}

.callbar a { flex: 1; }

@media (max-width: 980px) {
  .hero, .footer-grid, .brand-grid, .grid-3, .district-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 10px 16px 16px;
  }
  .site-nav.is-open {
    display: flex;
    background: var(--paper-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    margin-top: 8px;
    padding: 8px 14px 18px;
    box-shadow: var(--shadow);
    z-index: 30;
  }
  .site-nav.is-open a { padding: 10px 2px; }
  .site-header { position: sticky; }
  .header-row { position: relative; }
  .hero, .grid-2, .grid-3, .brand-grid, .district-grid, .footer-grid { grid-template-columns: 1fr; }
  .spec div { grid-template-columns: 1fr; gap: 2px; }
  .callbar { display: flex; }
  body.has-callbar { padding-bottom: 72px; }
  h1 { font-size: 2.3rem; }
  .brand strong { font-size: 0.98rem; }
  .topbar .wrap { font-size: 0.82rem; }
}
