:root {
  color-scheme: light;
  --radius: 0.5rem;
  --background: oklch(1 0 0);
  --foreground: oklch(0.21 0.03 240);
  --card: oklch(1 0 0);
  --muted: oklch(0.554 0.046 257.417);
  --border: oklch(0.929 0.013 255.508);
  --primary: oklch(0.58 0.11 190);
  --primary-foreground: oklch(1 0 0);
  --input: oklch(0.929 0.013 255.508);
  --danger: oklch(0.55 0.22 28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.page {
  width: min(100%, 672px);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.brand {
  margin-bottom: 48px;
  font-size: 24px;
  font-weight: 520;
  letter-spacing: 0;
}

.brand strong,
footer strong {
  color: var(--primary);
  font-weight: 520;
}

h1 {
  max-width: 650px;
  margin: 0;
  font-size: 48px;
  font-weight: 560;
  line-height: 1;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.625;
}

.test-note {
  margin: 0 0 18px;
  color: var(--primary);
  font-size: 15px;
  font-weight: 560;
  line-height: 1.5;
}

.test-hero h1 {
  font-size: 40px;
}

.panel {
  margin-top: 64px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  padding: 40px;
  box-shadow:
    0 1px 2px 0 oklch(0 0 0 / 5%),
    0 1px 3px 0 oklch(0 0 0 / 10%);
}

.demo-panel {
  margin-top: 48px;
  border-color: oklch(0.58 0.11 190 / 35%);
  box-shadow:
    0 1px 2px 0 oklch(0 0 0 / 5%),
    0 16px 34px oklch(0.58 0.11 190 / 10%);
}

.panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 28px;
}

.panel-heading h2 {
  margin: 0;
  font-size: 18px;
}

.panel-heading p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.form {
  display: grid;
  gap: 24px;
}

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

label {
  display: grid;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
}

input,
select {
  min-height: 40px;
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent;
  color: var(--foreground);
  font: inherit;
  padding: 0 12px;
}

input:focus,
select:focus {
  border-color: var(--primary);
  outline: 3px solid oklch(0.58 0.11 190 / 20%);
}

button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--primary);
  color: var(--primary-foreground);
  cursor: pointer;
  font: inherit;
  font-weight: 650;
}

button:hover:not(:disabled) {
  opacity: 0.9;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.status {
  min-height: 0;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.status.error {
  color: var(--danger);
}

.features-section {
  margin-top: 80px;
}

.features-heading {
  margin: 0;
  font-size: 20px;
  font-weight: 540;
}

.features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  margin-top: 28px;
}

.waitlist-panel {
  margin-top: 80px;
}

.waitlist-heading {
  margin-bottom: 28px;
}

.waitlist-heading h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 540;
}

.icon {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  background: oklch(0.58 0.11 190 / 12%);
  color: var(--primary);
}

.icon svg,
.success svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

h2 {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

article p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.625;
}

footer {
  margin-top: 80px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

footer span {
  color: var(--foreground);
}

.success {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.success svg {
  flex: none;
  margin-top: 2px;
  color: var(--primary);
}

.success-title {
  margin: 0;
  font-weight: 500;
}

.success-copy {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 640px) {
  .page {
    padding: 64px 24px 96px;
  }

  .brand {
    margin-bottom: 48px;
  }

  h1 {
    font-size: 36px;
    line-height: 1.05;
  }

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

  .panel {
    margin-top: 56px;
    padding: 28px;
  }

  .demo-panel {
    margin-top: 44px;
  }

  .features-section,
  .waitlist-panel {
    margin-top: 64px;
  }

  .panel-heading {
    gap: 12px;
  }
}
