:root {
  --paper: #f3eee6;
  --paper-2: #fffdf9;
  --ink: #241c16;
  --muted: #6d6258;
  --line: #e3d9cc;
  --dawn: #9c4332;
  --dawn-deep: #7c3224;
  --gold: #8c6a32;
  --ok: #1f6b45;
  --warn: #8a5a12;
  --shadow: 0 18px 50px rgba(36, 28, 22, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: var(--dawn-deep); }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { width: min(1080px, calc(100% - 32px)); margin: 0 auto; }
.narrow { width: min(720px, 100%); }

.topbar {
  background: #3f2a22;
  color: #f6efe6;
  font-size: 14px;
  line-height: 1.4;
}
.topbar p { margin: 0; padding: 10px 16px; text-align: center; }

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(243, 238, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}
.brand { display: flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.brand span { font-family: var(--serif); font-size: 18px; letter-spacing: 0.04em; }
.header nav { display: none; gap: 18px; }
.header .btn { display: none; }
.header nav a { color: var(--ink); text-decoration: none; font-size: 15px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--dawn);
  color: #fffdf9;
  text-decoration: none;
  border: 0;
  cursor: pointer;
}
.btn:hover { background: var(--dawn-deep); }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.hero { padding: 28px 0 10px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 8vw, 64px); line-height: 1.05; margin: 0 0 14px; }
h2 { font-size: clamp(30px, 5vw, 42px); line-height: 1.15; margin: 0 0 12px; }
.lead { font-size: 18px; margin: 0 0 18px; }
.fine { color: var(--muted); font-size: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0; }
.figure {
  margin: 0;
  background: var(--paper-2);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.figure img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.figure figcaption { padding: 12px 16px 16px; color: var(--muted); font-size: 14px; }

section { padding: 42px 0; }
.card {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 22px;
}
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; }
.num {
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f3e2d8; color: var(--dawn-deep); font-weight: 600;
}
.faq { display: grid; gap: 8px; }
.faq details {
  background: var(--paper-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq p { margin: 8px 0 0; }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 14px; }
label span { color: var(--muted); }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  min-height: 48px;
}
textarea { min-height: 96px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.hp {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
}
.form-error { color: var(--dawn-deep); min-height: 1.2em; margin: 0; }
.grid-2 { display: grid; gap: 12px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 96px;
  color: var(--muted);
  font-size: 14px;
}
.footer nav { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 10px; }
.legal-banner {
  background: #fff6e8;
  border: 1px solid #ead7b4;
  color: var(--warn);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 18px;
}
.prose h1 { font-size: clamp(32px, 6vw, 48px); }
.prose { padding: 28px 0 48px; }

.cookie {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 74px;
  z-index: 6;
  background: var(--ink);
  color: #f6efe6;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.cookie[hidden] { display: none; }
.cookie p { margin: 0; font-size: 14px; }
.cookie a { color: #f3d2c6; }
.cookie button { background: #fff; color: var(--ink); }

.dock {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 4;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 238, 230, 0.94);
  border-top: 1px solid var(--line);
}
.dock .btn { width: 100%; }

@media (min-width: 840px) {
  .header nav { display: flex; }
  .header .btn { display: inline-flex; }
  .hero { padding: 54px 0 20px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .dock { display: none; }
  .cookie { left: auto; max-width: 460px; bottom: 20px; right: 20px; }
  .footer { padding-bottom: 40px; }
}
