:root {
  --ink: #10231f;
  --body: #35534e;
  --muted: #5d736d;
  --line: rgba(16, 35, 31, 0.1);
  --surface: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(15, 118, 110, 0.08);
  --surface-strong: #162825;
  --accent: #0f766e;
  --accent-deep: #134e4a;
  --clean: #0f766e;
  --flag: #b45309;
  --reject: #b91c1c;
  --evidence: #2563eb;
  --background-top: #f7faf9;
  --background-bottom: #edf4f2;
  --shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--body);
  background:
    radial-gradient(circle at top right, rgba(15, 118, 110, 0.12), transparent 28%),
    linear-gradient(180deg, var(--background-top), var(--background-bottom));
}

a {
  color: inherit;
}

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

.site-shell {
  min-height: 100vh;
  overflow-x: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 249, 0.84);
  border-bottom: 1px solid rgba(16, 35, 31, 0.06);
}

.header-inner,
.page-section,
.footer-inner {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.brand-mark {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.brand-subtitle {
  font-size: 13px;
  color: var(--muted);
}

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  max-width: 100%;
}

.main-nav a {
  font-size: 14px;
  text-decoration: none;
  color: var(--body);
}

.main-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
}

.header-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 15px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.page-main {
  padding: 28px 0 56px;
}

.page-hero,
.panel-grid,
.two-up,
.three-up,
.closing-band,
.contact-grid,
.fact-grid,
.faq-grid,
.comparison-grid,
.deliverable-grid,
.download-grid {
  display: grid;
  gap: 20px;
}

.page-hero {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  align-items: stretch;
}

.page-hero > *,
.panel-grid > *,
.two-up > *,
.three-up > *,
.closing-band > *,
.contact-grid > *,
.fact-grid > *,
.faq-grid > *,
.upload-grid > * {
  min-width: 0;
}

.hero-copy,
.hero-panel,
.content-panel,
.soft-panel,
.dark-panel,
.faq-item,
.fact-card,
.contact-cta,
.metric-panel,
.data-card {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.hero-copy,
.content-panel,
.faq-item,
.contact-cta {
  background: var(--surface);
  border: 1px solid rgba(148, 163, 184, 0.18);
}

.hero-copy {
  padding: 44px 38px;
}

.hero-panel,
.dark-panel {
  background: var(--surface-strong);
  color: rgba(255, 255, 255, 0.84);
}

.hero-panel,
.content-panel,
.soft-panel,
.dark-panel,
.contact-cta {
  padding: 28px 26px;
}

.soft-panel,
.fact-card {
  background: var(--surface-soft);
  border: 1px solid rgba(15, 118, 110, 0.14);
}

.metric-panel {
  padding: 28px 26px;
  background:
    linear-gradient(145deg, rgba(22, 40, 37, 0.96), rgba(19, 78, 74, 0.94)),
    var(--surface-strong);
  color: rgba(255, 255, 255, 0.88);
}

.metric-panel h3 {
  margin: 0 0 16px;
  color: #d5f2ed;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.metric-list div {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(143, 208, 200, 0.18);
}

.metric-list strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 31px;
  line-height: 1;
}

.metric-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.4;
}

.page-label,
.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.page-label {
  background: rgba(16, 35, 31, 0.06);
  color: var(--muted);
}

.eyebrow {
  background: rgba(15, 118, 110, 0.12);
  color: var(--accent);
}

.hero-copy h1,
.hero-copy h2,
.content-panel h2,
.content-panel h3,
.hero-panel h3,
.dark-panel h3,
.soft-panel h3,
.contact-cta h3,
.faq-item strong,
.fact-card strong {
  margin: 0;
}

.hero-copy h1,
.hero-copy h2,
.content-panel h2 {
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.hero-copy h1 {
  margin-top: 16px;
  max-width: 10.5ch;
  font-size: clamp(46px, 6vw, 76px);
  line-height: 0.92;
}

.hero-copy h2,
.content-panel h2 {
  margin-top: 16px;
  max-width: 14ch;
  font-size: clamp(34px, 4vw, 54px);
  line-height: 0.98;
}

.lede {
  margin: 18px 0 0;
  max-width: 56ch;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
}

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

.button-primary,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 18px;
  border-radius: 15px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(16, 35, 31, 0.12);
  color: var(--ink);
}

