:root {
  color-scheme: dark;
  --bg: #101214;
  --surface: #171a1d;
  --surface-2: #202428;
  --ink: #d8d6d0;
  --muted: #999a98;
  --line: #34383c;
  --line-strong: #555a5e;
  --accent: #b9a7e8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { min-width: 320px; min-height: 100vh; margin: 0; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 900; letter-spacing: -0.04em; }
.brand img { width: 38px; height: 38px; padding: 6px; border-radius: 7px; background: #080a0c; }
.home-link { color: var(--muted); font-size: 0.9rem; font-weight: 750; }
.home-link:hover,
.home-link:focus-visible { color: var(--accent); }

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(54px, 8vw, 104px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.72fr);
  column-gap: clamp(40px, 8vw, 100px);
  row-gap: 26px;
  align-items: start;
}
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 0.75rem; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; }
h1, h2 { margin: 0; letter-spacing: -0.045em; }
h1 { max-width: 700px; font-size: clamp(3.2rem, 7vw, 6.8rem); line-height: 0.96; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); line-height: 1.02; }
.lede { max-width: 610px; margin: 24px 0 0; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.pricing-section,
.features-section { grid-column: 1 / -1; }
.pricing-section { margin-top: 0; }
.features-section { margin-top: 18px; padding-top: 58px; border-top: 1px solid var(--line); }
.section-heading { display: grid; gap: 0; margin-bottom: 28px; }
.section-heading h2 { max-width: 720px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.plan-card {
  position: relative;
  min-height: 315px;
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--surface);
}
.plan-card.best-value { border-color: var(--accent); background: #1d1e24; }
.value-badge {
  position: absolute;
  top: 18px;
  right: 18px;
  margin: 0;
  padding: 6px 9px;
  border-radius: 6px;
  color: #0d0e10;
  background: var(--accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.plan-name { margin: 0; color: var(--ink); font-weight: 850; }
.plan-price { display: grid; gap: 4px; margin: 30px 0 0; }
.plan-price strong { color: var(--ink); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; letter-spacing: -0.055em; }
.plan-price span { color: var(--muted); font-size: 0.9rem; }
.plan-detail { margin: 22px 0 0; color: #b9b9b5; line-height: 1.5; }
.plan-button { margin-top: auto; }
.renewal-note {
  max-width: 920px;
  margin: 20px 0 0;
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
  color: #aeadab;
  background: var(--surface-2);
  font-size: 0.9rem;
  line-height: 1.6;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.feature-list li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); color: #b9b9b5; }
.feature-list span { color: var(--accent); font-size: 0.76rem; font-weight: 900; letter-spacing: 0.08em; }
.feature-list strong { display: block; color: var(--ink); font-size: 1rem; }
.feature-list p { max-width: 640px; margin: 6px 0 0; color: var(--muted); font-size: 0.94rem; line-height: 1.55; }
.free-note { margin: 24px 0 0; padding: 16px 18px; border-left: 3px solid var(--accent); color: #aeadab; background: var(--surface-2); font-size: 0.9rem; line-height: 1.6; }

.account-panel { padding: clamp(26px, 4vw, 38px); border: 1px solid var(--line-strong); border-radius: 12px; background: var(--surface); }
.panel-copy { margin: 14px 0 0; color: var(--muted); line-height: 1.6; }
form { display: grid; gap: 9px; margin-top: 28px; }
label { margin-top: 8px; color: #b9b9b5; font-size: 0.86rem; font-weight: 750; }
input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: #111416;
  font: inherit;
}
input:focus { outline: 3px solid rgba(185, 167, 232, 0.32); border-color: var(--accent); }
.button {
  width: 100%;
  min-height: 49px;
  margin-top: 18px;
  border: 1px solid var(--line-strong);
  border-radius: 7px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}
.button.primary { color: #080a0c; background: var(--accent); border-color: var(--accent); }
.button:hover,
.button:focus-visible { color: #080a0c; background: var(--ink); }
.button:focus-visible { outline: 3px solid rgba(185, 167, 232, 0.36); outline-offset: 2px; }
.button:disabled { cursor: wait; opacity: 0.6; }
.button.secondary { margin-top: 9px; }
.text-link { display: inline-block; margin: 14px 14px 0 0; color: var(--accent); font-size: 0.86rem; font-weight: 750; }
.text-link:hover,
.text-link:focus-visible { color: var(--ink); }
.account-state { margin: 18px 0 0; padding: 13px 14px; border-left: 3px solid var(--accent); color: #b9b9b5; background: var(--surface-2); font-size: 0.9rem; line-height: 1.5; }
.small-copy,
.security-note,
.status { color: #777b7e; font-size: 0.84rem; line-height: 1.5; }
.small-copy { margin: 20px 0 0; }
.security-note { margin: 24px 0 0; }
.status { min-height: 1.5em; margin: 18px 0 0; color: #c5b9e2; }
.status.is-error { color: #e4aaa7; }
@media (max-width: 820px) {
  .page-shell { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3.1rem, 15vw, 5.5rem); }
  .pricing-grid,
  .feature-list { grid-template-columns: 1fr; }
}
