:root {
  color-scheme: dark;
  --bg: #070a14;
  --bg-elev: #0d1222;
  --panel: #12182b;
  --line: rgba(99, 102, 241, 0.18);
  --text: #f4f6fb;
  --muted: #93a0bb;
  --accent: #7377ff;
  --accent-2: #39d5e9;
  --green: #3dd68c;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(115, 119, 255, 0.22), transparent 55%),
    radial-gradient(700px 420px at 100% 0%, rgba(57, 213, 233, 0.12), transparent 50%),
    var(--bg);
  line-height: 1.55;
}

a { color: var(--accent-2); }
a:hover { color: #7eecf8; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 14px 28px;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 10, 20, 0.86);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #06111d;
  background: linear-gradient(160deg, #7af0ff, #39d5e9);
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 0 24px rgba(57, 213, 233, 0.28);
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: center;
}

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

.site-header nav a:hover,
.site-header nav a.is-active {
  color: var(--text);
}

.nav-login {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 13px !important;
  color: var(--text) !important;
  background: rgba(255, 255, 255, 0.04);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 80px;
  flex: 1;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.045em;
}

h2 {
  margin: 0 0 10px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.lede {
  max-width: 640px;
  color: var(--muted);
  font-size: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 40px;
  align-items: center;
  margin-bottom: 56px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.preview {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015));
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.preview-bar {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.preview-bar span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #2a3148;
}

.preview-bar span:first-child { background: #ff6b6b; }
.preview-bar span:nth-child(2) { background: #f59e0b; }
.preview-bar span:nth-child(3) { background: #22c96a; }

.preview-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px 0;
  padding: 12px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(8, 11, 22, 0.65);
  font-size: 13px;
}

.preview-row strong { font-size: 16px; }
.up { color: var(--green); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 16px;
}

.card, form, .auth-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  background: rgba(18, 24, 43, 0.86);
}

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

.feature-kicker {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--accent-2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-title {
  margin: 48px 0 18px;
  font-size: 28px;
  letter-spacing: -0.03em;
}

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

.step-num {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  border-radius: 8px;
  color: #06111d;
  background: var(--accent-2);
  font-size: 13px;
  font-weight: 800;
}

label {
  display: block;
  margin: 12px 0;
  color: #c9d4ea;
  font-size: 14px;
  font-weight: 600;
}

input {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #2b3554;
  border-radius: 10px;
  padding: 11px 12px;
  color: var(--text);
  background: #0b1020;
  font: inherit;
}

input:focus {
  outline: 2px solid rgba(57, 213, 233, 0.45);
  border-color: var(--accent-2);
}

button, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 11px 16px;
  color: #06111d;
  background: linear-gradient(180deg, #7af0ff, #39d5e9);
  text-decoration: none;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

button:hover, .button:hover { filter: brightness(1.06); }

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

.price {
  margin: 8px 0 12px;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.note, .muted { color: var(--muted); }
code {
  padding: 1px 6px;
  border-radius: 6px;
  background: #0b1020;
  font-size: 0.92em;
}

ol, ul { color: var(--muted); }
li { margin: 8px 0; }

.auth-wrap {
  width: min(440px, 100%);
  margin: 24px auto 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 22px 28px 32px;
  border-top: 1px solid var(--line);
  color: #6d7a96;
  font-size: 14px;
}

.site-footer a {
  color: #9aa8c2;
  text-decoration: none;
}

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

#message { min-height: 1.4em; color: #c4b5fd; }

@media (max-width: 800px) {
  .hero, .steps { grid-template-columns: 1fr; }
  h1 { font-size: 40px; }
  main { padding-top: 32px; }
}
