:root {
  --orange: #ff5a00;
  --ink: #171923;
  --body: #31343d;
  --line: #e2e5e9;
  --panel: #ffffff;
  --shell: 1480px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

main { overflow: hidden; }
.section-shell {
  position: relative;
  z-index: 2;
  width: min(var(--shell), calc(100% - 64px));
  margin-inline: auto;
}
.section-heading { text-align: center; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .015em;
  text-transform: uppercase;
}
.section-heading h1,
.section-heading h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(42px, 4vw, 60px);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -.045em;
}

.ordering-section,
.why-section {
  position: relative;
  isolation: isolate;
  background: #fff;
}
.ordering-section {
  min-height: 493px;
  padding: 42px 0 42px;
  border-top: 1px solid #f3f4f6;
  border-bottom: 1px solid #dedfe3;
}
.why-section {
  min-height: 447px;
  padding: 27px 0 43px;
}

.ordering-shell { max-width: 1470px; }
.section-heading--ordering { margin-bottom: 34px; }
.steps {
  display: grid;
  grid-template-columns: 1fr 104px 1fr 104px 1fr 104px 1fr 104px 1fr;
  align-items: start;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step { text-align: center; min-width: 0; }
.step-visual {
  position: relative;
  width: 114px;
  height: 114px;
  margin: 0 auto 14px;
}
.step-number {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: -19px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  font-size: 21px;
  font-weight: 800;
  transform: translateX(-50%);
  box-shadow: 0 2px 5px rgba(255,90,0,.22);
}
.step-icon {
  display: grid;
  place-items: center;
  width: 114px;
  height: 114px;
  color: #20222a;
  background: rgba(255,255,255,.9);
  border: 1.4px solid rgba(255,90,0,.55);
  border-radius: 50%;
}
.step-icon svg {
  width: 75px;
  height: 75px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3.25;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.step-icon .accent-stroke { stroke: var(--orange); }
.step-icon .accent-fill { fill: var(--orange); stroke: var(--orange); }
.step-icon .accent-cut { stroke: #fff; stroke-width: 3; }
.step-copy h2 {
  margin: 0 0 12px;
  min-height: 48px;
  color: #15171c;
  font-size: 20px;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.022em;
}
.step-copy p {
  margin: 0;
  color: #4d5059;
  font-size: 15.5px;
  line-height: 1.75;
  letter-spacing: -.012em;
}
.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 114px;
}
.flow-arrow svg {
  width: 98px;
  height: 30px;
  fill: none;
  stroke: var(--orange);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.section-heading--why { margin-bottom: 24px; }
.section-heading--why .eyebrow { margin-bottom: 10px; }
.section-heading--why h2 { font-size: clamp(40px, 3.4vw, 54px); }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
}
.benefit-card {
  min-height: 287px;
  padding: 22px 18px 19px;
  text-align: center;
  background: rgba(255,255,255,.94);
  border: 1px solid #dcdfe3;
  box-shadow: 0 4px 10px rgba(26,35,45,.08);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.benefit-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,90,0,.34);
  box-shadow: 0 12px 24px rgba(26,35,45,.11);
}
.benefit-icon {
  display: grid;
  place-items: center;
  height: 86px;
  color: var(--orange);
}
.benefit-icon svg {
  width: 86px;
  height: 72px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.benefit-card h3 {
  margin: 8px 0 10px;
  color: #191b20;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.32;
  letter-spacing: -.018em;
}
.mini-rule {
  display: block;
  width: 26px;
  height: 2px;
  margin: 0 auto 15px;
  background: var(--orange);
}
.benefit-card p {
  margin: 0;
  color: #4c4f57;
  font-size: 14px;
  line-height: 1.65;
  letter-spacing: -.012em;
}

@media (max-width: 1280px) {
  .section-shell { width: min(1160px, calc(100% - 48px)); }
  .steps { grid-template-columns: 1fr 70px 1fr 70px 1fr 70px 1fr 70px 1fr; }
  .flow-arrow svg { width: 68px; }
  .step-copy h2 { font-size: 18px; }
  .step-copy p { font-size: 14.5px; }
  .benefit-grid { gap: 16px; }
  .benefit-card { padding-inline: 12px; }
  .benefit-card h3 { font-size: 16.5px; }
  .benefit-card p { font-size: 13px; }
}

@media (max-width: 980px) {
  .ordering-section { padding-bottom: 56px; }
  .steps {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    gap: 28px;
    overflow-x: auto;
    padding: 20px 8px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  .step { scroll-snap-align: center; }
  .flow-arrow { display: none; }
  .benefit-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-card:last-child { grid-column: 1 / -1; width: calc(50% - 8px); justify-self: center; }
}

@media (max-width: 640px) {
  .section-shell { width: min(100% - 32px, 540px); }
  .ordering-section { padding: 38px 0 42px; }
  .why-section { padding: 36px 0 40px; }
  .eyebrow { font-size: 14px; margin-bottom: 9px; }
  .section-heading h1,
  .section-heading h2 { font-size: 37px; line-height: 1.08; }
  .section-heading--ordering { margin-bottom: 22px; }
  .steps {
    grid-template-columns: 1fr;
    gap: 34px;
    overflow: visible;
    padding: 15px 0 0;
  }
  .step {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(0,1fr);
    align-items: center;
    gap: 18px;
    text-align: left;
  }
  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 51px;
    top: 104px;
    width: 1px;
    height: 36px;
    background: var(--orange);
  }
  .step-visual { width: 104px; height: 104px; margin: 0; }
  .step-icon { width: 104px; height: 104px; }
  .step-icon svg { width: 67px; height: 67px; }
  .step-number { width: 34px; height: 34px; top: -13px; font-size: 18px; }
  .step-copy h2 { min-height: 0; margin-bottom: 7px; font-size: 18px; }
  .step-copy p { font-size: 14px; line-height: 1.55; }
  .section-heading--why { margin-bottom: 25px; }
  .benefit-grid { grid-template-columns: 1fr; gap: 15px; }
  .benefit-card,
  .benefit-card:last-child {
    width: 100%;
    min-height: 0;
    padding: 20px 16px 22px;
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
