:root {
  color-scheme: light;
  --ink: #111827;
  --muted: #667085;
  --line: #e7e2d8;
  --paper: #fbfaf7;
  --card: #ffffff;
  --gold: #a56c08;
  --dark: #0c0d10;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.6; }
a { color: inherit; }

.header, main, footer { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.header { min-height: 76px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 900; letter-spacing: .17em; }
.brand b, .eyebrow { color: var(--gold); }
nav { display: flex; gap: 28px; }
nav a, .footer-links a { color: var(--muted); text-decoration: none; font-size: 14px; font-weight: 650; }
nav a:hover, .footer-links a:hover { color: var(--ink); }

.hero { padding: 110px 0 100px; max-width: 850px; }
.eyebrow { margin: 0 0 16px; font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(48px, 8vw, 88px); line-height: .98; letter-spacing: -.055em; }
.lead { max-width: 720px; margin: 28px 0 32px; color: var(--muted); font-size: clamp(18px, 2.2vw, 23px); }
.button { display: inline-block; padding: 14px 22px; border-radius: 10px; background: var(--dark); color: white; text-decoration: none; font-weight: 750; }

.section { padding: 80px 0; border-top: 1px solid var(--line); }
h2 { margin: 0 0 32px; font-size: clamp(34px, 5vw, 52px); line-height: 1.08; letter-spacing: -.04em; }
.cards, .plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cards article, .plans article { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: 0 10px 30px rgb(17 24 39 / 4%); }
.cards span, .plan-name { color: var(--gold); font-size: 13px; font-weight: 850; text-transform: uppercase; letter-spacing: .1em; }
h3 { margin: 18px 0 8px; font-size: 21px; }
.cards p, .plans p, .terms li, .contacts p { color: var(--muted); }
.plans { grid-template-columns: repeat(2, 1fr); }
.price { margin: 8px 0 16px; color: var(--ink) !important; font-size: 46px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.note { margin-top: 20px; color: var(--muted); font-size: 14px; }
.terms ul { max-width: 850px; padding-left: 22px; }
.terms li + li { margin-top: 12px; }
.contacts p { margin: 8px 0; }
.contacts strong { color: var(--ink); }
.legal-warning { display: inline-block; padding: 10px 14px; background: #fff7e7; border: 1px solid #ead29e; border-radius: 10px; }

footer { display: grid; grid-template-columns: 1fr auto auto; gap: 28px; align-items: center; padding: 34px 0 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.footer-brand { color: var(--ink); }
.footer-links { display: flex; gap: 18px; }

@media (max-width: 760px) {
  .header { min-height: 68px; }
  nav { display: none; }
  .hero { padding: 74px 0 70px; }
  .section { padding: 58px 0; }
  .cards, .plans { grid-template-columns: 1fr; }
  footer { grid-template-columns: 1fr; }
  .footer-links { flex-wrap: wrap; }
}
