:root {
  color-scheme: light;
  --ink: #0f1720;
  --muted: #55606b;
  --line: #d9e3ea;
  --paper: #f7fbfd;
  --panel: #ffffff;
  --mist: #eaf6fb;
  --ice: #abc8e6;
  --seafoam: #9fc0bd;
  --assurance-navy: #061b3d;
  --brand-blue: #2820b4;
  --periwinkle: #5f87ea;
  --deep-blue: #002253;
  --brand-charcoal: #313133;
  --evidence-green: #4d8b74;
  --risk-amber: #b7791f;
  --critical-red: #a33b3b;
  --soft-blue: #dcecf8;
  --shadow: 0 18px 50px rgba(0, 34, 83, 0.08);
  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-text: Inter, Aptos, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-evidence: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 16px;
  line-height: 1.6;
  font-feature-settings: "tnum" 1, "liga" 1, "calt" 1;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(217, 224, 218, 0.8);
  background: rgba(247, 251, 253, 0.92);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--brand-blue);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-logo {
  display: block;
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  color: var(--muted);
  font-size: 0.94rem;
}

.nav a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid var(--brand-blue);
  background: var(--brand-blue);
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
}

.button.secondary {
  background: transparent;
  color: var(--brand-blue);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: center;
  padding: clamp(56px, 9vw, 110px) clamp(20px, 5vw, 72px) clamp(42px, 6vw, 86px);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--brand-blue);
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 900px;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.2rem);
  font-weight: 500;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 500;
}

h3 {
  font-size: 1.08rem;
}

.simple-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.55fr);
  gap: clamp(34px, 7vw, 88px);
  align-items: center;
  min-height: calc(100vh - 96px);
  padding: clamp(52px, 9vw, 112px) clamp(20px, 5vw, 72px);
}

.simple-copy {
  max-width: 850px;
}

.simple-copy > p:not(.eyebrow):not(.lede) {
  max-width: 690px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.logo-stage {
  display: grid;
  min-height: 430px;
  margin: 0;
  place-items: center;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 55% 42%, rgba(171, 200, 230, 0.42), transparent 42%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.78), rgba(234, 246, 251, 0.9));
  box-shadow: var(--shadow);
}

.logo-stage img {
  width: min(76%, 380px);
  height: auto;
  opacity: 0.92;
}

.quiet-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.quiet-links a {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  padding: 0 14px;
  color: var(--brand-blue);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.page-hero {
  padding: clamp(58px, 10vw, 118px) clamp(20px, 5vw, 72px) clamp(38px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}

.page-hero p:not(.eyebrow) {
  max-width: 880px;
  color: var(--muted);
  font-size: 1.12rem;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 0.48fr);
  gap: 24px;
  align-items: start;
}

.note-panel {
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.note-panel ul {
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.code-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.code-list a,
.code-list code {
  color: var(--brand-blue);
  font-family: var(--font-evidence);
  text-decoration: none;
}

.lede {
  max-width: 730px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

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

.hero-visual {
  min-height: 520px;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at 55% 42%, rgba(171, 200, 230, 0.32), transparent 38%),
    linear-gradient(145deg, rgba(247, 251, 253, 0.9), rgba(234, 246, 251, 0.62)),
    url("/assets/dilijenz-logo-original.png");
  background-position: center;
  background-size: auto, auto, min(78%, 420px);
  background-repeat: no-repeat;
  box-shadow: var(--shadow);
}

.section {
  padding: clamp(50px, 8vw, 96px) clamp(20px, 5vw, 72px);
}

.section.alt {
  background: #eef7fb;
  border-block: 1px solid var(--line);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 34px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

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

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

.card {
  min-height: 230px;
  padding: 26px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.card strong {
  display: block;
  margin-bottom: 12px;
  color: var(--brand-blue);
  font-size: 0.88rem;
}

.card p,
.step p {
  margin: 12px 0 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.step {
  min-height: 260px;
  padding: 24px;
  background: var(--panel);
}

.step-number {
  display: inline-flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin-bottom: 48px;
  border: 1px solid var(--seafoam);
  color: var(--brand-blue);
  font-weight: 800;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(280px, 0.45fr);
  gap: 24px;
  align-items: center;
  padding: clamp(34px, 6vw, 64px);
  background: var(--assurance-navy);
  color: #ffffff;
}

.callout p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.callout .button {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--deep-blue);
}

.mcp-hero {
  padding: clamp(58px, 10vw, 118px) clamp(20px, 5vw, 72px) clamp(38px, 6vw, 70px);
  border-bottom: 1px solid var(--line);
}

.mcp-panel {
  max-width: 980px;
  margin-top: 34px;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--panel);
}

.mcp-list {
  display: grid;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.mcp-list li {
  padding-left: 18px;
  border-left: 3px solid var(--soft-blue);
  color: var(--muted);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer span:first-child {
  color: var(--assurance-navy);
  font-weight: 750;
}

@media (max-width: 900px) {
  .hero,
  .simple-hero,
  .section-header,
  .callout,
  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 360px;
  }

  .logo-stage {
    min-height: 300px;
  }

  .grid,
  .grid.two,
  .steps {
    grid-template-columns: 1fr;
  }

  .step {
    min-height: 0;
  }

  .step-number {
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    justify-content: flex-start;
  }

  .brand-logo {
    width: 42px;
  }

  .hero {
    padding-top: 38px;
  }
}
