:root {
  --ground: #020203;
  --steel: #d5d9de;
  --steel-dim: #969ca4;
  --line: #3f4349;
  --field: #0b0c0e;
  --field-border: #666c74;
  --surface: #090a0c;
  --measure: 68ch;
}

* { box-sizing: border-box; }

html {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--ground);
  color: var(--steel);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--steel); }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--steel-dim);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 10;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.55rem 0.8rem;
  background: var(--steel);
  color: var(--ground);
  transform: translateY(-200%);
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 74rem;
  margin: 0 auto;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 0.82rem;
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  text-decoration: none;
}

.site-header nav,
.site-footer nav,
.home-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.25rem;
}

.site-header nav { font-size: 0.86rem; }
.site-header a[aria-current="page"] { text-decoration-thickness: 2px; }

.home-page .site-header {
  justify-content: flex-start;
  border-bottom: 0;
}

.home-page .site-header nav {
  font-size: 0.76rem;
}

main { width: min(calc(100% - 3rem), 74rem); margin-inline: auto; }

.home-main {
  max-width: 38rem;
  min-height: calc(100svh - 4.7rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 0 4.7rem;
  text-align: center;
}

.mark {
  display: block;
  width: clamp(170px, 34vw, 270px);
  height: auto;
  margin: 0 auto;
}

.home-main h1 {
  margin: 1.8rem 0 0;
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
}

.status,
.eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--steel-dim);
}

.status {
  margin: 0.8rem 0 0;
  text-indent: 0.24em;
}

.lede {
  max-width: 34rem;
  margin: 2.4rem auto 0;
  color: var(--steel-dim);
  font-size: 1.05rem;
}

.home-actions {
  justify-content: center;
  margin-top: 2.2rem;
}

.button-link,
button {
  display: inline-block;
  min-height: 44px;
  padding: 0.72rem 1.15rem;
  border: 1px solid var(--steel-dim);
  border-radius: 2px;
  background: transparent;
  color: var(--steel);
  font: inherit;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
}

.button-link:hover,
button:hover { border-color: var(--steel); }

.content-main {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 44rem) minmax(0, 1fr);
  padding: clamp(3rem, 8vw, 6rem) 0;
}

.content-main > * { grid-column: 2; }

.content-main h1 {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  font-weight: 300;
  line-height: 1.14;
  letter-spacing: 0.04em;
}

.content-main .intro {
  margin-top: 1.4rem;
  color: var(--steel-dim);
  font-size: 1.12rem;
}

.content-main section {
  margin-top: 3.5rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--line);
}

.content-main h2 {
  margin: 0 0 1.1rem;
  font-size: clamp(1.55rem, 4vw, 2.1rem);
  font-weight: 400;
  line-height: 1.25;
}

.content-main h3 {
  margin: 1.75rem 0 0.8rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.content-main p,
.content-main li { max-width: var(--measure); }

.content-main li + li { margin-top: 0.55rem; }

.principle {
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--steel-dim);
  background: var(--surface);
}

.record-card {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--line);
  background: var(--surface);
}

.record-card h2 { font-size: 1.25rem; }

dl { margin: 0; }
dt { margin-top: 1.25rem; font-weight: 600; }
dd { margin: 0.3rem 0 0; color: var(--steel-dim); }

code {
  padding: 0.08em 0.25em;
  background: var(--surface);
  color: var(--steel);
  overflow-wrap: anywhere;
}

.contact-form {
  max-width: 34rem;
  margin-top: 1.75rem;
}

.field { margin-bottom: 1.25rem; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
}

.optional,
.field-note,
.form-note { color: var(--steel-dim); }

.optional { font-weight: 400; }

input,
textarea {
  width: 100%;
  padding: 0.72rem 0.8rem;
  background: var(--field);
  color: var(--steel);
  border: 1px solid var(--field-border);
  border-radius: 2px;
  font: inherit;
  font-size: 1rem;
}

textarea {
  min-height: 9rem;
  resize: vertical;
}

input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--steel-dim);
  outline-offset: 2px;
}

.field-note {
  margin: 0.35rem 0 0;
  font-size: 0.82rem;
}

.form-note {
  margin-top: 1.25rem;
  font-size: 0.86rem;
}

.decoy {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.site-footer {
  max-width: 74rem;
  margin: 0 auto;
  padding: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--steel-dim);
  font-size: 0.76rem;
}

.site-footer nav { margin-bottom: 0.8rem; font-size: 0.82rem; }
.site-footer p { margin: 0.18rem 0; }

@media (max-width: 600px) {
  .site-header { align-items: flex-start; }
  .site-header nav { justify-content: flex-end; }
  main { width: min(calc(100% - 2rem), 74rem); }
  .content-main { grid-template-columns: minmax(0, 1fr); }
  .content-main > * { grid-column: 1; }
  .home-main { min-height: calc(100svh - 4.7rem); }
}

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