.micro-note {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.hero-panel h3,
.dark-panel h3,
.soft-panel h3,
.content-panel h3,
.contact-cta h3 {
  margin-bottom: 12px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-panel h3,
.dark-panel h3 {
  color: #8fd0c8;
}

.soft-panel h3,
.content-panel h3,
.contact-cta h3 {
  color: var(--accent);
}

.content-panel h4 {
  margin: 18px 0 6px;
  color: var(--ink);
  font-size: 15px;
}

.hero-panel p,
.dark-panel p,
.content-panel p,
.soft-panel p,
.contact-cta p,
.faq-item p,
.fact-card span,
.stack-list li,
.checklist li {
  margin: 0;
  font-size: 15px;
  line-height: 1.68;
}

.panel-grid {
  margin-top: 22px;
}

.two-up,
.closing-band,
.contact-grid,
.faq-grid,
.comparison-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fact-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.section-heading-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading-row h2 {
  margin-top: 12px;
}

.section-heading-row p {
  max-width: 42ch;
}

.text-link {
  align-self: center;
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.proof-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}

.proof-stats div {
  padding: 14px;
  border-radius: 18px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.12);
}

.proof-stats strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.proof-stats span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.data-card {
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(16, 35, 31, 0.1);
}

.data-card-warn {
  border-top: 5px solid var(--reject);
}

.data-card-ok {
  border-top: 5px solid var(--clean);
}

.data-card-label,
.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1;
  text-transform: uppercase;
}

.data-card-label {
  padding: 8px 10px;
  background: rgba(16, 35, 31, 0.06);
  color: var(--muted);
}

.data-card h3 {
  margin-top: 14px;
  margin-bottom: 14px;
}

.row-facts {
  display: grid;
  gap: 10px;
  margin: 0;
}

.row-facts div {
  display: grid;
  grid-template-columns: minmax(110px, 0.4fr) minmax(0, 1fr);
  gap: 12px;
  padding: 10px 0;
  border-top: 1px solid rgba(16, 35, 31, 0.08);
}

.row-facts dt {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.row-facts dd {
  margin: 0;
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 13px;
  overflow-wrap: anywhere;
}

.outcome-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.status-pill {
  padding: 8px 11px;
}

.status-clean {
  background: rgba(15, 118, 110, 0.12);
  color: var(--clean);
}

.status-reject {
  background: rgba(185, 28, 28, 0.1);
  color: var(--reject);
}

.status-flag {
  background: rgba(180, 83, 9, 0.12);
  color: var(--flag);
}

.deliverable-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.artifact-preview {
  margin: 0 0 22px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(16, 35, 31, 0.1);
  background: #07110f;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.artifact-preview img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  object-position: top left;
  background: #fff;
}

.artifact-preview figcaption {
  padding: 12px 14px 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.45;
}

.deliverable-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
  border-radius: 18px;
  background: rgba(16, 35, 31, 0.04);
  border: 1px solid rgba(16, 35, 31, 0.08);
}

.deliverable-grid strong {
  color: var(--ink);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.deliverable-grid span {
  color: var(--body);
  font-size: 14px;
  line-height: 1.55;
}

.download-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.download-grid a {
  display: grid;
  min-height: 84px;
  place-items: center;
  padding: 16px;
  border-radius: 18px;
  background: rgba(37, 99, 235, 0.08);
  border: 1px solid rgba(37, 99, 235, 0.16);
  color: #1d4ed8;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.download-grid a:hover {
  background: rgba(37, 99, 235, 0.12);
}

.stack-list,
.checklist {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.checklist li,
.stack-list li {
  position: relative;
  padding-left: 16px;
}

.checklist li::before,
.stack-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
}

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

.process-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding-top: 12px;
  border-top: 1px solid rgba(143, 208, 200, 0.16);
}

.process-step:first-child {
  padding-top: 0;
  border-top: none;
}

.process-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  background: rgba(143, 208, 200, 0.12);
  color: #8fd0c8;
  font-weight: 700;
}

.process-step strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}

.fact-card {
  padding: 22px 18px;
}

