:root {
  color-scheme: light;
  --ink: #121725;
  --muted: #566070;
  --paper: #f5f7fb;
  --panel: #ffffff;
  --line: #d9e0ea;
  --navy: #1f2a44;
  --blue: #2563eb;
  --green: #0f766e;
  --amber: #f2b84b;
  --coral: #d2574a;
  --violet: #6654d9;
  --shadow: 0 18px 48px rgba(31, 42, 68, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(20px, 5vw, 64px);
  color: #fff;
  background: linear-gradient(180deg, rgba(15, 20, 34, 0.86), rgba(15, 20, 34, 0));
}

.brand,
.nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 900;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
  background: var(--amber);
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1;
}

.nav {
  gap: clamp(14px, 2.8vw, 28px);
  font-size: 0.92rem;
  font-weight: 850;
}

.nav a {
  text-decoration: none;
  opacity: 0.86;
}

.nav a:hover {
  opacity: 1;
}

.hero {
  position: relative;
  min-height: 82svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #101522;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 62% center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 21, 34, 0.96) 0%, rgba(16, 21, 34, 0.78) 42%, rgba(16, 21, 34, 0.16) 82%),
    linear-gradient(0deg, rgba(16, 21, 34, 0.52), rgba(16, 21, 34, 0.05));
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(800px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 88px);
  padding-top: 72px;
  color: #fff;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--amber);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 780px;
  font-size: 8rem;
  line-height: 0.96;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
}

h2 {
  font-size: 3.65rem;
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  font-size: 1.42rem;
  line-height: 1.18;
}

.hero-copy {
  max-width: 700px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.2rem;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.button.primary {
  background: var(--coral);
  color: #fff;
}

.button.primary:hover {
  background: #b8483d;
}

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

.button.outline {
  border-color: var(--line);
  background: #fff;
  color: var(--navy);
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 124px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 36px;
}

.section-heading > p,
.section-copy p:not(.eyebrow),
.template-copy p,
.contact-panel p {
  color: var(--muted);
  font-size: 1.08rem;
}

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

.index-card {
  display: flex;
  min-height: 280px;
  flex-direction: column;
  justify-content: space-between;
  gap: 22px;
  padding: 26px;
  border: 1px solid var(--line);
  border-top: 6px solid var(--blue);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 10px 26px rgba(31, 42, 68, 0.06);
  text-decoration: none;
}

.index-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.index-card span {
  color: var(--muted);
  font-weight: 900;
}

.index-card h3 {
  color: var(--navy);
}

.index-card p {
  color: var(--muted);
}

.index-card.security {
  border-top-color: var(--green);
}

.index-card.learning {
  border-top-color: var(--violet);
}

.index-card.templates {
  border-top-color: var(--coral);
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(270px, 0.92fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: center;
}

.section-copy p:not(.eyebrow) {
  max-width: 780px;
  margin-top: 22px;
}

.formula-bar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 32px;
}

.formula-bar span {
  display: grid;
  min-height: 62px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 900;
}

.feature-visual {
  display: grid;
  min-height: 340px;
  place-items: center;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(242, 184, 75, 0.15)),
    #fff;
  box-shadow: var(--shadow);
}

.feature-visual img {
  width: min(280px, 70%);
}

.map-band,
.evidence-band {
  background: var(--navy);
  color: #fff;
}

.band-inner {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) 0;
}

.band-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 34px;
}

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

.map-grid article {
  min-height: 190px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.map-grid h3 {
  color: #fff;
}

.map-grid p,
.evidence-inner p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.78);
}

.system-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.78fr) minmax(260px, 0.78fr);
  gap: 16px;
}

.system-panel {
  min-height: 320px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 42, 68, 0.06);
}

.system-panel.accent {
  background: var(--green);
  color: #fff;
}

.system-panel p,
.compact-list {
  margin-top: 18px;
  color: var(--muted);
}

.system-panel.accent p {
  color: rgba(255, 255, 255, 0.86);
}

.compact-list {
  padding-left: 1.2rem;
}

.compact-list li + li {
  margin-top: 10px;
}

.evidence-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(280px, 1.06fr);
  gap: clamp(32px, 6vw, 82px);
  align-items: center;
}

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

.evidence-grid span {
  display: flex;
  min-height: 92px;
  align-items: center;
  padding: 18px;
  border-left: 6px solid var(--amber);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.09);
  font-weight: 900;
}

.ladder {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ladder;
}

.ladder li {
  position: relative;
  min-height: 230px;
  padding: 70px 20px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 26px rgba(31, 42, 68, 0.06);
}

.ladder li::before {
  counter-increment: ladder;
  content: counter(ladder);
  position: absolute;
  top: 20px;
  left: 20px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.ladder strong,
.ladder span {
  display: block;
}

.ladder strong {
  color: var(--navy);
  font-size: 1.1rem;
}

.ladder span {
  margin-top: 10px;
  color: var(--muted);
}

.template-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(210, 87, 74, 0.09)),
    #fff;
  box-shadow: var(--shadow);
}

.template-copy p {
  max-width: 720px;
  margin-top: 22px;
}

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

.template-list span {
  padding: 16px 18px;
  border: 1px solid rgba(31, 42, 68, 0.12);
  border-radius: 8px;
  background: #fff;
  color: var(--navy);
  font-weight: 850;
}

.contact-section {
  padding-bottom: clamp(80px, 10vw, 140px);
}

.contact-panel {
  max-width: 940px;
  padding: clamp(30px, 6vw, 56px);
  border-left: 8px solid var(--coral);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.contact-panel p {
  max-width: 780px;
  margin-top: 20px;
}

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

@media (max-width: 1040px) {
  h1 {
    font-size: 6.2rem;
  }

  h2 {
    font-size: 3rem;
  }

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

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

@media (max-width: 840px) {
  .nav {
    display: none;
  }

  .section-heading,
  .split-section,
  .band-heading,
  .evidence-inner,
  .template-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 86svh;
    align-items: end;
  }

  .hero-content {
    width: calc(100% - 40px);
    margin: 0 auto;
    padding: 118px 0 54px;
  }
}

@media (max-width: 640px) {
  .site-header {
    min-height: 66px;
  }

  .hero-image {
    object-position: 70% center;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(16, 21, 34, 0.97) 0%, rgba(16, 21, 34, 0.78) 58%, rgba(16, 21, 34, 0.20) 100%),
      linear-gradient(90deg, rgba(16, 21, 34, 0.30), rgba(16, 21, 34, 0.04));
  }

  h1 {
    font-size: 3.1rem;
  }

  h2 {
    font-size: 2.15rem;
  }

  h3 {
    font-size: 1.24rem;
  }

  .hero-copy {
    font-size: 1.04rem;
  }

  .hero-actions,
  .contact-actions,
  .button {
    width: 100%;
  }

  .index-grid,
  .map-grid,
  .system-layout,
  .evidence-grid,
  .ladder,
  .formula-bar {
    grid-template-columns: 1fr;
  }

  .index-card,
  .system-panel,
  .ladder li {
    min-height: auto;
  }

  .feature-visual {
    min-height: 260px;
  }

  .site-footer {
    flex-direction: column;
  }
}
