:root {
  --dark: #45474b;
  --ink: #24262a;
  --muted: #646971;
  --paper: #f5f7f8;
  --surface: #ffffff;
  --surface-soft: #eef1f3;
  --line: rgba(69, 71, 75, .16);
  --accent: #f4ce19;
  --accent-soft: rgba(244, 206, 25, .22);
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; color: var(--muted); }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Avenir, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 780;
  letter-spacing: 0;
  line-height: 1.06;
}
h1 { max-width: 820px; font-size: clamp(2.85rem, 5.6vw, 5.7rem); letter-spacing: -.02em; }
h2 { max-width: 760px; font-size: clamp(2rem, 3.8vw, 3.65rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.18rem, 1.35vw, 1.38rem); line-height: 1.18; font-weight: 740; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9rem clamp(1rem, 4vw, 3rem);
  background: rgba(245, 247, 248, .88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  max-width: min(42vw, 340px);
  color: var(--dark);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: clamp(.92rem, 1.2vw, 1.05rem);
  line-height: 1.05;
}
.logo::before {
  content: "";
  width: .8rem;
  height: .8rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 5px var(--accent-soft);
}
.nav { display: flex; gap: .35rem; align-items: center; color: var(--muted); font-size: .94rem; }
.nav a { padding: .55rem .75rem; border-radius: 999px; }
.nav a:hover { background: var(--surface); color: var(--ink); }
.nav-toggle { display: none; }

.section {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(3.75rem, 7vw, 6.5rem) clamp(1rem, 4vw, 3rem);
  scroll-margin-top: 6.25rem;
}
.hero {
  min-height: auto;
  padding-top: clamp(4rem, 7vw, 5.8rem);
  padding-bottom: clamp(3.25rem, 6vw, 5.2rem);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, .78fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero-content {
  display: grid;
  gap: clamp(1.25rem, 2.5vw, 1.8rem);
}
.hero-copy {
  max-width: 710px;
  font-size: clamp(1.08rem, 1.6vw, 1.34rem);
  color: #555b63;
}
.eyebrow {
  width: fit-content;
  margin-bottom: .15rem;
  padding: .38rem .62rem;
  border: 1px solid rgba(244, 206, 25, .6);
  border-radius: 999px;
  background: var(--accent-soft);
  color: #4d4210;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .72rem;
  font-weight: 850;
}
.hero-actions, .contact-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .88rem 1.22rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button.primary {
  background: var(--accent);
  color: #202124;
  border-color: rgba(36, 38, 42, .1);
  box-shadow: 0 14px 30px rgba(69, 71, 75, .14);
}
.button.secondary {
  background: var(--surface);
  color: var(--dark);
}
.button:hover { transform: translateY(-1px); }

.case-slider {
  position: relative;
  overflow: visible;
  min-height: clamp(430px, 38vw, 560px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.case-slides {
  position: absolute;
  inset: 0;
}
.case-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
  border-radius: 0;
  background: transparent;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .7s ease, transform .7s ease;
}
.case-slide.active {
  opacity: 1;
  transform: scale(1);
}
.case-dots {
  position: absolute;
  left: 50%;
  bottom: .85rem;
  z-index: 3;
  display: flex;
  transform: translateX(-50%);
  gap: .45rem;
  padding: 0;
  border: 0;
  background: transparent;
}
.case-dots button {
  width: .46rem;
  height: .46rem;
  padding: 0;
  border: 1px solid rgba(69, 71, 75, .42);
  border-radius: 50%;
  background: rgba(245, 247, 248, .42);
  cursor: pointer;
}
.case-dots button.active {
  background: var(--accent);
  border-color: var(--accent);
}

.section-heading {
  display: grid;
  gap: .85rem;
  margin-bottom: clamp(1.5rem, 2.6vw, 2.25rem);
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.grid-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.cards { align-items: stretch; }
.card, .proof div, .approach-list div, .steps div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .78);
  padding: clamp(1.2rem, 2.5vw, 1.75rem);
}
.card {
  min-height: 282px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 1rem;
}
.card::before {
  content: "";
  flex: 0 0 auto;
  width: 2.15rem;
  height: .32rem;
  margin-bottom: .15rem;
  border-radius: 999px;
  background: var(--accent);
}
.card h3 { min-height: 3.3em; }
.card p { font-size: 1rem; }
.proof-strip { padding-top: 0; }
.proof strong {
  display: block;
  color: var(--dark);
  font-size: 1.2rem;
  margin-bottom: .8rem;
}
.proof div { background: var(--surface); }

.split {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.approach-list { display: grid; gap: 1rem; }
.approach-list span, .steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #24262a;
  font-weight: 850;
}
.approach-list h3 { margin-bottom: .7rem; }
.dark {
  background: var(--dark);
  color: var(--white);
  max-width: none;
}
.dark > * {
  max-width: 1380px;
  margin-left: auto;
  margin-right: auto;
}
.dark h2 { color: var(--white); }
.dark p { color: rgba(255, 255, 255, .72); }
.dark .eyebrow {
  color: #fdf8d2;
  border-color: rgba(244, 206, 25, .42);
  background: rgba(244, 206, 25, .12);
}
.dark .steps div {
  border-color: rgba(255, 255, 255, .16);
  background: rgba(255, 255, 255, .07);
}
.steps strong {
  display: block;
  color: var(--white);
  font-size: 1.22rem;
  margin-bottom: .8rem;
}
.extras p {
  max-width: 700px;
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  color: #555b63;
}
.support-list {
  display: grid;
  gap: .8rem;
}
.support-list div {
  padding: 1rem;
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, .68);
}
.support-list strong {
  display: block;
  margin-bottom: .3rem;
  color: var(--dark);
  font-size: .98rem;
}
.support-list p { font-size: .94rem; }
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  align-content: start;
}
.tags span {
  border: 1px solid rgba(69, 71, 75, .14);
  border-radius: 999px;
  padding: .72rem 1rem;
  background: var(--surface);
  color: var(--dark);
  font-weight: 800;
}
.tags span:nth-child(2n) { background: var(--accent); border-color: rgba(69, 71, 75, .1); }

