* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --ink: #10203a;
  --muted: #5b6b84;
  --accent: #1554d1;
  --accent-dark: #0f3d9a;
  --bg: #f6f8fc;
  --card: #ffffff;
  --line: #dfe6f1;
  --ok: #0d8a5f;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

.wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }

header.nav {
  background: var(--card);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 10;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.logo { font-size: 1.3rem; font-weight: 800; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links a { margin-left: 22px; color: var(--muted); text-decoration: none; font-weight: 600; }
.nav-links a.btn { color: #fff; }

.btn {
  display: inline-block; background: var(--accent); color: #fff;
  padding: 10px 22px; border-radius: 8px; text-decoration: none;
  font-weight: 700; border: none; font-size: 1rem; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); }
.btn.big { padding: 14px 30px; font-size: 1.05rem; }

.hero { text-align: center; padding: 72px 0 56px; }
.hero h1 { font-size: 2.6rem; line-height: 1.2; max-width: 720px; margin: 0 auto 18px; }
.hero p.sub { font-size: 1.2rem; color: var(--muted); max-width: 640px; margin: 0 auto 30px; }

section { padding: 56px 0; }
section h2 { text-align: center; font-size: 1.9rem; margin-bottom: 36px; }

.grid3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.feature {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 12px; padding: 26px;
}
.feature h3 { margin-bottom: 8px; font-size: 1.1rem; }
.feature p { color: var(--muted); font-size: 0.97rem; }
.feature .n {
  display: inline-flex; width: 34px; height: 34px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800;
  align-items: center; justify-content: center; margin-bottom: 14px;
}

.pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  background: var(--card); border: 1px solid var(--line); border-radius: 12px;
  padding: 28px 24px; display: flex; flex-direction: column;
}
.plan.hi { border: 2px solid var(--accent); position: relative; }
.plan.hi .tag {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #fff; font-size: 0.75rem; font-weight: 700;
  padding: 2px 12px; border-radius: 99px; white-space: nowrap;
}
.plan h3 { font-size: 1.15rem; margin-bottom: 6px; }
.plan .price { font-size: 1.7rem; font-weight: 800; margin-bottom: 2px; }
.plan .per { color: var(--muted); font-size: 0.85rem; margin-bottom: 16px; }
.plan ul { list-style: none; flex: 1; margin-bottom: 20px; }
.plan li { padding: 5px 0 5px 24px; position: relative; color: var(--muted); font-size: 0.95rem; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 700; }
.plan .btn { text-align: center; }
.pricing-note { text-align: center; color: var(--muted); font-size: 0.9rem; margin-top: 22px; }

.register { background: var(--card); border-top: 1px solid var(--line); }
.reg-box { max-width: 460px; margin: 0 auto; }
.reg-box form { display: flex; flex-direction: column; gap: 14px; }
.reg-box input[type="text"], .reg-box input[type="email"], .reg-box input[type="password"] {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px;
  font-size: 1rem; background: var(--bg);
}
.reg-box label.consent { font-size: 0.85rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.reg-box .err { color: #b3261e; font-size: 0.9rem; min-height: 1.2em; }

footer { padding: 34px 0; color: var(--muted); font-size: 0.88rem; text-align: center; }
footer a { color: var(--muted); }

@media (max-width: 640px) {
  .hero h1 { font-size: 1.9rem; }
  .nav-links a:not(.btn) { display: none; }
}
