:root {
  --rm-blue: #0055b1;
  --rm-blue-dark: #003f86;
  --rm-text: #333333;
  --rm-muted: #667085;
  --rm-bg: #f3f5f6;
  --rm-panel: #ffffff;
  --rm-panel-soft: #f8fafc;
  --rm-border: #d9e0e7;
  --rm-border-strong: #b9c5d1;
  --rm-warning-bg: #fff7e6;
  --rm-warning-border: #ffd48a;
  --rm-error: #b42318;
  --rm-success: #027a48;
  --rm-radius: 5px;
  --rm-shadow: 0 10px 28px rgba(15, 23, 42, .08);
  --rm-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { min-height: 100%; background: var(--rm-bg); }
body {
  min-height: 100%;
  margin: 0;
  font-family: var(--rm-font);
  color: var(--rm-text);
  background: radial-gradient(circle at top left, rgba(0,85,177,.08), transparent 26rem), var(--rm-bg);
  line-height: 1.5;
}
a { color: var(--rm-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header, .site-footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}
.site-header {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0 14px;
}
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 34px; width: auto; display: block; }
.language-switcher { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.language-switcher a {
  min-width: 38px;
  padding: 7px 9px;
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  color: var(--rm-text);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  background: #fff;
}
.language-switcher a[aria-current="true"] {
  color: #fff;
  background: var(--rm-blue);
  border-color: var(--rm-blue);
}
.page-shell {
  width: min(920px, calc(100% - 32px));
  margin: 26px auto 42px;
}
.hero-card {
  background: var(--rm-panel);
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  box-shadow: var(--rm-shadow);
  padding: clamp(24px, 4vw, 42px);
}
.hidden { display: none !important; }
.eyebrow {
  color: var(--rm-blue);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 12px;
}
h1 {
  color: var(--rm-blue);
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.08;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
}
.lead {
  max-width: 760px;
  font-size: 18px;
  color: var(--rm-text);
  margin: 0 0 24px;
}
.lead.small { font-size: 16px; color: var(--rm-muted); }
.notice {
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  padding: 16px 18px;
  margin: 22px 0;
  background: var(--rm-panel-soft);
}
.notice p { margin: 6px 0 0; }
.notice-neutral { border-left: 4px solid var(--rm-blue); }
.notice-warning { background: var(--rm-warning-bg); border-color: var(--rm-warning-border); border-left: 4px solid #f79009; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.actions.split { justify-content: space-between; }
.btn {
  appearance: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 12px 20px;
  border-radius: var(--rm-radius);
  border: 1px solid var(--rm-blue);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn:disabled { cursor: wait; opacity: .72; transform: none; }
.btn-primary { background: var(--rm-blue); color: #f3f5f6; box-shadow: 0 8px 18px rgba(0,85,177,.16); }
.btn-primary:hover { background: var(--rm-blue-dark); }
.btn-secondary { background: #fff; color: var(--rm-blue); }
.fineprint { color: var(--rm-muted); font-size: 13px; margin-top: 20px; }
.progress { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.step {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--rm-panel-soft);
  color: var(--rm-muted);
  border: 1px solid var(--rm-border);
  font-size: 13px;
  font-weight: 700;
}
.step.active { background: rgba(0,85,177,.08); color: var(--rm-blue); border-color: rgba(0,85,177,.28); }
.step.done { color: var(--rm-success); border-color: rgba(2,122,72,.24); background: rgba(2,122,72,.06); }
form { margin-top: 20px; }
.grid { display: grid; gap: 18px; margin-bottom: 18px; align-items: start; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; font-weight: 700; align-content: start; }
.field small { color: var(--rm-muted); font-weight: 400; font-size: 12px; }
input[type="text"], input[type="email"], textarea {
  width: 100%;
  border: 1px solid var(--rm-border-strong);
  border-radius: var(--rm-radius);
  padding: 12px 13px;
  font: inherit;
  color: var(--rm-text);
  background: #fff;
}
textarea { resize: vertical; }
input:focus, textarea:focus, button:focus-visible, a:focus-visible {
  outline: 3px solid rgba(0,85,177,.22);
  outline-offset: 2px;
}
.choice-group {
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  padding: 16px 18px;
  margin: 18px 0;
  background: var(--rm-panel-soft);
}
.choice-group legend { font-weight: 800; padding: 0 6px; color: var(--rm-text); }
.choice-group label, .checkline { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; }
.choice-group input, .checkline input { margin-top: 4px; accent-color: var(--rm-blue); }
.conditional { margin: 18px 0; }
.checkline { font-weight: 700; background: var(--rm-panel-soft); border: 1px solid var(--rm-border); border-radius: var(--rm-radius); padding: 14px 16px; }
.turnstile-box { margin: 18px 0; min-height: 66px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; }
.error { display: block; color: var(--rm-error); font-size: 12px; min-height: 16px; font-style: normal; font-weight: 600; }
.error-details { white-space: pre-wrap; color: var(--rm-error); background: #fff3f2; border: 1px solid #fecdca; padding: 12px; border-radius: var(--rm-radius); overflow: auto; }
.summary {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  overflow: hidden;
  margin: 22px 0;
}
.summary dt, .summary dd { padding: 13px 15px; border-bottom: 1px solid var(--rm-border); margin: 0; }
.summary dt { background: var(--rm-panel-soft); font-weight: 800; color: var(--rm-text); }
.summary dd { overflow-wrap: anywhere; }
.summary dt:last-of-type, .summary dd:last-of-type { border-bottom: 0; }
.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: rgba(2,122,72,.1);
  color: var(--rm-success);
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 30px;
  margin-bottom: 18px;
}
.reference-box {
  display: inline-grid;
  gap: 6px;
  padding: 16px 18px;
  background: var(--rm-panel-soft);
  border: 1px solid var(--rm-border);
  border-radius: var(--rm-radius);
  margin-top: 12px;
}
.reference-box span { font-size: 13px; color: var(--rm-muted); font-weight: 700; }
.reference-box strong { font-size: 22px; color: var(--rm-blue); letter-spacing: .01em; }
.site-footer { padding: 26px 0 40px; display: flex; gap: 14px; justify-content: space-between; color: var(--rm-muted); font-size: 13px; }
.footer-note { margin: 0; }
@media (max-width: 700px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .grid.two { grid-template-columns: 1fr; }
  .actions.split { justify-content: stretch; }
  .btn { width: 100%; }
  .summary { grid-template-columns: 1fr; }
  .summary dt { border-bottom: 0; padding-bottom: 4px; }
  .summary dd { padding-top: 4px; }
  .site-footer { flex-direction: column; }
}

.section-title {
  color: var(--rm-text);
  font-size: 18px;
  line-height: 1.3;
  margin: 28px 0 12px;
  letter-spacing: -0.01em;
}
.notice-compact { margin: 16px 0; padding: 14px 16px; }
.notice-compact p { margin: 0; }
.actions.compact { margin-top: 14px; }
.conditional .field, .field.conditional { margin: 18px 0; }
.footer-links { display: flex; gap: 14px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a { color: var(--rm-muted); font-weight: 700; }
@media (max-width: 700px) {
  .footer-links { justify-content: flex-start; }
}
