*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --color-primary-50: oklch(97.5% 0.0150 195);
  --color-primary-100: oklch(94.0% 0.0350 195);
  --color-primary-200: oklch(87.5% 0.0650 195);
  --color-primary-300: oklch(79.0% 0.0900 195);
  --color-primary-400: oklch(68.5% 0.1100 195);
  --color-primary-500: oklch(57.5% 0.1150 195);
  --color-primary-600: oklch(48.5% 0.1050 195);
  --color-primary-700: oklch(40.5% 0.0900 195);
  --color-primary-800: oklch(33.0% 0.0700 195);
  --color-primary-900: oklch(27.0% 0.0500 195);
  --color-primary-950: oklch(20.0% 0.0350 195);
  --text: #111827;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --surface: #ffffff;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  font-family: Inter, system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: var(--surface);
  background-image:
    linear-gradient(to right, #f3f4f6 1px, transparent 1px),
    linear-gradient(to bottom, #f3f4f6 1px, transparent 1px);
  background-size: 48px 48px;
}

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

.site-header {
  padding: 1.5rem 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-weight: 700;
  font-size: 1.125rem;
  letter-spacing: -0.02em;
}

.logo-icon {
  color: var(--color-primary-500);
}

.hero {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-content {
  max-width: 36rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  margin-bottom: 1.5rem;
  border-radius: 999px;
  background: var(--color-primary-500);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.lead {
  margin: 0 auto 2rem;
  max-width: 28rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background-color 0.15s ease;
}

.button-primary {
  background: var(--color-primary-500);
  color: #fff;
}

.button-primary:hover {
  background: var(--color-primary-600);
}

.hero-decoration {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.dot-grid {
  position: absolute;
  top: 18%;
  right: 12%;
  width: 7rem;
  height: 7rem;
  background-image: radial-gradient(circle, var(--color-primary-300) 1.5px, transparent 1.5px);
  background-size: 12px 12px;
  opacity: 0.7;
}

.scribble {
  position: absolute;
  bottom: 15%;
  left: 10%;
  width: 6rem;
  height: 6rem;
  opacity: 0.85;
}

.site-footer {
  padding: 1.5rem 2rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 640px) {
  .hero-decoration {
    opacity: 0.5;
  }

  .dot-grid,
  .scribble {
    display: none;
  }
}
