:root {
  --ink: #17211c;
  --muted: #5d6a62;
  --paper: #f4efe6;
  --card: #fffdf9;
  --line: #e3d9cb;
  --pine: #14352c;
  --pine-2: #1e4d3f;
  --moss: #1f7a5c;
  --sand: #f7f1e6;
  --gold: #c6a15b;
  --warn: #8a4b12;
  --bad: #8d2f2a;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 161, 91, 0.16), transparent 28%),
    radial-gradient(circle at 90% 0%, rgba(31, 122, 92, 0.12), transparent 26%),
    var(--paper);
  font-family: "Segoe UI", "Helvetica Neue", sans-serif;
}
.top {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  padding: 18px 7vw;
  background: var(--pine);
  color: #f6f1e7;
}
.brand {
  color: inherit;
  text-decoration: none;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 22px;
  letter-spacing: 0.04em;
}
.brand span { color: var(--gold); }
.top p { margin: 0; color: #d7e4dc; }
main { width: min(1120px, 92vw); margin: 36px auto 72px; }
.hero {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 28px;
  align-items: stretch;
}
h1 {
  margin: 8px 0 12px;
  font-family: Palatino, "Palatino Linotype", Georgia, serif;
  font-size: 54px;
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
}
h2 { margin: 0 0 16px; font-family: Palatino, Georgia, serif; font-weight: 500; font-size: 32px; }
.lead { font-size: 18px; max-width: 62ch; }
.eyebrow {
  margin: 0;
  color: var(--moss);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-weight: 700;
}
.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.steps li {
  display: flex;
  gap: 12px;
  align-items: center;
  background: rgba(255, 253, 249, 0.72);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px 8px 8px;
  width: fit-content;
}
.steps span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--pine);
  color: white;
  font-size: 12px;
}
.tariff, .panel, table {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(20, 53, 44, 0.06);
}
.tariff { padding: 26px; }
.amount {
  margin: 10px 0 0;
  font-family: Palatino, Georgia, serif;
  font-size: 64px;
  line-height: 0.9;
}
.amount-note, .plus { margin: 8px 0; }
.plus { color: var(--pine-2); font-weight: 650; }
.tariff ul { list-style: none; padding: 0; margin: 18px 0; }
.tariff li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-top: 1px solid var(--line);
}
.form-card { margin-top: 28px; padding: 28px; }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.wide { grid-column: 1 / -1; }
label { display: block; margin: 8px 0; font-weight: 650; }
label span, .fine, .eyebrow { }
label span, .fine { color: var(--muted); font-weight: 500; font-size: 13px; }
label span { display: block; }
input, select, button, .button {
  width: 100%;
  margin-top: 6px;
  font: inherit;
  border-radius: 12px;
  border: 1px solid #d9d0c3;
  padding: 12px 14px;
  background: #fff;
}
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; margin-top: 14px; }
.check input { width: auto; margin-top: 4px; }
button, .button {
  display: inline-block;
  text-align: center;
  text-decoration: none;
  background: var(--pine);
  color: white;
  border: 0;
  cursor: pointer;
  margin-top: 16px;
}
button:hover, .button:hover { background: var(--pine-2); }
button:disabled { opacity: 0.5; cursor: not-allowed; }
.button.quiet { background: transparent; color: var(--pine); border: 1px solid var(--pine); }
.actions { display: flex; gap: 10px; flex-wrap: wrap; }
.actions .button { width: auto; padding: 12px 18px; }
.error, .warn { padding: 12px 14px; border-radius: 12px; }
.error { background: #fdeceb; color: var(--bad); }
.warn { background: #fff4e8; color: var(--warn); }
.single { width: min(860px, 92vw); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 18px 0; }
.facts div { border-top: 1px solid var(--line); padding-top: 8px; }
dt { color: var(--muted); font-size: 13px; }
dd { margin: 0; font-weight: 700; }
table { width: 100%; margin: 0; border-collapse: collapse; overflow: hidden; }
th, td { text-align: left; padding: 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.panel { padding: 28px; }
@media (max-width: 860px) {
  .hero, .grid, .facts { grid-template-columns: 1fr; }
  .wide { grid-column: auto; }
  h1 { font-size: 38px; }
  .top { flex-direction: column; align-items: flex-start; }
  .amount { font-size: 52px; }
}
