:root {
  color-scheme: dark;
  --bg: #2a2a2a;
  --bg-soft: #24272a;
  --panel: #282b2f;
  --panel-strong: #282b2f;
  --ink: #e8e8e3;
  --muted: #a5abb1;
  --subtle: #757c83;
  --line: #3a3f44;
  --green: #8fc18d;
  --green-bright: #8fc18d;
  --green-soft: #8fc18d;
  --blue: #87acd4;
  --shadow: 0 8px 26px rgba(0, 0, 0, 0.22);
}

.hidden { display: none !important; }

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
}

a { color: inherit; }

.site-header,
.footer,
.hero,
.section {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.brand img { width: 34px; height: 34px; border-radius: 9px; object-fit: cover; }

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  border-radius: 999px;
  padding: 9px 13px;
  text-decoration: none;
}

.nav a:hover { background: rgb(255 255 255 / 6%); color: var(--ink); }

.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  gap: 52px;
  align-items: center;
  padding: 60px 0 94px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--muted);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 11px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p { margin-top: 0; }

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
  letter-spacing: -0.055em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  letter-spacing: -0.025em;
}

.lede {
  max-width: 650px;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 140ms ease, background 140ms ease, border-color 140ms ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--button-bg, #555555);
  color: var(--ink);
  border: 1px solid var(--line);
}

.button.primary:hover { background: #666b70; }

.button.secondary {
  background: rgb(255 255 255 / 5%);
  border: 1px solid var(--line);
  color: var(--ink);
}

.hero-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: var(--shadow);
  padding: 18px;
}

.hero-card::before { display: none; }

.search-line {
  margin-bottom: 16px;
  border: 1px solid #444b4d;
  border-radius: 16px;
  background: #202224;
  color: var(--ink);
  padding: 15px 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.95rem;
}

.result-card {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgb(30 31 32 / 64%);
  padding: 19px;
}

.result-card p,
.result-card small { color: var(--muted); }

.result-card.muted { opacity: 0.82; }

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 5px 9px;
  font-size: 0.72rem;
  font-weight: 800;
}

.tag { background: var(--panel-soft); color: var(--muted); border: 1px solid var(--line); }

.section {
  padding: 84px 0;
  border-top: 1px solid var(--line);
}

.split {
  display: grid;
  grid-template-columns: 0.78fr 1.22fr;
  gap: 48px;
}

.feature-grid,
.price-cards {
  display: grid;
  gap: 16px;
}

.feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.feature-grid article,
.price-card,
.faq details,
.checkout-form {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  box-shadow: 0 1px 0 rgb(255 255 255 / 4%) inset;
}

.muted-note { color: var(--muted); font-size: .92rem; }
.account-shell { width: min(1060px, calc(100% - 32px)); margin: 0 auto; padding: 42px 0 80px; }
.account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 18px; }
.account-card { border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow); padding: 22px; }
.account-card h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
.account-card h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); }
.account-card label { display: grid; gap: 7px; margin: 12px 0; color: var(--muted); font-weight: 700; }
.account-card input { border: 1px solid var(--line); border-radius: 9px; background: var(--bg-soft); color: var(--ink); padding: 11px 12px; }
.status-line { color: var(--blue); min-height: 1.4em; }
.dashboard-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.license-row { display: grid; gap: 6px; border-top: 1px solid var(--line); padding: 14px 0; }
.license-row code { width: fit-content; border-radius: 8px; background: rgb(255 255 255 / 5%); padding: 5px 7px; color: var(--blue); }

@media (max-width: 820px) { .account-grid { grid-template-columns: 1fr; } }

.admin-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.checkbox-row { display: flex !important; grid-template-columns: none !important; align-items: center; gap: 10px !important; }
.checkbox-row input { width: auto; min-height: auto; }

.feature-grid article { padding: 24px; }

.feature-grid p,
.price-card p,
.faq p,
.pricing-copy p,
ul {
  color: var(--muted);
  line-height: 1.6;
}

.pricing-copy { max-width: 740px; }

.price-cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  margin-top: 28px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  padding: 24px;
}

.price-card.pro {
  border-color: var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.price-card.alt { background: var(--panel); }

.badge {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--panel-soft);
  color: var(--muted);
  border: 1px solid var(--line);
}

.price {
  margin-bottom: 14px;
  color: var(--ink) !important;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -0.06em;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  letter-spacing: 0;
}

ul {
  padding-left: 19px;
}

li { margin: 7px 0; }

.price-card .button {
  width: 100%;
  margin-top: auto;
}

.checkout-form {
  margin-top: 18px;
  padding: 18px;
}

.checkout-form label {
  display: block;
  margin-bottom: 10px;
  font-weight: 800;
}

.email-row {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 14px;
  align-items: center;
}

input {
  width: 100%;
  min-height: 48px;
  border: 1px solid #4b5354;
  border-radius: 999px;
  background: #1b1c1d;
  color: var(--ink);
  padding: 0 18px;
  font: inherit;
}

input:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

input::placeholder { color: var(--subtle); }

#checkout-status {
  margin: 0;
  color: var(--subtle);
  font-size: 0.95rem;
}

.faq details {
  margin-top: 12px;
  padding: 21px 22px;
}

.faq summary {
  cursor: pointer;
  font-size: 1.08rem;
  font-weight: 800;
}

.faq p { margin: 12px 0 0; }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0 48px;
  border-top: 1px solid var(--line);
  color: var(--subtle);
}

.thanks-page {
  min-height: 62vh;
}

@media (max-width: 900px) {
  .hero,
  .split,
  .price-cards {
    grid-template-columns: 1fr;
  }

  .hero { padding-top: 30px; }

  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    gap: 16px;
  }

  .nav {
    gap: 2px;
    font-size: 0.86rem;
  }

  .nav a { padding: 8px 9px; }

  .email-row { grid-template-columns: 1fr; }

  .section { padding: 62px 0; }

  .price-card { min-height: auto; }
}
