*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #0d1117;
  --bg-elevated: #161b22;
  --bg-panel: #1c2128;
  --border: #30363d;
  --border-subtle: #21262d;
  --text: #e6edf3;
  --text-muted: #8b949e;
  --text-dim: #6e7681;
  --accent: #58a6ff;
  --accent-strong: #1f6feb;
  --accent-glow: rgba(88, 166, 255, 0.15);
  --green: #3fb950;
  --orange: #d29922;
  --purple: #a371f7;
  --radius: 10px;
  --radius-lg: 16px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --max-width: 1120px;
}

[data-bs-theme="dark"] {
  --bs-body-bg: #0d1117;
  --bs-body-color: #e6edf3;
  --bs-emphasis-color: #e6edf3;
  --bs-secondary-color: #8b949e;
  --bs-tertiary-color: #6e7681;
  --bs-border-color: #30363d;
  --bs-primary: #1f6feb;
  --bs-primary-rgb: 31, 111, 235;
  --bs-link-color: #58a6ff;
  --bs-link-hover-color: #79b8ff;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  text-decoration: underline;
}

code,
kbd {
  font-family: var(--font-mono);
  font-size: 0.875em;
}

code {
  padding: 0.15em 0.4em;
  background: var(--bg-panel);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
}

kbd {
  display: inline-block;
  padding: 0.1em 0.45em;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: 0 1px 0 var(--border);
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(12px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
}

.brand:hover {
  text-decoration: none;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a:not(.btn) {
  color: var(--text-muted);
  font-size: 14px;
  text-decoration: none;
}

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

.site-nav .nav-cta.btn-primary {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  color: #fff !important;
  background: var(--accent-strong);
  border-color: rgba(255, 255, 255, 0.1);
}

.site-nav .nav-cta.btn-primary:hover,
.site-nav .nav-cta.btn-primary:focus,
.site-nav .nav-cta.btn-primary:active {
  color: #fff !important;
  background: #388bfd;
  text-decoration: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.btn:hover {
  text-decoration: none;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  color: #fff;
  background: var(--accent-strong);
  border-color: rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  color: #fff;
  background: #388bfd;
  text-decoration: none;
}

.btn-secondary {
  color: var(--text);
  background: var(--bg-panel);
  border-color: var(--border);
}

.btn-secondary:hover {
  background: var(--bg-elevated);
  border-color: var(--text-dim);
  text-decoration: none;
}

.btn-lg {
  padding: 14px 24px;
  font-size: 15px;
  border-radius: 10px;
}

/* Hero */

.hero {
  position: relative;
  padding: 80px 0 72px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, var(--accent-glow), transparent),
    linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: auto, 48px 48px, 48px 48px;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 6px 12px;
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-badge span {
  width: 6px;
  height: 6px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--green);
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-lead {
  margin: 0 0 28px;
  max-width: 480px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text-muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
}

.hero-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Lightweight */

#lightweight .section-header {
  margin-bottom: 28px;
}

.lightweight-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 36px;
}

.lightweight-stat {
  padding: 18px 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: left;
}

.lightweight-stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.lightweight-stat p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .lightweight-stats {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

/* App preview mock */

.app-preview {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 24px 48px rgba(0, 0, 0, 0.45);
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-subtle);
}

.app-titlebar .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.app-titlebar .dot.red { background: #ff5f57; }
.app-titlebar .dot.yellow { background: #febc2e; }
.app-titlebar .dot.green { background: #28c840; }

.app-titlebar span {
  margin-left: 8px;
  font-size: 12px;
  color: var(--text-dim);
}

.app-body {
  display: grid;
  grid-template-columns: 160px 1fr 140px;
  min-height: 280px;
}

.app-panel {
  padding: 12px 10px;
  border-right: 1px solid var(--border-subtle);
  font-size: 11px;
}

.app-panel:last-child {
  border-right: none;
}

.app-panel-label {
  margin-bottom: 10px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.app-item {
  padding: 5px 8px;
  margin-bottom: 3px;
  border-radius: 4px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.app-item.active {
  background: rgba(31, 111, 235, 0.25);
  color: #cce7ff;
}

.app-terminal {
  padding: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.7;
  background: #0a0e14;
}

.app-terminal .prompt {
  color: var(--green);
}

.app-terminal .cmd {
  color: var(--text);
}

.app-terminal .out {
  color: var(--text-dim);
}

.app-terminal .cursor {
  display: inline-block;
  width: 7px;
  height: 14px;
  background: var(--text-muted);
  vertical-align: text-bottom;
  animation: blink 1.2s step-end infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

/* Sections */

section {
  padding: 72px 0;
}

section:nth-child(even) {
  background: var(--bg-elevated);
}

.section-header {
  margin-bottom: 48px;
  text-align: center;
}

.section-header h2 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0 auto;
  max-width: 560px;
  color: var(--text-muted);
  font-size: 17px;
}

/* Features */

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

.feature-card {
  padding: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.15s;
}

section:nth-child(even) .feature-card {
  background: var(--bg-panel);
}

.feature-card:hover {
  border-color: var(--text-dim);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  font-size: 18px;
  border-radius: 8px;
}

.feature-icon.blue { background: rgba(88, 166, 255, 0.12); }
.feature-icon.green { background: rgba(63, 185, 80, 0.12); }
.feature-icon.orange { background: rgba(210, 153, 34, 0.12); }
.feature-icon.purple { background: rgba(163, 113, 247, 0.12); }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.feature-card p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Workflow */

.workflow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.workflow-step {
  position: relative;
  padding: 28px 24px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.workflow-step::before {
  counter-increment: step;
  content: counter(step);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 50%;
}

.workflow-step h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.workflow-step p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Download */

.download-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 40px;
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(163, 113, 247, 0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}

.download-box h2 {
  margin: 0 0 8px;
  font-size: 1.5rem;
}

.download-box p {
  margin: 0;
  color: var(--text-muted);
  font-size: 15px;
}

.download-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.download-note {
  font-size: 12px;
  color: var(--text-dim);
}

/* Footer */

.site-footer {
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
}

.site-footer .container {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.footer-main {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-tagline {
  margin: 0;
  font-size: 13px;
  color: var(--text-dim);
}

.footer-copy {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

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

.footer-links a {
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}

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

/* Responsive */

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero {
    padding-top: 48px;
  }

  .app-preview {
    max-width: 520px;
    margin-inline: auto;
  }

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

  .download-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .download-actions {
    align-items: center;
  }
}

@media (max-width: 640px) {
  .site-nav a:not(.btn) {
    display: none;
  }

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

  .app-body {
    grid-template-columns: 120px 1fr;
  }

  .app-body .app-panel:last-child {
    display: none;
  }
}

.pricing-grid {
  align-items: stretch;
  max-width: 720px;
  margin-inline: auto;
  grid-template-columns: repeat(2, 1fr);
}

.pricing-split-intro {
  max-width: 720px;
  margin: 0 auto 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.pricing-grid-with-plus {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  max-width: 720px;
  margin-inline: auto;
}

.pricing-grid-plus {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  color: var(--text-dim);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1;
}

.pricing-or-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 720px;
  margin: 28px auto;
}

.pricing-or-line {
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

.pricing-or-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  max-width: 360px;
  text-align: center;
}

.pricing-or-label {
  display: inline-block;
  padding: 2px 12px;
  border-radius: 999px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  color: var(--text-dim);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-or-title {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.45;
}

.pricing-card-bundle {
  max-width: 720px;
  margin: 0 auto 36px;
  position: relative;
  border-color: rgba(143, 217, 168, 0.35);
  box-shadow: 0 0 0 1px rgba(143, 217, 168, 0.12);
}

.pricing-bundle-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(143, 217, 168, 0.14);
  color: #8fd9a8;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

#pricing .pricing-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: center;
}

#pricing .checkout-actions {
  align-items: center;
  margin-top: auto;
  padding-top: 16px;
  width: 100%;
}

#pricing .checkout-actions:not(.checkout-actions-inline) .btn {
  width: 100%;
}

#pricing .checkout-actions-inline {
  flex-direction: row;
  justify-content: center;
  gap: 10px;
}

#pricing .checkout-actions-inline .btn {
  flex: 1;
  min-width: 0;
  max-width: 140px;
}

.pricing-card .price-tag {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 2.75rem;
  margin: 0 0 4px;
  font-size: 14px;
  color: #8fd9a8;
  font-weight: 600;
}

.pricing-card .pricing-card-meta {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 2.75rem;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.4;
  color: #858585;
}

.pricing-card .pricing-card-desc {
  flex: 1 1 auto;
  margin: 0;
  text-align: center;
}

.checkout-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}

.pricing-guarantee {
  margin-top: 10px;
  font-size: 14px;
  color: var(--text-dim);
}

.pricing-guarantee a {
  color: var(--accent);
}

#pricing .section-header {
  margin-bottom: 28px;
}

.pricing-flow {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: 720px;
  margin: 0 auto 36px;
}

.pricing-flow-step {
  padding: 18px 16px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}

.pricing-flow-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  background: var(--accent-glow);
  border-radius: 50%;
}

.pricing-flow-step h3 {
  margin: 0 0 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}

.pricing-flow-optional {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.pricing-flow-step p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-muted);
}

@media (max-width: 720px) {
  .pricing-flow {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.pricing-note {
  margin-top: 20px;
  color: #858585;
  font-size: 14px;
  text-align: center;
}

.pricing-note[hidden] {
  display: none;
}

.checkout-actions button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.launch-banner {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid rgba(143, 217, 168, 0.35);
  background: rgba(143, 217, 168, 0.08);
  color: #c8ead4;
  font-size: 14px;
  text-align: center;
}

.launch-banner[hidden] {
  display: none;
}

.launch-banner strong {
  color: #8fd9a8;
  margin-right: 6px;
}

.price-launch {
  color: #8fd9a8;
  font-weight: 700;
}

.price-list {
  color: #666;
  text-decoration: line-through;
  font-weight: 400;
  font-size: 0.92em;
  margin-left: 4px;
}

.plan-compare-wrap {
  max-width: 820px;
  margin: 36px auto 0;
}

.plan-compare-title,
.competitor-note-title {
  text-align: center;
  font-size: 16px;
  margin: 0 0 14px;
  color: #d4d4d4;
}

.plan-compare-scroll {
  overflow-x: auto;
}

.plan-compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.plan-compare th,
.plan-compare td {
  border: 1px solid #3c3c3c;
  padding: 10px 12px;
  text-align: left;
}

.plan-compare thead th {
  background: #2d2d30;
  color: #ccc;
  font-weight: 600;
}

.plan-compare tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.plan-compare td:not(:first-child) {
  text-align: center;
  white-space: nowrap;
}

.plan-compare-addon .plan-compare-section td {
  background: rgba(143, 217, 168, 0.06);
  border-top: 2px solid rgba(143, 217, 168, 0.2);
  text-align: left;
  white-space: normal;
  padding-top: 14px;
  padding-bottom: 14px;
}

.plan-compare-section-title {
  display: block;
  color: #d4d4d4;
  font-weight: 600;
  font-size: 13px;
}

.plan-compare-section-meta {
  display: block;
  margin-top: 4px;
  color: #858585;
  font-size: 12px;
  font-weight: 400;
}

.plan-compare-addon-feature {
  padding-left: 20px;
}

.plan-compare-addon-feature::before {
  content: '└ ';
  color: #666;
}

.plan-compare-muted {
  color: #666;
}

.plan-compare-yes {
  color: #8fd9a8;
  font-weight: 600;
}

.competitor-note {
  max-width: 720px;
  margin: 32px auto 0;
  padding: 16px 18px;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.02);
}

.competitor-note ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #858585;
  font-size: 14px;
  line-height: 1.55;
}

.competitor-note li + li {
  margin-top: 10px;
}

@media (max-width: 720px) {
  .pricing-grid,
  .pricing-grid-with-plus {
    grid-template-columns: 1fr;
  }

  .pricing-grid-plus {
    margin: 4px auto;
  }

  .pricing-or-divider {
    margin: 20px auto;
  }
}

/* Bootstrap UI sections (FAQ + feedback) */

#faq {
  background: var(--bg-elevated);
}

