:root {
  --bg: #f5f4ef;
  --surface: #ffffff;
  --surface-alt: #ece8df;
  --text: #171717;
  --muted: #666055;
  --line: rgba(23, 23, 23, 0.1);
  --brand: #c6473b;
  --brand-deep: #7a241d;
  --dark: #10151b;
  --dark-soft: #1b232d;
  --radius-lg: 32px;
  --radius-md: 20px;
  --shadow: 0 24px 80px rgba(16, 21, 27, 0.14);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Sans SC", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(198, 71, 59, 0.16), transparent 32%),
    linear-gradient(180deg, #f8f6f1 0%, #f2efe8 100%);
}

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

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

.container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 18px 0;
  transition: background-color 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.solid,
.site-header.is-scrolled {
  background: rgba(248, 246, 241, 0.94);
  backdrop-filter: blur(14px);
  box-shadow: 0 10px 40px rgba(16, 21, 27, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-logo {
  display: block;
  width: 92px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding-bottom: 8px;
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 700;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.18);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-header.solid .site-nav a,
.site-header.is-scrolled .site-nav a {
  color: rgba(23, 23, 23, 0.92);
  text-shadow: none;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(16, 21, 27, 0.08);
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 180px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: inherit;
  opacity: 0.82;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.hero h1,
.page-hero h1,
.section-heading h2,
.split-copy h2,
.showcase-copy h2,
.solution-card h2 {
  margin: 0;
  line-height: 1.04;
  font-weight: 800;
}

.hero h1 {
  max-width: 980px;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

.hero-copy {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.08rem;
  line-height: 1.8;
}

.hero-actions,
.hero-stats,
.mini-cards,
.feature-grid,
.timeline-grid,
.news-grid,
.metric-grid,
.solution-grid,
.footer-grid {
  display: grid;
  gap: 20px;
}

.hero-actions {
  margin-top: 32px;
  grid-template-columns: repeat(2, max-content);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
}

.button-primary {
  background: linear-gradient(135deg, var(--brand) 0%, #eb7d58 100%);
  color: #fff;
}

.button-secondary {
  border: 1px solid rgba(255, 255, 255, 0.34);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-stats {
  margin-top: 48px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 680px;
}

.hero-stats div {
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.hero-stats strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.65rem;
}

.section {
  padding: 110px 0;
}

.surface {
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(8px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 42px;
}

.section-heading.narrow {
  margin-inline: auto;
  text-align: center;
}

.section-heading.light,
.section-heading.light p,
.section-heading.light .eyebrow,
.accent-section .timeline-grid h3,
.accent-section .timeline-grid p {
  color: #fff;
}

.section-heading h2,
.split-copy h2,
.showcase-copy h2,
.page-hero h1,
.solution-card h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.section-heading p,
.split-copy p,
.showcase-copy p,
.page-hero p,
.feature-card p,
.news-card p,
.solution-card p,
.timeline-grid p,
.metric-grid span,
.site-footer p {
  color: var(--muted);
  line-height: 1.8;
}

.feature-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card,
.news-card,
.solution-card,
.metric-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 40px rgba(16, 21, 27, 0.05);
}

.feature-card h3,
.news-card h3,
.timeline-grid h3 {
  margin: 0 0 12px;
  font-size: 1.24rem;
}

.split-layout,
.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 42px;
  align-items: center;
}

.split-layout.reverse {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.framed-media img,
.showcase-media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.check-list {
  padding: 0;
  margin: 24px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  margin-top: 14px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}

.accent-section {
  background:
    linear-gradient(135deg, rgba(16, 21, 27, 0.96), rgba(38, 42, 54, 0.96)),
    radial-gradient(circle at top right, rgba(198, 71, 59, 0.25), transparent 35%);
}

.timeline-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.timeline-grid article {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-grid.dark-text article {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.timeline-grid.dark-text h3,
.timeline-grid.dark-text p {
  color: var(--text);
}

.timeline-grid span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, #ef8a67 100%);
  color: #fff;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
}

.showcase {
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
}

.mini-cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 28px;
}

.mini-cards article {
  padding: 22px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
}

.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.text-link {
  color: var(--brand-deep);
  font-weight: 700;
}

.news-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.news-card span,
.site-footer span {
  display: inline-block;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-footer {
  padding: 36px 0 48px;
  background: #f0ece4;
  border-top: 1px solid rgba(23, 23, 23, 0.08);
}

.footer-grid {
  grid-template-columns: 1.25fr 1fr 1fr;
  align-items: start;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 8px 0 0;
}

.subpage-main {
  padding-top: 84px;
}

.page-hero {
  padding: 88px 0 28px;
}

.page-hero.compact {
  padding-top: 92px;
}

.metric-grid,
.solution-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metric-grid strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.3rem;
}

@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    border-radius: 24px;
    background: rgba(248, 246, 241, 0.98);
    box-shadow: 0 24px 80px rgba(16, 21, 27, 0.14);
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav.is-open,
  .nav-toggle {
    display: block;
  }

  .brand-logo {
    width: 78px;
  }

  .feature-grid,
  .timeline-grid,
  .news-grid,
  .metric-grid,
  .solution-grid,
  .footer-grid,
  .mini-cards,
  .split-layout,
  .showcase,
  .split-layout.reverse {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .hero-stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .inline-heading {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    padding: 14px 0;
  }

  .brand-logo {
    width: 68px;
  }

  .hero-content {
    padding: 146px 0 48px;
  }

  .section {
    padding: 86px 0;
  }

  .feature-card,
  .news-card,
  .solution-card,
  .metric-grid article,
  .timeline-grid article,
  .mini-cards article {
    padding: 22px;
  }
}