.fact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.faq-item {
  padding: 22px 20px;
}

.faq-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

.faq-note {
  margin-top: 20px;
}

.contact-cta {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: rgba(255, 255, 255, 0.84);
}

.contact-cta h3 {
  color: #d5f2ed;
}

.email-block {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 700;
  text-decoration: none;
}

.upload-hero .hero-copy h2 {
  max-width: 12ch;
}

.upload-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 20px;
  margin-top: 22px;
}

.upload-form {
  display: grid;
  gap: 16px;
}

.upload-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

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

.upload-form input,
.upload-form textarea {
  min-width: 0;
  width: 100%;
  border: 1px solid rgba(16, 35, 31, 0.14);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  padding: 13px 14px;
}

.upload-form textarea {
  resize: vertical;
  min-height: 96px;
  overflow-wrap: anywhere;
}

.upload-form input:focus,
.upload-form textarea:focus {
  outline: 3px solid rgba(15, 118, 110, 0.18);
  border-color: var(--accent);
}

.form-submit {
  width: fit-content;
  border: 0;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.68;
}

.turnstile-slot {
  min-height: 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.upload-progress-wrap {
  margin-top: 16px;
}

.upload-progress {
  width: 100%;
  height: 14px;
  accent-color: var(--accent);
}

.upload-progress[hidden] {
  display: none;
}

.upload-progress-label {
  min-height: 20px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.upload-status {
  min-height: 48px;
  margin-top: 18px;
  padding: 13px 14px;
  border-radius: 14px;
  border: 1px solid rgba(16, 35, 31, 0.1);
  background: rgba(16, 35, 31, 0.04);
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.upload-status[data-state="ready"],
.upload-status[data-state="success"] {
  border-color: rgba(15, 118, 110, 0.2);
  background: rgba(15, 118, 110, 0.08);
  color: var(--accent-deep);
}

.upload-status[data-state="working"] {
  border-color: rgba(53, 83, 78, 0.2);
  background: rgba(53, 83, 78, 0.08);
  color: var(--body);
}

.upload-status[data-state="error"] {
  border-color: rgba(185, 28, 28, 0.22);
  background: rgba(185, 28, 28, 0.08);
  color: #8f1d1d;
}

.signing-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.signing-document-panel h1,
.signing-form h2 {
  margin: 16px 0 10px;
  color: var(--ink);
}

.signing-document {
  max-height: 70vh;
  overflow: auto;
  padding-right: 8px;
  color: var(--body);
}

.signing-document p {
  font-size: 15px;
  line-height: 1.55;
}

.signing-document .signed-bullet {
  margin-left: 18px;
}

.signing-confirmations {
  display: grid;
  gap: 10px;
}

.signing-confirmations label {
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  font-weight: 600;
  line-height: 1.45;
}

.signing-confirmations input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--accent);
}

.site-footer {
  padding: 22px 0 34px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

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

.footer-inner nav a {
  text-decoration: none;
}

@media (max-width: 1040px) {
  .page-hero,
  .two-up,
  .three-up,
  .closing-band,
  .contact-grid,
  .upload-grid,
  .signing-layout,
  .fact-grid,
  .faq-grid,
  .comparison-grid,
  .deliverable-grid,
  .download-grid,
  .proof-stats {
    grid-template-columns: 1fr;
  }

  .hero-copy h1,
  .hero-copy h2,
  .content-panel h2 {
    max-width: none;
  }
}

@media (max-width: 760px) {
  .header-inner {
    padding: 14px 0;
    align-items: start;
    flex-direction: column;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
    gap: 10px 13px;
  }

  .main-nav a {
    font-size: 13px;
  }

  .hero-copy,
  .hero-panel,
  .content-panel,
  .soft-panel,
  .dark-panel,
  .contact-cta {
    padding: 24px 20px;
    border-radius: 24px;
  }

  .page-main {
    padding-top: 18px;
  }

  .header-inner,
  .page-section,
  .footer-inner {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
  }

  .hero-copy,
  .hero-panel,
  .content-panel,
  .soft-panel,
  .dark-panel,
  .contact-cta {
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .faq-item strong {
    font-size: 22px;
  }

  .section-heading-row {
    display: grid;
  }

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

  .row-facts div {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