.faq-wrap,
.feedback-wrap {
  max-width: 760px;
  margin-inline: auto;
}

#faq .accordion {
  --bs-accordion-bg: var(--bg);
  --bs-accordion-border-color: var(--border);
  --bs-accordion-btn-bg: var(--bg-panel);
  --bs-accordion-btn-color: var(--text);
  --bs-accordion-active-bg: rgba(88, 166, 255, 0.12);
  --bs-accordion-active-color: var(--accent);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem var(--accent-glow);
}

#faq .accordion-button {
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.45;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
}

#faq .accordion-body {
  padding: 1.25rem 1.5rem 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-muted);
}

#feedback .card {
  background: var(--bg-elevated);
  border-color: var(--border) !important;
}

#feedback .card-header {
  background: linear-gradient(135deg, rgba(31, 111, 235, 0.12), rgba(163, 113, 247, 0.06));
}

#feedback .form-label {
  font-weight: 600;
  color: var(--text);
}

#feedback .form-control {
  background: var(--bg);
  border-color: var(--border);
  color: var(--text);
}

#feedback .form-control:focus {
  background: var(--bg-panel);
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem var(--accent-glow);
}

.feedback-status {
  font-size: 0.9375rem;
  text-align: center;
  color: var(--text-muted);
}

.feedback-status--success {
  color: var(--green);
}

