:root {
  --ink: #101a2b;
  --muted: #5d6878;
  --line: #dbe1e8;
  --paper: #ffffff;
  --wash: #f4f7f9;
  --accent: #e55a31;
  --accent-dark: #c64320;
  --mint: #d8e8df;
  --content-width: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.site-header, .site-footer, .hero, .section, .legal-page {
  width: min(calc(100% - 48px), var(--content-width));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  color: #fff;
  background: var(--ink);
  font-size: 15px;
  font-weight: 800;
}

nav { display: flex; align-items: center; gap: 28px; }
nav a, .header-link { color: #425064; font-size: 14px; text-decoration: none; }
nav a:hover, .header-link:hover { color: var(--accent-dark); }

.hero {
  min-height: 622px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: 62px;
  padding-block: 78px 56px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { letter-spacing: 0; line-height: 1.08; }

h1 {
  max-width: 610px;
  margin-bottom: 24px;
  font-size: clamp(43px, 5vw, 72px);
  font-weight: 760;
}

h2 { margin-bottom: 12px; font-size: clamp(32px, 3.5vw, 48px); font-weight: 740; }
h3 { margin-bottom: 10px; font-size: 20px; }

.hero-lead {
  max-width: 550px;
  margin-bottom: 32px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary { color: #fff; background: var(--accent); }
.button-primary:hover { background: var(--accent-dark); }
.button-secondary { border-color: var(--ink); }
.button-secondary:hover { color: #fff; background: var(--ink); }

.hero-facts {
  display: flex;
  gap: 34px;
  margin: 46px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.hero-facts div { min-width: 142px; }
.hero-facts dt { color: var(--muted); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.hero-facts dd { margin: 3px 0 0; font-size: 14px; font-weight: 650; }

.product-visual { filter: drop-shadow(0 22px 28px rgba(16, 26, 43, .14)); }
.product-visual img { display: block; width: 100%; height: auto; }

.section { padding-block: 100px; border-top: 1px solid var(--line); }
.section-heading { max-width: 590px; }
.section-heading > p:last-child { max-width: 510px; color: var(--muted); font-size: 18px; }

.capability-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 54px;
  background: var(--line);
  border: 1px solid var(--line);
}

.capability-grid article { min-height: 236px; padding: 28px 24px; background: #fff; }
.capability-grid p { margin: 0; color: var(--muted); font-size: 15px; }
.capability-number { display: block; margin-bottom: 45px; color: var(--accent-dark); font-size: 13px; font-weight: 800; }

.workflow { display: grid; grid-template-columns: .75fr 1.25fr; gap: 70px; }
.workflow-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.workflow-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.workflow-list span { display: grid; width: 34px; height: 34px; place-items: center; color: var(--accent-dark); background: #fbe3db; font-size: 14px; font-weight: 800; }
.workflow-list h3 { margin-bottom: 5px; font-size: 19px; }
.workflow-list p { margin: 0; color: var(--muted); }

.compliance { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; background: var(--mint); border-top: 0; }
.compliance-copy { max-width: 500px; padding-top: 34px; color: #344457; font-size: 18px; }
.text-link { color: var(--ink); font-size: 15px; font-weight: 750; }
.text-link span { display: inline-block; margin-left: 6px; }

.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; }
.company { color: var(--muted); font-size: 18px; }
.contact-details { padding-top: 38px; }
.contact-details a { display: block; width: fit-content; margin-bottom: 8px; color: var(--ink); font-size: 20px; font-weight: 700; }
.contact-details p { margin-top: 20px; color: var(--muted); }

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 28px 38px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.site-footer div { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); }

.legal-page { max-width: 820px; padding-block: 84px 110px; }
.legal-page h1 { margin-bottom: 10px; font-size: clamp(42px, 5vw, 62px); }
.legal-intro { margin-bottom: 58px; color: var(--muted); }
.legal-page section { margin-bottom: 38px; }
.legal-page section h2 { margin-bottom: 12px; font-size: 24px; }
.legal-page section p { color: #465365; }
.legal-page section a, .contact-panel a { color: var(--accent-dark); }
.contact-page { min-height: calc(100vh - 190px); }
.contact-panel { margin-top: 44px; padding: 30px; background: var(--wash); border-left: 4px solid var(--accent); }
.contact-panel dl { margin: 0; }
.contact-panel dl div { display: grid; grid-template-columns: 130px 1fr; gap: 18px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.contact-panel dl div:last-child { border-bottom: 0; }
.contact-panel dt { color: var(--muted); font-size: 14px; font-weight: 700; }
.contact-panel dd { margin: 0; font-weight: 650; }

@media (max-width: 800px) {
  .site-header, .site-footer, .hero, .section, .legal-page { width: min(calc(100% - 32px), var(--content-width)); }
  .site-header { min-height: 68px; }
  nav { display: none; }
  .hero { min-height: 0; grid-template-columns: 1fr; gap: 40px; padding-block: 52px 42px; }
  h1 { font-size: clamp(40px, 12vw, 58px); }
  .hero-lead { font-size: 18px; }
  .hero-facts { margin-top: 34px; }
  .section { padding-block: 68px; }
  .capability-grid { grid-template-columns: repeat(2, 1fr); margin-top: 36px; }
  .capability-grid article { min-height: 195px; }
  .capability-number { margin-bottom: 30px; }
  .workflow, .compliance, .contact { grid-template-columns: 1fr; gap: 22px; }
  .compliance-copy, .contact-details { padding-top: 0; }
  .site-footer { display: block; }
  .site-footer div { margin-top: 12px; }
  .legal-page { padding-block: 60px 72px; }
}

@media (max-width: 460px) {
  .brand { font-size: 14px; }
  .header-link { font-size: 13px; }
  .hero-facts { gap: 18px; }
  .hero-facts div { min-width: 0; }
  .capability-grid { grid-template-columns: 1fr; }
  .contact-panel { padding: 20px; }
  .contact-panel dl div { grid-template-columns: 1fr; gap: 4px; }
}
