:root {
  --bg: #f6f8fb;
  --surface: #fff;
  --text: #0f172a;
  --muted: #475569;
  --brand: #0b3a53;
  --brand-hover: #062a3e;
  --accent: #9a3412;
  --accent-bg: #fff7ed;
  --border: #cbd5e1;
  --focus: #2563eb;
  --error: #b42318;
  --success: #166534;
  --radius: 18px;
  --shadow: 0 18px 45px rgba(15, 23, 42, .08);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-wrap: anywhere;
}
a { color: var(--brand); text-underline-offset: .18em; }
a:hover { color: var(--brand-hover); }
h1, h2, h3 { line-height: 1.14; letter-spacing: -.025em; margin: 0 0 .75rem; }
h1 { font-size: clamp(2.25rem, 6vw, 4.8rem); max-width: 18ch; }
h2 { font-size: clamp(1.75rem, 4vw, 2.7rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1rem; }
address { font-style: normal; }
.container { width: min(1120px, calc(100% - 2rem)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 2rem)); margin-inline: auto; }
.skip-link { position: fixed; top: -10rem; left: 1rem; z-index: 20; padding: .75rem 1rem; background: var(--surface); }
.skip-link:focus { top: 1rem; }
header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner { min-height: 68px; display: flex; align-items: center; justify-content: space-between; }
.brand { color: var(--text); font-weight: 900; letter-spacing: .08em; text-decoration: none; }
.brand span { color: var(--accent); }
.language { min-width: 48px; min-height: 48px; display: grid; place-items: center; text-transform: uppercase; font-weight: 700; }
.deadline { padding: .75rem 0; background: var(--accent-bg); color: var(--accent); border-bottom: 1px solid #fed7aa; }
.hero { padding: clamp(3.5rem, 8vw, 7rem) 0; background: linear-gradient(135deg, #fff 0%, #eaf1f5 100%); }
.hero-grid, .split, .form-grid { display: grid; gap: 2rem; }
.lead { max-width: 65ch; color: var(--muted); font-size: clamp(1.1rem, 2vw, 1.3rem); }
.eyebrow { color: var(--accent); font-size: .82rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.actions span { color: var(--muted); font-size: .9rem; max-width: 34ch; }
.button {
  border: 0;
  border-radius: 10px;
  min-height: 50px;
  padding: .8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--brand-hover); color: #fff; }
.scope-card, .price-panel, .cards article, details, form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.scope-card { padding: clamp(1.4rem, 4vw, 2rem); box-shadow: var(--shadow); align-self: start; }
.scope-price { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: var(--brand); line-height: 1; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section.muted { background: #eaf0f4; }
.cards { display: grid; gap: 1rem; margin-top: 2rem; }
.cards article { padding: 1.4rem; }
.check-list, .x-list { padding: 0; list-style: none; }
.check-list li, .x-list li { position: relative; padding: .45rem 0 .45rem 1.8rem; }
.check-list li::before, .x-list li::before { position: absolute; left: 0; font-weight: 900; }
.check-list li::before { content: "✓"; color: var(--success); }
.x-list li::before { content: "×"; color: var(--error); }
.price-panel { display: grid; gap: 2rem; padding: clamp(1.4rem, 4vw, 2rem); margin: 2rem 0 1rem; }
.price-panel ol { padding-left: 1.25rem; }
.price-panel li + li { margin-top: 1rem; }
.fine-print, small { color: var(--muted); font-size: .9rem; }
.steps { padding: 0; list-style: none; display: grid; gap: 1.2rem; margin-top: 2rem; }
.steps li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
.steps li > span { width: 48px; height: 48px; display: grid; place-items: center; background: var(--brand); color: #fff; border-radius: 50%; font-weight: 900; }
.faq { display: grid; gap: .8rem; margin-top: 2rem; }
details { padding: 1rem 1.2rem; }
summary { cursor: pointer; font-weight: 800; min-height: 48px; display: flex; align-items: center; }
details p { margin-top: .75rem; }
.form-section { background: var(--surface); }
.form-grid > form { padding: clamp(1rem, 4vw, 2rem); display: grid; gap: 1rem; box-shadow: var(--shadow); }
.field { display: flex; flex-direction: column; gap: .35rem; }
.field label { font-weight: 700; }
input, select, textarea { width: 100%; min-height: 48px; border: 1px solid #94a3b8; border-radius: 8px; background: #fff; color: var(--text); padding: .7rem .8rem; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.checkbox label { display: grid; grid-template-columns: 24px 1fr; gap: .65rem; align-items: start; font-weight: 500; }
.checkbox input { width: 22px; height: 22px; min-height: 0; margin: .15rem 0 0; }
.field-error { color: var(--error); font-weight: 700; }
.error-summary { margin-top: 2rem; padding: 1rem; border-left: 5px solid var(--error); background: #fef3f2; color: var(--error); }
.privacy-note { margin-top: 1.5rem; padding: 1rem; background: var(--accent-bg); border-left: 5px solid var(--accent); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-page, .legal { padding: clamp(3rem, 8vw, 6rem) 0; min-height: 60vh; }
.success-page h1, .legal h1 { max-width: none; font-size: clamp(2rem, 6vw, 3.5rem); }
.legal h2 { margin-top: 2rem; font-size: 1.35rem; }
.guide { padding-block: clamp(2.5rem, 7vw, 5rem); max-width: 900px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 2rem; color: var(--muted); font-size: .92rem; }
.guide-header { padding-bottom: 2.5rem; border-bottom: 1px solid var(--border); }
.guide-header h1 { max-width: 22ch; font-size: clamp(2.2rem, 6vw, 4.25rem); }
.guide-meta { color: var(--muted); font-size: .9rem; }
.guide section { padding-top: 2.5rem; }
.guide section h2 { font-size: clamp(1.55rem, 4vw, 2.25rem); }
.guide-steps { padding-left: 1.4rem; }
.guide-steps li { padding: .3rem 0 .8rem .35rem; }
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); }
.table-wrap table { width: 100%; border-collapse: collapse; min-width: 620px; }
.table-wrap th, .table-wrap td { padding: .85rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); }
.table-wrap th { background: #eaf0f4; }
.table-wrap tr:last-child td { border-bottom: 0; }
.guide-cta { margin-top: 3rem; padding: clamp(1.4rem, 4vw, 2rem); border: 1px solid #fed7aa; border-radius: var(--radius); background: var(--accent-bg); }
.sources { color: var(--muted); font-size: .94rem; }
.author-profile { padding-block: clamp(3rem, 8vw, 6rem); max-width: 900px; }
.author-profile h1 { max-width: none; }
.author-profile h2 { margin-top: 2.5rem; }
.guide-cards { display: grid; gap: 1rem; }
.guide-card { padding: 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
footer { background: var(--text); color: #e2e8f0; padding: 2.5rem 0; }
footer a { color: #fff; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 1rem; align-items: start; }

@media (min-width: 760px) {
  .hero-grid { grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr); align-items: center; }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1fr 1fr; }
  .price-panel { grid-template-columns: .8fr 1.2fr; }
  .form-grid { grid-template-columns: .75fr 1.25fr; align-items: start; }
  .form-grid > form { grid-template-columns: 1fr 1fr; }
  .field.full { grid-column: 1 / -1; }
  .guide-cards { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
