:root {
  --ink: #17231f;
  --muted: #63726c;
  --paper: #f6f2e9;
  --paper-2: #ede9df;
  --white: #fffdf8;
  --mist: #e4eee7;
  --leaf: #285f48;
  --leaf-deep: #103b2b;
  --clay: #b06a3a;
  --gold: #f0c36f;
  --blue: #234b69;
  --line: rgba(23, 35, 31, 0.14);
  --shadow: 0 22px 60px rgba(16, 59, 43, 0.14);
  --radius: 8px;
}

* {
  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;
  line-height: 1.55;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(12, 35, 27, 0.76);
  color: var(--white);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand small {
  display: block;
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 800;
}

.nav-links a {
  padding: 10px 11px;
  color: rgba(255, 255, 255, 0.84);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.menu-btn {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  align-items: center;
  justify-content: center;
}

.hero,
.page-hero {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(8, 31, 23, 0.93) 0%, rgba(8, 31, 23, 0.72) 46%, rgba(8, 31, 23, 0.2) 100%),
    var(--hero-img) center / cover;
}

.hero {
  --hero-img: url("https://images.unsplash.com/photo-1448375240586-882707db888b?auto=format&fit=crop&w=1800&q=82");
  min-height: 86vh;
  padding: 132px 0 48px;
  display: flex;
  align-items: end;
}

.page-hero {
  min-height: 430px;
  padding: 132px 0 62px;
  display: flex;
  align-items: end;
}

.overview-hero {
  --hero-img: url("https://images.unsplash.com/photo-1513836279014-a89f7a76ae86?auto=format&fit=crop&w=1800&q=82");
}

.certification-hero {
  --hero-img: url("https://images.unsplash.com/photo-1501004318641-b39e6451bec6?auto=format&fit=crop&w=1800&q=82");
}

.process-hero {
  --hero-img: url("https://images.unsplash.com/photo-1497215728101-856f4ea42174?auto=format&fit=crop&w=1800&q=82");
}

.resources-hero {
  --hero-img: url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1800&q=82");
}

.contact-hero {
  --hero-img: url("https://images.unsplash.com/photo-1500530855697-b586d89ba3ee?auto=format&fit=crop&w=1800&q=82");
}

.wrap,
.hero-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(260px, 1fr);
  gap: 42px;
  align-items: end;
}

.hero-panel {
  border-left: 1px solid rgba(255, 255, 255, 0.24);
  padding-left: 24px;
  color: rgba(255, 255, 255, 0.84);
}

.hero-panel strong {
  display: block;
  color: var(--white);
  font-size: clamp(28px, 2.8vw, 34px);
  line-height: 1;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

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

h1 {
  max-width: 840px;
  font-size: clamp(46px, 7vw, 92px);
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 74px);
}

h2 {
  font-size: clamp(30px, 4vw, 56px);
}

h3 {
  font-size: 23px;
}

.hero-copy,
.page-copy {
  max-width: 700px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 22px);
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.btn {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  padding: 12px 17px;
  border-radius: var(--radius);
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.btn-primary {
  background: var(--gold);
  color: #14251f;
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.34);
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--leaf-deep);
  color: var(--white);
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

section {
  padding: 88px 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.band {
  background: #eef1ec;
}

.signal-strip {
  background: var(--leaf-deep);
  color: var(--white);
}

.signals {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.signal {
  min-height: 118px;
  padding: 24px;
  background: var(--leaf-deep);
}

.signal b {
  display: block;
  color: var(--gold);
  font-size: 28px;
  line-height: 1;
}

.signal span {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 42px;
  align-items: center;
}

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

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

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

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--mist);
}

.image-frame img {
  width: 100%;
  height: min(540px, 60vw);
  object-fit: cover;
}

.card,
.resource-card,
.track-card,
.faq-item,
.info-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.card,
.resource-card,
.track-card,
.info-panel {
  padding: 26px;
}

.card p,
.resource-card p,
.track-card p,
.info-panel p,
.timeline-step p {
  color: var(--muted);
  margin: 10px 0 0;
}

