:root {
  --bg: #ffffff;
  --surface: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --inverse: #0f172a;
  --inverse-text: #ffffff;
  --max-width: 1100px;
  --radius: 24px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand svg {
  display: block;
  height: 1em;
  width: auto;
  flex-shrink: 0;
  transform: translateY(0.08em) translateX(0.08em);
}

.nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav a {
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.brand-with-icon {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.section-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
}

.hero {
  padding: 6rem 0 5rem;
}

.hero-top {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: stretch;
  column-gap: 0.75rem;
  margin-bottom: 2rem;
}

.hero-illustration {
  color: var(--text);
  align-self: stretch;
  display: flex;
  align-items: stretch;
  min-height: 80px;
}

.hero-illustration svg {
  display: block;
  width: auto;
  height: 100%;
  min-height: 80px;
  max-height: 220px;
}

.hero-heading-block {
  min-width: 0;
  padding-left: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-heading-block .eyebrow {
  align-self: flex-start;
}

.hero-copy {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  max-width: 14ch;
  margin-bottom: 1.5rem;
}

.hero p {
  max-width: 42rem;
  font-size: 1.125rem;
  color: var(--muted);
}

.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.35rem;
  border-radius: 18px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.2s ease;
}

.button-primary {
  background: var(--inverse);
  color: var(--inverse-text);
  box-shadow: var(--shadow);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #1e293b;
}

.button-secondary {
  border-color: #cbd5e1;
  color: var(--text);
  background: #fff;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #94a3b8;
}

.section {
  border-top: 1px solid var(--border);
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--surface);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
}

h2 {
  font-size: 2rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.section-copy {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.card p,
.step p {
  color: var(--muted);
  font-size: 0.95rem;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.step {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  background: #fff;
}

.step-number {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.contact {
  background: var(--inverse);
  color: var(--inverse-text);
}

.contact p {
  color: #cbd5e1;
  max-width: 40rem;
}

.contact .button-primary {
  background: #fff;
  color: var(--inverse);
}

.contact .button-primary:hover,
.contact .button-primary:focus-visible {
  background: #f8fafc;
}

.footer {
  padding: 1.5rem 0 3rem;
  color: #64748b;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .two-column,
  .card-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 4.5rem 0 4rem;
  }

  .hero-illustration svg {
    max-height: 180px;
  }
}

@media (max-width: 700px) {
  .hero-top {
    grid-template-columns: auto 1fr;
    column-gap: 0.5rem;
  }

  .hero-heading-block h1 {
    font-size: clamp(1.9rem, 8vw, 3rem);
  }

  .hero-illustration {
    min-height: 70px;
  }

  .hero-illustration svg {
    min-height: 70px;
    max-height: 175px;
  }
}

@media (max-width: 640px) {
  .site-header-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .brand {
    align-self: flex-start;
  }

  .nav {
    display: flex;
    justify-content: flex-end;
    gap: 0.85rem 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
    text-align: right;
  }

  .container {
    width: min(100% - 1.25rem, var(--max-width));
  }

  .section,
  .hero {
    padding-left: 0;
    padding-right: 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .hero-top {
    grid-template-columns: 1fr;
    row-gap: 0.75rem;
    justify-items: center;
    text-align: center;
  }

  .hero-illustration {
    justify-content: center;
    align-self: auto;
    min-height: 0;
  }

  .hero-illustration svg {
    width: clamp(84px, 24vw, 120px);
    height: auto;
    min-height: 0;
    max-height: none;
  }

  .hero-heading-block {
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .hero-heading-block .eyebrow {
    align-self: center;
    margin-bottom: 1rem;
  }

  .hero-heading-block h1 {
    max-width: 100%;
    margin-bottom: 0;
  }

  .hero-copy {
    text-align: left;
  }

  .button {
    width: 100%;
  }

  .actions {
    flex-direction: column;
  }
}