:root {
  --ink: oklch(23% 0.045 42);
  --muted: oklch(43% 0.045 48);
  --line: color-mix(in oklch, oklch(62% 0.055 52) 25%, transparent);
  --paper: oklch(96% 0.034 72);
  --paper-strong: oklch(93% 0.052 64);
  --surface: color-mix(in oklch, oklch(98% 0.024 68) 88%, transparent);
  --surface-solid: oklch(98% 0.022 68);
  --warm-red: oklch(48% 0.13 29);
  --warm-red-soft: oklch(91% 0.052 39);
  --orange: oklch(68% 0.13 55);
  --orange-soft: oklch(92% 0.07 62);
  --red: oklch(53% 0.15 28);
  --red-deep: oklch(36% 0.105 31);
  --teal: oklch(49% 0.08 172);
  --cream: oklch(98% 0.018 78);
  --shadow: 0 18px 54px color-mix(in oklch, var(--ink) 10%, transparent);
  --shadow-strong: 0 22px 60px color-mix(in oklch, var(--ink) 16%, transparent);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei",
    Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, oklch(97% 0.036 76) 0%, oklch(94% 0.046 62) 52%, oklch(96% 0.035 39) 100%);
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid color-mix(in oklch, var(--orange) 72%, transparent);
  outline-offset: 4px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  min-height: 76px;
  margin: 0 auto;
  padding: 14px max(20px, calc((100% - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background: color-mix(in oklch, var(--paper) 88%, transparent);
  box-shadow: 0 8px 26px color-mix(in oklch, var(--ink) 5%, transparent);
  backdrop-filter: blur(18px);
}

.brand,
.nav-links,
.hero-metrics,
.site-footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid color-mix(in oklch, var(--orange) 38%, transparent);
  border-radius: 8px;
  background: var(--ink);
  color: var(--orange-soft);
  font-size: 20px;
  font-weight: 850;
  box-shadow: 0 10px 24px color-mix(in oklch, var(--ink) 14%, transparent);
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 18px;
  line-height: 1.1;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  gap: 6px;
}

.nav-links a {
  padding: 9px 13px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover {
  background: var(--warm-red-soft);
  color: var(--red-deep);
}

.hero-section,
.section-block,
.product-section,
.contact-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.58fr);
  gap: 64px;
  align-items: center;
  min-height: 0;
  padding: 76px 56px 66px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 680px;
}

.hero-eyebrow {
  margin: 0 0 16px;
  color: var(--red-deep);
  font-size: 14px;
  font-weight: 850;
}

.hero-heading {
  max-width: 640px;
  margin: 0;
  color: var(--ink);
  font-size: 48px;
  line-height: 1.16;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-side {
  display: grid;
  gap: 14px;
}

.hero-side article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  column-gap: 14px;
  min-height: 112px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 30px color-mix(in oklch, var(--ink) 7%, transparent);
}

.hero-side span {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: var(--orange-soft);
  font-size: 13px;
  font-weight: 850;
}

.hero-side strong {
  color: var(--red-deep);
  font-size: 18px;
}

.hero-side p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--red-deep);
  font-size: 13px;
  font-weight: 850;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lede {
  max-width: 620px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.85;
}

.hero-metrics {
  flex-wrap: wrap;
  gap: 10px;
  margin: 30px 0 0;
}

.hero-metrics div {
  min-width: 132px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: color-mix(in oklch, var(--surface-solid) 78%, transparent);
  box-shadow: 0 10px 24px color-mix(in oklch, var(--ink) 5%, transparent);
}

.hero-metrics dt {
  color: var(--red-deep);
  font-size: 17px;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.section-block {
  padding: 68px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  display: grid;
  gap: 12px;
  max-width: 100%;
  margin-bottom: 28px;
}

h2 {
  margin: 0;
  color: var(--ink);
  font-size: 40px;
  line-height: 1.22;
  letter-spacing: 0;
  text-wrap: balance;
}

.process-section h2 {
  white-space: nowrap;
}

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

.service-card {
  min-height: 300px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.service-card-accent {
  border-color: color-mix(in oklch, var(--warm-red) 24%, transparent);
  background: color-mix(in oklch, var(--warm-red-soft) 62%, var(--surface-solid));
}

.service-card:hover,
.process-list li:hover {
  border-color: color-mix(in oklch, var(--warm-red) 28%, transparent);
  box-shadow: var(--shadow-strong);
  transform: translateY(-2px);
}

.service-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--orange-soft);
  font-size: 13px;
  font-weight: 850;
}

