:root {
  color-scheme: light;
  --ink: #17202a;
  --muted: #53616f;
  --paper: #f6f7f8;
  --surface: #ffffff;
  --surface-soft: #eef1f3;
  --line: #cfd6dd;
  --green: #2f5d50;
  --teal: #3b6f79;
  --blue: #3f5f82;
  --amber: #8a6f35;
  --plum: #66546f;
  --rust: #4e5966;
  --shadow: none;
  --measure: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
}

.nav {
  display: flex;
  align-items: center;
  width: min(var(--measure), 100%);
  gap: clamp(16px, 3vw, 32px);
  color: var(--muted);
  font-size: 0.92rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: auto;
  overflow: hidden;
  padding: 46px 24px 40px;
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(var(--measure), 100%);
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 12px;
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-copy {
  width: auto;
  max-width: calc(100% - 230px - clamp(24px, 4vw, 56px));
  margin-left: calc(230px + clamp(24px, 4vw, 56px));
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
}

.section {
  display: grid;
  grid-template-columns: minmax(160px, 230px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  width: min(var(--measure), calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
}

.summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  padding-bottom: 0;
  background: var(--line);
}

.summary-item {
  min-height: 96px;
  padding: 20px;
  background: var(--surface-soft);
}

.summary-label {
  display: block;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.summary-value {
  display: block;
  max-width: 360px;
  font-size: 1.1rem;
  font-weight: 720;
  line-height: 1.25;
}

.section-heading {
  width: auto;
  margin-bottom: 0;
}

.section-heading p:not(.eyebrow) {
  margin-top: 18px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.band .section-heading p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.74);
}

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

.card {
  position: relative;
  min-height: 300px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

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

.card a {
  position: absolute;
  bottom: 24px;
  left: 26px;
  right: 26px;
  color: var(--ink);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.card-accent {
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 24px;
  border-radius: 2px;
}

.card-accent.green {
  background: var(--green);
}

.card-accent.amber {
  background: var(--amber);
}

.card-accent.plum {
  background: var(--plum);
}

.card-accent.teal {
  background: var(--teal);
}

.card-accent.rust {
  background: var(--rust);
}

.flow {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.flow-step {
  min-height: 230px;
  padding: 24px;
  background: var(--surface);
}

.flow-step span {
  display: block;
  margin-bottom: 34px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.flow-step strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.flow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.band {
  background: var(--ink);
  color: #ffffff;
}

.band .eyebrow {
  color: #e0b15f;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.service-block {
  min-height: 180px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
}

.service-block h3 {
  color: #ffffff;
}

.service-block p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.method-list {
  border-top: 1px solid rgba(17, 24, 39, 0.14);
}

.method-list.light {
  border-top-color: var(--line);
}

.method-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(17, 24, 39, 0.14);
}

.method-list.light .method-row {
  border-bottom-color: var(--line);
}

.method-row span {
  color: var(--amber);
  font-weight: 750;
}

.method-list.light .method-row span {
  color: var(--green);
}

.method-row p {
  max-width: 860px;
  margin-bottom: 0;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
}

.approach-statement {
  max-width: none;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.approach-intro {
  margin-bottom: 0;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.02rem;
}

.approach-topic {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.approach-topic:last-child {
  border-bottom: 0;
}

.approach-topic p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.approach-topic a {
  color: var(--ink);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.access {
  background: transparent;
}

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

.link-list a {
  display: flex;
  align-items: center;
  min-height: 78px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
}

.link-list a:hover {
  border-color: var(--ink);
}

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

.record {
  min-height: 260px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.record h3 {
  min-height: 56px;
}

.record p {
  min-height: 78px;
  color: var(--muted);
}

.record a {
  display: block;
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 750;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.record a + a {
  margin-top: 8px;
}

.result-panel,
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface);
}

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

.result-panel p,
.contact-panel p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.result-links {
  display: grid;
  gap: 10px;
}

.result-links a {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--surface-soft);
  color: var(--ink);
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.contact {
  background: transparent;
}

.citation-box {
  position: relative;
  grid-column: 2;
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #17202a;
  color: #f6f8fa;
}

.citation-box pre {
  margin: 0;
  padding: 18px;
  overflow-x: auto;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.92rem;
  line-height: 1.5;
}

.copy-citation {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(246, 248, 250, 0.28);
  border-radius: 6px;
  background: rgba(246, 248, 250, 0.08);
  color: #f6f8fa;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  width: min(var(--measure), calc(100% - 48px));
  margin: 0 auto;
  padding: 22px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .grid,
  .link-list,
  .record-list,
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .result-panel,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .section {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-copy {
    max-width: none;
    margin-left: 0;
  }

  .citation-box {
    grid-column: auto;
  }

  .summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .site-header {
    position: relative;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.9rem;
  }

  .hero {
    min-height: auto;
    padding: 34px 20px 30px;
  }

  .section {
    width: min(100% - 32px, var(--measure));
    padding: 28px 0;
  }

  .grid,
  .link-list,
  .record-list,
  .service-grid,
  .flow {
    grid-template-columns: 1fr;
  }

  .method-row {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 16px;
  }

  .site-footer {
    flex-direction: column;
  }
}
