:root {
  color-scheme: light;
  --paper: #f4f2ec;
  --surface: #fbfaf6;
  --ink: #14211f;
  --muted: #5c6966;
  --line: #ccd3cf;
  --teal: #075f52;
  --teal-dark: #06473e;
  --mint: #d8ebe5;
  --signal: #e25f3f;
  --max-width: 72rem;
  --reading-width: 48rem;
  --radius: 0.85rem;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent 0, transparent calc(100% - 1px), rgba(20, 33, 31, 0.035) calc(100% - 1px)) 0 0 / 4.5rem 100%,
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--teal);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-dark);
  text-decoration-thickness: 0.14em;
}

a:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
  border-radius: 0.12rem;
}

.skip-link {
  position: fixed;
  top: -6rem;
  left: 1rem;
  z-index: 20;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--ink);
}

.skip-link:focus {
  top: 1rem;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(244, 242, 236, 0.96);
}

.header-inner {
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.68rem;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 760;
  letter-spacing: -0.015em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 1.7rem;
  height: 1.7rem;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.16rem;
  padding: 0.26rem;
  border: 1px solid var(--ink);
  border-radius: 0.35rem;
}

.brand-mark span {
  align-self: end;
  background: var(--teal);
}

.brand-mark span:nth-child(1) {
  height: 46%;
}

.brand-mark span:nth-child(2) {
  height: 92%;
}

.brand-mark span:nth-child(3) {
  height: 68%;
  background: var(--signal);
}

nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav a {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 640;
  text-decoration: none;
}

nav a[aria-current="page"] {
  color: var(--ink);
}

main {
  padding-block: clamp(3.5rem, 8vw, 7rem);
}

.hero {
  position: relative;
  max-width: 60rem;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
}

.hero::after {
  position: absolute;
  right: 0;
  bottom: 1.5rem;
  width: clamp(5rem, 11vw, 8rem);
  height: 0.5rem;
  background: linear-gradient(90deg, var(--teal) 0 62%, var(--signal) 62% 100%);
  content: "";
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 780;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  text-wrap: balance;
}

h1,
h2 {
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.5rem;
  font-size: clamp(3rem, 8vw, 6.6rem);
  font-weight: 775;
}

h2 {
  margin-bottom: 0.8rem;
  font-size: clamp(1.55rem, 3.5vw, 2.35rem);
  font-weight: 735;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.02rem;
}

.no-break {
  display: inline-block;
  white-space: nowrap;
}

p,
ul {
  margin-top: 0;
}

.lede {
  max-width: 45rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.5;
}

.status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.status-row li {
  padding: 0.42rem 0.68rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251, 250, 246, 0.72);
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.panel {
  min-height: 15rem;
  padding: clamp(1.4rem, 3vw, 2.1rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.panel:nth-child(1) {
  grid-column: span 7;
}

.panel:nth-child(2) {
  grid-column: span 5;
  background: var(--mint);
}

.panel:nth-child(3),
.panel:nth-child(4) {
  grid-column: span 6;
}

.panel p:last-child,
.panel ul:last-child {
  margin-bottom: 0;
}

.plain-list {
  padding-left: 1.2rem;
}

.plain-list li + li {
  margin-top: 0.45rem;
}

.section-block {
  padding-top: clamp(4rem, 8vw, 7rem);
}

.statement {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.statement p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.contact-card {
  max-width: 48rem;
  margin-top: clamp(4rem, 8vw, 7rem);
  padding: clamp(1.5rem, 4vw, 2.6rem);
  border-left: 0.45rem solid var(--signal);
  background: var(--ink);
  color: #f7f5ef;
}

.contact-card a {
  color: #a8ded1;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.policy {
  max-width: var(--reading-width);
}

.policy h1 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 7vw, 5.6rem);
}

.policy section {
  padding-top: 2.6rem;
}

.policy h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  letter-spacing: -0.025em;
}

.policy code {
  overflow-wrap: anywhere;
  padding: 0.1rem 0.32rem;
  border-radius: 0.28rem;
  background: #e5e7e2;
  font-size: 0.88em;
}

.meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.not-found {
  min-height: calc(100vh - 9rem);
  display: grid;
  place-items: center;
}

.not-found-inner {
  max-width: 44rem;
  padding-block: 4rem;
}

.not-found .code {
  margin: 0 0 0.6rem;
  color: var(--signal);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer {
  padding-block: 2rem 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.8rem 1.5rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 48rem) {
  .header-inner {
    min-height: 0;
    align-items: flex-start;
    flex-direction: column;
    padding-block: 1rem;
  }

  h1 {
    font-size: clamp(3rem, 15vw, 4.7rem);
  }

  .hero::after {
    right: auto;
    left: 0;
  }

  .panel:nth-child(n) {
    min-height: 0;
    grid-column: 1 / -1;
  }

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

@media (max-width: 27rem) {
  .shell {
    width: min(calc(100% - 2rem), var(--max-width));
  }

  nav ul {
    gap: 0.45rem 1rem;
  }

  .status-row {
    gap: 0.5rem;
  }

  .status-row li {
    font-size: 0.7rem;
  }
}

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