:root {
  --navy: #14223a;
  --accent: #1f6feb;
  --accent-dark: #1a5fd0;
  --bg: #f4f6f9;
  --card: #ffffff;
  --line: #e2e7ee;
  --text: #1a2230;
  --muted: #66718a;
  --error: #b3261e;
  --radius: 10px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a { color: var(--accent); }

.site-header {
  background: var(--navy);
  color: #fff;
  padding: 14px 20px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.site-header .brand { color: #fff; font-weight: 700; font-size: 18px; text-decoration: none; }
.site-header .tagline { color: #aeb9cf; font-size: 14px; }

.container { max-width: 760px; margin: 0 auto; padding: 24px 16px 48px; }

.hero { text-align: center; padding: 24px 8px 8px; }
.hero h1 { font-size: 30px; margin: 0 0 8px; color: var(--navy); }
.hero .lead { font-size: 17px; color: var(--muted); margin: 0; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  margin-top: 20px;
  box-shadow: 0 1px 2px rgba(20, 34, 58, 0.04);
}
.card h2 { margin: 0 0 4px; color: var(--navy); }
.card.center { text-align: center; }
.card.prose h1 { color: var(--navy); }

.muted { color: var(--muted); }
.lead { font-size: 17px; }
.error {
  background: #fdecea;
  color: var(--error);
  border: 1px solid #f5c6c2;
  border-radius: 8px;
  padding: 10px 12px;
  margin: 12px 0;
}

.quote-form { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.quote-form label { display: flex; flex-direction: column; gap: 5px; font-weight: 600; font-size: 14px; }
.quote-form .row { display: flex; gap: 14px; }
.quote-form .row label { flex: 1; }
.quote-form input,
.quote-form select,
.quote-form textarea {
  font: inherit;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 400;
}
.quote-form input:focus,
.quote-form select:focus,
.quote-form textarea:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

fieldset.contact { border: 1px solid var(--line); border-radius: 8px; padding: 14px; display: flex; flex-direction: column; gap: 12px; }
fieldset.contact legend { font-weight: 700; font-size: 14px; padding: 0 6px; }

label.check { flex-direction: row; align-items: flex-start; gap: 8px; font-weight: 400; font-size: 14px; }
label.check input { margin-top: 3px; }

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-dark); }

table.data { width: 100%; border-collapse: collapse; margin-top: 12px; font-size: 14px; }
table.data th, table.data td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
table.data th { color: var(--muted); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.03em; }
table.data td.muted { color: var(--muted); }
.notice { background: #e8f5ee; color: #1c6b3f; border: 1px solid #b7e0c6; border-radius: 8px; padding: 8px 12px; }

.packs { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.pack { border: 1px solid var(--line); border-radius: 10px; padding: 16px; text-align: center; min-width: 140px; display: flex; flex-direction: column; gap: 8px; }
.pack-credits { font-weight: 700; font-size: 18px; color: var(--navy); }
.pack-price { color: var(--muted); }

.site-footer { text-align: center; color: var(--muted); font-size: 13px; padding: 24px; }

@media (max-width: 560px) {
  .quote-form .row { flex-direction: column; gap: 14px; }
}
