/* shadcn stone palette, dark mode (matches the dashboard at localhost:3001).
   Variables are kept as HSL channel triples so future palette swaps are a
   one-line change. */
:root {
  --background: 20 14.3% 4.1%;
  --foreground: 60 9.1% 97.8%;
  --muted: 12 6.5% 15.1%;
  --muted-foreground: 24 5.4% 63.9%;
  --border: 12 6.5% 15.1%;
  --primary: 60 9.1% 97.8%;
  --primary-foreground: 24 9.8% 10%;
  --ring: 24 5.7% 82.9%;
  --radius: 0.5rem;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 17px; }

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

::selection {
  background: hsl(var(--foreground));
  color: hsl(var(--background));
}

main, .topbar, footer {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
}

.topbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-top: 28px;
  padding-bottom: 28px;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.brand-name {
  font-weight: 600;
  letter-spacing: -0.01em;
  font-size: 1.05rem;
  color: hsl(var(--foreground));
}

.brand-tagline {
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
}

.topbar-link {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.78rem;
  color: hsl(var(--muted-foreground));
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 120ms, border-color 120ms;
}
.topbar-link:hover {
  color: hsl(var(--foreground));
  border-bottom-color: hsl(var(--muted-foreground));
}

.hero {
  padding-top: 96px;
  padding-bottom: 96px;
}

.hero h1 {
  font-family: ui-serif, "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  color: hsl(var(--foreground));
}

.lede {
  font-size: 1.1rem;
  color: hsl(var(--muted-foreground));
  max-width: 56ch;
  margin-bottom: 36px;
}

.cta {
  display: inline-block;
  background: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: opacity 120ms, transform 120ms;
}
.cta:hover {
  opacity: 0.9;
}
.cta:focus-visible {
  outline: 2px solid hsl(var(--ring));
  outline-offset: 2px;
}

.how {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid hsl(var(--border));
}

.how h2,
.contact h2 {
  font-family: ui-serif, "Iowan Old Style", "Source Serif Pro", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 32px;
  color: hsl(var(--foreground));
}

.steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
}

.step-num {
  font-family: ui-monospace, "JetBrains Mono", "SF Mono", Menlo, monospace;
  font-size: 0.85rem;
  color: hsl(var(--muted-foreground));
  letter-spacing: 0.05em;
  padding-top: 4px;
}

.steps h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.005em;
  color: hsl(var(--foreground));
}

.steps p {
  color: hsl(var(--muted-foreground));
  font-size: 0.98rem;
}

.contact {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid hsl(var(--border));
}

.contact p {
  color: hsl(var(--muted-foreground));
}

.contact a {
  color: hsl(var(--foreground));
  border-bottom: 1px solid hsl(var(--muted-foreground));
  text-decoration: none;
  transition: border-color 120ms;
}
.contact a:hover {
  border-bottom-color: hsl(var(--foreground));
}

footer {
  padding-top: 32px;
  padding-bottom: 32px;
  border-top: 1px solid hsl(var(--border));
  margin-top: 24px;
}
footer p {
  font-size: 0.82rem;
  color: hsl(var(--muted-foreground));
}

@media (max-width: 640px) {
  main, .topbar, footer { padding: 0 24px; }
  .hero { padding-top: 64px; padding-bottom: 64px; }
  .topbar { flex-direction: column; align-items: flex-start; gap: 4px; }
  .steps li { grid-template-columns: 44px 1fr; gap: 16px; }
}
