:root {
  --ink: #10141c;
  --ink-soft: #3a4254;
  --paper: #f6f3ec;
  --card: #fffcf7;
  --line: #ddd6c8;
  --accent: #1f4d3a;
  --accent-2: #c46b2d;
  --good: #1f4d3a;
  --warn: #8a4b12;
  --shadow: 0 18px 40px rgba(16, 20, 28, 0.08);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}

a { color: var(--accent); }
img { max-width: 100%; }

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

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 243, 236, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 18px;
}
nav { display: flex; flex-wrap: wrap; gap: 8px 16px; }
nav a { text-decoration: none; color: var(--ink-soft); font-size: 14px; }
nav a:hover, nav a.active { color: var(--ink); }

.btn, button.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 18px;
  font: 650 14px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-warn { background: var(--accent-2); color: #fff; }

.hero {
  padding: 56px 0 28px;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: start;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}
h1, h2, h3 { font-family: var(--serif); letter-spacing: -0.02em; }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.05; margin: 8px 0 16px; }
.lede { font-size: 19px; color: var(--ink-soft); max-width: 58ch; }
.row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.fine { font-size: 13px; color: var(--ink-soft); }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.steps { display: grid; gap: 12px; }
.step { display: grid; grid-template-columns: 36px 1fr; gap: 12px; }
.num {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; display: grid; place-items: center;
  font-weight: 700;
}

.grid { display: grid; gap: 16px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.section { padding: 28px 0 8px; }
.price { font-size: 36px; font-family: var(--serif); margin: 8px 0; }
.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #efe6d6;
  padding: 4px 8px;
  border-radius: 999px;
}

.table { width: 100%; border-collapse: collapse; background: var(--card); }
.table th, .table td { border-bottom: 1px solid var(--line); padding: 10px 8px; text-align: left; font-size: 14px; }

form { display: grid; gap: 12px; }
label { font-size: 13px; font-weight: 650; }
input, select, textarea {
  width: 100%; padding: 11px 12px; border-radius: 10px;
  border: 1px solid var(--line); font: 16px var(--sans); background: #fff;
}
textarea { min-height: 110px; }

.notice {
  border-left: 4px solid var(--accent-2);
  background: #fff6ec;
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 14px;
}

footer {
  margin-top: 56px;
  padding: 28px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 14px;
}
.foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

.sample {
  font-family: var(--serif);
  background: #fff;
  border: 1px solid var(--line);
  padding: 28px;
}
.watermark {
  color: #b9b0a0;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .hero, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  nav { display: none; }
}
