:root {
  --brand: #4333a5;
  --brand-dark: #2f2380;
  --brand-soft: #eeebfb;
  --accent: #0ea5e9;
  --ink: #12101f;
  --muted: #5d5a73;
  --line: #e4e2ef;
  --bg: #ffffff;
  --tint: #f7f6fc;
  --ok: #0f7a4f;
  --ok-bg: #e7f7ef;
  --err: #b42318;
  --err-bg: #fdeceb;
  --radius: 16px;
  --shadow: 0 10px 30px -12px rgba(46, 33, 128, 0.25);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--brand); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 100; border-radius: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 800; }
.brand em { font-style: normal; color: var(--brand); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { text-decoration: none; color: var(--muted); font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--brand); }
.nav a.btn { color: #fff; }
.brand span, .nav a { white-space: nowrap; }
@media (max-width: 760px) {
  .nav a:not(.btn):not(.nav-signin) { display: none; }
  .nav { gap: 14px; }
}
@media (max-width: 420px) {
  .nav-signin { display: none; }
  .brand { font-size: 0.95rem; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 14px 22px; border-radius: 12px; border: 0;
  background: var(--brand); color: #fff; font: inherit; font-weight: 700;
  text-decoration: none; cursor: pointer; transition: background 0.15s, transform 0.15s;
}
.btn:hover { background: var(--brand-dark); }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn-small { padding: 9px 16px; font-size: 0.95rem; }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px var(--brand-soft); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-block { width: 100%; }

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0;
  background:
    radial-gradient(900px 400px at 85% 0%, rgba(14, 165, 233, 0.14), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(67, 51, 165, 0.12), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } }
.eyebrow { color: var(--brand); font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; margin: 0 0 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; margin: 0 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.paused { margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: #fff7e6; color: #8a5300; font-weight: 600; }

.hero-card {
  background: linear-gradient(160deg, var(--brand) 0%, #5b3fd1 55%, #2c7fd6 100%);
  color: #fff; border-radius: 24px; padding: 32px; box-shadow: var(--shadow);
}
.hero-card-kicker { margin: 0; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.75rem; font-weight: 800; opacity: 0.8; }
.hero-card-big { margin: 6px 0 0; font-size: 2.4rem; font-weight: 800; line-height: 1.1; }
.hero-card-sub { margin: 4px 0 20px; opacity: 0.85; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { position: relative; padding-left: 26px; }
.checks li::before { content: "✓"; position: absolute; left: 0; font-weight: 800; color: #a7f3d0; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-tint { background: var(--tint); border-block: 1px solid var(--line); }
.section-lead { color: var(--muted); font-size: 1.05rem; max-width: 40em; margin: 0 0 28px; }
.note { color: var(--muted); font-size: 0.92rem; margin: 16px 0 0; }

.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.steps li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.steps p { margin: 0; color: var(--muted); }
.step-num {
  display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px;
  background: var(--brand-soft); color: var(--brand); font-weight: 800; margin-bottom: 14px;
}

/* Packs */
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.pack {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 6px; position: relative;
}
.pack-featured { border: 2px solid var(--brand); box-shadow: var(--shadow); }
.pack-badge {
  position: absolute; top: -12px; left: 22px; background: var(--brand); color: #fff;
  font-size: 0.75rem; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: 0.04em;
}
.pack-free { background: linear-gradient(160deg, #f1fbf6, #fff); border-color: #bfe8d3; }
.pack-free .pack-badge { background: var(--ok); }
.pack-name { color: var(--muted); font-weight: 700; margin: 0; }
.pack-accounts { font-size: 2.4rem; font-weight: 800; line-height: 1; margin: 6px 0 0; }
.pack-accounts small { font-size: 1rem; color: var(--muted); font-weight: 600; }
.pack-price { font-size: 1.5rem; font-weight: 800; margin: 12px 0 0; }
.pack-per { color: var(--muted); font-size: 0.92rem; margin: 0; }
.pack-skeleton { min-height: 190px; background: linear-gradient(90deg, #f1f0f7, #f8f7fc, #f1f0f7); background-size: 200% 100%; animation: shimmer 1.4s infinite; border: 0; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* Features */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; gap: 24px; } }
.features { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.features li { padding-left: 30px; position: relative; color: var(--muted); }
.features li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 16px; height: 16px;
  border-radius: 5px; background: var(--brand-soft); box-shadow: inset 0 0 0 4px var(--brand);
}
.features strong { color: var(--ink); }

/* Form */
.apply-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: start; }
@media (max-width: 880px) { .apply-grid { grid-template-columns: 1fr; gap: 20px; } }
.aside { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 26px; box-shadow: var(--shadow); display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.field label { font-weight: 700; font-size: 0.95rem; }
.field small { color: var(--muted); font-size: 0.85rem; }
.opt { color: var(--muted); font-weight: 500; }
.field input, .field textarea {
  font: inherit; color: var(--ink); width: 100%;
  padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field-error { color: var(--err); font-size: 0.85rem; font-weight: 600; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-result { margin: 0; padding: 12px 14px; border-radius: 10px; font-weight: 600; }
.form-result.ok { background: var(--ok-bg); color: var(--ok); }
.form-result.err { background: var(--err-bg); color: var(--err); }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--brand); font-weight: 800; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: 0.92rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-inner p { margin: 0; }
