:root {
  color-scheme: light;
  --bg: #f3f4f6;
  --bg-accent: #e7eaee;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(248, 249, 251, 0.86);
  --text: #1b1d21;
  --muted: #5f6670;
  --line: rgba(29, 32, 38, 0.1);
  --line-strong: rgba(29, 32, 38, 0.16);
  --accent: #3f6f94;
  --accent-strong: #2f5978;
  --accent-soft: rgba(63, 111, 148, 0.12);
  --shadow: 0 24px 70px rgba(30, 35, 45, 0.08);
  --shadow-soft: 0 14px 40px rgba(30, 35, 45, 0.05);
  --radius-xl: 36px;
  --radius-lg: 28px;
  --radius-md: 22px;
  --radius-sm: 18px;
  --max-width: 1220px;
  --font-body: "SF Pro Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #17181c;
    --bg-accent: #1d2026;
    --surface: rgba(33, 36, 43, 0.76);
    --surface-strong: rgba(38, 41, 49, 0.9);
    --surface-soft: rgba(27, 30, 36, 0.92);
    --text: #edf0f3;
    --muted: #a1a8b3;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(255, 255, 255, 0.14);
    --accent: #8fb2cb;
    --accent-strong: #b2ccdd;
    --accent-soft: rgba(143, 178, 203, 0.14);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
    --shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.24);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-body);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(118, 138, 158, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.32), transparent 30%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-accent) 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

img {
  max-width: 100%;
  display: block;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.container {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 80px 0;
}

.section-hero {
  padding: 54px 0 40px;
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(160%) blur(18px);
  border-bottom: 1px solid var(--line);
}

.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-logo {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex: 0 0 auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.95rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

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

.button.primary {
  color: #f8fafc;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-strong) 100%);
  box-shadow: 0 12px 30px rgba(63, 111, 148, 0.2);
}

.button.secondary {
  color: var(--text);
  background: var(--surface-strong);
  border-color: var(--line);
}

.button.compact {
  min-height: 44px;
  padding: 0 18px;
}

.hero-simple,
.hero-panel {
  min-width: 0;
}

.hero-copy {
  padding: 100px 0 150px;
}

.eyebrow,
.section-kicker,
.pill,
.price-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero h1,
.section-intro h2,
.section-heading h2,
.cta h2 {
  margin: 25px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.055em;
  line-height: 0.96;
} 

.hero h1 {
  /* max-width: 10ch; */
  font-size: clamp(3.5rem, 7vw, 6.6rem);
}

.hero-text,
.section-intro p,
.section-heading p,
.price-card p,
.cta p,
.step p,
.card p,
.hero-proof,
.site-footer p,
.site-footer a {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.02rem;
}

.hero-text {
  max-width: 100ch;
  margin: 22px 80px 30px 20px;
  font-size: clamp(1.08rem, 1.6vw, 1.24rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
  margin-right: 100px;
  float: right;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 40px;
  margin-right: 100px;
  justify-content: flex-end;
  font-size: 1.5rem;
}

.hero-proof span::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}

.surface,
.card {
  background: linear-gradient(180deg, var(--surface-strong) 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(16px);
}

.surface {
  border-radius: var(--radius-xl);
}

.hero-panel {
  max-width: 980px;
  padding: 28px;
  margin: 0 auto;
}

.panel-header,
.section-heading,
.footer-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.panel-label {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 26px;
}

.step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.step-num,
.card-index {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: color-mix(in srgb, var(--accent) 16%, var(--surface-strong));
  color: var(--accent-strong);
  font-weight: 700;
}

.step h3,
.card h3 {
  margin: 2px 0 8px;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
}

.step p {
  margin: 0;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.stat {
  padding: 18px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface-soft) 82%, transparent);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.45rem;
  letter-spacing: -0.04em;
}

.section-intro,
.cta {
  padding: 42px;
}

.section-intro.roomy {
  max-width: 980px;
  margin: 0 auto;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3), transparent);
}

.section-intro h2,
.section-heading h2,
.cta h2 {
  font-size: clamp(2.25rem, 4vw, 4.2rem);
}

.section-intro p:last-child,
.section-heading p,
.cta p {
  margin: 14px 0 0;
}

.card-grid {
  display: grid;
  gap: 20px;
  margin-top: 50px;
}

.card-grid-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card-grid-four {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card {
  padding: 28px;
  border-radius: var(--radius-lg);
}

.work-card,
.process-card {
  min-height: 100%;
}

.work-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.card-index {
  margin-bottom: 18px;
}

.pricing-grid {
  align-items: stretch;
}

.price-card.featured {
  background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 28%, var(--surface-strong)) 0%, var(--surface) 100%);
  border-color: color-mix(in srgb, var(--accent) 28%, var(--line));
}

.price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 18px 0 16px;
}

.price strong {
  font-size: clamp(2.2rem, 3vw, 3rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.price span,
.price-note {
  color: var(--muted);
}

.price-card ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.8;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer {
  padding: 10px 0 42px;
}

.footer-row {
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

@media (max-width: 1080px) {
  .card-grid-three,
  .card-grid-four,
  .hero-stats,
  .cta {
    grid-template-columns: 1fr;
  }

  .cta,
  .panel-header,
  .section-heading,
  .footer-row {
    flex-direction: column;
  }

  .hero-copy {
    padding-right: 0;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .section {
    padding: 80px 0;
  }

  .nav-links a:not(.button) {
    display: none;
  }

  .hero-copy,
  .hero-panel,
  .section-intro,
  .cta,
  .card {
    padding: 24px;
  }

  .button,
  .hero-actions a {
    width: 100%;
  }

  .hero h1 {
    max-width: 12ch;
  }

  .step {
    grid-template-columns: 42px 1fr;
    padding: 16px;
  }

  .step-num,
  .card-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
}
