:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --text: #17191b;
  --muted: #60666c;
  --line: #d9dcde;
  --accent: #285f6d;
  --accent-soft: #edf4f5;
  --max: 840px;
  --radius: 12px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: #fff;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.15s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 48px), var(--max));
  margin-inline: auto;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 24px;
}

.brand {
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  font-weight: 750;
}

.header-location,
.footer-inner {
  color: var(--muted);
  font-size: 0.84rem;
}

.section {
  padding: 96px 0;
}

.bordered {
  border-top: 1px solid var(--line);
}

.hero {
  padding-top: 112px;
  padding-bottom: 112px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 790px;
  margin-bottom: 28px;
  font-size: clamp(3rem, 7vw, 5.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 680;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 650;
}

h3 {
  margin-bottom: 5px;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
}

.hero-copy {
  max-width: 690px;
  margin-bottom: 34px;
  color: #363a3e;
  font-size: 1.24rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 17px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 680;
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  filter: brightness(0.94);
}

.text-link {
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 680;
  text-underline-offset: 4px;
}

.founder-line {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 38px;
  color: var(--muted);
  font-size: 0.9rem;
}

.dot {
  width: 4px;
  height: 4px;
  background: var(--muted);
  border-radius: 50%;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 54px;
}

.capability-list {
  border-top: 1px solid var(--line);
}

.capability {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.capability p,
.steps p,
.boundary-points p,
.founder-copy-block p {
  margin-bottom: 0;
  color: #3e4347;
}

.number,
.step-number {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.proof-card {
  padding: 30px;
  background: var(--surface);
  border: 1px solid #cfd4d7;
  border-radius: var(--radius);
  box-shadow: 0 8px 28px rgba(18, 24, 28, 0.035);
}

.proof-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  padding: 7px 10px;
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 720;
  letter-spacing: 0.035em;
}

.status-mark {
  width: 7px;
  height: 7px;
  background: var(--accent);
  border-radius: 50%;
}

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

.proof-field {
  min-width: 0;
}

.proof-label {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof-field p {
  margin-bottom: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.proof-visual {
  display: grid;
  place-items: center;
  min-height: 260px;
  margin-top: 30px;
  padding: 24px;
  border: 1px dashed #bcc5c8;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(40, 95, 109, 0.035) 25%, transparent 25%) 0 0 / 18px 18px,
    linear-gradient(315deg, rgba(40, 95, 109, 0.035) 25%, transparent 25%) 0 0 / 18px 18px,
    #fafbfb;
  color: var(--muted);
  text-align: center;
  font-size: 0.88rem;
}

.proof-footer {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 24px;
  align-items: start;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.boundary-copy {
  margin-bottom: 0;
  color: #41464a;
  font-size: 0.9rem;
}

.contact-email {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 680;
  text-underline-offset: 4px;
}

.steps {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.founder-layout,
.boundaries-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.founder-heading,
.boundaries-layout .section-heading {
  margin-bottom: 0;
}

.founder-copy-block {
  font-size: 1.03rem;
}

.founder-copy-block .location-detail {
  margin-top: 20px;
  color: var(--muted);
  font-size: 0.9rem;
}

.boundary-points {
  display: grid;
  gap: 20px;
}

.boundary-points p {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.boundary-points p:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-section {
  padding-bottom: 84px;
}

.contact-copy {
  max-width: 500px;
  margin: 14px 0 0;
  color: var(--muted);
}

.contact-layout {
  align-items: end;
}

.contact-email {
  justify-self: end;
  padding-bottom: 7px;
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 76px;
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
  }

  .shell {
    width: min(calc(100% - 32px), var(--max));
  }

  .header-inner {
    min-height: 62px;
  }

  .header-location {
    font-size: 0.78rem;
  }

  .section {
    padding: 68px 0;
  }

  .hero {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  h1 {
    margin-bottom: 22px;
    font-size: clamp(2.75rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
  }

  .hero-copy {
    margin-bottom: 28px;
    font-size: 1.08rem;
    line-height: 1.5;
  }

  .hero-actions {
    display: block;
  }

  .button-primary {
    width: 100%;
  }

  .hero-secondary {
    display: none;
  }

  .founder-line {
    display: grid;
    gap: 4px;
    margin-top: 24px;
  }

  .founder-line .dot {
    display: none;
  }

  .section-heading {
    margin-bottom: 36px;
  }

  .capability,
  .steps li {
    grid-template-columns: 42px 1fr;
  }

  .proof-card {
    padding: 22px;
    border-radius: 10px;
  }

  .proof-grid,
  .proof-footer,
  .founder-layout,
  .boundaries-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .proof-grid {
    gap: 24px;
  }

  .proof-visual {
    min-height: 220px;
    margin-top: 24px;
  }

  .proof-footer {
    gap: 16px;
  }

  .founder-layout,
  .boundaries-layout,
  .contact-layout {
    gap: 34px;
  }

  .contact-email {
    justify-self: start;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Sanitized primary-proof integration */
.proof-preview-link {
  display: block;
  margin-top: 30px;
  border: 1px solid #cfd4d7;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  text-decoration: none;
}

.proof-preview-link:focus-visible {
  outline: 3px solid rgba(40, 95, 109, 0.24);
  outline-offset: 3px;
}

.proof-preview {
  display: block;
  width: 100%;
  height: auto;
}

.artifact-link {
  justify-self: end;
  color: var(--accent);
  font-size: 0.86rem;
  font-weight: 680;
  text-underline-offset: 4px;
}

@media (max-width: 760px) {
  .artifact-link {
    justify-self: start;
  }
}
