:root {
  --ink: #152033;
  --muted: #677386;
  --navy: #0d2342;
  --teal: #147987;
  --green: #268057;
  --gold: #d49a18;
  --pink: #c73e65;
  --line: #dce5ef;
  --bg: #f5f8fb;
  --surface: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: Sarabun, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}

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

.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  min-height: 68px;
  padding: 14px clamp(18px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: #ffffff;
  background: rgba(13, 35, 66, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.14);
}

.landing-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 20px;
}

.landing-brand span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f7c948;
  color: var(--navy);
  box-shadow: inset 0 -5px 0 rgba(0,0,0,.12);
}

.landing-nav nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.landing-nav nav a {
  min-height: 38px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: 14px;
}

.landing-nav nav a:hover,
.landing-nav nav .nav-cta {
  background: #ffffff;
  color: var(--navy);
}

.hero {
  position: relative;
  min-height: 86vh;
  padding: 112px clamp(22px, 6vw, 84px) 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #ffffff;
  background: var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 68px;
  background: rgba(255,255,255,.05);
}

.hero-system-map {
  position: absolute;
  inset: 108px clamp(18px, 5vw, 70px) 54px;
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 16px;
  align-items: stretch;
  opacity: .32;
  pointer-events: none;
}

.map-node {
  min-height: 148px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.38);
  border-radius: 10px;
  color: #ffffff;
  background: rgba(255,255,255,.08);
  font-size: clamp(18px, 2vw, 32px);
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.map-node.setup { border-color: rgba(91, 169, 255, .68); }
.map-node.planning { border-color: rgba(100, 190, 117, .72); }
.map-node.visit { border-color: rgba(246, 193, 80, .76); }
.map-node.qa { border-color: rgba(163, 119, 221, .74); }
.map-node.publish { border-color: rgba(71, 191, 204, .72); }
.map-node.client { border-color: rgba(239, 101, 143, .76); }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 20, 42, .66);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  display: grid;
  gap: 18px;
}

.hero-copy p,
.section-title p,
.eyebrow {
  margin: 0;
  color: #f4d47e;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(58px, 9vw, 126px);
  line-height: .9;
  letter-spacing: 0;
}

.hero-copy span {
  max-width: 620px;
  color: #dce8f4;
  font-size: clamp(20px, 2.2vw, 31px);
  line-height: 1.35;
  font-weight: 700;
}

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

.primary-link,
.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 12px 16px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.28);
}

.primary-link {
  background: #ffffff;
  color: var(--navy);
}

.secondary-link {
  color: #ffffff;
  background: rgba(255,255,255,.12);
}

section:not(.hero) {
  padding: 54px clamp(18px, 5vw, 72px);
}

.section-title {
  max-width: 820px;
  margin-bottom: 22px;
}

.section-title h2,
.architecture-band h2 {
  margin: 6px 0 0;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.05;
}

.workflow-band {
  background: #ffffff;
}

.workflow-map-band {
  background: #eef6f8;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

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

.workflow-steps article,
.feature-grid article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  padding: 18px;
  box-shadow: 0 12px 24px rgba(16, 32, 56, .06);
}

.workflow-steps article {
  display: grid;
  gap: 8px;
}

.workflow-steps span,
.feature-grid span {
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--navy);
  background: #f6d784;
  font-size: 12px;
  font-weight: 900;
}

.workflow-steps b {
  color: var(--navy);
  font-size: 22px;
}

.workflow-steps small,
.feature-grid p,
.architecture-band p,
.workflow-side-panels p,
footer span {
  color: var(--muted);
  line-height: 1.55;
}

.feature-grid article:nth-child(2) span { background: #dcefdc; color: var(--green); }
.feature-grid article:nth-child(3) span { background: #ffe8b8; color: #9a6600; }
.feature-grid article:nth-child(4) span { background: #eadff8; color: #5c3b8d; }
.feature-grid article:nth-child(5) span { background: #d7f0f4; color: var(--teal); }
.feature-grid article:nth-child(6) span { background: #ffdce8; color: var(--pink); }

.feature-grid h3 {
  margin: 14px 0 8px;
  font-size: 22px;
  line-height: 1.15;
}

.feature-grid p {
  margin: 0;
}

.workflow-map-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.swimlane-stack {
  display: grid;
  gap: 10px;
}

.swimlane {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: stretch;
  border: 1px solid #cfe0eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 12px;
  box-shadow: 0 14px 28px rgba(16, 32, 56, .06);
}

.swimlane strong {
  display: grid;
  place-items: center;
  min-height: 68px;
  border-radius: 8px;
  color: var(--navy);
  background: #eef5ff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.admin-lane strong { background: #e8f2ff; color: #1f5a99; }
.scheduler-lane strong { background: #e8f6eb; color: #28733e; }
.shopper-lane strong { background: #fff3d5; color: #9a6600; }
.qa-lane strong { background: #f0e7fb; color: #664096; }
.system-lane strong { background: #e0f4f7; color: #147987; }
.client-lane strong { background: #ffe4ec; color: #b4375c; }

.lane-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(126px, 1fr));
  gap: 8px;
}

.lane-steps span {
  min-height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid #d7e3ed;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  padding: 8px;
}

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

.workflow-side-panels article {
  border: 1px solid #cfe0eb;
  border-radius: 12px;
  background: #ffffff;
  padding: 16px;
  box-shadow: 0 14px 28px rgba(16, 32, 56, .06);
}

.workflow-side-panels h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 20px;
}

.workflow-side-panels p {
  margin: 0;
}

.status-chain,
.evidence-list {
  display: grid;
  gap: 8px;
}

.status-chain span,
.evidence-list span {
  min-height: 34px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  border: 1px solid #d7e3ed;
  color: var(--navy);
  background: #f7fafc;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-chain span:nth-child(5),
.status-chain span:nth-child(6) {
  background: #fff3d5;
  border-color: #f0cf82;
  color: #8a5b00;
}

.status-chain span:nth-child(8),
.status-chain span:nth-child(9) {
  background: #e5f7ed;
  border-color: #a9dfc3;
  color: #0f6a3f;
}

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

.architecture-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  gap: 24px;
  align-items: center;
  background: #eaf2f6;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.architecture-band > div:first-child {
  max-width: 780px;
}

.architecture-band p:not(.eyebrow) {
  margin: 16px 0 0;
  font-size: 19px;
}

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

.stack-list span {
  min-height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid #b9d1dc;
  border-radius: 8px;
  background: #ffffff;
  color: var(--navy);
  font-weight: 900;
}

footer {
  padding: 26px clamp(18px, 5vw, 72px);
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  color: #ffffff;
  background: var(--navy);
}

footer strong {
  font-size: 20px;
}

footer span {
  color: #c8d8ea;
}

@media (max-width: 940px) {
  .landing-nav {
    position: absolute;
    align-items: flex-start;
  }

  .landing-nav nav a:not(.nav-cta) {
    display: none;
  }

  .hero {
    min-height: 82vh;
    align-items: flex-end;
  }

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

  .workflow-steps,
  .feature-grid,
  .workflow-map-layout,
  .architecture-band {
    grid-template-columns: 1fr;
  }

  .swimlane {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .landing-nav {
    padding-inline: 14px;
  }

  .hero {
    padding: 96px 18px 44px;
  }

  .hero-system-map {
    display: none;
  }

  .hero-actions a {
    width: 100%;
    justify-content: center;
  }

  .stack-list {
    grid-template-columns: 1fr;
  }
}