.contact {
  display: grid;
  justify-items: center;
  gap: 1.15rem;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(244, 206, 25, .18), transparent 58%),
    var(--paper);
}
.contact .eyebrow { margin-left: auto; margin-right: auto; }
.contact p:not(.eyebrow) { max-width: 680px; font-size: 1.12rem; }
.small { font-size: .92rem !important; }
.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: var(--surface);
}
.footer div { display: flex; gap: 1rem; }
.footer a, .footer p { color: var(--muted); font-size: .9rem; }

@media (max-width: 1100px) and (min-width: 851px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-5 .card:last-child { grid-column: span 2; min-height: 190px; }
}

@media (max-width: 850px) {
  .site-header {
    align-items: center;
    gap: .8rem;
  }
  .logo {
    max-width: min(62vw, 290px);
    font-size: .82rem;
  }
  .logo::before {
    width: .68rem;
    height: .68rem;
    box-shadow: 0 0 0 4px var(--accent-soft);
  }
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.65rem;
    border: 1px solid var(--line);
    background: var(--surface);
    color: var(--dark);
    border-radius: 999px;
    padding: .55rem .85rem;
    font-weight: 800;
  }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }
  .nav.open { display: flex; }
  .nav a { background: var(--surface); }
  .grid-3, .grid-4, .grid-5, .split, .hero-inner { grid-template-columns: 1fr; }
  .section { padding: clamp(3.25rem, 12vw, 4.5rem) 1rem; }
  .hero {
    padding-top: 3rem;
    padding-bottom: 2.8rem;
  }
  .hero-inner { gap: 2rem; }
  h1 { font-size: clamp(2.45rem, 12vw, 3.7rem); line-height: 1.08; }
  h2 { font-size: clamp(1.9rem, 8.8vw, 2.85rem); line-height: 1.1; }
  h3 { line-height: 1.2; }
  .hero-copy { font-size: 1.05rem; }
  .hero-actions, .contact-actions { width: 100%; flex-direction: column; }
  .button { width: 100%; min-height: 3.25rem; }
  .case-slider { min-height: clamp(320px, 92vw, 460px); }
  .hero-visual { order: -1; }
  .case-slide { padding: .2rem; }
  .card { min-height: 0; gap: .85rem; }
  .card h3 { min-height: 0; }
  .footer { flex-direction: column; }
}

@media (max-width: 420px) {
  .site-header { padding-left: .8rem; padding-right: .8rem; }
  .logo {
    max-width: 58vw;
    font-size: .72rem;
  }
  .eyebrow { max-width: 100%; font-size: .68rem; }
  h1 { font-size: clamp(2.25rem, 11vw, 3rem); }
  h2 { font-size: clamp(1.78rem, 8vw, 2.45rem); }
  .card, .proof div, .approach-list div, .steps div { padding: 1rem; }
}
