:root {
  --ink: #102326;
  --ink-strong: #071618;
  --teal: #15575e;
  --teal-deep: #0f3d43;
  --green: #8fbd41;
  --copper: #bd6c3b;
  --cream: #f7f3eb;
  --paper: #fffaf2;
  --mist: #e6eeea;
  --line: rgba(16, 35, 38, 0.14);
  --shadow: 0 24px 70px rgba(8, 29, 32, 0.18);
  --radius: 8px;
  --max: 1180px;
}

* {
  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.5;
}

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

a {
  color: inherit;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 54px);
  color: white;
  transition: background 180ms ease, box-shadow 180ms ease, color 180ms ease;
}

.site-header.is-scrolled {
  color: var(--ink);
  background: rgba(255, 250, 242, 0.92);
  box-shadow: 0 10px 34px rgba(8, 29, 32, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  width: auto;
  height: clamp(58px, 6vw, 76px);
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.92rem;
}

.nav a,
.header-cta {
  text-decoration: none;
}

.nav a:hover,
.header-cta:hover {
  color: var(--green);
}

.header-cta {
  justify-self: end;
  padding: 10px 16px;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 94vh;
  overflow: hidden;
  color: white;
  background: var(--teal-deep);
}

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

.hero-image {
  object-fit: cover;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 22, 24, 0.92) 0%, rgba(7, 22, 24, 0.74) 38%, rgba(7, 22, 24, 0.16) 74%),
    linear-gradient(0deg, rgba(7, 22, 24, 0.48), rgba(7, 22, 24, 0.05) 45%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 392px;
  gap: clamp(28px, 5vw, 76px);
  align-items: end;
  width: min(var(--max), calc(100% - 36px));
  min-height: 94vh;
  margin: 0 auto;
  padding: 128px 0 54px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.panel-kicker {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 780px;
  margin-bottom: 22px;
  font-size: clamp(3.15rem, 7vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink-strong);
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink-strong);
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 660px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1.05rem, 1.8vw, 1.26rem);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary,
.button-form {
  color: #082022;
  background: var(--green);
}

.button-secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.09);
}

.button-outline {
  color: var(--teal-deep);
  border-color: rgba(15, 61, 67, 0.28);
  background: transparent;
}

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

.hero-metrics div {
  border-top: 1px solid rgba(255, 255, 255, 0.34);
  padding-top: 14px;
}

.hero-metrics dt {
  font-size: 1.65rem;
  font-weight: 850;
}

.hero-metrics dd {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.audit-panel {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: var(--shadow);
  color: var(--ink);
  backdrop-filter: blur(18px);
}

.panel-heading h2 {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

.audit-panel label {
  display: grid;
  gap: 7px;
  margin-bottom: 13px;
  font-size: 0.9rem;
  font-weight: 760;
}

.audit-panel input,
.audit-panel select,
.audit-panel textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 38, 0.18);
  border-radius: 6px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
}

.audit-panel textarea {
  resize: vertical;
}

.file-control {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(16, 35, 38, 0.18);
  border-radius: 6px;
  padding: 6px;
  background: white;
  cursor: pointer;
}

.file-control input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-button {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  padding: 8px 12px;
  color: white;
  background: var(--teal);
  font-size: 0.88rem;
  font-weight: 850;
  white-space: nowrap;
}

.file-name {
  overflow: hidden;
  color: rgba(16, 35, 38, 0.62);
  font-size: 0.9rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-control:focus-within {
  outline: 3px solid rgba(143, 189, 65, 0.34);
  outline-offset: 2px;
}

.button-form {
  width: 100%;
  margin-top: 4px;
}

.button-form:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.2em;
  margin: 12px 0 0;
  font-size: 0.9rem;
  font-weight: 800;
}

.form-status[data-state="loading"] {
  color: var(--teal);
}

.form-status[data-state="success"] {
  color: #2f6f1c;
}

.form-status[data-state="error"] {
  color: #9b2f21;
}

.form-note {
  margin: 12px 0 0;
  color: rgba(16, 35, 38, 0.66);
  font-size: 0.84rem;
}

.trust-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: var(--ink);
  color: white;
}

.trust-band span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
}

.section {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(68px, 9vw, 116px) 0;
}

.split-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(30px, 5vw, 72px);
}

.section-intro {
  max-width: 520px;
}

.section-intro p,
.market-copy p,
.cta-section p {
  color: rgba(16, 35, 38, 0.72);
  font-size: 1.05rem;
}

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

.service-card,
.market-list article,
.timeline article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.55);
}

.service-card {
  min-height: 236px;
  padding: 24px;
}

.service-number {
  display: block;
  margin-bottom: 42px;
  color: var(--copper);
  font-weight: 850;
}

.service-card p,
.market-list p,
.timeline p {
  margin-bottom: 0;
  color: rgba(16, 35, 38, 0.68);
}

.process-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.compact {
  max-width: 760px;
}

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

.timeline article {
  padding: 24px;
  background: var(--cream);
}

.timeline span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 28px;
  border-radius: 50%;
  background: var(--teal);
  color: white;
  font-weight: 850;
}

.markets-section {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(30px, 5vw, 70px);
  align-items: start;
}

.market-list {
  display: grid;
  gap: 14px;
}

.market-list article {
  padding: 22px 24px;
  background: white;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(520px, 1.28fr);
  gap: clamp(36px, 6vw, 86px);
  align-items: center;
  width: 100%;
  max-width: none;
  padding: clamp(76px, 9vw, 126px) max(18px, calc((100vw - var(--max)) / 2));
  background:
    linear-gradient(135deg, rgba(230, 238, 234, 0.98), rgba(247, 243, 235, 0.72)),
    var(--mist);
}

