:root {
  --bg: #f4f1eb;
  --paper: #fffcf8;
  --ink: #1b2430;
  --muted: #4e5966;
  --line: #e2d9cc;
  --accent: #b4532a;
  --accent-dark: #8a3c1c;
  --accent-soft: #f8ebe3;
  --navy: #243044;
  --banner-bg: #fff6ea;
  --banner-ink: #5c3b16;
  --banner-line: #e8c9a0;
  --shadow: 0 1px 0 rgba(27, 36, 48, 0.04);
  --max: 1080px;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --serif: "Newsreader", Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.02em; }
h1 { font-size: clamp(1.85rem, 4.4vw, 3.15rem); margin: 0 0 12px; }
h2 { font-size: clamp(1.55rem, 2.4vw, 2.05rem); margin: 0 0 8px; }
h3 { font-size: 1.28rem; margin: 0 0 8px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px; padding-left: 1.2em; }
li + li { margin-top: 6px; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--paper);
  color: var(--ink);
  padding: 10px 14px;
  z-index: 30;
  border-radius: 8px;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 32px)); }

.top {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.top-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.brand img { width: 168px; height: auto; }
.brand small {
  display: block;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--muted);
}
.nav { display: flex; gap: 18px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 560; font-size: 15px; }
.nav a:hover { color: var(--accent-dark); }
.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  padding: 0;
}
.bars, .bars::before, .bars::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  position: relative;
  margin: 0 auto;
}
.bars::before, .bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.bars::before { top: -6px; }
.bars::after { top: 6px; }

.banner {
  background: var(--banner-bg);
  color: var(--banner-ink);
  border-bottom: 1px solid var(--banner-line);
}
.banner p {
  margin: 0;
  padding: 14px 0;
  font-size: 16.5px;
  line-height: 1.5;
}
.banner strong { font-weight: 700; }

.hero { padding: 48px 0 20px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}
.kicker {
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}
.lead { font-size: 1.08rem; color: var(--ink); }
.muted { color: var(--muted); }
.hero-actions, .card-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 10px;
  font-weight: 650;
  text-decoration: none;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn { background: var(--navy); color: #fff; }
.btn:hover { background: #1a2533; color: #fff; }
.btn-line { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-line:hover { background: var(--accent-soft); }
.hero-photo, .card-photo {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo img, .card-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #fff; }
.caption { margin: 0; padding: 10px 12px 12px; font-size: 13.5px; color: var(--muted); }

.block { padding: 36px 0; }
.sec-head { max-width: 720px; margin-bottom: 22px; }
.sec-head p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.card-body { padding: 16px 16px 18px; display: flex; flex-direction: column; flex: 1; }
.price {
  font-family: var(--serif);
  font-size: 1.7rem;
  margin: 0 0 4px;
}
.price span { display: block; font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.card ul { margin-top: 8px; }
.card .btn { margin-top: auto; align-self: flex-start; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; list-style: none; padding: 0; }
.steps li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin: 0;
}
.steps strong { display: block; margin-bottom: 6px; }

.ticks { list-style: none; padding: 0; }
.ticks li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin: 0 0 10px;
}

.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: 15px; }
th { background: #f7f3ec; font-weight: 650; }
tr:last-child td, tr:last-child th { border-bottom: 0; }

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin: 10px 0 0; }

.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
}
.mail {
  font-size: 1.25rem;
  font-weight: 700;
  word-break: break-all;
}
.placeholder {
  background: #fff3cd;
  border-bottom: 1px dashed #8a6d1d;
  padding: 0 2px;
}

.prose h2 { margin-top: 28px; }
.prose h3 { margin-top: 20px; font-size: 1.15rem; }
.page-head { padding: 36px 0 8px; }

.foot {
  border-top: 1px solid var(--line);
  background: var(--navy);
  color: #e7e2d8;
  padding: 28px 0 22px;
  margin-top: 20px;
}
.foot a { color: #f6d3bf; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; margin: 0 0 14px; padding: 0; list-style: none; }
.foot-links a { font-weight: 600; text-decoration: none; }
.foot p { font-size: 14.5px; color: #d9d3c8; }
.foot .fine { font-size: 13.5px; }

@media (max-width: 860px) {
  .hero-grid, .steps { grid-template-columns: 1fr; }
  .brand img { width: 140px; }
  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 16px 16px;
    gap: 12px;
  }
  .nav.is-open {
    display: flex;
    z-index: 20;
    box-shadow: 0 12px 24px rgba(27, 36, 48, 0.08);
  }
  .top { position: sticky; }
}
