@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/source-sans-3.woff2") format("woff2");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}

@font-face {
  font-family: "Crimson Text";
  src: url("/assets/crimson-text-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  font-family: "Source Sans 3", Arial, sans-serif;
  color: #5d6c7a;
  background: #fff;
  font-synthesis: none;
}

* { box-sizing: border-box; }
body { margin: 0; }

.page-shell {
  display: flex;
  flex-direction: column;
  max-width: 1440px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
}

.site-header {
  position: relative;
  z-index: 1;
  background: #fff;
  box-shadow: 0 0 10px -2px rgb(0 0 0 / 40%);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 9.5%;
}

.brand { display: flex; min-width: 0; }
.brand img { display: block; width: auto; max-width: 100%; object-fit: contain; }

.home-link {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #002f6d;
}

.home-link svg { width: 24px; height: 24px; opacity: .6; }
.home-link:hover { background: #d9f0fa; }
a:focus-visible { outline: 3px solid #0066ba; outline-offset: 4px; }

main { position: relative; flex: 1; background: #d9f0fa; overflow: hidden; }
.hero {
  position: absolute;
  inset: 0 0 auto;
  height: 1200px;
  background: #fff;
  clip-path: polygon(0 0, 100% 0, 100% 35%, 28% 45%, 0 35%);
  pointer-events: none;
}

.main-content { position: relative; max-width: 720px; margin: 0 auto; padding: 20px 16px; }
h1 {
  margin: 0;
  color: #002f6d;
  font-family: "Crimson Text", Georgia, serif;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.15;
}

.site-footer { position: relative; background: #002f6d; color: #fff; }
.site-footer p { margin: 0; padding: 8px 9.5%; font-size: 12px; line-height: 1.5; }

.skip-link { position: absolute; left: 16px; top: -80px; z-index: 2; padding: 8px 16px; background: #fff; color: #002f6d; }
.skip-link:focus { top: 8px; }

@media (max-width: 600px) {
  .header-inner { padding: 12px 6%; }
  .brand img { height: 60px; }
  .main-content { padding: 32px 20px; }
  .site-footer p { padding: 8px 6%; }
}

/* Verifier flows use the existing pilot palette and local typefaces. */
.main-content { max-width: 760px; padding: 38px 24px 48px; }
h1 { margin-bottom: 28px; }
.flow-navigation { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 36px; margin-bottom: 12px; font-size: 14px; }
.flow-navigation .text-button { margin: 0; padding: 6px 0; }
.verifier-card { padding: 40px 44px; background: #fff; border: 1px solid #d3e0e7; border-radius: 8px; box-shadow: 0 4px 16px rgb(0 47 109 / 7%); text-align: center; }
h2 { margin: 0; color: #002f6d; font: 700 32px/1.2 "Crimson Text", Georgia, serif; }
h3 { color: #002f6d; font-size: 21px; line-height: 1.3; margin: 6px 0 10px; }
.intro { margin: 16px 0 30px; font-size: 19px; line-height: 1.5; }
.button { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 52px; margin: 16px 0; padding: 12px 20px; border: 1px solid transparent; border-radius: 5px; font: 600 18px/1.4 "Source Sans 3", Arial, sans-serif; text-decoration: none; cursor: pointer; }
.primary { background: #002f6d; color: #fff; }
.primary:hover { background: #004786; }
.secondary { color: #002f6d; background: #fff; border-color: #9fb7cc; }
.secondary:hover { background: #eff8fc; border-color: #002f6d; }
.text-button { width: auto; min-height: 44px; padding: 8px; background: transparent; color: #005a9c; text-decoration: underline; font-size: 16px; font-weight: 400; }
.text-button:hover { color: #002f6d; }
button:focus-visible, select:focus-visible { outline: 3px solid #0066ba; outline-offset: 4px; }
button:disabled { cursor: default; opacity: .55; }
.primary:disabled:hover { background: #002f6d; }
.divider { display: flex; align-items: center; gap: 16px; margin: 24px 0; font-size: 16px; }
.divider::before, .divider::after { content: ''; height: 1px; flex: 1; background: #d3e0e7; }
.help-text { font-size: 15px; line-height: 1.6; margin: 20px 0; }
label { display: block; margin-bottom: 8px; color: #002f6d; font-size: 16px; font-weight: 600; text-align: left; }
select { width: 100%; min-height: 56px; padding: 12px; border: 1px solid #9fb7cc; border-radius: 4px; background: #fff; color: #002f6d; font: 17px "Source Sans 3", Arial, sans-serif; }
.eyebrow { margin: 0 0 6px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.selection-action { margin-top: 28px; padding-top: 12px; border-top: 1px solid #d3e0e7; }
.app-download { margin: 28px -44px -40px; padding: 26px 24px 30px; border-top: 1px solid #d3e0e7; background: #f7fafc; border-radius: 0 0 8px 8px; }
.app-download p { font-size: 15px; margin: 0 0 18px; }
.store-buttons { display: flex; justify-content: center; gap: 12px; flex-wrap: wrap; }
.store-buttons button { min-width: 148px; padding: 8px 18px; border: 1px solid #bac9d6; border-radius: 5px; color: #002f6d; background: #fff; font: 600 17px "Source Sans 3", Arial, sans-serif; opacity: 1; }
.notice { padding: 16px; margin: 20px 0; border: 1px solid #bfd9e6; background: #f0f8fc; border-radius: 4px; font-size: 15px; line-height: 1.6; }
.scan-frame { position: relative; display: grid; place-items: center; height: 220px; max-width: 360px; margin: 0 auto; background: #edf4f8; color: #5d6c7a; border-radius: 6px; }
.scan-corners { position: absolute; inset: 30px; border: 2px dashed #5283a6; border-radius: 8px; }
.qr-instructions { font-size: 17px; line-height: 1.5; }
.qr-code { margin: 24px 0; }
.qr-code img { display: block; margin: 0 auto; width: 232px; max-width: 100%; height: auto; }
.result-card { padding: 24px; margin: 24px 0; border: 1px solid #d3e0e7; border-radius: 4px; text-align: left; }
dl { margin: 24px 0 0; }
dl > div { display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; padding: 12px 0; border-top: 1px solid #e3ecf1; font-size: 16px; }
dt { font-weight: 600; }
dd { color: #002f6d; margin: 0; overflow-wrap: anywhere; }
[hidden] { display: none !important; }
@media (max-width: 600px) {
  .main-content { padding: 28px 18px 36px; }
  h1 { font-size: 31px; }
  h2 { font-size: 28px; }
  .verifier-card { padding: 28px 20px; }
  .intro { font-size: 17px; margin-bottom: 26px; }
  .flow-navigation { font-size: 12px; }
  .app-download { margin: 24px -20px -28px; padding: 24px 16px; }
  select { font-size: 16px; }
  .result-card { padding: 16px; }
  dl > div { grid-template-columns: 1fr; gap: 4px; }
}

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
