:root {
  --bg: #f6f8fb;
  --paper: #ffffff;
  --paper-warm: #fff7ed;
  --ink: #111827;
  --navy: #111c2f;
  --muted: #596579;
  --soft: #8b96a8;
  --line: #e4e8ef;
  --line-strong: #d3dae6;
  --coral: #f97316;
  --coral-dark: #c2410c;
  --mint: #dff2eb;
  --blue: #dcecff;
  --sand: #ffedd5;
  --shadow: 0 28px 70px rgba(19, 31, 52, 0.08);
  --font: "Avenir Next", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "Avenir Next", "Poppins", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(17, 28, 47, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(17, 28, 47, 0.03) 1px, transparent 1px),
    var(--bg);
  background-size: 44px 44px;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
}

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

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

p {
  color: var(--muted);
}

.shell {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 14px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  min-height: 58px;
  margin: 14px auto 0;
  padding: 8px 8px 8px 18px;
  border: 1px solid rgba(17, 28, 47, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 50px rgba(17, 28, 47, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-mark {
  display: block;
  width: 72px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 14px;
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
  justify-content: center;
  width: max-content;
  max-width: 100%;
  justify-self: center;
  padding: 5px;
  border-radius: 999px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-size: 12px;
  font-weight: 700;
}

.nav a,
.service-dropdown summary {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
}

.nav a:hover,
.nav a:focus-visible,
.service-dropdown summary:hover,
.service-dropdown summary:focus-visible,
.service-dropdown[open] summary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.service-dropdown {
  position: relative;
}

.service-dropdown summary {
  list-style: none;
}

.service-dropdown summary::-webkit-details-marker {
  display: none;
}

.service-dropdown summary::after {
  margin-left: 8px;
  content: "+";
  font-family: var(--mono);
}

.service-dropdown[open] summary::after {
  content: "-";
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 40;
  display: grid;
  min-width: 238px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.service-dropdown:first-child .dropdown-panel {
  right: auto;
  left: 0;
}

.dropdown-panel a {
  padding: 12px 14px;
  border-radius: 12px;
  color: var(--ink);
}

.dropdown-panel a:hover,
.dropdown-panel a:focus-visible {
  background: var(--bg);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid rgba(17, 28, 47, 0.16);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button-primary {
  border-color: var(--coral);
  background: var(--coral);
  color: #fff;
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.24);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(17, 28, 47, 0.08);
}

.hero {
  margin-top: -72px;
  padding: 180px 0 94px;
  background:
    radial-gradient(circle at 82% 18%, rgba(249, 115, 22, 0.17), transparent 25%),
    radial-gradient(circle at 18% 28%, rgba(220, 236, 255, 0.9), transparent 28%),
    linear-gradient(180deg, #fff 0%, #f7f9fc 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 84px;
  align-items: center;
}

.eyebrow,
.section-label,
.tag,
.mini-label,
.step-number {
  color: var(--coral);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 14px 0 24px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 64px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.02;
}

.hero h1 .accent,
.section-head h2 .accent {
  color: var(--coral);
}

.hero-copy {
  max-width: 700px;
  margin-bottom: 0;
  color: #394456;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.hero-note,
.summary-card,
.quote-panel {
  background: var(--paper);
}

.hero-note {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero-note::before {
  position: absolute;
  inset: 12px 12px auto auto;
  width: 68px;
  height: 68px;
  border-radius: 20px;
  background:
    linear-gradient(135deg, transparent 46%, rgba(249, 115, 22, 0.28) 47% 54%, transparent 55%),
    linear-gradient(45deg, var(--blue), var(--mint));
  content: "";
}

.hero-note h2,
.hero-note h3 {
  position: relative;
  z-index: 1;
  max-width: 280px;
  margin: 0;
  color: var(--ink);
  font-size: 25px;
  font-weight: 800;
  line-height: 1.08;
}

.hero-note ul,
.clean-list,
.check-list,
.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-note li,
.clean-list li,
.check-list li,
.service-list li {
  position: relative;
  padding-left: 18px;
  color: var(--muted);
}

.hero-note li::before,
.clean-list li::before,
.check-list li::before,
.service-list li::before {
  position: absolute;
  left: 0;
  color: var(--coral);
  content: "/";
  font-weight: 900;
}

.signal-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(1120px, calc(100% - 48px));
  margin: -42px auto 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

.signal-row div {
  min-height: 168px;
  padding: 26px;
  border-right: 1px solid var(--line);
}

.signal-row div:last-child {
  border-right: 0;
}

.signal-row h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.12;
}

.signal-row h3::before {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  border-radius: 12px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.2), transparent 52%),
    var(--blue);
  content: "";
}

.signal-row p {
  margin-bottom: 0;
  font-size: 14px;
}

.section {
  padding: 104px 0;
  scroll-margin-top: 126px;
}

.section-white {
  background: #fff;
}

.section-blue {
  border-top: 1px solid rgba(249, 115, 22, 0.14);
  border-bottom: 1px solid rgba(249, 115, 22, 0.14);
  background:
    linear-gradient(90deg, rgba(249, 115, 22, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(17, 28, 47, 0.04) 1px, transparent 1px),
    #fff7ed;
  background-size: 42px 42px;
}

.section-dark {
  background:
    radial-gradient(circle at 84% 18%, rgba(249, 115, 22, 0.22), transparent 24%),
    var(--navy);
  color: #fff;
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.48fr);
  gap: 78px;
  align-items: end;
  margin-bottom: 42px;
}

.section-head h2 {
  max-width: 760px;
  margin: 10px 0 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: 42px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.07;
}

.section-dark .section-head h2,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: #fff;
}

.section-lede {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 16px;
}

.service-stack {
  display: grid;
  gap: 22px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.34fr) minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 16px 40px rgba(17, 28, 47, 0.05);
}

.service-brief {
  padding: 30px;
  background: linear-gradient(180deg, #fff 0%, #fbfcff 100%);
}

.service-brief h3 {
  margin: 12px 0 12px;
  color: var(--ink);
  font-size: 29px;
  font-weight: 760;
  line-height: 1.08;
}

.service-brief p {
  margin-bottom: 0;
}

.service-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-left: 1px solid var(--line);
}

.detail-block {
  min-height: 150px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.detail-block:nth-child(2n) {
  border-right: 0;
}

.detail-block h4 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-block ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.detail-block li {
  margin: 8px 0;
}

.summary-grid,
.quality-grid,
.faq-grid,
.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.summary-card,
.quality-card,
.faq-card,
.mini-card {
  min-height: 210px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(17, 28, 47, 0.04);
}

.summary-card:nth-child(2n),
.quality-card:nth-child(2n),
.faq-card:nth-child(2n),
.mini-card:nth-child(2n) {
  background: var(--paper-warm);
}

.summary-card h3,
.quality-card h3,
.faq-card h3,
.mini-card h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 760;
  line-height: 1.1;
}

.summary-card p,
.quality-card p,
.faq-card p,
.mini-card p {
  margin-bottom: 0;
  font-size: 14px;
}

.section-dark .mini-card,
.section-dark .mini-card:nth-child(2n) {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: none;
}

.section-dark .mini-card h3 {
  color: #f8fafc;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.8);
}

.process-list h3 {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
}

.process-list p {
  max-width: 820px;
  margin-bottom: 0;
}

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

.process-step {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(249, 115, 22, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 34px rgba(17, 28, 47, 0.05);
}

.process-step strong {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--coral-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.process-step h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
}

.process-step p {
  margin-bottom: 0;
  font-size: 14px;
}

.compare-table {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
}

.compare-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}

.compare-row:last-child {
  border-bottom: 0;
}

.compare-row > div {
  padding: 28px;
  border-right: 1px solid var(--line);
}

.compare-row > div:last-child {
  border-right: 0;
}

.compare-row h3 {
  margin-bottom: 8px;
  font-size: 20px;
  font-weight: 800;
}

.quality-control-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 56%, #fff7ed 100%);
}

.quality-control-head {
  max-width: 940px;
  margin: 0 auto 48px;
  text-align: center;
}

.quality-control-head h2 {
  margin: 10px auto 18px;
  color: var(--ink);
  font-family: var(--display);
  font-size: 56px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.05;
}

.quality-control-head p:not(.section-label) {
  max-width: 820px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 19px;
}

.quality-control-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.78fr);
  gap: 26px;
  align-items: start;
}

