:root {
  color-scheme: light;
  --ink: #102a22;
  --ink-2: #173c31;
  --muted: #60716a;
  --line: #d9e0db;
  --surface: #ffffff;
  --soft: #f3f6f1;
  --deep: #06351f;
  --deep-2: #0b4a2d;
  --gold: #c99a36;
  --gold-2: #e0b95e;
  --stone: #f8f7f1;
  --steel: #415d60;
  --shadow: 0 22px 60px rgba(8, 42, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(248, 247, 241, 0.94), rgba(255, 255, 255, 0.98) 32rem),
    var(--stone);
  line-height: 1.5;
}

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

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

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

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

h1 {
  max-width: 760px;
  font-size: clamp(3.1rem, 7.4vw, 7.5rem);
  line-height: 0.88;
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.13rem;
  line-height: 1.16;
}

p {
  margin: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-height: 78px;
  padding: 14px clamp(18px, 4vw, 68px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(217, 224, 219, 0.86);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.wizard-actions,
.footer-contact {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  min-width: 210px;
}

.brand-symbol {
  position: relative;
  width: 48px;
  height: 42px;
}

.brand-symbol::before,
.brand-symbol::after,
.brand-symbol span {
  position: absolute;
  content: "";
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 34px solid var(--deep);
  transform-origin: bottom;
}

.brand-symbol::before {
  left: 0;
  bottom: 0;
  transform: skewX(-18deg) rotate(36deg);
}

.brand-symbol span {
  left: 15px;
  bottom: 6px;
  border-bottom-color: var(--deep-2);
  transform: skewX(-14deg) rotate(8deg);
}

.brand-symbol::after {
  right: 0;
  bottom: 0;
  border-bottom-color: var(--gold);
  transform: skewX(16deg) rotate(-36deg);
}

.brand-text strong,
.brand-text small {
  display: block;
}

.brand-text strong {
  font-size: 1.35rem;
  line-height: 1;
}

.brand-text strong span,
.footer strong span {
  color: var(--gold);
}

.brand-text small {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
  text-transform: uppercase;
}

.nav {
  gap: 24px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a:hover,
.solution-card:hover h3,
.footer a:hover {
  color: var(--deep-2);
}

.nav-cta {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  color: #fff;
  background: var(--deep);
  border-radius: 8px;
  font-weight: 850;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 0.88fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(40px, 6vw, 78px) clamp(18px, 4vw, 68px) clamp(24px, 4vw, 48px);
}

.hero-copy {
  display: grid;
  gap: 24px;
}

.eyebrow {
  margin: 0;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy > p:not(.eyebrow),
.section-heading > p:not(.eyebrow),
.diagnostic-intro > p {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-actions,
.wizard-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.button,
button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.button.primary,
button.primary {
  color: #fff;
  background: var(--deep);
  box-shadow: 0 14px 26px rgba(6, 53, 31, 0.18);
}

.button.primary:hover,
button.primary:hover {
  background: var(--deep-2);
}

.button.ghost,
button.ghost {
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 720px;
  margin: 8px 0 0;
}

.hero-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-metrics dt {
  color: var(--deep);
  font-size: 1.6rem;
  font-weight: 950;
  line-height: 1;
}

.hero-metrics dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 560px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-visual::before {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(6, 53, 31, 0.2), rgba(6, 53, 31, 0) 42%);
  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 560px;
  object-fit: cover;
  object-position: 54% center;
}

.hero-card {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  display: grid;
  gap: 6px;
  max-width: 520px;
  padding: 18px;
  color: #fff;
  background: rgba(6, 53, 31, 0.92);
  border: 1px solid rgba(224, 185, 94, 0.55);
  border-radius: 8px;
}

.hero-card span {
  color: rgba(255, 255, 255, 0.78);
}

.problem-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 68px);
  color: #fff;
  background: linear-gradient(90deg, var(--deep), var(--steel));
}

.problem-strip p {
  max-width: 900px;
  font-weight: 800;
}

.problem-strip a {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--deep);
  background: var(--gold-2);
  border-radius: 8px;
  font-weight: 900;
}

.solutions,
.process,
.trust,
.diagnostic,
.footer {
  padding: clamp(54px, 7vw, 102px) clamp(18px, 4vw, 68px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.82fr) minmax(260px, 0.5fr);
  gap: 24px;
  align-items: start;
  margin-bottom: 30px;
}

.section-heading.compact {
  grid-template-columns: minmax(0, 0.35fr) minmax(0, 1fr);
  max-width: 1060px;
}

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

.solution-card,
.process-steps article,
.wizard,
.summary,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 36px rgba(16, 42, 34, 0.07);
}

