:root {
  --ink: #142033;
  --ink-soft: #3d4b5e;
  --paper: #f4efe6;
  --paper-2: #fbf8f2;
  --white: #fffdf9;
  --line: #e3d8c8;
  --gold: #a68445;
  --gold-deep: #8a6a32;
  --navy: #142033;
  --navy-2: #1d3048;
  --sage: #2c5b48;
  --danger-bg: #f3e4d4;
  --shadow: 0 18px 50px rgba(20, 32, 51, 0.08);
  --radius: 22px;
  --header: 76px;
  --serif: "Literata", "Iowan Old Style", Palatino, Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 100% -10%, rgba(166, 132, 69, 0.16), transparent 60%),
    var(--paper);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input { font: inherit; }

.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(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(244, 239, 230, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(20, 32, 51, 0.08);
}
.header-inner {
  min-height: var(--header);
  display: flex;
  align-items: center;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  margin-right: auto;
}
.brand img {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  object-fit: cover;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 650;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.brand-name span {
  display: block;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 3px;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.nav-btn {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}
.nav {
  display: flex;
  gap: 22px;
  align-items: center;
}
.nav a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
  font-weight: 600;
}
.nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--navy); color: #f7f1e6; }
.btn-primary:hover { background: var(--navy-2); }
.btn-ghost {
  background: transparent;
  border-color: rgba(20, 32, 51, 0.2);
  color: var(--ink);
}
.header-cta { white-space: nowrap; }
.nav-book { display: none; }

.legal-band {
  background: var(--navy);
  color: #f4efe6;
}
.legal-band p {
  margin: 0;
  padding: 14px 0;
  font-size: 0.95rem;
  line-height: 1.45;
}
.legal-band strong {
  color: #e7c98a;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 42px;
  align-items: center;
  padding: 64px 0 36px;
}
.kicker {
  margin: 0 0 14px;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.3rem); margin: 0 0 18px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 0 0 12px; }
h3 { font-size: 1.25rem; margin: 0 0 8px; }
.lede { font-size: 1.15rem; color: var(--ink-soft); margin: 0 0 18px; max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 10px; }
.note { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }
.note a { color: var(--gold-deep); }

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 22px;
}
.panel ol { list-style: none; margin: 0; padding: 0; }
.panel li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
}
.panel li:first-child { border-top: 0; }
.num {
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 1.15rem;
}
.panel p { margin: 8px 0 0; color: var(--ink-soft); font-size: 0.95rem; }

.section { padding: 42px 0; }
.section-head { max-width: 40rem; margin-bottom: 22px; }
.section-head p { color: var(--ink-soft); margin: 0; }

.grid-2, .grid-3, .split {
  display: grid;
  gap: 16px;
}
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.split { grid-template-columns: 1fr 1fr; gap: 22px; }

.card, .dark-card {
  border-radius: var(--radius);
  padding: 22px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
}
.dark-card {
  background: var(--navy);
  color: #f6f1e8;
}
.dark-card p, .dark-card li { color: rgba(246, 241, 232, 0.86); }
.card ul, .dark-card ul { margin: 0; padding-left: 18px; }
.card li, .dark-card li { margin: 8px 0; }

.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 18px 18px 72px;
  position: relative;
}
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 16px;
  top: 18px;
  font-family: var(--serif);
  color: var(--gold-deep);
  font-size: 1.2rem;
}

.faq { display: grid; gap: 10px; }
details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 4px 16px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  padding: 14px 28px 14px 0;
  list-style: none;
  position: relative;
}
summary::-webkit-details-marker { display: none; }
summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 12px;
  color: var(--gold-deep);
  font-family: var(--serif);
  font-size: 1.3rem;
}
details[open] summary::after { content: "–"; }
details p { margin: 0 0 14px; color: var(--ink-soft); }

.cta-final {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1.4fr 0.6fr;
  gap: 20px;
  align-items: center;
  box-shadow: var(--shadow);
}
.mark {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-left: auto;
}

