:root {
  color-scheme: light;
  --ink: #16181d;
  --ink-soft: #4b5361;
  --muted: #6d7480;
  --paper: #fbfaf8;
  --surface: #ffffff;
  --line: #e5e0d8;
  --cherry: #b9132f;
  --cherry-dark: #7e0f23;
  --cyan: #38a6b8;
  --sage: #6d8d72;
  --gold: #bf8a3a;
  --shadow: 0 24px 70px rgba(22, 24, 29, 0.14);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 14px;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(100% - 32px, var(--max));
  margin: 16px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 10px;
  background: rgba(22, 24, 29, 0.58);
  color: #ffffff;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  border-color: rgba(22, 24, 29, 0.08);
  box-shadow: 0 18px 46px rgba(22, 24, 29, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 760;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--cherry), var(--cherry-dark));
  color: #ffffff;
  font-size: 0.78rem;
  letter-spacing: 0;
  box-shadow: 0 10px 28px rgba(185, 19, 47, 0.34);
}

.brand-name {
  white-space: nowrap;
}

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

.site-nav a {
  border-radius: 8px;
  padding: 9px 12px;
  color: inherit;
  font-size: 0.94rem;
  font-weight: 650;
  opacity: 0.9;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.16);
  opacity: 1;
  outline: none;
}

.site-header.is-scrolled .site-nav a:hover,
.site-header.is-scrolled .site-nav a:focus-visible {
  background: rgba(185, 19, 47, 0.08);
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 8px;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 92svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: #ffffff;
}

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

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.02);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(22, 24, 29, 0.88) 0%, rgba(22, 24, 29, 0.64) 45%, rgba(22, 24, 29, 0.18) 100%),
    linear-gradient(0deg, rgba(22, 24, 29, 0.8) 0%, rgba(22, 24, 29, 0.05) 42%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 148px 0 56px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--cherry);
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #ffb3bd;
}

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

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(3.5rem, 10vw, 8.8rem);
  font-weight: 840;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 820;
}

h3 {
  font-size: 1.2rem;
  font-weight: 760;
}

.hero-lede {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.08rem, 2vw, 1.42rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 760;
  line-height: 1.2;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.button.primary {
  background: var(--cherry);
  color: #ffffff;
  box-shadow: 0 16px 38px rgba(185, 19, 47, 0.32);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--cherry-dark);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.button.secondary:hover,
.button.secondary:focus-visible {
  background: rgba(255, 255, 255, 0.18);
}

.button.wide {
  width: 100%;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 820px;
  margin: 64px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.hero-metrics div {
  padding: 18px;
  background: rgba(22, 24, 29, 0.36);
}

.hero-metrics dt {
  font-weight: 800;
}

.hero-metrics dd {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.92rem;
}

.section,
.section-band,
.cta {
  padding: 96px 0;
}

.section-band {
  background: #ffffff;
}

.section-inner {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1fr);
  gap: 44px;
  align-items: start;
}

.intro-grid p:last-child,
.section-heading p,
.platform-copy p,
.cta p {
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(260px, 0.7fr);
  gap: 34px;
  align-items: end;
  margin-bottom: 34px;
}

.section-heading .section-kicker,
.section-heading h2 {
  grid-column: 1;
}

.section-heading p {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.section-heading.compact {
  display: block;
  margin: 0;
}

.section-heading.compact p:last-child {
  max-width: 560px;
  margin: 20px 0 0;
}

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

.solution-card,
.trust-item,
.contact-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 12px 34px rgba(22, 24, 29, 0.05);
}

.solution-card {
  min-height: 300px;
  padding: 24px;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: #f4e6e9;
  color: var(--cherry);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.solution-card p,
.trust-item p,
.workflow-step p {
  margin: 14px 0 0;
  color: var(--muted);
}

.platform-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 46px;
  align-items: center;
}

.workflow-panel {
  display: grid;
  gap: 12px;
}

.workflow-step {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 0 18px;
  min-height: 128px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfaf8 100%);
}

.workflow-step span {
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--ink);
  color: #ffffff;
  font-weight: 820;
}

.workflow-step:nth-child(2) span {
  background: var(--cyan);
}

.workflow-step:nth-child(3) span {
  background: var(--sage);
}

.workflow-step strong {
  font-size: 1.1rem;
}

.security-grid,
.cta-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
  gap: 44px;
}

.trust-list {
  display: grid;
  gap: 12px;
}

.trust-item {
  padding: 24px;
}

.trust-item h3::before {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.cta {
  background: var(--ink);
  color: #ffffff;
}

.cta .section-kicker {
  color: #ffb3bd;
}

.cta p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-box {
  align-self: start;
  padding: 14px;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.contact-link {
  display: block;
  border-radius: 8px;
  padding: 18px;
  color: #ffffff;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: rgba(255, 255, 255, 0.09);
  outline: none;
}

.contact-link span {
  display: block;
  margin-bottom: 4px;
  color: #ffb3bd;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer {
  background: #111318;
  color: rgba(255, 255, 255, 0.76);
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
}

.footer-brand {
  color: #ffffff;
}

.footer-inner p {
  margin: 0;
  font-size: 0.94rem;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .intro-grid,
  .platform-layout,
  .security-grid,
  .cta-layout {
    grid-template-columns: 1fr;
  }

  .section-heading p {
    grid-column: auto;
    grid-row: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 24px);
    margin-top: 12px;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(22, 24, 29, 0.08);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--ink);
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

  .hero {
    min-height: 880px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(22, 24, 29, 0.88) 0%, rgba(22, 24, 29, 0.62) 52%, rgba(22, 24, 29, 0.88) 100%);
  }

  .hero-content {
    padding-top: 124px;
  }

  .hero-metrics,
  .solution-grid {
    grid-template-columns: 1fr;
  }

  .hero-metrics div {
    padding: 16px;
  }

  .section,
  .section-band,
  .cta {
    padding: 70px 0;
  }

  .workflow-step {
    grid-template-columns: 48px 1fr;
    padding: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
