:root {
  --background: hsl(216 33% 97%);
  --foreground: hsl(222 60% 14%);
  --primary: hsl(213 74% 49%);
  --primary-foreground: hsl(40 40% 99%);
  --muted-foreground: hsl(222 16% 34%);
  --border: hsl(220 22% 86%);
  --card-border: hsl(220 22% 88%);
}

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

body {
  margin: 0;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--background);
  color: var(--foreground);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2 { font-family: 'Bricolage Grotesque', 'DM Sans', sans-serif; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
img { display: block; max-width: 100%; }

.page { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.container { width: 100%; max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }

.icon { width: 1rem; height: 1rem; flex-shrink: 0; }
.muted { color: var(--muted-foreground); }
.small { font-size: 0.875rem; line-height: 1.65; }
.xsmall { font-size: 0.8125rem; line-height: 1.6; }

/* Hero */
.hero { background: var(--primary); color: var(--primary-foreground); }
.topbar { display: flex; align-items: center; justify-content: space-between; height: 4rem; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
.brand { height: 1.75rem; width: auto; }
.topbar-label { display: none; font-size: 0.875rem; color: rgba(255, 255, 255, 0.8); }
.hero-text { max-width: 42rem; padding: 2.5rem 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.8125rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em; color: rgba(255, 255, 255, 0.75); }
.hero h1 { margin-top: 0.75rem; font-size: 1.875rem; font-weight: 700; line-height: 1.2; }
.lead { margin-top: 1rem; font-size: 1rem; line-height: 1.65; color: rgba(255, 255, 255, 0.85); }

/* Main */
.main { flex: 1; padding-top: 2rem; padding-bottom: 2rem; }
.grid { display: grid; gap: 1.5rem; }
.side { display: grid; gap: 1.5rem; }

.card { background: #fff; border: 1px solid var(--card-border); border-radius: 0.5rem; padding: 1.5rem; box-shadow: 0 1px 2px rgba(15, 30, 60, 0.06); }
.steps h2 { font-size: 1.25rem; font-weight: 700; }
.step-list { list-style: none; margin: 1.5rem 0 0; padding: 0; display: grid; gap: 1.25rem; }
.step { display: flex; gap: 1rem; }
.num { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; flex-shrink: 0; border-radius: 50%; background: var(--primary); color: var(--primary-foreground); font-size: 0.875rem; font-weight: 600; }
.step-body { flex: 1; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.step:last-child .step-body { border-bottom: 0; padding-bottom: 0; }
.step-title { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; }
.step-title .icon { color: var(--primary); }
.step-body .muted { margin-top: 0.25rem; }

.side-title { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; font-weight: 600; color: var(--primary); margin-bottom: 0.75rem; }
.side .card p + p { margin-top: 0.75rem; }

.meet { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.meet-logo { height: 1.5rem; width: auto; margin-top: 0.5rem; }
.meet-note { max-width: 11rem; text-align: right; }

/* Footer */
.footer { border-top: 1px solid var(--border); }
.footer-inner { display: flex; flex-direction: column; gap: 0.75rem; padding-top: 1.5rem; padding-bottom: 1.5rem; font-size: 0.8125rem; color: var(--muted-foreground); }
.footer-logo { height: 1.25rem; width: auto; }

/* Entrance animation */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@media (prefers-reduced-motion: reduce) { .rise { animation: none; } }

/* Tablet and desktop */
@media (min-width: 640px) {
  .container { padding: 0 2rem; }
  .brand { height: 2rem; }
  .topbar-label { display: block; }
  .hero-text { padding: 3.5rem 0; }
  .hero h1 { font-size: 2.6rem; }
  .lead { font-size: 1.125rem; }
  .eyebrow { font-size: 0.75rem; }
  .main { padding-top: 3rem; padding-bottom: 3rem; }
  .card { padding: 1.5rem; }
  .steps { padding: 2rem; }
  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; font-size: 0.75rem; }
  .xsmall { font-size: 0.75rem; }
}

@media (min-width: 1024px) {
  .grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
}
