:root {
  --red: #c9202b;
  --red-dark: #9c1620;
  --blue: #087cc1;
  --blue-dark: #075d91;
  --ink: #161616;
  --muted: #5f6670;
  --paper: #ffffff;
  --soft: #f4f7fa;
  --line: #dde4eb;
  --warning: #fff4c7;
  --shadow: 0 18px 60px rgba(15, 23, 42, 0.14);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(var(--container), calc(100% - 40px)); margin: 0 auto; }
.section { padding: 88px 0; }
.section-muted { background: var(--soft); }
.section-price { background: linear-gradient(135deg, #111827, #1f2937); color: #fff; }
.section-head { max-width: 820px; margin-bottom: 34px; }
.section-head.narrow { max-width: 860px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
.section-price .eyebrow, .hero .eyebrow { color: #ffd9dc; }
h1, h2, h3 { line-height: 1.1; margin: 0 0 16px; }
h1 { font-size: clamp(2.6rem, 7vw, 5.7rem); letter-spacing: -0.06em; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: -0.04em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 16px; }
.lead { font-size: clamp(1.12rem, 2vw, 1.4rem); max-width: 680px; color: #f9fafb; }
.text-block { color: #30343a; font-size: 1.06rem; }

.skip-link {
  position: absolute;
  left: 16px;
  top: -120px;
  background: #fff;
  color: #000;
  padding: 10px 14px;
  border-radius: 10px;
  z-index: 1000;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(221, 228, 235, 0.88);
}
.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; text-decoration: none; min-width: 180px; }
.brand img { width: 210px; height: auto; }
.main-nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.main-nav a {
  text-decoration: none;
  font-weight: 750;
  color: #222;
  padding: 10px 12px;
  border-radius: 999px;
}
.main-nav a:hover, .main-nav a:focus { background: var(--soft); color: var(--red-dark); }
.menu-toggle { display: none; }

.hero {
  position: relative;
  min-height: 680px;
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 16%, rgba(255, 214, 74, 0.98) 0 7%, rgba(255, 153, 0, 0.62) 8%, transparent 20%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(17, 24, 39, 0.84)),
    linear-gradient(90deg, var(--red) 0 62%, var(--blue) 62% 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 155px 0 auto;
  height: 155px;
  background: var(--red);
  opacity: 0.95;
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 52px;
  align-items: center;
  padding-top: 22px;
}
.hero-copy { position: relative; z-index: 2; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 34px 0 24px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  padding: 14px 22px;
  text-decoration: none;
  font-weight: 850;
  border: 2px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover, .btn:focus { transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 12px 30px rgba(8, 124, 193, 0.28); }
.btn-primary:hover, .btn-primary:focus { background: var(--blue-dark); }
.btn-secondary { background: #fff; color: var(--ink); }
.btn-secondary:hover, .btn-secondary:focus { background: #eef2f7; }
.btn.large { font-size: 1.06rem; padding: 16px 26px; }
.notice-list { display: flex; flex-wrap: wrap; gap: 10px; max-width: 760px; }
.notice-list span {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
}
.hero-card {
  position: relative;
  z-index: 2;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.ac-badge { width: min(380px, 100%); margin: 0 auto 20px; }
.quick-prices { display: grid; gap: 12px; }
.quick-prices div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--blue);
  color: #fff;
  padding: 16px 18px;
  border-radius: 16px;
}
.quick-prices div:first-child { background: var(--red); }
.quick-prices strong { font-size: 1.1rem; }
.quick-prices span { font-size: 1.45rem; font-weight: 900; white-space: nowrap; }

.two-col {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.align-start { align-items: start; }
.cards { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 26px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.06);
}
.card h3 { color: var(--red-dark); }
.card p { color: var(--muted); margin-bottom: 0; }

.steps {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  counter-reset: step;
}
.steps li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 24px;
  min-height: 260px;
}
.steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  margin-bottom: 18px;
}
.steps p { color: var(--muted); margin-bottom: 0; }

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.price-card {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
}
.price-card.featured { background: var(--red); }
.price-card.featured-blue { background: var(--blue); }
.price-card.wide { grid-column: span 2; }
.price-card h3 { margin-bottom: 22px; }
.price {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1;
  font-weight: 950;
  margin-bottom: 12px;
  letter-spacing: -0.04em;
}
.price-card p:not(.price) { color: rgba(255, 255, 255, 0.84); margin-bottom: 0; }

.check-list { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 20px 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--blue);
  font-weight: 950;
}
.warning {
  background: var(--warning);
  border: 1px solid #f1d673;
  border-radius: 18px;
  padding: 16px;
  color: #3a2c00;
}

.contact-section { background: linear-gradient(135deg, #fff, #f5f8fb); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: stretch;
}
.contact-copy, .contact-card {
  border-radius: var(--radius);
  padding: 34px;
}
.contact-copy { background: #fff; border: 1px solid var(--line); }
.contact-card { background: #111827; color: #fff; box-shadow: var(--shadow); }
.contact-card a { color: #fff; font-weight: 850; }
.contact-card p { color: rgba(255, 255, 255, 0.82); }
.contact-actions { margin-top: 28px; }

.site-footer {
  padding: 30px 0;
  color: #e5e7eb;
  background: #0f172a;
}
.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.site-footer p { margin: 6px 0 0; color: #aab4c0; }
.site-footer nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-footer a { color: #fff; text-decoration: none; font-weight: 750; }
.site-footer a:hover, .site-footer a:focus { text-decoration: underline; }

.legal-page { background: #fff; }
.narrow-text { max-width: 860px; }
.narrow-text h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
.narrow-text h2 { font-size: 1.55rem; margin-top: 34px; }
.narrow-text p { color: #30343a; }
.text-link { color: var(--blue-dark); font-weight: 800; }
.todo-box {
  background: #fff4c7;
  border: 1px solid #f1d673;
  border-radius: 18px;
  padding: 16px;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  background: rgba(0, 0, 0, 0.06);
  border-radius: 6px;
  padding: 2px 5px;
}

@media (max-width: 980px) {
  .hero-grid, .two-col, .contact-grid { grid-template-columns: 1fr; }
  .cards.three { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: auto; }
  .hero::before { display: none; }
}

@media (max-width: 760px) {
  .container { width: min(100% - 28px, var(--container)); }
  .section { padding: 62px 0; }
  .nav-wrap { min-height: 76px; align-items: flex-start; padding: 12px 0; }
  .brand img { width: 170px; }
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 999px;
    padding: 10px 14px;
    font-weight: 850;
  }
  .main-nav {
    display: none;
    position: absolute;
    left: 14px;
    right: 14px;
    top: 74px;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
  }
  .main-nav.is-open { display: flex; }
  .main-nav a { border-radius: 12px; }
  .legal-nav { display: flex; position: static; flex-direction: row; box-shadow: none; border: 0; padding: 0; }
  .hero { padding-top: 28px; }
  .hero-card, .contact-copy, .contact-card { padding: 22px; }
  .cards.three, .steps, .price-grid { grid-template-columns: 1fr; }
  .price-card.wide { grid-column: span 1; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
