@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/brand/pp-neue-montreal-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/brand/pp-neue-montreal-medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/brand/pp-neue-montreal-semibold.otf') format('opentype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'PP Neue Montreal';
  src: url('/brand/pp-neue-montreal-bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fragment Mono';
  src: url('/brand/fragment-mono-regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  --ink: #101010;
  --muted: #5b5b5b;
  --orange: #ff6200;
  --paper: #ffffff;
  --panel: #f5f5f5;
  --line: #dedede;
  --mono: 'Fragment Mono', Consolas, monospace;
  font-family: 'PP Neue Montreal', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--orange); text-underline-offset: 5px; }
button, input, select { font: inherit; }
button, a, input, select { outline-offset: 4px; }
:focus-visible { outline: 2px solid var(--ink); }
button { cursor: pointer; }
.topbar {
  max-width: 1440px;
  margin: auto;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #efefef;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 28px; }
.brand:hover { text-decoration: none; }
.brand-logo { display: block; width: 180px; height: auto; }
.brand-sub {
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.5;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 26px;
}
nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
nav form { margin: 0; }
.text-button { border: 0; background: none; padding: 0; color: var(--muted); }
.text-button:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 5px; }
main { max-width: 1440px; margin: auto; padding: 0 48px 88px; min-height: calc(100vh - 178px); }
.landing { display: grid; grid-template-columns: 1.25fr 1fr; gap: 9%; padding-top: 106px; align-items: start; }
.eyebrow { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .065em; line-height: 1.6; color: var(--muted); text-transform: uppercase; }
h1 { font-size: clamp(42px, 4.6vw, 66px); font-weight: 400; letter-spacing: -.045em; line-height: 1.06; margin: 27px 0; }
h1 span { color: var(--ink); font-weight: 600; }
.lead { font-size: 19px; line-height: 1.55; color: var(--ink); max-width: 550px; }
.intro-rule { height: 3px; background: var(--orange); margin: 34px 0 20px; max-width: 48px; }
.quiet, .small { color: var(--muted); font-size: 14px; line-height: 1.6; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 48px; }
.feature-number { font-family: var(--mono); font-size: 11px; color: var(--muted); font-weight: 400; }
.features h2 { font-size: 17px; font-weight: 500; margin: 14px 0 10px; }
.features p { color: var(--muted); font-size: 14px; line-height: 1.6; margin: 0; }
.access-card { background: var(--panel); border: 0; border-top: 3px solid var(--ink); border-radius: 0; padding: 40px; box-shadow: none; position: relative; }
.access-card:before { content: ''; position: absolute; left: 0; top: -3px; width: 70px; height: 3px; background: var(--orange); }
.access-card h2 { font-size: 33px; font-weight: 500; letter-spacing: -.035em; line-height: 1.1; margin: 23px 0 18px; }
.access-card > p { font-size: 16px; color: var(--muted); line-height: 1.55; margin-bottom: 30px; }
label { display: block; font-size: 14px; font-weight: 500; margin: 0 0 10px; }
input, select { width: 100%; min-height: 52px; padding: 13px 15px; border: 1px solid #cfcfcf; border-radius: 2px; background: white; color: var(--ink); }
input::placeholder { color: #747474; }
input:focus, select:focus { border-color: var(--ink); }
.primary { background: var(--orange); color: #101010; border: 0; padding: 15px 20px; border-radius: 2px; font-weight: 500; font-size: 16px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 52px; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 11px) 0, 100% 11px, 100% 100%, 0 100%); }
.primary:hover { background: #ed5b00; }
.primary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--ink); }
.access-card .primary { width: 100%; margin-top: 18px; }
.access-card .small { font-size: 12px; margin: 18px 0 24px; }
.card-footer { border-top: 1px solid #d8d8d8; padding-top: 22px; margin-top: 30px; font-size: 12px; color: var(--muted); line-height: 1.6; }
.site-footer { border-top: 1px solid var(--line); max-width: 1600px; margin: auto; padding: 26px 32px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); gap: 20px; }
.site-footer span:last-child { color: var(--ink); }
.notice { border-left: 3px solid var(--orange); padding: 4px 0 4px 18px; margin: 28px 0; }
.notice strong { font-weight: 600; font-size: 21px; }
.notice p { font-size: 15px; line-height: 1.6; color: var(--muted); }
.secondary-link { font-size: 15px; color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--orange); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.secondary-link:hover { text-decoration-color: var(--ink); }
.validation { display: block; font-size: 14px; color: #a42121; line-height: 1.5; margin-top: 8px; }
.narrow { max-width: 580px; margin: 96px auto; }
.narrow h1 { font-size: 42px; letter-spacing: -.035em; }
.library-head { padding-top: 74px; }
.library-head h1 { font-size: 58px; }
.signed-in { color: var(--muted); font-family: var(--mono); font-size: 11px; line-height: 1.6; margin: 26px 0; overflow-wrap: anywhere; }
.search-form { display: flex; gap: 12px; margin: 34px 0 52px; }
.search-form input { flex: 1; min-width: 0; }
.search-form select { width: auto; max-width: 250px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; gap: 16px; }
.section-heading h2 { font-size: 19px; font-weight: 500; margin: 0; }
.section-heading span { font-family: var(--mono); font-size: 11px; color: var(--muted); overflow-wrap: anywhere; }
.site-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 28px; }
.site-card { background: var(--panel); border: 1px solid transparent; border-top: 2px solid var(--orange); border-radius: 0; padding: 34px; max-width: 420px; display: block; }
.site-card:hover { border-color: var(--ink); text-decoration: none; }
.site-card h3 { font-size: 36px; font-weight: 500; letter-spacing: -.03em; margin: 27px 0 15px; }
.site-card p { font-size: 16px; line-height: 1.55; color: var(--muted); margin-bottom: 34px; }
.search-head { padding-top: 74px; }
.search-head h1 { font-size: 52px; font-weight: 400; }
.search-head p { font-size: 17px; line-height: 1.5; color: var(--muted); }
.result { border-bottom: 1px solid var(--line); padding: 32px 0; max-width: 940px; }
.result .eyebrow { display: flex; align-items: center; gap: 9px; }
.result .eyebrow:before { content: ''; width: 7px; height: 7px; background: var(--orange); display: inline-block; }
.result h2 { font-size: 27px; font-weight: 500; letter-spacing: -.02em; margin: 14px 0 9px; }
.result h3 { font-size: 16px; font-weight: 500; margin: 0; }
.result p { font-size: 16px; line-height: 1.6; color: var(--muted); }
.empty-state { padding: 45px 0; color: var(--muted); }
.empty-state h2 { color: var(--ink); font-weight: 500; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.skip { position: absolute; left: -10000px; }
.skip:focus { left: 20px; top: 10px; background: white; padding: 10px; z-index: 10; }
@media (max-width: 900px) {
  .topbar { padding-left: 28px; padding-right: 28px; }
  .landing { grid-template-columns: 1fr; gap: 48px; padding-top: 56px; }
  .intro { max-width: 640px; }
  .access-card { max-width: 640px; width: 100%; }
  .brand-sub { display: none; }
  .features { margin-top: 30px; }
  main { padding: 0 28px 64px; }
}
@media (max-width: 600px) {
  .topbar { padding: 18px 20px; gap: 16px; }
  .brand-logo { width: 150px; }
  nav { gap: 14px; font-size: 13px; }
  main { padding: 0 20px 58px; }
  h1 { font-size: 44px; }
  .landing { padding-top: 45px; gap: 40px; }
  .lead { font-size: 18px; }
  .access-card { padding: 29px; }
  .access-card h2 { font-size: 31px; }
  .features { gap: 24px; }
  .features p { font-size: 14px; }
  .search-form { flex-wrap: wrap; margin-bottom: 40px; }
  .search-form input { flex-basis: 100%; }
  .search-form select { flex: 1; min-width: 0; }
  .primary { padding-left: 17px; padding-right: 17px; gap: 14px; }
  .site-footer { padding: 24px 20px; flex-direction: column; gap: 10px; }
  .library-head, .search-head { padding-top: 48px; }
  .library-head h1 { font-size: 46px; }
  .search-head h1 { font-size: 39px; }
  .section-heading { flex-wrap: wrap; }
  .section-heading span { max-width: 100%; }
  .result h2 { font-size: 26px; }
}
@media (max-width: 420px) {
  .topbar { gap: 12px; }
  .brand-logo { width: 128px; }
  nav { font-size: 12px; gap: 11px; }
  .search-head h1 { font-size: 36px; }
  .narrow h1 { font-size: 36px; }
}
@media (prefers-reduced-motion: no-preference) {
  a, button { transition: background .15s, border-color .15s, color .15s; }
}

.approval-card { max-width: 660px; }
.approval-details { margin: 28px 0; }
.approval-details dt { font-family: var(--mono); font-size: 11px; color: var(--muted); text-transform: uppercase; margin: 22px 0 8px; }
.approval-details dd { margin: 0; overflow-wrap: anywhere; font-size: 16px; line-height: 1.5; }
.approval-details .approval-target { font-size: 25px; line-height: 1.25; }

.captcha-check { margin: 18px 0 0; min-width: 0; }
.captcha-status { min-height: 1.4em; margin: 8px 0 16px; }
.primary:disabled { opacity: .55; cursor: wait; }
.primary:disabled:hover { background: var(--orange); }
