/* The original PVA page's look (legacy libs/ui tailwindConfig.js and lp-export), as plain CSS.
   Fonts are self-hosted (SIL OFL, LICENSE-*.txt next to them): no request leaves the site. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-wght-normal.260c81a4759b.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext-wght-normal.1ad231aac0a8.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/raleway-latin-wght-normal.e401cae7a129.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/raleway-latin-ext-wght-normal.77d813a04981.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --primary-100: #ffe2d7; --primary-300: #feb79c; --primary-500: #ef7b4f; --primary-700: #b65744; --primary-900: #843120;
  --secondary-100: #eefdff; --secondary-300: #addbda; --secondary-500: #69a4a2; --secondary-700: #38817f; --secondary-900: #2b4a4a;
  --grey-50: #ffffff; --grey-75: #fcfcfc; --grey-100: #f6f8f8; --grey-200: #d9d9d9; --grey-300: #d0d8d8;
  --grey-500: #929a9a; --grey-700: #5f6767; --grey-800: #313333; --grey-900: #000000;
  --error-500: #da1e28; --error-100: #ffeaeb; --success-500: #24a148; --focus-500: #0969da;
  --radius: 0.5rem; --header-h: 4rem;
  color-scheme: light;
}
@media (min-width: 768px) { :root { --header-h: 5rem; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--grey-50);
  color: var(--grey-800); font: 400 0.875rem/1.5 "Inter", sans-serif; }
@media (min-width: 1024px) { body { font-size: 1rem; line-height: 1.4; } }
h1, h2, h3 { font-weight: 500; line-height: 1.2; margin: 0 0 0.75rem; color: var(--secondary-900); }
a { color: var(--focus-500); }
img { max-width: 100%; height: auto; }
.muted { color: var(--grey-700); }
.container { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 1rem; }

/* header: logo left, language right (StaticHeader.tsx) */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--grey-50); border-bottom: 1px solid var(--secondary-700); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 1rem; }
.logo { display: block; height: 3rem; width: auto; }
.header-nav { display: flex; align-items: center; gap: 1rem; font-size: 0.875rem; }
.header-nav form { margin: 0; }
.header-nav a { color: var(--grey-800); text-decoration: none; font-weight: 600; }
.header-nav a:hover { text-decoration: underline; }
.language-switch { display: inline-flex; align-items: center; gap: 0.375rem; }
.language-switch::before { content: ""; width: 1.5rem; height: 1.5rem; background: url("brand/globe.1b2d7b9a7b6e.svg") center / contain no-repeat; }
.link-button { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--grey-800); cursor: pointer; }