.icon-box {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--mist);
  color: var(--leaf);
}

.stack {
  display: grid;
  gap: 16px;
}

.feature-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.feature-row:last-child {
  border-bottom: 0;
}

.track-card {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.code {
  width: fit-content;
  padding: 6px 9px;
  border-radius: 999px;
  background: #e8efe7;
  color: var(--leaf);
  font-weight: 900;
  font-size: 13px;
}

.tick-list,
.plain-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--muted);
}

.tick-list li,
.plain-list li {
  display: flex;
  gap: 9px;
}

.tick-list li::before,
.plain-list li::before {
  content: "";
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  margin-top: 9px;
  background: var(--clay);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

th,
td {
  padding: 18px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  background: #e8efe7;
  color: var(--leaf-deep);
}

tr:last-child td {
  border-bottom: 0;
}

.timeline {
  display: grid;
  gap: 14px;
  counter-reset: step;
}

.timeline-step {
  position: relative;
  display: grid;
  grid-template-columns: 74px 1fr minmax(120px, 180px);
  gap: 22px;
  align-items: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.timeline-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: var(--radius);
  background: var(--leaf);
  color: var(--white);
  font-weight: 900;
}

.tag {
  justify-self: end;
  padding: 8px 10px;
  border: 1px solid rgba(176, 106, 58, 0.3);
  border-radius: 999px;
  color: #8a4e2d;
  background: #fff5e9;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

/* Certification journey flowchart */
.flow {
  max-width: 620px;
  margin: 0 auto;
  display: grid;
  justify-items: center;
}

.flow-step {
  width: 100%;
  text-align: center;
  padding: 18px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.flow-step .flow-label {
  display: block;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clay);
  margin-bottom: 5px;
}

.flow-step .flow-title {
  font-size: 19px;
  font-weight: 900;
  color: var(--leaf-deep);
}

.flow-step .flow-sub {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14.5px;
}

.flow-step.is-final {
  background: var(--leaf-deep);
  border-color: var(--leaf-deep);
}

.flow-step.is-final .flow-title {
  color: var(--gold);
}

.flow-arrow {
  width: 2px;
  height: 26px;
  margin: 6px 0;
  background: var(--leaf);
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 9px solid var(--leaf);
}

.resource-card {
  display: flex;
  min-height: 248px;
  flex-direction: column;
  justify-content: space-between;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq-trigger {
  width: 100%;
  padding: 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  text-align: left;
  font-weight: 900;
  cursor: pointer;
}

.faq-answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-box {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: 28px;
  padding: 42px;
  border-radius: var(--radius);
  background: var(--leaf-deep);
  color: var(--white);
}

.contact-box p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-panel a,
.contact-panel span {
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 13px 14px;
  background: var(--white);
  color: var(--ink);
}

.form-grid textarea {
  min-height: 120px;
  resize: vertical;
}

.notice {
  padding: 18px;
  border-left: 4px solid var(--clay);
  background: #fff6e9;
  color: #68462c;
}

footer {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.footer-inner {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .nav {
    min-height: 64px;
  }

  .menu-btn {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    top: 64px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(12, 35, 27, 0.96);
  }

  .nav-links.open {
    display: flex;
  }

  .hero-inner,
  .section-head,
  .grid-2,
  .contact-box {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }

  .signals,
  .resource-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-step {
    grid-template-columns: 64px 1fr;
  }

  .tag {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .brand small {
    display: none;
  }

  .hero {
    min-height: 82vh;
    padding-top: 108px;
  }

  .page-hero {
    min-height: 370px;
    padding-top: 108px;
  }

  h1 {
    font-size: clamp(38px, 13vw, 58px);
  }

  .signals,
  .resource-grid,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 64px 0;
  }

  .timeline-step {
    grid-template-columns: 1fr;
  }

  .tag {
    grid-column: auto;
  }

  .contact-box {
    padding: 28px;
  }

  .contact-panel a,
  .contact-panel span {
    font-size: 14px;
  }
}