.feedback-status--error {
  color: #f85149;
}

.feedback-status--pending {
  color: var(--text-dim);
}

.feedback-status[hidden] {
  display: none;
}

.purchase-page,
.checkout-page {
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px 56px;
}

.form-shell {
  width: min(360px, calc(100vw - 32px));
  flex: 0 0 auto;
}

.form-card {
  width: 100%;
  padding: 26px 24px 22px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.03),
    0 16px 40px rgba(0, 0, 0, 0.35);
}

.form-card::before {
  content: '';
  display: block;
  width: 40px;
  height: 3px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-strong), var(--purple));
}

.form-eyebrow {
  margin: 0 0 6px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.form-card h1 {
  margin: 0 0 10px;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.form-lead {
  margin: 0 0 20px;
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.55;
}

.form-label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 18px;
}

.form-actions .btn {
  width: 100%;
  justify-content: center;
  padding: 11px 16px;
}

.form-hint {
  margin: 18px 0 0;
  font-size: 0.8125rem;
  color: var(--text-dim);
  line-height: 1.55;
}

.form-hint[hidden] {
  display: none;
}

.purchase-form {
  margin: 0;
}

.license-key-input {
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  padding: 10px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--green);
}

.license-key-input:focus {
  background: var(--bg-panel);
  border-color: var(--accent);
  box-shadow: 0 0 0 0.25rem var(--accent-glow);
  color: var(--text);
}

