:root {
  --bg: #f3efe5;
  --panel: rgba(255, 255, 255, 0.78);
  --panel-strong: #ffffff;
  --text: #132238;
  --muted: #526076;
  --line: rgba(19, 34, 56, 0.1);
  --primary: #0d63d6;
  --primary-deep: #093472;
  --accent: #ff7a1a;
  --shadow: 0 24px 60px rgba(10, 35, 70, 0.12);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(13, 99, 214, 0.14), transparent 28%),
    radial-gradient(circle at top right, rgba(255, 122, 26, 0.16), transparent 24%),
    linear-gradient(180deg, #fcfaf6 0%, var(--bg) 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), transparent 80%);
}

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

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 48px;
}

.brand,
h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.nav-cta {
  min-height: 44px;
  padding: 0 18px;
  color: var(--primary-deep);
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(13, 99, 214, 0.14);
}

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

.hero {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 36px;
  background: rgba(255, 252, 247, 0.7);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
}

.eyebrow,
.section-kicker,
.work-tag,
.panel-label {
  margin: 0 0 12px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  color: var(--primary);
}

h1 {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.9rem, 6vw, 5.6rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 62ch;
  margin: 22px 0 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.button {
  min-height: 50px;
  padding: 0 22px;
  font-weight: 700;
}

.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  box-shadow: 0 12px 28px rgba(13, 99, 214, 0.22);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(19, 34, 56, 0.08);
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
}

.hero-points li,
.panel-card,
.info-card,
.work-card,
.contact-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-points li {
  min-height: 100%;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.hero-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.panel-card {
  border-radius: var(--radius-xl);
  padding: 24px;
}

.main-card {
  min-height: 280px;
  background:
    linear-gradient(180deg, rgba(13, 99, 214, 0.08), rgba(255, 255, 255, 0.85)),
    var(--panel-strong);
}

.pipeline {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.pipeline span {
  display: block;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(9, 52, 114, 0.07);
  font-weight: 700;
}

.panel-note,
.info-card p,
.work-card p,
.contact-card p,
.process-step p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.panel-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.stat-card strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.stat-card.accent {
  background: linear-gradient(135deg, rgba(255, 122, 26, 0.16), rgba(255, 255, 255, 0.84));
}

.section {
  padding: 72px 0 0;
}

.section-heading {
  max-width: 640px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

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

.info-card,
.work-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.info-card h3,
.work-card h3,
.process-step h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
}

.split-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.process-list {
  display: grid;
  gap: 16px;
}

.process-step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: var(--shadow);
}

.process-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  color: #fff;
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
}

.contact-section {
  padding-bottom: 24px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 32px;
  background:
    radial-gradient(circle at top right, rgba(13, 99, 214, 0.12), transparent 34%),
    rgba(255, 255, 255, 0.8);
}

@media (max-width: 980px) {
  .hero-grid,
  .split-section,
  .card-grid.three,
  .work-list,
  .hero-points,
  .panel-row {
    grid-template-columns: 1fr;
  }

  h1 {
    max-width: none;
  }

  .contact-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 18px, 1180px);
    padding-top: 10px;
  }

  .hero {
    padding: 16px;
    border-radius: 28px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 30px;
  }

  h1 {
    font-size: clamp(2.4rem, 14vw, 4rem);
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section {
    padding-top: 56px;
  }
}
