:root {
  color-scheme: light;
  --bg: #f5efe7;
  --panel: rgba(255, 255, 255, 0.72);
  --panel-strong: #ffffff;
  --text: #1f2937;
  --muted: #5b6472;
  --accent: #0f766e;
  --accent-2: #b45309;
  --border: rgba(31, 41, 55, 0.12);
  --shadow: 0 24px 60px rgba(31, 41, 55, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(15, 118, 110, 0.18), transparent 26%),
    radial-gradient(circle at top right, rgba(180, 83, 9, 0.18), transparent 24%),
    linear-gradient(180deg, #fbf7f2 0%, #f4ede3 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(31, 41, 55, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 41, 55, 0.03) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 85%);
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.hero {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 24px;
  align-items: stretch;
  min-height: calc(100vh - 88px);
}

.hero-copy,
.hero-card,
.step-card,
.repo-card,
.vercel-card {
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.hero-copy {
  border-radius: 28px;
  padding: clamp(28px, 4vw, 52px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  line-height: 0.96;
  letter-spacing: -0.05em;
}

.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  max-width: 9ch;
}

.hero-highlight {
  display: inline-block;
  background: linear-gradient(135deg, #f97316 0%, #ec4899 45%, #8b5cf6 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.lede {
  margin: 20px 0 0;
  max-width: 58ch;
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--muted);
}

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

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--accent), #14532d);
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.24);
}

.button-secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
}

.hero-card {
  border-radius: 28px;
  padding: 28px;
  align-self: end;
}

.logo-frame {
  display: grid;
  place-items: center;
  padding: 16px;
  margin-bottom: 22px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
}

.hero-logo {
  display: block;
  width: min(100%, 320px);
  height: auto;
  max-height: 180px;
  object-fit: contain;
}

.card-label {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 18px;
}

.checklist,
.repo-card ol,
.callout ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.7;
}

.checklist li + li,
.repo-card li + li,
.callout li + li {
  margin-top: 10px;
}

.steps,
.repo-section,
.vercel-section {
  margin-top: 26px;
}

.section-heading {
  margin: 0 0 16px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

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

.step-card {
  border-radius: 24px;
  padding: 24px;
  min-height: 220px;
}

.step-number {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 18px;
}

.step-card h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.step-card p,
.repo-card,
.vercel-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

code {
  padding: 0.18rem 0.38rem;
  border-radius: 0.35rem;
  background: rgba(31, 41, 55, 0.08);
  font-size: 0.95em;
}

.repo-card,
.vercel-card {
  border-radius: 26px;
  padding: 28px;
}

.repo-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
}

.callout {
  border-radius: 20px;
  background: var(--panel-strong);
  border: 1px solid var(--border);
  padding: 20px;
}

.callout-title {
  margin: 0 0 12px;
  font-weight: 800;
  color: var(--accent);
}

.vercel-card {
  margin-bottom: 8px;
}

.footer {
  margin: 22px 0 0;
  padding: 18px 4px 0;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .hero,
  .repo-card,
  .step-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-card {
    align-self: stretch;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding: 10px 0 30px;
  }

  .hero-copy,
  .hero-card,
  .step-card,
  .repo-card,
  .vercel-card {
    border-radius: 20px;
    padding: 20px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 15vw, 4rem);
  }
}
