:root {
  color-scheme: light;
  --landing-font-sans: Arial, Helvetica, sans-serif;
  --landing-font-serif: Georgia, "Times New Roman", serif;
  --landing-bg: #f4f1eb;
  --landing-surface: #ffffff;
  --landing-surface-soft: #faf8f3;
  --landing-text: #17202a;
  --landing-muted: #5e6874;
  --landing-border: #d9d2c6;
  --landing-primary: #244f78;
  --landing-primary-dark: #173856;
  --landing-stone: #e8e1d5;
  --landing-stone-dark: #cfc4b5;
  --landing-shadow: 0 1rem 2.5rem rgba(23, 32, 42, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--landing-font-sans);
  color: var(--landing-text);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.landing-page {
  min-height: 100vh;
  overflow-x: clip;
  background:
    radial-gradient(circle at 80% 8%, rgba(202, 190, 173, 0.34), transparent 29rem),
    linear-gradient(180deg, var(--landing-bg) 0%, #fbfaf7 58%, #f6f3ee 100%);
}

.landing-shell {
  width: min(76rem, calc(100% - 3rem));
  margin: 0 auto;
}

.landing-header {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.5rem 0;
}

.landing-brand,
.landing-nav,
.landing-actions,
.landing-preview-header,
.landing-footer-brand,
.landing-footer nav {
  display: flex;
  align-items: center;
}

.landing-brand {
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  color: var(--landing-primary-dark);
}

.landing-brand img,
.landing-footer-brand img {
  width: 2.25rem;
  height: 2.25rem;
}

.landing-nav {
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.landing-nav a,
.landing-button,
.landing-footer a {
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 700;
}

.landing-nav a,
.landing-footer a {
  padding: 0.55rem 0.8rem;
  color: var(--landing-muted);
}

.landing-nav a:hover,
.landing-nav a:focus-visible,
.landing-footer a:hover,
.landing-footer a:focus-visible {
  color: var(--landing-primary-dark);
}

.landing-nav .landing-nav-button {
  padding: 0.55rem 1rem;
  border: 1px solid rgba(36, 79, 120, 0.22);
  background: rgba(255, 255, 255, 0.74);
  color: var(--landing-primary-dark);
}

.landing-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.46fr);
  gap: clamp(1.25rem, 3.5vw, 3rem);
  align-items: center;
  min-height: 36rem;
  padding: 2.25rem 0 4.25rem;
}

.landing-hero::before {
  content: "";
  position: absolute;
  z-index: -2;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background-image:
    linear-gradient(90deg, var(--landing-bg) 0%, rgba(244, 241, 235, 0.98) 27%, rgba(244, 241, 235, 0.58) 50%, rgba(244, 241, 235, 0.16) 78%, rgba(244, 241, 235, 0.44) 100%),
    linear-gradient(180deg, rgba(244, 241, 235, 0.72) 0%, rgba(244, 241, 235, 0.08) 42%, rgba(244, 241, 235, 0.88) 100%),
    var(--landing-hero-image);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

.landing-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto 0 50%;
  width: 50vw;
  transform: translateX(-4rem);
  background: linear-gradient(90deg, var(--landing-bg) 0%, rgba(244, 241, 235, 0) 35%);
  pointer-events: none;
}

.landing-hero-copy {
  position: relative;
  z-index: 2;
  max-width: 45rem;
}

.landing-kicker {
  margin: 0 0 1rem;
  color: var(--landing-primary);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-hero h1 {
  max-width: 19ch;
  margin: 0;
  font-family: var(--landing-font-serif);
  font-size: clamp(2.65rem, 4.05vw, 4.05rem);
  font-weight: 700;
  line-height: 1.04;
  color: #121a24;
}

.landing-lede {
  max-width: 42rem;
  margin: 1.35rem 0 0;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.65;
  color: #33404d;
}

.landing-boundary {
  max-width: 43rem;
  margin: 1rem 0 0;
  padding-left: 1rem;
  border-left: 3px solid var(--landing-stone-dark);
  color: var(--landing-muted);
  line-height: 1.65;
}

.landing-actions {
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.landing-button {
  padding: 0.75rem 1.2rem;
  border: 1px solid transparent;
}

.landing-button-primary {
  background: var(--landing-primary);
  color: #ffffff;
  box-shadow: 0 0.75rem 1.5rem rgba(36, 79, 120, 0.2);
}

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

.landing-button-secondary {
  border-color: rgba(36, 79, 120, 0.2);
  background: rgba(255, 255, 255, 0.66);
  color: var(--landing-primary-dark);
}

.landing-hero-visual {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  min-height: 28rem;
}

.landing-preview-card {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(217, 210, 198, 0.92);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1rem 2rem rgba(23, 32, 42, 0.08);
}

.landing-preview-card {
  width: min(24rem, 100%);
  margin: 9rem 0 0;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.landing-preview-header {
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--landing-muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-preview-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid rgba(217, 210, 198, 0.85);
  color: var(--landing-muted);
}

.landing-preview-row strong {
  color: var(--landing-text);
}

.landing-section {
  padding: 4.5rem 0;
  border-top: 1px solid rgba(217, 210, 198, 0.75);
}

.landing-section-header {
  max-width: 54rem;
  margin-bottom: 2rem;
}

.landing-section-header-with-icon {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
}

.landing-section-header-with-icon img {
  width: 3.75rem;
  height: 3.75rem;
}

.landing-section h2,
.landing-cta h2 {
  margin: 0;
  font-family: var(--landing-font-serif);
  font-size: clamp(1.75rem, 3vw, 2.65rem);
  line-height: 1.12;
  color: #121a24;
}

.landing-card-grid,
.landing-governance {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.landing-card,
.landing-governance article {
  border: 1px solid rgba(217, 210, 198, 0.92);
  border-radius: 0.875rem;
  background: rgba(255, 255, 255, 0.8);
  padding: 1.75rem;
  box-shadow: 0 0.75rem 1.75rem rgba(23, 32, 42, 0.04);
}

.landing-card img,
.landing-governance article > img {
  width: 4.5rem;
  height: 4.5rem;
  margin-bottom: 1.15rem;
}

.landing-card h3,
.landing-workflow-steps h3,
.landing-governance h3 {
  margin: 0 0 0.5rem;
  color: #152130;
  font-size: 1.03rem;
}

.landing-card p,
.landing-workflow-steps p,
.landing-governance p {
  margin: 0;
  color: var(--landing-muted);
  font-size: 0.96rem;
  line-height: 1.65;
}

.landing-workflow {
  padding-block: clamp(3rem, 6vw, 5rem);
}

.landing-workflow .landing-section-header {
  max-width: 48rem;
  margin-bottom: 1.5rem;
}

.landing-workflow-intro {
  margin: 0.75rem 0 0;
  color: var(--landing-muted);
  line-height: 1.65;
}

.landing-workflow-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-block: 1px solid rgba(217, 210, 198, 0.92);
  padding: 0;
  list-style: none;
}

.landing-workflow-steps li {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-right: 1px solid rgba(217, 210, 198, 0.72);
  background: rgba(255, 255, 255, 0.38);
}

.landing-workflow-steps li:last-child {
  border-right: 0;
}

.landing-workflow-steps li > span {
  flex: 0 0 auto;
  color: var(--landing-primary);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.landing-workflow-steps h3 {
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
}

.landing-workflow-steps p {
  font-size: 0.88rem;
  line-height: 1.5;
}

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

.landing-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
  padding: 3rem 4.5rem;
  border: 1px solid rgba(217, 210, 198, 0.92);
  border-radius: 1.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(232, 225, 213, 0.7)),
    var(--landing-surface-soft);
  box-shadow: var(--landing-shadow);
}

.landing-cta > img {
  width: 3rem;
  height: 3rem;
}

.landing-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 2rem 0;
  color: var(--landing-muted);
  font-size: 0.95rem;
}

.landing-footer-brand {
  gap: 0.75rem;
  color: var(--landing-primary-dark);
  font-weight: 700;
}

.landing-footer nav {
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

@media (max-width: 960px) {
  .landing-shell {
    width: min(100% - 2rem, 76rem);
  }

  .landing-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

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

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

  .landing-workflow-steps li:nth-child(2) {
    border-right: 0;
  }

  .landing-workflow-steps li:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(217, 210, 198, 0.72);
  }

  .landing-hero {
    min-height: auto;
    gap: 1.5rem;
    padding-top: 1rem;
  }

  .landing-hero::before {
    top: 12.5rem;
    bottom: 20rem;
    opacity: 0.76;
    background-position: 58% center;
  }

  .landing-hero::after {
    display: none;
  }

  .landing-hero h1 {
    max-width: 20ch;
    font-size: clamp(2.2rem, 9vw, 3.2rem);
    line-height: 1.07;
  }

  .landing-hero-visual {
    min-height: 16rem;
  }

  .landing-preview-card {
    width: min(25rem, calc(100% - 2rem));
    margin: 6rem auto 0;
  }

  .landing-card-grid,
  .landing-governance {
    grid-template-columns: 1fr;
  }

  .landing-section-header-with-icon,
  .landing-cta,
  .landing-footer {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .landing-cta {
    padding: 1.5rem;
  }

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

@media (max-width: 600px) {
  .landing-workflow-steps {
    grid-template-columns: 1fr;
  }

  .landing-workflow-steps li,
  .landing-workflow-steps li:nth-child(2) {
    border-right: 0;
  }

  .landing-workflow-steps li:not(:last-child) {
    border-bottom: 1px solid rgba(217, 210, 198, 0.72);
  }
}

@media (min-width: 961px) and (max-width: 1120px) {
  .landing-card-grid,
  .landing-governance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