.cta-copy {
  max-width: 500px;
}

.cta-copy h2 {
  margin-bottom: 20px;
}

.cta-contact-line {
  margin-top: 18px;
  font-weight: 800;
}

.cta-contact-line a {
  color: var(--teal);
}

.cta-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 28px;
}

.cta-steps span {
  display: grid;
  min-height: 42px;
  place-items: center;
  border: 1px solid rgba(16, 35, 38, 0.14);
  border-radius: 999px;
  color: var(--teal-deep);
  background: rgba(255, 255, 255, 0.48);
  font-size: 0.88rem;
  font-weight: 850;
}

.inline-audit-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px 16px;
  align-items: start;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(16, 35, 38, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 250, 242, 0.94);
  box-shadow: 0 22px 70px rgba(8, 29, 32, 0.12);
}

.inline-form-heading {
  grid-column: 1 / -1;
  max-width: 620px;
  margin-bottom: 4px;
}

.inline-form-heading h3 {
  margin-bottom: 6px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.inline-form-heading p {
  margin-bottom: 0;
  color: rgba(16, 35, 38, 0.66);
}

.inline-audit-form label {
  display: grid;
  gap: 7px;
  min-width: 0;
  font-size: 0.9rem;
  font-weight: 760;
}

.inline-audit-form input,
.inline-audit-form select,
.inline-audit-form textarea {
  width: 100%;
  border: 1px solid rgba(16, 35, 38, 0.18);
  border-radius: 6px;
  padding: 11px 12px;
  background: white;
  color: var(--ink);
}

.inline-message-field,
.inline-audit-form .form-status,
.inline-audit-form .form-note {
  grid-column: 1 / -1;
}

.inline-audit-form .button-form {
  grid-column: 1 / -1;
  align-self: end;
}

.inline-audit-form .form-status,
.inline-audit-form .form-note {
  margin: 0;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 28px clamp(18px, 4vw, 54px);
  background: var(--ink-strong);
  color: rgba(255, 255, 255, 0.72);
}

.site-footer p {
  margin: 0;
}

.site-footer div > p:first-child {
  color: white;
  font-weight: 850;
}

.footer-logo-img {
  width: auto;
  height: 76px;
  object-fit: contain;
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 18px;
  max-width: none;
  white-space: nowrap;
}

.footer-links a,
.footer-links button {
  border: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.72);
  background: transparent;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

.footer-links a:hover,
.footer-links button:hover {
  color: white;
}

.legal-page {
  background: var(--paper);
}

.legal-page .site-header {
  position: sticky;
}

.legal-main {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 74px 0 96px;
}

.back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--teal);
  font-weight: 800;
  text-decoration: none;
}

.legal-main h1 {
  max-width: 760px;
  margin-bottom: 12px;
  color: var(--ink-strong);
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.legal-updated {
  margin-bottom: 44px;
  color: rgba(16, 35, 38, 0.62);
  font-weight: 700;
}

.legal-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}

.legal-section p,
.legal-section li {
  color: rgba(16, 35, 38, 0.76);
}

.legal-section a,
.form-note a {
  color: var(--teal);
  font-weight: 800;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

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

.legal-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

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

.legal-table th {
  color: var(--ink-strong);
  background: var(--mist);
}

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

.cookie-banner {
  position: fixed;
  z-index: 30;
  left: 50%;
  right: auto;
  bottom: 18px;
  width: min(820px, calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(7, 22, 24, 0.96);
  box-shadow: var(--shadow);
  color: white;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner p {
  margin: 4px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

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

.cookie-actions .button-outline {
  color: white;
  border-color: rgba(255, 255, 255, 0.32);
}

@media (max-width: 920px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .nav {
    display: none;
  }

  .hero-inner,
  .split-section,
  .markets-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    align-items: start;
    padding-top: 112px;
  }

  .audit-panel {
    max-width: 520px;
  }

  .cta-section {
    padding-inline: 18px;
  }

  .inline-audit-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .inline-message-field,
  .inline-audit-form .form-status,
  .inline-audit-form .form-note {
    grid-column: 1 / -1;
  }

  .site-footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
    flex-wrap: wrap;
    white-space: normal;
  }
}

@media (max-width: 680px) {
  .site-header {
    gap: 12px;
    padding: 12px 14px;
  }

  .brand-logo {
    height: 46px;
  }

  .header-cta {
    padding: 9px 11px;
    font-size: 0.86rem;
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    width: min(100% - 28px, var(--max));
    padding-bottom: 36px;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(7, 22, 24, 0.9) 0%, rgba(7, 22, 24, 0.72) 54%, rgba(7, 22, 24, 0.44) 100%);
  }

  h1 {
    font-size: clamp(2.75rem, 16vw, 4.4rem);
  }

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

  .hero-metrics,
  .service-grid,
  .timeline,
  .inline-audit-form {
    grid-template-columns: 1fr;
  }

  .inline-audit-form {
    padding: 16px;
  }

  .hero-metrics {
    margin-top: 28px;
  }

  .section {
    width: min(100% - 28px, var(--max));
  }

  .service-card {
    min-height: auto;
  }

  .service-number {
    margin-bottom: 24px;
  }

  .site-footer {
    display: grid;
  }

  .legal-main {
    width: min(100% - 28px, 920px);
    padding-top: 52px;
  }

  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
    transform: none;
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr;
  }
}
