:root {
  color-scheme: dark;
  --bg: #090a0c;
  --surface: #111318;
  --surface-2: #181b21;
  --text: #f5f5f3;
  --muted: #9ca1aa;
  --line: #292d35;
  --accent: #f58232;
  --accent-strong: #ff9a52;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 80% 8%, rgba(245, 130, 50, 0.12), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}
a { color: inherit; }

.demo-header,
main,
footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.demo-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-size: 17px;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.brand img { display: block; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.contact-mobile { display: none; }
.header-login,
.text-link {
  color: var(--text);
  font-weight: 650;
  text-underline-offset: 5px;
  text-decoration-color: var(--accent);
}

.hero {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(40px, 8vw, 110px);
  padding: 88px 0;
}
.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p { margin-top: 0; }
h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.96;
  letter-spacing: -0.055em;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}
.hero-text {
  max-width: 650px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}
.button-primary { background: var(--accent); color: #17100b; }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-secondary:hover { border-color: #4b505a; }

.hero-panel {
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}
.hero-panel div {
  display: grid;
  gap: 4px;
  padding: 26px 28px;
  background: rgba(17, 19, 24, 0.88);
  border-bottom: 1px solid var(--line);
}
.hero-panel div:last-child { border-bottom: 0; }
.hero-panel strong { font-size: 20px; }
.hero-panel span { color: var(--muted); font-size: 14px; }

.section { padding: 92px 0; border-top: 1px solid var(--line); }
.section-heading { max-width: 720px; margin-bottom: 46px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-grid article {
  min-height: 250px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
}
.feature-number { margin-bottom: auto; color: var(--accent); font: 700 12px ui-monospace, monospace; }
.feature-grid h3 { margin: 42px 0 10px; font-size: 22px; }
.feature-grid p { margin-bottom: 0; color: var(--muted); }

.flexibility {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 110px);
  align-items: start;
}
.flexibility p:not(.eyebrow) { color: var(--muted); font-size: 19px; }

.trial {
  display: grid;
  grid-template-columns: 1fr minmax(340px, 0.75fr);
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.trial-copy > p:not(.eyebrow),
.payment-note { color: var(--muted); }
.trial-copy ul { margin: 28px 0 0; padding: 0; list-style: none; }
.trial-copy li { margin: 10px 0; }
.trial-copy li::before { content: "✓"; margin-right: 10px; color: var(--accent); font-weight: 800; }
.payment-card {
  position: relative;
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.coming-soon {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 9px;
  border-radius: 999px;
  background: rgba(245, 130, 50, 0.14);
  color: var(--accent-strong);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.payment-card fieldset:disabled { opacity: 0.58; }
.payment-card fieldset { margin: 0 0 18px; padding: 0; border: 0; }
.payment-card legend { margin-bottom: 16px; font-size: 19px; font-weight: 750; }
.payment-card label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 9px;
  padding: 14px;
  background: var(--surface-2);
  border: 1px solid transparent;
  border-radius: 9px;
  cursor: pointer;
}
.payment-card label:has(input:checked) { border-color: var(--accent); }
.payment-card input { accent-color: var(--accent); }
.payment-card label span { display: grid; }
.payment-card small { color: var(--muted); }
.payment-card .button { width: 100%; }
.payment-note { margin: 13px 0 0; font-size: 12px; text-align: center; }

footer {
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}
footer nav { display: flex; gap: 20px; }

@media (max-width: 800px) {
  .contact-desktop { display: none; }
  .contact-mobile { display: inline; }
  .demo-header, main, footer { width: min(calc(100% - 28px), var(--max)); }
  .demo-header { min-height: 64px; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 28px; padding: 44px 0; }
  .hero-panel { display: grid; grid-template-columns: repeat(3, 1fr); }
  .hero-panel div { padding: 18px 14px; border: 0; border-right: 1px solid var(--line); }
  .hero-panel div:last-child { border-right: 0; }
  .hero-panel strong { font-size: 16px; }
  .section { padding: 44px 0; }
  .section-heading { margin-bottom: 28px; }
  .feature-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-grid article { min-height: 0; padding: 22px; }
  .feature-number { margin-bottom: 20px; }
  .feature-grid h3 { margin: 0 0 8px; }
  .flexibility, .trial { grid-template-columns: 1fr; gap: 28px; }
  .trial-copy ul { margin-top: 20px; }
  footer { min-height: 72px; }
}

@media (max-width: 520px) {
  h1 { font-size: 46px; }
  .hero-actions .button { width: 100%; }
  .hero-actions { gap: 8px; }
  .hero-panel { grid-template-columns: 1fr; }
  .hero-panel div { padding: 14px; border-right: 0; border-bottom: 1px solid var(--line); }
  .hero-panel div:last-child { border-bottom: 0; }
  .payment-card { padding: 16px; }
  .payment-card label { margin-bottom: 7px; padding: 12px; }
  footer { min-height: 0; padding: 24px 0; align-items: flex-start; flex-direction: column; justify-content: center; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