.quality-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.quality-step {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(17, 28, 47, 0.04);
}

.quality-step:nth-child(2n) {
  background: var(--paper-warm);
}

.quality-step-wide {
  grid-column: 1 / -1;
  min-height: 0;
}

.quality-step-number {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  margin-bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(249, 115, 22, 0.12);
  color: var(--coral-dark);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 900;
}

.quality-step h3 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 21px;
  font-weight: 800;
  line-height: 1.1;
}

.quality-step ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
}

.quality-step li {
  margin: 8px 0;
}

.quality-diagram-card {
  position: sticky;
  top: 128px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(17, 28, 47, 0.08);
}

.quality-diagram-card img {
  display: block;
  width: 100%;
  height: auto;
}

.quality-diagram-card figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.quote-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 38px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 85% 20%, rgba(249, 115, 22, 0.2), transparent 28%),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.quote-panel h2 {
  max-width: 760px;
  margin-bottom: 14px;
  font-size: 42px;
  font-weight: 760;
  line-height: 1.08;
}

.quote-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.final-cta {
  padding: 92px 0 108px;
  background:
    radial-gradient(circle at 12% 20%, rgba(249, 115, 22, 0.16), transparent 24%),
    linear-gradient(180deg, #fff 0%, #f6f8fb 100%);
}

.cta-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  padding: 42px;
  border: 1px solid rgba(17, 28, 47, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(249, 115, 22, 0.18), transparent 30%),
    var(--navy);
  color: #fff;
  box-shadow: var(--shadow);
}

