:root {
  --background: #fbfbfa;
  --panel: #ffffff;
  --text: #111214;
  --muted: #666b73;
  --soft: #8c929c;
  --line: #e5e7eb;
  --line-strong: #d7dbe0;
  --accent: #255ee8;
  --accent-soft: #eff4ff;
  --shadow: 0 18px 60px rgba(17, 18, 20, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(251, 251, 250, 0) 320px),
    var(--background);
}

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

.sqlwiz-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 420px);
  gap: clamp(40px, 6vw, 80px);
  align-content: center;
  align-items: start;
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 80px) 0;
}

.hero {
  align-self: start;
  max-width: 670px;
}

h1,
h2,
p,
ul {
  margin: 0;
}

h1 {
  max-width: 100%;
  font-size: clamp(58px, 9vw, 112px);
  line-height: 0.9;
  font-weight: 700;
  letter-spacing: 0;
}

.lede {
  max-width: 580px;
  margin-top: 28px;
  color: #202327;
  font-size: clamp(24px, 3.2vw, 38px);
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: 0;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
input:focus-visible {
  outline: 3px solid rgba(37, 94, 232, 0.22);
  outline-offset: 2px;
}

.button.primary {
  background: var(--text);
  color: #ffffff;
}

.button.primary:hover {
  background: #25272b;
}

.button.secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text);
}

.button.secondary:hover {
  border-color: #bfc5cd;
  background: #ffffff;
}

.button.full {
  width: 100%;
}

.fit {
  margin-top: 44px;
}

.panel-label {
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fit ul {
  display: grid;
  gap: 12px;
  max-width: 590px;
  margin-top: 18px;
  padding-left: 20px;
  color: #343842;
}

.fit li {
  padding-left: 4px;
  font-size: 16px;
  line-height: 1.5;
}

.fit li::marker {
  color: var(--accent);
}

.purchase-panel {
  align-self: start;
  position: sticky;
  top: 56px;
  margin-top: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(16px);
}

.panel-label {
  color: var(--muted);
}

.price {
  margin-top: 12px;
  color: var(--text);
  font-size: 42px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
}

.transfer-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.panel-header + .purchase-actions {
  margin-top: 24px;
}

.purchase-actions {
  display: grid;
  gap: 10px;
}

.button-note {
  margin: -2px 0 10px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.trust-line {
  margin-top: 18px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.45;
  text-align: center;
}

.tracking-pixel {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media (min-width: 881px) {
  .hero-actions .button.secondary {
    display: none;
  }
}

@media (max-width: 880px) {
  body {
    background: var(--background);
  }

  .sqlwiz-page {
    display: block;
    width: min(100% - 32px, 640px);
    min-height: 0;
    padding: 34px 0 48px;
  }

  .hero {
    max-width: none;
  }

  h1 {
    font-size: clamp(52px, 16vw, 76px);
  }

  .lede {
    margin-top: 18px;
    font-size: clamp(22px, 7.6vw, 32px);
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    flex: 1 1 180px;
    padding: 0 16px;
  }

  .fit {
    margin-top: 42px;
  }

  .fit ul {
    gap: 8px;
  }

  .purchase-panel {
    position: static;
    margin-top: 46px;
    border-radius: 10px;
    padding: 22px;
    box-shadow: 0 12px 36px rgba(17, 18, 20, 0.07);
  }

  .price {
    font-size: 34px;
  }
}

@media (max-width: 420px) {
  .sqlwiz-page {
    width: min(100% - 28px, 640px);
    padding-top: 28px;
  }

  h1 {
    font-size: clamp(46px, 14.2vw, 58px);
  }

  .lede {
    font-size: clamp(20px, 6.3vw, 25px);
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }
}
