:root {
  color-scheme: light;
  --paper: #f7f7f5;
  --ink: #242428;
  --muted: #5f6067;
  --brand: #c91e27;
  --brand-hover: #ab1720;
  --line: #dededb;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  border-top: 5px solid var(--brand);
}

a { color: inherit; }

a:focus-visible {
  outline: 3px solid #1559a3;
  outline-offset: 5px;
}

.page-shell {
  width: min(100% - 96px, 1040px);
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: block;
  width: 242px;
  max-width: 100%;
  height: auto;
}

.language-nav {
  display: flex;
  align-items: center;
  padding: 4px;
  gap: 4px;
  border: 1px solid var(--line);
  border-radius: 7px;
}

.language-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 8px 13px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.language-link:hover { background: #eaeae7; }

.language-link[aria-current="page"] {
  color: #fff;
  background: var(--ink);
}

.intro { padding: 52px 0 40px; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 19px;
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow span { width: 24px; height: 2px; background: currentColor; }

h1 {
  margin: 0;
  font-size: clamp(42px, 5.3vw, 64px);
  line-height: 1.04;
  font-weight: 650;
  letter-spacing: -0.055em;
}

.title-period { color: var(--brand); }

.intro-copy {
  max-width: 560px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  margin: 0;
  font-size: 15px;
  font-weight: 650;
}

.section-note { color: var(--muted); font-size: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.form-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--brand);
  border-radius: 3px;
  background: #fff;
}

.card-label {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.card-label span:first-child { color: var(--brand); font-variant-numeric: tabular-nums; }

.form-card h3 { margin: 0; font-size: 27px; line-height: 1.2; font-weight: 650; letter-spacing: -0.035em; }

.card-description {
  margin: 13px 0 25px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 320px;
}

.form-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 52px;
  margin-top: auto;
  padding: 14px 18px;
  border-radius: 3px;
  background: var(--brand);
  color: #fff;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 650;
  text-decoration: none;
}

.form-button:hover { background: var(--brand-hover); }
.form-button:active { background: #92141b; }
.form-button svg { width: 22px; height: 22px; flex-shrink: 0; }

.destination-note {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.guidance {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 26px 0 40px;
  padding: 20px 22px;
  background: #eeeeeb;
  border-radius: 3px;
}

.info-icon { width: 22px; height: 22px; flex-shrink: 0; color: var(--muted); }
.guidance h2 { margin: 1px 0 6px; font-size: 13px; font-weight: 650; }
.guidance p { margin: 0; max-width: 850px; color: var(--muted); font-size: 12px; line-height: 1.75; }

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 26px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.site-footer p { margin: 0; }
.site-footer a { text-underline-offset: 3px; }
.site-footer a:hover { color: var(--ink); }
.footer-domain { margin-left: auto; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 1;
  padding: 12px 18px;
  border-radius: 3px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

@media (max-width: 640px) {
  .page-shell { width: calc(100% - 40px); }
  .site-header { min-height: 104px; gap: 14px; }
  .brand { width: 180px; }
  .language-nav { gap: 0; padding: 2px; }
  .language-link { min-height: 40px; padding: 8px; font-size: 12px; }
  .intro { padding: 38px 0 30px; }
  .intro-copy { margin-top: 19px; font-size: 15px; }
  .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .section-heading { flex-direction: column; gap: 7px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .form-card { padding: 24px; }
  .card-label { margin-bottom: 20px; }
  .form-card h3 { font-size: 26px; }
  .guidance { margin: 22px 0 30px; padding: 18px; gap: 11px; }
  .site-footer { gap: 12px 18px; padding-block: 22px; }
  .footer-domain { width: 100%; margin: 0; }
}

@media (max-width: 374px) {
  .site-header { flex-wrap: wrap; padding-block: 19px; gap: 16px; }
  .brand { width: 180px; }
  h1 { font-size: 40px; }
  .form-card { padding: 20px; }
}