.cta-box h2 {
  max-width: 760px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 40px;
  font-weight: 760;
  line-height: 1.08;
}

.cta-box p {
  max-width: 760px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.74);
}

.footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto 28px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper-warm);
  color: var(--muted);
}

.footer strong {
  display: block;
  color: var(--ink);
}

.footer span {
  display: block;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 13px;
  font-weight: 750;
}

@media (max-width: 980px) {
  .topbar,
  .hero-grid,
  .section-head,
  .service-card,
  .quote-panel,
  .cta-box,
  .footer {
    grid-template-columns: 1fr;
  }

  .topbar {
    border-radius: 28px;
  }

  .nav {
    justify-self: start;
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown-panel {
    right: auto;
    left: 0;
  }

  .signal-row,
  .summary-grid,
  .quality-grid,
  .faq-grid,
  .process-grid,
  .mini-grid,
  .quality-control-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quality-control-layout {
    grid-template-columns: 1fr;
  }

  .quality-diagram-card {
    position: static;
  }

  .service-detail {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .hero h1 {
    font-size: 50px;
  }

  .section-head h2,
  .quote-panel h2,
  .cta-box h2 {
    font-size: 38px;
  }
}

@media (max-width: 680px) {
  .shell,
  .topbar,
  .signal-row,
  .footer {
    width: min(100% - 28px, 1120px);
  }

  .topbar {
    top: 8px;
    gap: 14px;
    margin-top: 8px;
    padding: 14px;
  }

  .brand-mark {
    width: 62px;
  }

  .brand-mark img {
    width: 100%;
  }

  .nav {
    gap: 4px;
    border-radius: 18px;
    font-size: 12px;
  }

  .nav a,
  .service-dropdown summary {
    min-height: 32px;
    padding: 7px 10px;
  }

  .dropdown-panel {
    min-width: 220px;
  }

  .topbar .button {
    width: 100%;
  }

  .hero {
    margin-top: -154px;
    padding: 254px 0 72px;
  }

  .hero h1 {
    font-size: 39px;
  }

  .hero-copy {
    font-size: 17px;
  }

  .button,
  .hero-actions .button,
  .quote-panel .button,
  .cta-box .button {
    width: 100%;
  }

  .signal-row,
  .summary-grid,
  .quality-grid,
  .faq-grid,
  .process-grid,
  .mini-grid,
  .quality-check-list,
  .service-detail,
  .compare-row {
    grid-template-columns: 1fr;
  }

  .quality-control-head h2 {
    font-size: 34px;
  }

  .quality-control-head p:not(.section-label) {
    font-size: 16px;
  }

  .quality-step,
  .quality-diagram-card {
    padding: 18px;
  }

  .signal-row div,
  .compare-row > div,
  .detail-block {
    border-right: 0;
  }

  .signal-row {
    margin-top: -28px;
  }

  .section {
    padding: 74px 0;
  }

  .section-head h2,
  .quote-panel h2,
  .cta-box h2 {
    font-size: 32px;
  }

  .service-brief h3 {
    font-size: 26px;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