.site-main { flex: 1; }
.site-footer { border-top: 1px solid var(--grey-200); padding: 1rem 0; font-size: 0.75rem; text-align: center; }
.site-footer .container { display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
.footer-meta { color: var(--grey-500); }
.footer-meta a { color: var(--grey-500); }

/* landing, closed and thank-you: white panel left, dates or partners right (LandingSection.tsx) */
.landing { display: flex; flex-direction: column; }
.landing-main { padding: 2.5rem 0; display: flex; flex-direction: column; justify-content: center; }
.landing-main h1 { font-size: 1.625rem; }
.intro p { margin: 0 0 1.5rem; color: var(--secondary-900); }
.landing-side { padding: 2.5rem 1rem; margin: 0 -1rem; background: url("brand/background.b55b359b961d.png") center / cover; }
.landing-side h2 { font-size: 1rem; font-weight: 600; color: var(--grey-800); }
.side-intro { font-weight: 600; margin: 0 0 1rem; }
@media (min-width: 1024px) {
  .landing { flex-direction: row; gap: 3.75rem; min-height: calc(100dvh - var(--header-h) - 4rem); }
  .landing-main { flex: 1; padding: 3rem 0; }
  .landing-main h1 { font-size: 2rem; color: var(--grey-800); margin-bottom: 1rem; }
  .intro p { color: var(--grey-800); }
  .landing-side { flex: 0 0 300px; margin: 0; padding: 3rem 1.5rem; }
  .landing-side h2 { font-size: 1.375rem; margin-bottom: 1rem; }
}
@media (min-width: 1280px) { .landing { gap: 5rem; } .landing-side { flex-basis: 360px; } }
@media (min-width: 1440px) { .landing { gap: 10rem; } .landing-side { flex-basis: 460px; } }

.card { display: block; padding: 1rem; margin-bottom: 0.5rem; background: var(--grey-50); border: 1px solid var(--grey-300); border-radius: var(--radius); }
.date-card h3 { font-size: 0.875rem; font-weight: 600; color: var(--grey-800); margin-bottom: 0.5rem; }
.date-card p { margin: 0 0 0.25rem; font-size: 0.875rem; }
.partner-card { text-decoration: none; color: var(--grey-800); }
.partner-card strong { display: block; }
.partner-card .muted { font-size: 0.75rem; word-break: break-all; }

.partner-logos { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem 1rem; align-items: center; }
.partner-logos img { display: block; height: 1.5rem; width: auto; max-width: 100%; object-fit: contain; }
@media (min-width: 1024px) { .partner-logos img { height: 2rem; } }

/* buttons (primary, orange) */
.button { display: inline-block; text-align: center; padding: 0.75rem 1.5rem; border: 0; border-radius: var(--radius);
  background: var(--primary-500); color: #fff; font: 600 0.875rem/1.2 "Inter", sans-serif; text-decoration: none; cursor: pointer; }
.button:hover { background: var(--primary-700); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--focus-500); outline-offset: 2px; }
.landing-main > .button { align-self: stretch; }
@media (min-width: 1024px) { .landing-main > .button { align-self: flex-start; } }

/* the form: one column of question cards over the background (sir_registration layout) */
.form-section { background: url("brand/background.b55b359b961d.png") center / cover; padding: 2.5rem 0 4rem; scroll-margin-top: var(--header-h); }
.form-column { max-width: 51.5rem; scroll-margin-top: calc(var(--header-h) + 1rem); }
.form-title { font-size: 1.375rem; color: var(--grey-800); margin-bottom: 1rem; }
.field { padding: 1.5rem; border-radius: 1rem; margin-bottom: 1rem; }
.field label { display: block; font-size: 0.875rem; margin-bottom: 0.5rem; color: var(--grey-800); }
.field .required { color: var(--grey-700); }
.field input:not([type="checkbox"]), .field select, .field textarea { width: 100%; padding: 0.625rem 0.75rem; font: inherit;
  color: var(--grey-800); background: var(--grey-50); border: 1px solid var(--grey-300); border-radius: var(--radius); }
.field textarea { min-height: 7.5rem; resize: vertical; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error-500); }
.field .help { margin: 0.5rem 0 0; font-size: 0.75rem; color: var(--grey-700); }
.checkbox { display: flex; gap: 0.5rem; align-items: flex-start; }
.checkbox input { margin-top: 0.2rem; accent-color: var(--primary-500); }
.consent-text { margin: 0 0 1rem; font-size: 0.875rem; }
.error { color: var(--error-500); font-size: 0.75rem; margin-top: 0.5rem; }
.error-summary, .errors { background: var(--error-100); color: var(--error-500); border-radius: var(--radius); padding: 0.75rem 1rem; margin-bottom: 1rem; }
.errors ul { margin: 0; padding-left: 1rem; }
.form-actions { display: flex; justify-content: flex-end; }
@media (max-width: 767px) { .form-actions .button { width: 100%; } }

.message-page { text-align: center; padding: 4rem 1rem; max-width: 40rem; }
.message-page h1 { color: var(--grey-800); }
.not-found-art { display: block; width: 100%; max-width: 37.5rem; margin: 0 auto 2rem; }

.legal { max-width: 48rem; padding: 2.5rem 1rem 4rem; }
.legal h1 { font-size: 1.75rem; color: var(--grey-800); }
.legal h2 { font-size: 1.125rem; margin-top: 2rem; color: var(--grey-800); }
.legal li { margin-bottom: 0.5rem; }

/* honeypot: off-screen for people, still in the DOM for bots */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
