:root {
  --paper: #f4f0e7;
  --surface: #fffdf8;
  --ink: #111318;
  --muted: #5b5e63;
  --line: #c8c2b8;
  --orange: #ff5c35;
  --orange-dark: #c93617;
  --blue: #2457f5;
  --reading: 780px;
  --content: 1120px;
  color-scheme: light;
}

* { box-sizing: border-box; }

html { background: var(--paper); scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
}

a { color: inherit; text-underline-offset: 4px; }
button { font: inherit; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.skip-link {
  position: fixed;
  z-index: 20;
  top: 10px;
  left: 10px;
  padding: 10px 13px;
  transform: translateY(-150%);
  border: 2px solid var(--ink);
  background: var(--surface);
  font-weight: 800;
}

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

.wrap { width: min(var(--content), calc(100% - 48px)); margin: 0 auto; }

.site-head { border-bottom: 1px solid var(--ink); }

.head-inner {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  text-decoration: none;
}

.mark { width: 40px; height: 40px; border-radius: 8px; }

.head-inner nav { display: flex; align-items: center; gap: 26px; }
.head-inner nav a { color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.head-inner nav a:hover { text-decoration: underline; }
.head-inner nav a:last-child { padding: 10px 14px; background: var(--ink); color: var(--paper); }

.hero { padding: 94px 0 100px; border-bottom: 1px solid var(--line); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, .35fr); gap: 50px; }
.hero .wrap::after { content: ""; align-self: stretch; min-height: 270px; border: 2px solid var(--ink); background: var(--blue); box-shadow: 7px 7px 0 var(--ink); }

.eyebrow {
  grid-column: 1;
  margin: 0 0 24px;
  color: var(--orange-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .13em;
  text-transform: uppercase;
}

h1,
h2,
h3 { letter-spacing: -.04em; }

h1 {
  grid-column: 1;
  max-width: 800px;
  margin: 0;
  font-size: clamp(52px, 8vw, 88px);
  font-weight: 900;
  line-height: .92;
}

.lede {
  grid-column: 1;
  max-width: 720px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.hero .actions { grid-column: 1; }

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: var(--surface);
  color: var(--ink);
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary { background: var(--orange); box-shadow: 4px 4px 0 var(--ink); }
.button:hover { transform: translate(-2px, -2px); }

.section { padding: 90px 0; }
.section + .section { border-top: 1px solid var(--line); }
.section.alt { background: var(--ink); color: var(--paper); }
.section.alt .lede { color: #c6c4bf; }
.section h2 { max-width: 760px; margin: 0 0 22px; font-size: clamp(38px, 5vw, 62px); line-height: .98; }
.section > .wrap > p:not(.eyebrow) { max-width: 760px; color: var(--muted); font-size: 18px; line-height: 1.65; }

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--ink);
}

.card {
  min-height: 190px;
  padding: 28px 30px 32px 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.card:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--line); }
.card:nth-child(even) { padding-left: 36px; }
.card h3 { margin: 0 0 12px; font-size: 24px; }
.card p { margin: 0; color: var(--muted); line-height: 1.6; }

.legal { padding: 76px 0 110px; }
.legal .wrap { width: min(var(--reading), calc(100% - 48px)); }
.legal h1 { font-size: clamp(46px, 8vw, 78px); }
.updated { margin: 18px 0 0; color: var(--muted); font-family: ui-monospace, monospace; font-size: 11px; }
.notice { margin: 42px 0 48px; padding: 23px 24px; border: 2px solid var(--ink); background: var(--orange); color: #111318; font-weight: 700; line-height: 1.6; box-shadow: 5px 5px 0 var(--ink); }
.legal section { padding: 33px 0; border-top: 1px solid var(--line); }
.legal section:last-of-type { border-bottom: 1px solid var(--line); }
.legal section h2 { margin: 0 0 14px; font-size: clamp(25px, 4vw, 34px); line-height: 1.08; }
.legal section p,
.legal > .wrap > p:not(.eyebrow):not(.updated) { margin: 0 0 15px; color: var(--muted); font-size: 16px; line-height: 1.75; }
.legal section strong { color: var(--ink); }

.footer { border-top: 1px solid var(--ink); }
.footer-inner { display: flex; min-height: 110px; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted); font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }

.status-page {
  display: flex;
  width: min(680px, calc(100% - 40px));
  min-height: 100vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto;
  padding: 50px 0;
}

.status-page img { margin-bottom: 32px; border-radius: 12px; }
.status-page h1 { font-size: clamp(50px, 10vw, 82px); }
.status-page p:not(.eyebrow) { max-width: 520px; margin: 24px 0 30px; color: var(--muted); font-size: 18px; line-height: 1.6; }

@media (max-width: 760px) {
  .wrap { width: min(var(--content), calc(100% - 32px)); }
  .head-inner { min-height: 76px; }
  .head-inner nav { gap: 12px; }
  .head-inner nav a:not(:last-child) { display: none; }
  .hero { padding: 64px 0 72px; }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero .wrap::after { grid-row: 5; min-height: 150px; }
  .grid { grid-template-columns: 1fr; }
  .card,
  .card:nth-child(odd),
  .card:nth-child(even) { min-height: 0; padding: 26px 0; border-right: 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 30px 0; }
  .legal .wrap { width: min(var(--reading), calc(100% - 32px)); }
}

@media (max-width: 380px) {
  h1 { font-size: 48px; }
  .brand { font-size: 14px; }
  .mark { width: 36px; height: 36px; }
  .actions { align-items: stretch; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
