:root {
  --bg: #0b0d17;
  --bg-raised: #12152388;
  --text: #e8e9f3;
  --text-dim: #9598b0;
  --line: #ffffff1a;
  --blue: #5b8cff;
  --violet: #a78bfa;
  --gradient: linear-gradient(135deg, var(--blue), var(--violet));
  --danger: #ff6b6b;
  --good: #4ade80;
  --radius: 14px;
  --shadow: 0 8px 30px #00000055;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #f7f7fb;
    --bg-raised: #ffffff;
    --text: #16182a;
    --text-dim: #5b5e78;
    --line: #00000014;
    --shadow: 0 8px 24px #0000000f;
  }
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark light;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Inter, Roboto, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Header */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.05rem;
  text-decoration: none;
}

.brand img {
  width: 28px;
  height: 28px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
}

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

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

/* Buttons */

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary {
  background: var(--gradient);
  color: #0b0d17;
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
}

/* Hero */

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

.hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  line-height: 1.15;
  margin: 0 0 18px;
  max-width: 760px;
  margin-inline: auto;
}

.hero .accent {
  color: var(--blue);
}

.hero p.lead {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Sections */

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

section h2 {
  font-size: 1.7rem;
  margin: 0 0 12px;
}

section > .wrap > p.section-lead {
  color: var(--text-dim);
  max-width: 640px;
  margin: 0 0 32px;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 720px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

/* Feature grid */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.feature-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}

.feature-card .icon {
  font-size: 1.4rem;
  margin-bottom: 10px;
  display: block;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.92rem;
}

/* Compare table */

.compare-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
  background: var(--bg-raised);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.compare-table th {
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.compare-table td:nth-child(2),
.compare-table td:nth-child(3),
.compare-table th:nth-child(2),
.compare-table th:nth-child(3) {
  text-align: center;
  width: 110px;
}

.yes {
  color: var(--good);
}

.no {
  color: var(--text-dim);
}

.compare-table tr:last-child td {
  border-bottom: none;
}

/* Pricing */

.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
  align-items: start;
}

.plan-card {
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.plan-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-dim);
  font-weight: 600;
}

.plan-card .price {
  margin: 0;
  font-size: 2.1rem;
  font-weight: 700;
}

.plan-card .price span {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-dim);
}

.plan-card .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--gradient);
  color: #0b0d17;
  width: fit-content;
}

.plan-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--text-dim);
  font-size: 0.92rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.plan-card ul li::before {
  content: '✓ ';
  color: var(--good);
}

.plan-card form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
}

.plan-card input[type='email'] {
  padding: 11px 14px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--text);
  font-size: 0.94rem;
  font-family: inherit;
}

.plan-card input[type='email']:focus {
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

.form-error {
  color: var(--danger);
  font-size: 0.85rem;
  margin: 0;
}

/* FAQ */

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  color: var(--text-dim);
}

/* Footer */

footer {
  border-top: 1px solid var(--line);
  padding: 32px 0 48px;
  color: var(--text-dim);
  font-size: 0.88rem;
}

footer .footer-inner {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

footer a {
  text-decoration: none;
  color: var(--text-dim);
}

footer a:hover {
  color: var(--text);
}

footer .footer-links {
  display: flex;
  gap: 20px;
}

/* Simple pages (privacy / success / cancel) */

.page {
  padding: 64px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.page h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.page .subtitle {
  color: var(--text-dim);
  margin-bottom: 40px;
}

.page h2 {
  font-size: 1.25rem;
  margin: 36px 0 12px;
}

.page ul {
  color: var(--text-dim);
  padding-left: 20px;
}

.page li {
  margin-bottom: 8px;
}

.status-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin-bottom: 20px;
}

details.verify {
  margin-top: 28px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
}

details.verify summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
}

details.verify pre {
  overflow-x: auto;
  font-size: 0.78rem;
  color: var(--text-dim);
  background: var(--bg);
  padding: 12px;
  border-radius: 8px;
  margin-top: 12px;
}
