:root {
  --ink: #000000;
  --muted: #000000;
  --line: #e6e6e6;
  --paper: #fafafa;
  --white: #fff;
  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
  color-scheme: light only;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; background: var(--white); color: #000; font-family: var(--sans); font-weight: 400; -webkit-text-fill-color: #000; }
body { display: flex; flex-direction: column; }
a, p, li, td, th, label, h1, h2, h3, small, b, span { color: #000; -webkit-text-fill-color: #000; }
button, input, select, textarea {
  font: inherit;
  color: #000;
  -webkit-text-fill-color: #000;
  -webkit-appearance: none;
  appearance: none;
}
input::placeholder { color: #000; -webkit-text-fill-color: #000; opacity: 1; }
button { cursor: pointer; }
.top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px 6vw; border-bottom: 1px solid var(--line);
}
.mono { letter-spacing: .18em; font-size: 13px; font-weight: 500; }
.wrap { width: min(1120px, 92vw); margin: 0 auto; padding: 28px 0 80px; flex: 1; }
.grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 36px; }
@media (max-width: 860px) { .grid { grid-template-columns: 1fr; } .aside { order: -1; } }
.progress { height: 3px; background: var(--line); margin: 0 0 22px; }
.progress > span { display: block; height: 100%; background: var(--ink); width: 0; transition: width .3s; }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.02em; }
h1 { font-size: clamp(36px, 6vw, 64px); line-height: .95; margin: 10px 0 16px; }
h2 { font-size: clamp(26px, 4vw, 38px); margin-bottom: 16px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.55; max-width: 42rem; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.btn {
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink);
  background: var(--ink); color: #fff; -webkit-text-fill-color: #fff; font-size: 15px;
}
.btn.ghost { background: transparent; color: #000; -webkit-text-fill-color: #000; }
.actions a.btn { text-decoration: none; display: inline-flex; align-items: center; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 20px; }
.card, .opt {
  border: 1px solid var(--line); min-height: 48px; padding: 14px 12px; background: var(--white);
  text-align: left; border-radius: 14px;
}
.card.on, .opt.on { border-color: var(--ink); background: #f3f3f3; color: #000; -webkit-text-fill-color: #000; }
.card small, .opt small { display: block; color: #000; -webkit-text-fill-color: #000; opacity: 1; font-size: 12px; margin-top: 4px; }
.field { margin: 16px 0; }
.field label { display: block; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 8px; color: var(--muted); }
.field input[type=text], .field input[type=email], .field input[type=tel] {
  width: 100%; min-height: 48px; border: 1px solid var(--line); padding: 0 14px; font: inherit;
  color: #000; -webkit-text-fill-color: #000; background: #fff;
}
.stepper { display: flex; align-items: center; gap: 10px; }
.stepper button { width: 48px; height: 48px; border: 1px solid var(--ink); background: #fff; border-radius: 50%; font-size: 22px; }
.stepper b { min-width: 64px; text-align: center; font-family: var(--serif); font-size: 28px; }
.aside { border: 1px solid var(--line); padding: 18px; border-radius: 16px; background: var(--paper); position: sticky; top: 16px; }
.aside h3 { font-family: var(--serif); font-size: 22px; margin-bottom: 10px; }
.aside li { list-style: none; font-size: 14px; color: var(--muted); padding: 5px 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 640px) { .row { grid-template-columns: 1fr; } }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 16px 0; font-size: 14px; line-height: 1.45; }
.check input { width: 20px; height: 20px; margin-top: 2px; }
.blur { filter: blur(7px); user-select: none; font-family: var(--serif); font-size: 42px; }
.lines { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 14px; }
.lines td { padding: 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lines td:last-child { text-align: right; white-space: nowrap; }
.tot { font-family: var(--serif); font-size: 28px; margin-top: 18px; }
.warn { color: #7a1f1f; font-size: 14px; margin-top: 12px; }
.legal { font-size: 12px; color: var(--muted); margin-top: 16px; line-height: 1.5; }
.screen { display: none; }
.screen.on { display: block; }
.home-args { display: grid; gap: 14px; margin: 28px 0; }
.home-args p { border-top: 1px solid var(--line); padding-top: 12px; font-size: 16px; }
.example { background: none; border: 0; color: var(--muted); text-decoration: underline; min-height: auto; padding: 8px 0; }
#msg { min-height: 20px; color: #7a1f1f; font-size: 14px; margin-top: 10px; }
.visit a { display: inline-block; margin-top: 12px; }
@media (max-width: 860px) {
  html, body, a, p, li, td, th, label, h1, h2, h3, small, b, span, button, input, select, textarea,
  .lead, .legal, .example, .aside, .aside li, .field label, .card, .opt, .card.on, .opt.on, .check, .stepper b {
    color: #000;
    -webkit-text-fill-color: #000;
  }
  .btn:not(.ghost) { color: #fff; -webkit-text-fill-color: #fff; }
}
@media (prefers-color-scheme: dark) {
  html, body { background: #fff; color: #000; }
}