.license-key-input::placeholder {
  color: var(--text-dim);
}

.purchase-page h1 {
  margin-bottom: 12px;
}

.checkout-status {
  color: var(--text-muted);
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.checkout-status.checkout-error {
  color: #f85149;
}

.checkout-message {
  color: #f85149;
  margin: 0 0 16px;
  line-height: 1.5;
  font-size: 0.9rem;
}

.checkout-message[hidden] {
  display: none;
}

.checkout-card .form-actions {
  margin-top: 20px;
}

.purchase-support {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--border-subtle);
}

.subscription-steps {
  margin: 0 0 20px;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.subscription-steps li + li {
  margin-top: 8px;
}

#desktop-panel[hidden],
#subscription-panel[hidden] {
  display: none !important;
}

.license-key-box {
  background: #1e1e1e;
  border: 1px solid #3c3c3c;
  border-radius: 8px;
  padding: 16px;
  margin: 20px 0;
}

.license-key-box code {
  display: block;
  margin-top: 8px;
  font-size: 18px;
  color: #8fd9a8;
}

.legal-page {
  padding: 48px 0 80px;
  max-width: 720px;
}

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

.legal-meta {
  color: var(--text-muted);
  margin-bottom: 32px;
}

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

.legal-page h3 {
  margin: 20px 0 8px;
  font-size: 1rem;
  color: var(--text-muted);
}

.legal-page p,
.legal-page li {
  color: var(--text-muted);
}

.legal-page ul {
  padding-left: 1.25rem;
}

.legal-page a {
  color: var(--accent);
}
