:root {
  color-scheme: dark;
  --bg: #090a10;
  --panel: #12141d;
  --panel-soft: #171a25;
  --line: #302a45;
  --text: #f7f7fb;
  --muted: #aeb3c2;
  --purple: #8b5cf6;
  --pink: #ec4899;
  --success: #55d6a8;
  --warning: #f3c969;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 0%, rgba(139, 92, 246, .18), transparent 34rem),
    radial-gradient(circle at 95% 20%, rgba(236, 72, 153, .12), transparent 30rem),
    var(--bg);
  color: var(--text);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }

.shell {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 19px;
  font-weight: 900;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple), var(--pink));
  box-shadow: 0 10px 28px rgba(139, 92, 246, .28);
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
}

.site-nav a { text-decoration: none; }
.site-nav a:hover { color: var(--text); }

.hero {
  padding: 72px 0 46px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: #c4b5fd;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .14em;
}

h1, h2, h3 { margin-top: 0; line-height: 1.15; }

h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  font-size: clamp(36px, 6vw, 64px);
  letter-spacing: -.045em;
}

.hero-copy {
  max-width: 690px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 18px;
}

.review-note {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  margin-top: 24px;
  padding: 9px 13px;
  border: 1px solid rgba(243, 201, 105, .28);
  border-radius: 999px;
  background: rgba(243, 201, 105, .08);
  color: #f8dda1;
  font-size: 13px;
}

.plans {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 880px;
  margin: 0 auto;
  padding: 24px 0 56px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 20, 29, .92);
  box-shadow: 0 18px 52px rgba(0, 0, 0, .2);
}

.plan.recommended {
  border-color: rgba(139, 92, 246, .8);
  background: linear-gradient(180deg, rgba(139, 92, 246, .12), rgba(18, 20, 29, .95) 35%);
}

.badge {
  align-self: flex-start;
  margin-bottom: 16px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(139, 92, 246, .18);
  color: #d8ccff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}

.plan h2 { margin-bottom: 9px; font-size: 24px; }

.plan-summary { min-height: 52px; margin: 0; color: var(--muted); }

.price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin: 24px 0 4px;
}

.price strong { font-size: 42px; letter-spacing: -.035em; }
.price span, .renewal { color: var(--muted); }
.renewal { min-height: 48px; margin: 0; font-size: 13px; }

.features {
  display: grid;
  gap: 11px;
  margin: 24px 0 30px;
  padding: 0;
  list-style: none;
}

.features li { display: flex; gap: 10px; }
.features li::before { content: "✓"; color: var(--success); font-weight: 900; }

.button {
  display: inline-flex;
  justify-content: center;
  margin-top: auto;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel-soft);
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
}

.recommended .button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--purple), var(--pink));
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  padding: 0 0 70px;
}

.detail-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(18, 20, 29, .78);
}

.detail-card h3 { margin-bottom: 8px; font-size: 18px; }
.detail-card p { margin: 0; color: var(--muted); }

.legal {
  max-width: 820px;
  padding: 62px 0 80px;
}

.legal h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 52px); }
.legal .updated { margin-bottom: 32px; color: var(--muted); }
.legal section { margin-top: 34px; }
.legal h2 { font-size: 22px; }
.legal p, .legal li { color: var(--muted); }
.legal strong { color: var(--text); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-links a { text-decoration: none; }

.reset-shell { min-height: 100vh; display: flex; flex-direction: column; }
.reset-main { flex: 1; display: grid; place-items: center; padding: 54px 0 80px; }
.reset-card {
  width: min(520px, 100%);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(18, 20, 29, .92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}
.reset-card h1 { margin: 4px 0 10px; font-size: 34px; letter-spacing: -.035em; }
.reset-card > p:not(.eyebrow) { color: var(--muted); }
.reset-card form { display: grid; gap: 14px; margin-top: 24px; }
.reset-card label { color: #d7d4df; font-size: 13px; font-weight: 800; }
.reset-card input {
  width: 100%;
  min-height: 46px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: #0c0e15;
  color: var(--text);
  font: inherit;
}
.reset-card button { width: 100%; cursor: pointer; }
.reset-card button:disabled { cursor: wait; opacity: .6; }
.reset-status { min-height: 24px; color: #fda4af !important; font-size: 13px; }
.reset-status.success { color: #9de7cb !important; }

@media (max-width: 850px) {
  .plans, .details-grid { grid-template-columns: 1fr; }
  .plan-summary, .renewal { min-height: 0; }
}

@media (max-width: 620px) {
  .site-header, .site-footer { align-items: flex-start; flex-direction: column; }
  .site-nav { flex-wrap: wrap; }
  .hero { padding-top: 42px; }
  .plan { padding: 24px; }
}
