:root {
  color-scheme: dark;
  --bg: #15100f;
  --panel: #211817;
  --panel-strong: #2b201f;
  --text: #f6eeee;
  --muted: #cdbebe;
  --line: #4a3937;
  --accent: #df6d35;
  --accent-strong: #f08b42;
  --blue: #70a8ff;
  --green: #71d49a;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(21, 16, 15, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 750;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.72fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  min-height: calc(100svh - 77px);
  padding: clamp(34px, 7vw, 92px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(120deg, rgba(223, 109, 53, 0.12), transparent 42%),
    var(--bg);
}

.hero-copy {
  max-width: 780px;
}

.eyebrow,
.panel-label {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: clamp(40px, 6vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.lead {
  max-width: 660px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.55;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 760;
  cursor: pointer;
}

.button.primary,
.button.pay-button {
  background: var(--accent);
  color: #1b100d;
}

.button.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.button:hover {
  filter: brightness(1.08);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  max-width: 720px;
  margin: 40px 0 0;
}

.stats div,
.feature-grid article,
.checkout,
.download {
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(33, 24, 23, 0.9);
  box-shadow: var(--shadow);
}

.stats div {
  padding: 16px;
}

.stats dt {
  margin-bottom: 7px;
  color: var(--green);
  font-size: 20px;
  font-weight: 800;
}

.stats dd {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.checkout {
  padding: clamp(18px, 3vw, 30px);
}

.checkout h2 {
  font-size: 30px;
}

.plan-list {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.plan-option {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.plan-option.is-active {
  border-color: var(--accent);
  background: var(--panel-strong);
}

.plan-name {
  display: block;
  font-size: 17px;
  font-weight: 780;
}

.plan-meta {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.plan-price {
  color: var(--blue);
  font-size: 19px;
  font-weight: 820;
}

.pay-form {
  display: grid;
  gap: 13px;
}

.pay-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

.field-label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}

.pay-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171110;
  color: var(--text);
  font: inherit;
}

.pay-form input:focus {
  outline: 2px solid rgba(223, 109, 53, 0.42);
  outline-offset: 2px;
}

.pay-button {
  width: 100%;
  margin-top: 4px;
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.payment-method {
  min-height: 86px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171110;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.payment-method.is-active {
  border-color: var(--accent);
  background: var(--panel-strong);
}

.payment-method-title,
.payment-method-description {
  display: block;
}

.payment-method-title {
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 780;
}

.payment-method-description {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.payment-status {
  margin-top: 16px;
  padding: 13px;
  border: 1px solid rgba(112, 168, 255, 0.28);
  border-radius: 8px;
  color: var(--muted);
  background: rgba(112, 168, 255, 0.08);
  font-size: 14px;
  line-height: 1.45;
}

.payment-status strong,
.payment-status code {
  color: var(--text);
}

.section,
.download {
  margin: 0 clamp(18px, 5vw, 72px) clamp(26px, 5vw, 72px);
}

.section {
  padding: clamp(38px, 6vw, 74px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-head p,
.download p,
.feature-grid p {
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.download {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(24px, 4vw, 42px);
}

.download h2 {
  font-size: clamp(26px, 3.2vw, 38px);
}

.support {
  padding-bottom: 90px;
}

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .topnav {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

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

  .download {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 38px;
  }

  .hero-actions,
  .download-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }
}
