body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #000;
  background-color: #fff;
  margin: 0;
  padding: 0;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


a {
  color: #003366;
  text-decoration: underline;
  transition: color 0.2s ease;
}

a:hover, a:focus {
  color: #0055aa;
  outline: 2px solid transparent;
  outline-offset: 2px;
}


header.site-header {
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.brand, .service {
  display: block;
  text-align: center;
  font-weight: bold;
  margin: 0.5rem 0;
}

.service {
  font-size: 0.9rem;
  color: #666;
}


main {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 1rem;
}

.card {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}


h1, h2 {
  font-weight: bold;
  line-height: 1.3;
  margin-top: 0;
  margin-bottom: 1rem;
}

h1 {
  font-size: 1.75rem;
  color: #003366;
}

h2 {
  font-size: 1.375rem;
  color: #003366;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.eyebrow {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #003366;
  margin-bottom: 0.5rem;
}

.intro {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
}


.steps {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  margin-bottom: 2rem;
}

.steps li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.steps li::before {
  counter-increment: step-counter;
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  background-color: #003366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: bold;
}

.steps li[aria-current="step"]::before {
  background-color: #0066cc;
}


form {
  margin-bottom: 2rem;
}

label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

input:not([type]),
input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #999;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  margin-bottom: 1rem;
}

input:focus,
textarea:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
  border-color: #003366;
}

.field {
  margin-bottom: 1.5rem;
}

.hint {
  font-size: 0.875rem;
  color: #666;
  margin-top: 0.25rem;
}

.required::after {
  content: " *";
  color: #c00;
}

fieldset {
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

legend {
  font-weight: bold;
  margin-bottom: 1rem;
}

.choice {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
}

.choice input[type="radio"] {
  width: auto;
  margin-right: 0.5rem;
}

.choice span {
  flex: 1;
}


.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #0066cc;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: bold;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-align: center;
}

.button:hover,
.button:focus {
  background-color: #0055aa;
  outline: 2px solid transparent;
  outline-offset: 2px;
}

.button.secondary {
  background-color: #fff;
  border: 1px solid #003366;
  color: #003366;
}

.button.secondary:hover,
.button.secondary:focus {
  background-color: #f5f5f5;
}


.notice {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
}

.notice.preview {
  background-color: #fff3cd;
  border: 1px solid #ffeaa7;
  color: #856404;
}

.notice.error {
  background-color: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.notice.success {
  background-color: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}


.errors {
  margin-bottom: 1.5rem;
}

.error-text {
  color: #c00;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}


dl.summary {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
  margin-bottom: 2rem;
}

dt {
  font-weight: bold;
  text-align: right;
}

dd {
  margin: 0;
}


.declaration {
  background-color: #f8f9fa;
  border-left: 4px solid #003366;
  padding: 1rem;
  margin-bottom: 2rem;
}


footer {
  margin-top: 3rem;
  padding-top: 1rem;
  border-top: 1px solid #ddd;
  font-size: 0.875rem;
  color: #666;
}

.reference, .legal {
  margin-bottom: 1rem;
}

.inline-link {
  display: inline-block;
  text-decoration: underline;
}


@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


@media (max-width: 768px) {
  body {
    padding: 0;
  }
  
  main {
    padding: 0 1rem;
  }
  
  .card {
    padding: 1rem;
  }
  
  h1 {
    font-size: 1.5rem;
  }
  
  h2 {
    font-size: 1.25rem;
  }
  
  .actions {
    flex-direction: column;
  }
  
  .button {
    width: 100%;
  }
  
  dl.summary {
    grid-template-columns: 1fr;
  }
  
  dt {
    text-align: left;
  }
}


*:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
}


p, .intro, .hint, .error-text, dd {
  word-wrap: break-word;
  overflow-wrap: break-word;
}


input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* Integration: fix generated box sizing, focus, and duplicate step numbers. */
* { box-sizing: border-box; }
body { color: #17243b; background: #f2f5fa; }
.site-header { max-width: 960px; margin: 0 auto 1.8rem; padding: 1.4rem 1rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.brand { color:#142d52; font-size:1.45rem; text-decoration:none; letter-spacing:-.04em; }
.service { font-weight:500; text-align:right; color:#46566d; }
.site-header { flex-wrap:wrap; }
.language-switch { display:flex; flex-wrap:wrap; gap:.5rem; }
.language-switch a { display:inline-flex; align-items:center; gap:.4rem; padding:.5rem .75rem; min-height:44px; border:1px solid #b6c6dc; border-radius:6px; }
.language-switch a[aria-current="true"] { color:white; background:#003366; font-weight:700; text-decoration:none; }
.language-switch .flag { display:block; flex:none; width:1.67rem; height:1rem; border:1px solid #9aa9bc; border-radius:2px; box-shadow:0 1px 2px #17243b26; }
.card { border:1px solid #d2dbe8; border-radius:14px; padding:clamp(1.2rem,4vw,2.6rem); box-shadow:0 8px 28px #17243b08; }
.steps { display:flex; flex-wrap:wrap; gap:.8rem 1.2rem; padding:0 0 1.1rem; margin:0 0 1.5rem; border-bottom:1px solid #d9e1eb; color:#4c5c71; font-size:.875rem; }
.steps li { padding:0; margin:0; }
.steps li::before { content:none; }
.steps li[aria-current="step"] { color:#0055aa; font-weight:700; }
.hint { color:#4c5c71; }
fieldset { min-width:0; }
.choice { padding:.65rem .8rem; min-height:48px; border:1px solid #d2dbe8; border-radius:6px; font-weight:500; cursor:pointer; }
.choice input[type="radio"] { flex:0 0 auto; height:1.2rem; width:1.2rem; accent-color:#0066cc; }
input:not([type]),input[type="text"],input[type="email"],textarea { background:white; color:#17243b; margin-bottom:0; min-height:48px; }
textarea { resize:vertical; }
.button:disabled { opacity:.55; cursor:not-allowed; }
.button:hover { color:white; }
.button.secondary:hover { color:#003366; }
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible { outline:3px solid #004db3; outline-offset:3px; }
.declaration { white-space:normal; overflow-wrap:anywhere; border-radius:4px; background:#f3f6fa; }
.reference { font-family:ui-monospace,monospace; overflow-wrap:anywhere; font-size:.9rem; }
.summary dt { text-align:left; }
footer { max-width:960px; margin:2rem auto 0; padding:1.5rem 1rem 2rem; display:flex; flex-wrap:wrap; justify-content:space-between; gap:1rem; }
footer nav { display:flex; flex-wrap:wrap; gap:1rem; }
.legal h2 { margin-top:1.8rem; }
.skip-link { position:absolute; top:-5rem; left:1rem; background:white; padding:.8rem; z-index:1; }
.skip-link:focus { top:.5rem; }
@media(max-width:480px) { .site-header { margin-bottom:.8rem; }.steps { gap:.5rem; font-size:.875rem; } }
@media print { header,footer,.steps,.actions,.preview { display:none; }body {background:white;} main {max-width:100%;} .card {border:0; box-shadow:none;} }