.solution-card {
  min-height: 248px;
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 24px;
}

.solution-card.featured {
  grid-column: span 2;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 53, 31, 0.94), rgba(10, 74, 45, 0.88)),
    var(--deep);
  border-color: rgba(224, 185, 94, 0.35);
}

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

.solution-card.featured p {
  color: rgba(255, 255, 255, 0.76);
}

.mining-detail {
  display: grid;
  grid-template-columns: minmax(280px, 0.68fr) minmax(0, 1fr);
  gap: 26px;
  margin-top: 18px;
  padding: clamp(22px, 4vw, 34px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 53, 31, 0.96), rgba(65, 93, 96, 0.92)),
    var(--deep);
  border: 1px solid rgba(224, 185, 94, 0.35);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mining-detail .eyebrow {
  color: var(--gold-2);
  margin-bottom: 12px;
}

.mining-detail h3 {
  max-width: 620px;
  font-size: clamp(1.45rem, 3vw, 2.35rem);
}

.mining-detail p {
  max-width: 660px;
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.76);
}

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

.mining-detail-list span {
  padding: 13px 14px;
  color: rgba(255, 255, 255, 0.86);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  font-size: 0.93rem;
  font-weight: 720;
}

.mining-detail-list span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold-2);
  font-weight: 950;
}

.icon {
  position: relative;
  display: block;
  width: 48px;
  height: 48px;
  background: var(--deep);
  border-radius: 50%;
}

.solution-card.featured .icon,
.icon.mining {
  background: var(--gold);
}

.icon::before,
.icon::after {
  position: absolute;
  content: "";
}

.icon.mining::before {
  left: 11px;
  top: 24px;
  width: 25px;
  height: 12px;
  border: 4px solid var(--gold-2);
  border-top: 0;
}

.icon.mining::after {
  left: 17px;
  top: 12px;
  width: 17px;
  height: 14px;
  border: 4px solid var(--deep);
  border-bottom: 0;
  transform: skewX(-12deg);
}

.icon.justice::before {
  left: 22px;
  top: 10px;
  width: 4px;
  height: 28px;
  background: var(--gold-2);
}

.icon.justice::after {
  left: 10px;
  top: 19px;
  width: 28px;
  height: 14px;
  border: 3px solid var(--gold-2);
  border-top: 0;
}

.icon.land::before {
  inset: 13px;
  border: 3px dashed var(--gold-2);
}

.icon.home::before {
  left: 12px;
  top: 22px;
  width: 24px;
  height: 17px;
  border: 4px solid var(--gold-2);
  border-top: 0;
}

.icon.home::after {
  left: 12px;
  top: 13px;
  width: 24px;
  height: 24px;
  border-left: 4px solid var(--gold-2);
  border-top: 4px solid var(--gold-2);
  transform: rotate(45deg);
}

.icon.geology::before {
  left: 12px;
  top: 23px;
  width: 25px;
  height: 5px;
  background: var(--gold-2);
  transform: rotate(-35deg);
}

.icon.geology::after {
  left: 20px;
  top: 10px;
  width: 9px;
  height: 30px;
  background: var(--gold-2);
  transform: rotate(35deg);
}

.icon.topo::before {
  left: 20px;
  top: 9px;
  width: 10px;
  height: 17px;
  border: 3px solid var(--gold-2);
}

.icon.topo::after {
  left: 11px;
  top: 27px;
  width: 27px;
  height: 14px;
  border-left: 3px solid var(--gold-2);
  border-right: 3px solid var(--gold-2);
  border-top: 3px solid var(--gold-2);
}

.icon.engineering::before {
  left: 10px;
  top: 19px;
  width: 28px;
  height: 17px;
  background: var(--gold-2);
  border-radius: 17px 17px 4px 4px;
}