.service-card h3 {
  margin: 22px 0 12px;
  font-size: 23px;
  letter-spacing: 0;
}

.service-card p,
.product-copy p,
.process-list p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.service-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.product-section {
  display: block;
  padding: 46px 0;
  border-top: 1px solid var(--line);
}

.product-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 0;
  padding: 30px 32px;
  border-radius: 8px;
  background: oklch(21% 0.055 33);
  color: var(--cream);
  text-decoration: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.product-link-card {
  border: 1px solid color-mix(in oklch, var(--orange) 24%, transparent);
}

.product-link-card:hover {
  border-color: color-mix(in oklch, var(--orange) 52%, transparent);
  box-shadow: 0 18px 44px color-mix(in oklch, var(--ink) 18%, transparent);
  transform: translateY(-2px);
}

.product-link-card:focus-visible {
  border-color: color-mix(in oklch, var(--orange) 66%, transparent);
  box-shadow:
    0 0 0 4px color-mix(in oklch, var(--orange-soft) 48%, transparent),
    0 18px 44px color-mix(in oklch, var(--ink) 18%, transparent);
}

.product-copy h2 {
  color: var(--cream);
}

.product-copy p {
  margin: 16px 0 0;
  color: oklch(84% 0.04 62);
}

.product-link-action {
  flex: 0 0 auto;
  padding: 11px 14px;
  border: 1px solid color-mix(in oklch, var(--orange) 44%, transparent);
  border-radius: 8px;
  color: var(--orange-soft);
  font-size: 14px;
  font-weight: 800;
}

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

.process-list li {
  min-height: 230px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(92, 45, 16, 0.05);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.process-list span {
  display: inline-flex;
  width: 42px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: var(--orange-soft);
  color: oklch(30% 0.08 45);
  font-weight: 850;
}

.process-list strong {
  display: block;
  margin-top: 22px;
  font-size: 18px;
}

.contact-section {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
  overflow: hidden;
  padding: 86px 0 92px;
  border-top: 1px solid var(--line);
}

.contact-section h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 44px;
}

.contact-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 96px;
  max-width: 720px;
  padding-top: 0;
}

.contact-item {
  display: grid;
  gap: 14px;
}

.contact-item strong {
  color: var(--ink);
  font-size: 20px;
}

.contact-item a {
  color: var(--warm-red);
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-item a:hover {
  text-decoration: underline;
}

.site-footer {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
  min-height: 88px;
  padding: 22px 20px;
  border-top: 1px solid color-mix(in oklch, var(--orange) 20%, transparent);
  background: oklch(21% 0.055 33);
  color: oklch(84% 0.04 62);
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

.site-footer a {
  color: var(--orange-soft);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

@media (max-width: 980px) {
  .hero-section,
  .section-block,
  .product-section {
    width: min(100% - 32px, 720px);
  }

  .hero-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    padding: 52px 32px;
  }

  h1 {
    font-size: 48px;
  }

  .hero-heading {
    font-size: 38px;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .contact-section {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 72px 32px 76px;
  }

  .contact-list {
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    padding-top: 0;
  }
}

@media (max-width: 680px) {
  .site-header {
    align-items: flex-start;
    min-height: 64px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .nav-links {
    display: none;
  }

  .hero-section,
  .section-block,
  .product-section {
    width: calc(100% - 28px);
  }

  .hero-section {
    padding-top: 28px;
    padding: 44px 22px 42px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .process-section h2 {
    white-space: normal;
  }

  .hero-heading {
    font-size: 30px;
  }

  .contact-item a {
    font-size: 22px;
  }

  .hero-metrics {
    display: grid;
  }

  .hero-side {
    display: none;
  }

  .hero-metrics div {
    width: 100%;
  }

  .service-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .product-copy {
    min-height: auto;
    padding: 24px;
    align-items: flex-start;
    flex-direction: column;
  }

  .product-section,
  .section-block {
    padding: 54px 0;
  }

  .product-section {
    grid-template-columns: 1fr;
  }

  .contact-section {
    padding: 64px 22px 70px;
  }

  .contact-section h2 {
    font-size: 36px;
  }

  .contact-list {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 0;
  }
}
