:root {
  --ink: #0f172a;
  --muted: #475569;
  --line: #e2e8f0;
  --paper: #f8fafc;
  --white: #ffffff;
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --blue: #2563eb;
  --ok: #047857;
  --soon: #92400e;
  --soon-bg: #fffbeb;
  --ok-bg: #ecfdf5;
  --shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 16px/1.55 "Segoe UI", Helvetica, Arial, sans-serif;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(248, 250, 252, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.top .wrap { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; text-decoration: none; letter-spacing: -0.03em; }
.brand svg { width: 28px; height: 28px; }
.nav { display: flex; gap: 18px; margin-left: 12px; }
.nav a { text-decoration: none; color: var(--muted); font-size: 15px; }
.nav a:hover { color: var(--ink); }
.actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.login { text-decoration: none; font-weight: 600; }
.btn, .btn-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 650;
}
.btn { background: var(--ink); color: white; }
.btn:hover { background: var(--indigo-dark); }
.btn-line { border: 1px solid var(--line); background: white; }

.hero { padding: 72px 0 36px; }
.eyebrow { margin: 0 0 12px; color: var(--indigo); font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 0; font-size: clamp(40px, 6vw, 68px); line-height: 1.02; letter-spacing: -0.045em; max-width: 14ch; }
.lead { max-width: 62ch; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin: 36px 0 10px; }
.flow span {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
  font-size: 14px;
}
.flow-note { color: var(--muted); margin-top: 0; }

section { padding: 28px 0; }
h2 { font-size: clamp(28px, 4vw, 40px); letter-spacing: -0.04em; margin: 0 0 8px; }
.intro { color: var(--muted); max-width: 68ch; }

.cards, .split, .prices { display: grid; gap: 14px; }
.cards { grid-template-columns: repeat(4, 1fr); }
.split { grid-template-columns: 1.1fr 0.9fr; align-items: start; }
.card, .panel, .price {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.card h3, .panel h3, .price h3 { margin: 8px 0; letter-spacing: -0.03em; }
.card p, .panel p, .price p { margin: 0; color: var(--muted); }
.tag { display: inline-block; border-radius: 999px; padding: 2px 8px; font-size: 12px; font-weight: 700; }
.tag.now { background: var(--ok-bg); color: var(--ok); }
.tag.soon, .tag.off { background: var(--soon-bg); color: var(--soon); }

.controls { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.controls button {
  border: 1px solid var(--line);
  background: white;
  border-radius: 999px;
  min-height: 36px;
  padding: 0 12px;
  font: inherit;
  cursor: pointer;
}
.controls button[aria-pressed="true"] { background: var(--ink); color: white; border-color: var(--ink); }
.prices { grid-template-columns: repeat(5, 1fr); align-items: stretch; }
.price.featured { border-color: #c7d2fe; outline: 2px solid #c7d2fe; }
.amount { font-size: 28px; letter-spacing: -0.04em; margin: 8px 0; }
.amount small { font-size: 14px; color: var(--muted); font-weight: 600; }
.price ul { margin: 12px 0 16px; padding-left: 18px; color: var(--muted); }
.price .btn, .price .btn-line { width: 100%; }

.faq details { background: white; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin-bottom: 8px; }
.faq summary { cursor: pointer; font-weight: 700; }
.final { background: white; border: 1px solid var(--line); border-radius: 24px; padding: 36px; text-align: center; }
.final p { color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding: 28px 0 48px; color: var(--muted); }
.foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 18px; }
.foot a { color: var(--ink); }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 6px 0; }
.disclosure { grid-column: 1 / -1; }

@media (max-width: 980px) {
  .nav { display: none; }
  .flow, .cards, .prices, .split, .foot .wrap { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .flow, .cards, .prices, .split, .foot .wrap { grid-template-columns: 1fr; }
  .actions .login { display: none; }
}
