:root {
  /* Mirrors the landing page workbench palette in app/assets/css/tailwind.css. */
  --canvas: #f3efe4;
  --surface: #fffdf8;
  --surface-raised: #e9e1d2;
  --line: #bdb3a3;
  --line-soft: #ddd5c7;
  --text: #171713;
  --muted: #5e584e;
  --accent: #2457d6;
  --accent-strong: #1746b8;
  --blue: #2457d6;
  --success: #187b4b;
  --warning: #d7a326;
  --danger: #e84b32;
  --max-width: 72rem;
  color-scheme: light;
  font-family: Verdana, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; background: var(--canvas); color: var(--text); line-height: 1.6; }
a { color: var(--accent-strong); text-decoration-thickness: .08em; text-underline-offset: .2em; }
a:hover { color: #0f327f; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: .2rem; }

.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 10; padding: .65rem .9rem; background: var(--text); color: var(--surface); font-weight: 700; }
.skip-link:focus { top: 1rem; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(255, 253, 248, .94); }
.header-inner, .footer-inner, main { width: min(calc(100% - 2rem), var(--max-width)); margin: 0 auto; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--text); text-decoration: none; font-weight: 800; letter-spacing: -.02em; white-space: nowrap; }
.brand img { width: 2rem; height: 2rem; }
nav ul { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: .85rem 1.1rem; margin: 0; padding: .7rem 0; list-style: none; }
nav a { color: var(--muted); font-size: .93rem; text-decoration: none; }
nav a[aria-current="page"], nav a:hover { color: var(--text); }

main { padding: 4rem 0 5rem; }
.eyebrow { margin: 0 0 .7rem; color: var(--accent); font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .75rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { line-height: 1.16; letter-spacing: -.03em; font-weight: 900; }
h1 { max-width: 15ch; margin: 0; font-size: clamp(2.45rem, 7vw, 5rem); }
h2 { margin-top: 0; font-size: clamp(1.55rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { max-width: 72ch; }
.lede { max-width: 62ch; margin: 1.3rem 0 0; color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.32rem); }
.hero { position: relative; overflow: hidden; padding: 2.25rem 2rem 4rem; border: 1px solid var(--line); background-color: var(--surface); box-shadow: 4px 4px 0 var(--text); }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .72; background-image: linear-gradient(30deg, rgba(23, 23, 19, .055) 12%, transparent 12.5%, transparent 87%, rgba(23, 23, 19, .055) 87.5%, rgba(23, 23, 19, .055)), linear-gradient(150deg, rgba(23, 23, 19, .055) 12%, transparent 12.5%, transparent 87%, rgba(23, 23, 19, .055) 87.5%, rgba(23, 23, 19, .055)); background-size: 72px 126px; }
.hero > * { position: relative; z-index: 1; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.button { display: inline-block; padding: .78rem 1.05rem; border: 2px solid var(--accent-strong); border-radius: 4px; background: var(--accent); box-shadow: 3px 3px 0 var(--text); color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .78rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; text-transform: uppercase; transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease; }
.button:hover { background: var(--accent-strong); box-shadow: 4px 4px 0 var(--text); color: #fff; transform: translate(-1px, -1px); }
.button:active { box-shadow: none; transform: translate(2px, 2px); }
.button.secondary { border-color: var(--text); background: var(--surface); color: var(--text); }
.button.secondary:hover { border-color: var(--text); background: var(--surface-raised); color: var(--text); }

.section { margin-top: 4rem; }
.grid { display: grid; gap: 1rem; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { padding: 1.35rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); box-shadow: 3px 3px 0 var(--text); transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease; }
@media (hover: hover) { .card:hover { border-color: var(--text); box-shadow: 4px 4px 0 var(--text); transform: translate(-1px, -1px); } }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card h3 { margin-top: 0; }
.process { counter-reset: process; }
.step { position: relative; padding-top: 3.65rem; }
.step::before { counter-increment: process; content: counter(process); position: absolute; top: 1.2rem; left: 1.35rem; display: grid; width: 2rem; height: 2rem; place-items: center; border: 1px solid var(--accent-strong); border-radius: 50%; background: var(--accent); color: #fff; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-weight: 900; }
.diagram { overflow-x: auto; padding: 1.2rem; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-raised); box-shadow: 3px 3px 0 var(--text); }
.diagram-flow { display: flex; align-items: stretch; min-width: 46rem; gap: .75rem; }
.diagram-node { flex: 1; padding: 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--surface); font-weight: 700; }
.diagram-node small { display: block; margin-top: .35rem; color: var(--muted); font-weight: 400; }
.diagram-arrow { align-self: center; color: var(--accent); font-size: 1.6rem; }
.notice { margin-top: 1.5rem; padding: 1rem 1.1rem; border-left: 4px solid var(--warning); border-radius: 4px; background: #fff6d9; }
.notice strong { color: #6d5100; }
.status-list { padding: 0; list-style: none; }
.status-list li { margin: .65rem 0; padding-left: 1.5rem; position: relative; }
.status-list li::before { position: absolute; left: 0; font-weight: 900; }
.status-good::before { content: "●"; color: var(--success); }
.status-check::before { content: "●"; color: var(--warning); }
.status-block::before { content: "●"; color: var(--danger); }
.status-unknown::before { content: "●"; color: var(--muted); }
.article { max-width: 50rem; }
.article li { margin: .5rem 0; }
.faq { padding: 0; border-top: 1px solid var(--line); }
.faq details { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 800; }
.site-footer { border-top: 1px solid var(--line); background: var(--surface-raised); }
.footer-inner { display: flex; align-items: flex-start; justify-content: space-between; flex-wrap: wrap; gap: 1rem; padding: 2.2rem 0; color: var(--muted); font-size: .9rem; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: .7rem 1rem; }
.footer-links a { color: var(--muted); }
.muted { color: var(--muted); }

@media (max-width: 48rem) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: 1rem 0; }
  nav ul { justify-content: flex-start; padding: 0; }
  main { padding-top: 2.8rem; }
  .hero { padding: 1.75rem 1.25rem 2.5rem; box-shadow: 3px 3px 0 var(--text); }
  .hero h1 { font-size: clamp(2.25rem, 14vw, 3.15rem); }
  .hero .lede { font-size: 1.05rem; }
  .actions { gap: .65rem; }
  .button { width: 100%; text-align: center; }
  .section { margin-top: 3rem; }
  .grid.two, .grid.three { grid-template-columns: 1fr; }
}
