[hidden] { display: none !important; }
.registration-flow { min-height: 100vh; background: #1d3458; color: white; font-family: Inter, sans-serif; display: flex; flex-direction: column; }
.registration-flow main { flex: 1; }
.registration-flow > .topbar, .registration-flow > .separator { width: 100%; }
.registration-card .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.flow-registration { padding: 36px 24px 64px; }
.membership-preview { width: 263px; height: 169px; position: relative; margin: 0 auto 30px; }
.membership-preview img { width: 241px; height: 155px; object-fit: contain; position: absolute; right: 0; top: 0; }
.membership-mark { position: absolute; left: 0; bottom: 0; width: 77px; height: 77px; background: #f2aa17; border-radius: 50%; display: grid; place-items: center; color: #172d4e; font-size: 38px; border: 5px solid #1d3458; }
.flow-title { text-align: center; font-size: 42px; line-height: 1.35; margin: 0 auto 30px; font-weight: 700; }
.registration-card { max-width: 909px; margin: auto; padding: 32px; background: white; color: #172d4e; border-radius: 14px; }
.registration-card h2 { font-size: 22px; line-height: 28px; margin: 0 0 16px; }
.registration-card label { display: block; margin-bottom: 16px; }
.registration-card label > span:first-child { display: block; font-size: 15px; margin: 0 0 7px; }
.registration-card input:not([type=checkbox]) { width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid #d5dfeb; border-radius: 6px; font: 14px Inter, sans-serif; color: #172d4e; background: #fff; }
.registration-card input[readonly] { background: #f5f7fa; }
.registration-card input[aria-invalid=true] { border-color: #b41e36; }
.field-error { display: block; color: #b41e36; font-size: 13px; line-height: 20px; margin-top: 6px; }
.registration-card .terms-check { display: flex; gap: 10px; align-items: center; font-size: 14px; }
.terms-check input { width: 18px; height: 18px; flex-shrink: 0; }
.flow-button { display: block; width: 100%; border: 0; border-radius: 7px; background: #172d4e; color: #fff; min-height: 56px; padding: 14px 20px; font: 700 18px/1.4 Inter, sans-serif; cursor: pointer; }
.flow-button:disabled { opacity: .65; cursor: wait; }
.flow-button:focus-visible, .registration-flow input:focus-visible, .notice-dialog button:focus-visible { outline: 3px solid #f2aa17; outline-offset: 3px; }
.flow-result { max-width: 1600px; padding: 70px 40px 90px; margin: auto; }
.success-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; align-items: center; min-height: 700px; }
.success-art { position: relative; border-radius: 20px; overflow: hidden; }
.success-art .result-family { width: 100%; min-height: 320px; object-fit: cover; display: block; }
.success-art .result-card { position: absolute; width: 38%; right: 7%; bottom: 8%; filter: drop-shadow(0 6px 14px #0005); }
.result-copy h1 { font-size: 42px; margin: 0 0 20px; }
.result-copy p { font-size: 22px; line-height: 1.5; margin: 0 0 22px; }
.result-copy .flow-button { max-width: 420px; margin-top: 28px; background: #f2aa17; color: #172d4e; }
.failure-result { text-align: center; max-width: 870px; padding-top: 46px; }
.warning-mark { width: 150px; height: 150px; margin: 0 auto 25px; border: 8px solid #f2aa17; border-radius: 50%; color: #f2aa17; font-size: 100px; line-height: 135px; font-weight: 700; }
.failure-result h1 { font-size: 42px; line-height: 1.25; margin: 0 0 30px; }
.failure-result p { font-size: 22px; line-height: 1.6; }
.failure-result .flow-button { max-width: 420px; margin: 40px auto 0; background: #f2aa17; color: #172d4e; }
.notice-dialog { width: min(614px, calc(100% - 48px)); border: 0; border-radius: 14px; padding: 32px; color: #172d4e; font-family: Inter, sans-serif; }
.notice-dialog::backdrop { background: #07162abb; }
.notice-dialog h2 { margin: 0 0 32px; font-size: 32px; }
.notice-dialog p { margin: 0 0 32px; font-size: 18px; line-height: 1.5; }
.notice-dialog .flow-button { min-height: 48px; }
.eligibility-error { color: #b41e36; font: 13px/1.5 Inter, sans-serif; }
.demo-help { display: block; text-align: center; margin: 10px 0 0; color: #58728f; font: 11px/1.5 Inter, sans-serif; }
@media (max-width: 809px) {
  .registration-flow { background: #142b4d; }
  .registration-flow .separator { display: none; }
  .registration-flow .footer-inner span:first-child { display: block; margin-bottom: 12px; }
  .flow-registration { padding: 32px 33px 40px; }
  .membership-preview { margin-bottom: 30px; }
  .membership-mark { border-color: #142b4d; }
  .flow-title { font-size: 30px; line-height: 40px; margin-bottom: 22px; }
  .registration-card { padding: 32px; }
  .registration-card h2 { font-size: 20px; }
  .registration-card input:not([type=checkbox]) { font-size: 12px; }
  .registration-card .terms-check { font-size: 12px; }
  .flow-button { min-height: 48px; font-size: 16px; }
  .flow-result { padding: 30px 33px 40px; }
  .success-layout { display: block; min-height: auto; }
  .success-art { margin: 0 auto 30px; }
  .success-art .result-family { min-height: 204px; }
  .result-copy { text-align: center; }
  .result-copy h1 { font-size: 30px; }
  .result-copy p { font-size: 20px; }
  .result-copy .flow-button { margin: 30px auto 0; }
  .warning-mark { width: 100px; height: 100px; font-size: 66px; line-height: 86px; border-width: 6px; }
  .failure-result h1 { font-size: 28px; }
  .failure-result p { font-size: 18px; }
  .notice-dialog { width: calc(100% - 66px); padding: 32px; }
  .notice-dialog h2 { font-size: 24px; margin-bottom: 16px; }
  .notice-dialog p { font-size: 16px; margin-bottom: 16px; }
}
@media (max-width: 360px) {
  .flow-registration, .flow-result { padding-left: 16px; padding-right: 16px; }
  .registration-card { padding: 22px; }
  .flow-title { font-size: 26px; line-height: 34px; }
  .notice-dialog { width: calc(100% - 32px); padding: 24px; }
}
