@font-face {
  font-family: OutfitDoc;
  src: url('/assets/fonts/outfit-verifdoc-400.woff2?v=1b2d5d55b531') format('woff2');
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: OutfitDoc;
  src: url('/assets/fonts/outfit-verifdoc-550.woff2?v=84035f9bd4a2') format('woff2');
  font-display: swap;
  font-weight: 550;
}
@font-face {
  font-family: OutfitDoc;
  src: url('/assets/fonts/outfit-verifdoc-650.woff2?v=660505360494') format('woff2');
  font-display: swap;
  font-weight: 650;
}
:root {
  color-scheme: light;
  --bg: #faf6f0;
  --fg: #1e1d1b;
  --surface: #fff;
  --muted: #555;
  --line: #b1ada7;
  --blue: #1040c0;
  --accent: #d02020;
}
:root[data-theme='dark'] {
  color-scheme: dark;
  --bg: #0f0e0d;
  --fg: #faf6f0;
  --surface: #1a1918;
  --muted: #cbc7c1;
  --line: #706d68;
  --blue: #a8baff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: OutfitDoc, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.65;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}
.header,
main,
footer {
  width: min(1180px, calc(100% - 64px));
  margin: auto;
}
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.wordmark {
  font-size: 25px;
  font-weight: 650;
  letter-spacing: -1px;
  text-decoration: none;
}
.wordmark span,
h1 span {
  color: var(--accent);
}
nav {
  display: flex;
  gap: 10px;
}
nav button {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--fg);
  min-height: 44px;
  padding: 8px 15px;
}
main {
  padding: 64px 0 72px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 1.6px;
  color: var(--muted);
  margin: 0 0 16px;
}
h1 {
  font-size: clamp(48px, 7vw, 80px);
  line-height: 1;
  letter-spacing: -3px;
  margin: 0 0 24px;
  font-weight: 550;
}
.intro {
  font-size: clamp(21px, 3vw, 29px);
  margin: 0 0 10px;
  line-height: 1.3;
}
.lead {
  max-width: 640px;
  color: var(--muted);
  margin: 0 0 42px;
}
.layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: start;
}
.panel {
  padding: 30px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 4px solid var(--accent);
}
h2 {
  font-size: 24px;
  font-weight: 550;
  line-height: 1.25;
  margin: 0 0 25px;
}
label {
  display: block;
  font-weight: 550;
  margin-bottom: 10px;
}
input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  background: var(--bg);
  color: var(--fg);
  padding: 10px 12px;
  border-radius: 0;
}
input[type='text'] {
  font-family: Consolas, monospace;
  font-size: 15px;
}
input[type='file'] {
  font-size: 13px;
}
input::file-selector-button {
  font: inherit;
  padding: 5px;
  margin-right: 8px;
}
.help {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  margin: 9px 0 24px;
}
.primary {
  width: 100%;
  min-height: 52px;
  border: 0;
  background: #d02020;
  color: #faf6f0;
  padding: 12px 18px;
  font-weight: 550;
}
aside {
  padding-top: 4px;
}
.explanation {
  display: flex;
  gap: 18px;
  padding: 21px 0;
  border-top: 1px solid var(--line);
}
.number {
  color: var(--blue);
  font-size: 13px;
  padding-top: 5px;
}
h3 {
  font-size: 18px;
  font-weight: 550;
  margin: 0 0 8px;
}
.explanation p {
  font-size: 16px;
  color: var(--muted);
  margin: 0;
}
.result {
  margin-top: 25px;
  border-top: 2px solid var(--line);
  padding-top: 22px;
  overflow-wrap: anywhere;
}
.result h3 {
  font-size: 22px;
}
.result p {
  font-size: 15px;
}
.result dl {
  font-size: 14px;
}
.result dt {
  color: var(--muted);
}
.result dd {
  margin: 0 0 8px;
  font-weight: 550;
}
footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 32px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--muted);
}
footer p {
  margin: 0;
}
footer a {
  min-height: 44px;
}
.skip {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--surface);
  padding: 10px;
  z-index: 10;
}
.skip:focus {
  top: 10px;
}
[hidden] {
  display: none !important;
}
@media (max-width: 760px) {
  .header,
  main,
  footer {
    width: calc(100% - 32px);
  }
  .header {
    padding: 20px 0;
    gap: 12px;
    flex-wrap: wrap;
  }
  .wordmark {
    font-size: 21px;
  }
  nav {
    gap: 6px;
  }
  nav button {
    font-size: 13px;
    padding: 8px 10px;
  }
  main {
    padding: 40px 0;
  }
  .layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .panel {
    padding: 22px;
  }
  .lead {
    margin-bottom: 30px;
  }
  footer {
    display: block;
  }
  footer a {
    display: inline-block;
    margin-top: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}

.layout > *,
.explanation > div {
  min-width: 0;
}
h1,
h2,
h3,
label,
.explanation p {
  overflow-wrap: anywhere;
}
