:root {
  --bg: oklch(0.95 0.01 95);
  --bg-strong: oklch(0.9 0.015 95);
  --surface: oklch(0.98 0.006 95 / 0.9);
  --surface-strong: oklch(0.16 0.015 28);
  --surface-accent: oklch(0.32 0.1 30);
  --text: oklch(0.17 0.01 40);
  --text-soft: oklch(0.42 0.018 40);
  --text-inverse: oklch(0.95 0.01 90);
  --line: oklch(0.22 0.01 35 / 0.16);
  --line-strong: oklch(0.22 0.018 35 / 0.32);
  --accent: oklch(0.58 0.19 29);
  --accent-soft: oklch(0.78 0.08 35 / 0.35);
  --shadow: 0 24px 80px oklch(0.2 0.03 30 / 0.08);
  --radius: 1.75rem;
  --radius-sm: 1rem;
  --max-width: 1220px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, oklch(0.82 0.08 30 / 0.32), transparent 24rem),
    linear-gradient(180deg, oklch(0.985 0.005 95) 0%, var(--bg) 56%, var(--bg-strong) 100%);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 2rem 2rem;
  mask-image: linear-gradient(180deg, black 0%, transparent 100%);
}

.page-shell {
  width: min(calc(100% - 2rem), var(--max-width));
  margin: 0 auto;
  padding: 1.25rem 0 3.5rem;
}

.topbar,
.hero-grid,
.hero-strip,
.proof-grid,
.services-list,
.timeline,
.offer-grid,
.cta {
  animation: rise 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.topbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.5rem 0 1.2rem;
}

.brand,
.topnav a,
.mail-link,
.button,
.cta-mail {
  text-decoration: none;
}

.brand,
.eyebrow,
.section-kicker,
.panel-label,
.service-index,
.proof-index,
.timeline-day,
.offer-tag {
  font-family: "IBM Plex Sans", sans-serif;
  text-transform: uppercase;
}

.brand {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.topnav {
  display: flex;
  justify-content: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

.topnav a,
.mail-link {
  color: var(--text-soft);
  font-size: 0.94rem;
}

.topnav a:hover,
.mail-link:hover,
.cta-mail:hover {
  color: var(--text);
}

.hero,
.proof,
.services,
.process,
.offer,
.cta {
  position: relative;
  z-index: 1;
}

.hero {
  padding-top: 1.2rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(18rem, 0.72fr);
  gap: clamp(1.4rem, 3vw, 3rem);
  align-items: start;
  padding: clamp(2.4rem, 8vw, 6rem) 0 1.6rem;
  border-top: 1px solid var(--line-strong);
}

.eyebrow,
.section-kicker,
.panel-label,
.service-index,
.proof-index,
.timeline-day,
.offer-tag {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

h1,
h2,
h3,
p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 6.2vw, 6.1rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h1 span {
  display: inline-block;
  color: var(--accent);
}

.lead {
  max-width: 44rem;
  margin-top: 1.6rem;
  color: var(--text);
  font-size: clamp(1.08rem, 2vw, 1.32rem);
  line-height: 1.7;
}

.hero-panel,
.proof-card,
.service,
.timeline-step,
.offer-card,
.cta-box {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel {
  padding: 1.4rem;
  background:
    linear-gradient(160deg, oklch(0.985 0.005 95 / 0.9), oklch(0.94 0.015 90 / 0.82)),
    var(--surface);
}

.panel-text,
.proof-card p:last-child,
.timeline-step p:last-child,
.offer-card li,
.cta-copy p:last-child,
.cta-box p {
  color: var(--text-soft);
  line-height: 1.75;
}

.service p {
  color: var(--text);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.4rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.4rem;
  padding: 0 1.2rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-weight: 800;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.cta-mail:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--text-inverse);
  background: var(--text);
  border-color: var(--text);
}

.button.primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.button.ghost {
  background: transparent;
}

.button.ghost:hover {
  background: var(--surface);
}

.hero-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  padding-top: 1rem;
}

.hero-strip p {
  min-height: 5rem;
  padding: 1rem 1.1rem;
  border-top: 1px solid var(--line-strong);
  color: var(--text-soft);
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof,
.services,
.process,
.offer {
  padding-top: clamp(4rem, 10vw, 7rem);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(10rem, 12rem) minmax(0, 1fr);
  gap: 1.4rem;
  align-items: start;
}

.section-head h2,
.offer-intro h2,
.cta-copy h2 {
  max-width: 18ch;
  font-size: clamp(2rem, 4vw, 4.3rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.proof-card,
.timeline-step,
.offer-card {
  padding: 1.35rem;
  background: var(--surface);
}

.proof-card h3,
.service h3,
.timeline-step h3 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.4rem, 2vw, 1.9rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.proof-card-contrast,
.offer-card-dark,
.cta-box {
  background: var(--surface-strong);
}

.proof-card-contrast h3,
.proof-card-contrast p,
.offer-card-dark li,
.offer-card-dark .offer-tag,
.cta-box .cta-mail,
.cta-box p {
  color: var(--text-inverse);
}

.services-list {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.8rem;
}

.service {
  min-height: 18rem;
  padding: 1.5rem;
  background:
    linear-gradient(180deg, oklch(0.98 0.008 95 / 0.86), oklch(0.94 0.012 95 / 0.92)),
    var(--surface);
}

.service-meta {
  display: grid;
  grid-template-columns: 4rem minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  margin-bottom: 1rem;
}

.service-index {
  margin: 0;
  padding-top: 0.2rem;
}

.process .section-head h2 {
  max-width: 16ch;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.8rem;
}

.timeline-step {
  min-height: 17rem;
}

.offer {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.2rem;
  align-items: start;
}

.offer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.offer-card ul {
  padding-left: 1.1rem;
}

.offer-card li + li {
  margin-top: 0.9rem;
}

.cta {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.7fr);
  gap: 1rem;
  align-items: stretch;
  padding-top: clamp(4rem, 10vw, 7rem);
}

.cta-copy {
  padding-right: 1rem;
}

.cta-copy p:last-child {
  max-width: 42rem;
  margin-top: 1.2rem;
}

.cta-box {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem;
}

.cta-mail {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (max-width: 980px) {
  .topbar,
  .hero-grid,
  .section-head,
  .proof-grid,
  .services-list,
  .timeline,
  .offer,
  .offer-grid,
  .cta,
  .hero-strip {
    grid-template-columns: 1fr;
  }

  .topbar {
    justify-items: start;
  }

  .topnav {
    justify-content: flex-start;
  }

  .section-head h2,
  .offer-intro h2,
  .cta-copy h2,
  h1 {
    max-width: none;
  }

  .service,
  .timeline-step {
    min-height: 0;
  }

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

@media (max-width: 640px) {
  .page-shell {
    width: min(calc(100% - 1.1rem), var(--max-width));
    padding-top: 0.8rem;
  }

  .topnav {
    gap: 0.9rem;
  }

  .hero-grid {
    padding-top: 2rem;
  }

  .hero-panel,
  .proof-card,
  .service,
  .timeline-step,
  .offer-card,
  .cta-box {
    padding: 1.15rem;
    border-radius: 1.25rem;
  }

  .service-meta {
    grid-template-columns: 1fr;
  }

  .service-index {
    padding-top: 0;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }
}