.site-footer {
  margin-top: 28px;
  background: var(--navy);
  color: #f4efe6;
  padding: 36px 0 28px;
}
.site-footer p { color: rgba(244, 239, 230, 0.82); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
}
.lead {
  max-width: 34rem;
  display: grid;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: var(--shadow);
}
.lead label { display: grid; gap: 6px; font-weight: 700; }
.lead input[type="text"],
.lead input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 14px;
  background: var(--paper-2);
  color: var(--ink);
  font-size: 16px;
}
.lead input:focus-visible { outline: 2px solid var(--gold); }
.consent {
  grid-template-columns: auto 1fr;
  align-items: start;
  font-weight: 500;
  color: var(--ink-soft);
}
.consent input { margin-top: 6px; }
.consent a { color: var(--gold-deep); }
.lead-status { margin: 0; min-height: 1.4em; color: var(--sage); }
.lead-status.is-error { color: #8a3d2f; }

.policy { max-width: 42rem; padding: 36px 0 8px; }
.policy h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
.policy h2 { font-size: clamp(1.25rem, 2.4vw, 1.55rem); margin: 1.7rem 0 0.45rem; }
.policy p, .policy li { color: var(--ink-soft); }
.policy ul { margin: 0.4rem 0 0; padding-left: 1.2rem; }
.policy li + li { margin-top: 0.35rem; }
.policy a { color: var(--gold-deep); }
.policy .updated { font-size: 0.92rem; }

.site-footer a { color: #e7c98a; }
.fine { font-size: 0.92rem; }

.mobile-bar { display: none; }

@media (max-width: 860px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
    overflow-x: clip;
  }
  .wrap { width: min(1120px, calc(100% - 28px)); }
  .header-inner { gap: 10px; }
  .brand img { width: 40px; height: 40px; border-radius: 12px; }
  .brand-name { font-size: 1.02rem; }
  .brand-name span { letter-spacing: 0.04em; }
  .nav-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    flex: none;
  }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    right: auto;
    width: 100vw;
    transform: translateX(-50%);
    background: var(--paper-2);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    padding: 8px 16px 16px;
    gap: 0;
    z-index: 12;
  }
  .nav a {
    min-height: 48px;
    display: flex;
    align-items: center;
  }
  .nav-toggle:checked ~ .nav { display: flex; }
  .nav-toggle:focus-visible ~ .nav-btn,
  .nav-btn:focus-visible { outline: 2px solid var(--gold); }
  .hero, .grid-2, .grid-3, .split, .cta-final, .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-cta { display: none; }
  .nav a.nav-book {
    display: inline-flex;
    justify-content: center;
    margin-top: 8px;
    background: var(--navy);
    color: #f7f1e6;
    border-radius: 999px;
    padding: 12px 16px;
  }
  .hero { padding: 28px 0 8px; gap: 22px; }
  .section { padding: 28px 0; }
  .legal-band p { font-size: 0.92rem; padding: 12px 0; }
  .actions .btn,
  .lead .btn,
  .cta-final .btn { width: 100%; }
  .cta-final, .lead, .card, .dark-card, .panel { padding: 18px; }
  .cta-final { border-radius: 22px; }
  .step { padding: 16px 16px 16px 58px; }
  .mark { width: 88px; height: 88px; margin-left: 0; }
  h1 { font-size: clamp(1.85rem, 9vw, 2.35rem); }
  h2 { font-size: clamp(1.55rem, 7vw, 2rem); }
  .lede { font-size: 1.05rem; }
  .consent { font-size: 0.95rem; }
  .consent input { width: 22px; height: 22px; }
  .mobile-bar {
    display: flex;
    position: fixed;
    z-index: 11;
    left: 14px;
    right: 14px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    min-height: 52px;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: #f7f1e6;
    text-decoration: none;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(20, 32, 51, 0.28);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