.process {
  background: #f3f6f1;
}

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

.process-steps article {
  display: grid;
  gap: 12px;
  padding: 24px;
}

.process-steps span {
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 950;
}

.process-steps p {
  color: var(--muted);
}

.trust {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 1fr);
  gap: 34px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(6, 53, 31, 0.96), rgba(65, 93, 96, 0.92)),
    var(--deep);
}

.trust .eyebrow {
  color: var(--gold-2);
}

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

.trust-list span {
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 8px;
  font-weight: 800;
}

.trust-list span::before {
  content: "✓";
  margin-right: 8px;
  color: var(--gold-2);
  font-weight: 950;
}

.diagnostic {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.78fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}

.diagnostic-intro {
  position: sticky;
  top: 106px;
  display: grid;
  gap: 18px;
}

.contact-card {
  display: grid;
  gap: 8px;
  padding: 20px;
}

.contact-card strong {
  font-size: 1.1rem;
}

.contact-card a,
.contact-card span {
  color: var(--muted);
  font-weight: 750;
}

.wizard,
.summary {
  padding: clamp(20px, 3vw, 34px);
}

.progress {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
  font-weight: 850;
}

.progress-track {
  height: 10px;
  overflow: hidden;
  background: var(--soft);
  border-radius: 999px;
}

#progressBar {
  width: 10%;
  height: 100%;
  background: linear-gradient(90deg, var(--deep), var(--gold));
  border-radius: inherit;
  transition: width 0.2s ease;
}

fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.step {
  display: none;
}

.step.active {
  display: grid;
  gap: 12px;
}

legend {
  margin-bottom: 16px;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 900;
  line-height: 1.08;
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 750;
}

.step > label:not(.full):not(.upload),
.check-grid label {
  grid-template-columns: 20px 1fr;
  align-items: center;
  min-height: 46px;
  padding: 12px;
  background: var(--soft);
  border: 1px solid transparent;
  border-radius: 8px;
}

.step > label:has(input:checked),
.check-grid label:has(input:checked) {
  border-color: var(--deep-2);
  background: #edf6f1;
}

input,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
}

textarea {
  resize: vertical;
}

input[type="radio"],
input[type="checkbox"] {
  width: 18px;
  min-height: 18px;
  accent-color: var(--deep-2);
}

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

.upload {
  align-items: center;
  min-height: 90px;
  padding: 18px;
  text-align: center;
  background: var(--soft);
  border: 1px dashed var(--deep-2);
  border-radius: 8px;
}

.hint,
.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.form-note {
  min-height: 24px;
  margin-top: 12px;
}

#prevBtn,
#submitBtn {
  display: none;
}

.summary {
  grid-column: 2;
  margin-top: -34px;
}

.summary h3 {
  margin-bottom: 12px;
}

.summary pre {
  white-space: pre-wrap;
  padding: 16px;
  color: var(--ink);
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  color: #fff;
  background: #071e16;
}

.footer strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.45rem;
}

.footer p,
.footer-contact a,
.footer-contact span {
  color: rgba(255, 255, 255, 0.74);
}

.footer-contact {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px 18px;
}

@media (max-width: 1080px) {
  .solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading {
    grid-template-columns: 1fr;
  }
}

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

  .hero,
  .trust,
  .diagnostic {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .diagnostic-intro {
    position: static;
  }

  .summary {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .topbar {
    min-height: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-text small {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  h1 {
    font-size: clamp(2.95rem, 17vw, 4.6rem);
  }

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

  .hero-visual img {
    min-height: 420px;
  }

  .hero-card {
    position: static;
    max-width: none;
    border-radius: 0;
  }

  .problem-strip,
  .footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .problem-strip a,
  .hero-actions .button,
  .wizard-actions .button,
  .wizard-actions button {
    width: 100%;
  }

  .hero-metrics,
  .solution-grid,
  .process-steps,
  .trust-list,
  .field-row,
  .check-grid {
    grid-template-columns: 1fr;
  }

  .solution-card.featured {
    grid-column: auto;
  }

  .footer-contact {
    justify-content: flex-start;
  }
}
