:root {
  --ink: #172033;
  --muted: #5d687a;
  --paper: #f7f9fc;
  --card: #fff;
  --line: #dbe2ec;
  --blue: #174ea6;
  --orange: #c45516;
}
* {
  box-sizing: border-box;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 20;
  transform: translateY(-180%);
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease;
}
.skip-link:focus-visible {
  transform: translateY(0);
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font:
    16px/1.65 Inter,
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  overflow-x: hidden;
}
.site-header {
  height: 72px;
  padding: 0 clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 5;
}
.brand {
  color: var(--ink);
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -0.02em;
}
.brand span {
  font-weight: 500;
  color: var(--muted);
  margin-left: 10px;
}
nav {
  display: flex;
  align-items: center;
  gap: 20px;
}
nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
nav a:hover,
nav a:focus {
  color: var(--blue);
}
nav button {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 0 14px;
  color: var(--blue);
  cursor: pointer;
}
.hero,
main {
  max-width: 1160px;
  margin: auto;
}
.hero {
  padding: clamp(60px, 9vw, 112px) 20px 64px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.13em;
  font-weight: 750;
  color: var(--blue);
  margin: 0 0 12px;
}
.hero h1 {
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.08;
  letter-spacing: -0.045em;
  margin: 0 0 22px;
  max-width: 780px;
}
.lead {
  font-size: clamp(18px, 2.2vw, 23px);
  color: var(--muted);
  max-width: 720px;
  margin: 0 0 30px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 7px;
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
}
.primary {
  background: var(--blue);
  color: #fff;
}
.primary:hover,
.primary:focus {
  background: #123c82;
}
.quiet {
  border: 1px solid var(--line);
  color: var(--blue);
  background: #fff;
}
.updated {
  font-size: 13px;
  color: var(--muted);
  margin-top: 30px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding: 0 20px 20px;
}
.card,
.wide-card,
.complaint {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px;
}
.card {
  min-height: 290px;
}
.card.accent {
  border-top: 4px solid var(--orange);
}
.number {
  font:
    700 13px ui-monospace,
    monospace;
  color: var(--orange);
}
h2 {
  font-size: 25px;
  line-height: 1.2;
  margin: 12px 0 18px;
  letter-spacing: -0.025em;
}
h3 {
  font-size: 16px;
  margin: 22px 0 4px;
}
.card p,
.wide-card p,
.complaint p {
  color: var(--muted);
  margin: 8px 0;
}
.wide-card {
  margin: 0 20px 20px;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 40px;
}
.columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.split {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 16px;
  padding: 0 20px 20px;
}
.log-entry {
  border-left: 3px solid var(--orange);
  padding-left: 16px;
}
.muted {
  font-size: 13px;
  color: var(--muted) !important;
}
.complaint {
  margin: 0 20px 56px;
  background: #eef4ff;
  border-color: #c7d7f3;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: space-between;
}
.complaint .primary {
  flex-shrink: 0;
}
.complaint > div {
  min-width: 0;
  width: 100%;
}
.complaint form {
  display: grid;
  gap: 8px;
  max-width: 760px;
  margin-top: 24px;
}
.complaint label {
  font-weight: 700;
  color: var(--ink);
  margin-top: 10px;
}
.complaint input,
.complaint textarea {
  width: 100%;
  border: 1px solid #aebdce;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 12px 14px;
}
.complaint input {
  min-height: 48px;
}
.complaint textarea {
  min-height: 144px;
  resize: vertical;
}
.complaint input:focus-visible,
.complaint textarea:focus-visible,
nav button:focus-visible {
  border-color: var(--blue);
  outline: 3px solid #f0a15e;
  outline-offset: 2px;
}
.field-help {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 4px;
}
.complaint .button {
  width: fit-content;
  margin-top: 14px;
  border: 0;
}
.complaint .button[disabled] {
  cursor: wait;
  opacity: 0.66;
}
.status {
  min-height: 1.7em;
  font-weight: 700;
}
.status[data-state="success"] {
  color: #146c43;
}
.status[data-state="error"] {
  color: #a42626;
}
footer {
  padding: 25px clamp(20px, 5vw, 76px);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid var(--line);
  background: #fff;
}
footer a {
  color: var(--blue);
}
:focus-visible {
  outline: 3px solid #f0a15e;
  outline-offset: 3px;
}
@media (max-width: 800px) {
  .site-header {
    height: auto;
    min-height: 72px;
    align-items: flex-start;
    padding-top: 14px;
    padding-bottom: 14px;
    gap: 12px;
    flex-direction: column;
  }
  nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  nav a {
    font-size: 13px;
  }
  .brand span {
    display: block;
    margin: 2px 0 0;
  }
  .grid,
  .wide-card,
  .split {
    grid-template-columns: 1fr;
  }
  .wide-card {
    gap: 10px;
  }
  .columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .complaint {
    display: block;
  }
  .complaint .button {
    margin-top: 16px;
    width: 100%;
  }
  .complaint {
    margin-bottom: 32px;
  }
  footer {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
