/* Shared navigation and accessibility additions to the recovered design. */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid #e5e7eb; background: rgb(255 255 255 / 95%); backdrop-filter: blur(8px); }
.header-inner { max-width: 1280px; height: 80px; margin: auto; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { flex-shrink: 0; }
.brand img { width: auto; height: 32px; }
.desktop-nav, .header-actions { display: flex; align-items: center; gap: 32px; font-weight: 700; }
.header-actions { gap: 24px; }
.language { font-size: 14px; color: #6b7280; }
.nav-group { position: relative; }
.nav-group summary { display: flex; align-items: center; gap: 6px; padding: 12px 0; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
.nav-group summary:hover, .header-actions a:hover, [aria-current="page"] { color: #362ffa; }
.dropdown { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); width: 224px; padding: 8px; background: white; border: 1px solid #e5e7eb; border-radius: 16px; box-shadow: 0 10px 20px #0001; }
.dropdown a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 14px; font-weight: 600; }
.dropdown a:hover { background: #f3f4f6; }
.mobile-menu { display: none; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 12px 20px; background: #362ffa; color: white; border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid #362ffa; outline-offset: 5px; }
main:focus { outline: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.video-toggle { position: absolute; right: 24px; bottom: 24px; z-index: 20; padding: 10px 16px; border: 1px solid #ffffff80; border-radius: 24px; color: white; background: #0009; font-size: 13px; }
.company-details { background: white; }
.company-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid #e5e7eb; }
.company-facts dt { color: #6b7280; font-size: 14px; margin-bottom: 8px; }
.company-facts dd { margin: 0; font-size: 20px; font-weight: 600; overflow-wrap: anywhere; }
.company-facts a:hover, .office-card a:hover, footer a:hover { color: #362ffa; text-decoration: underline; }
.office-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.office-card { display: flex; flex-direction: column; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; }
.office-city { font-size: 14px; font-weight: 600; color: #362ffa; margin-bottom: 20px; }
.office-card h4 { font-size: 20px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.office-label { font-size: 14px; color: #6b7280; margin-bottom: 20px; }
.office-card address { font-style: normal; color: #4b5563; line-height: 1.8; word-break: keep-all; margin-bottom: 24px; }
.office-card a { margin-top: auto; font-size: 14px; font-weight: 600; color: #362ffa; }
.help-nav .dropdown { width: 264px; }
.policy-page { max-width: 960px; margin: auto; padding: 64px 40px 96px; }
.policy-eyebrow { color: #362ffa; font-size: 14px; letter-spacing: .06em; font-weight: 600; margin-bottom: 24px; }
.policy-toc { border: 1px solid #e5e7eb; border-radius: 16px; margin-bottom: 40px; background: #f9fafb; }
.policy-toc summary { cursor: pointer; padding: 16px 24px; font-weight: 600; }
.policy-toc nav { padding: 0 24px 20px; max-height: 360px; overflow-y: auto; }
.policy-toc li { margin: 8px 0; }
.policy-toc a:hover { color: #362ffa; text-decoration: underline; }
.policy-document { color: #374151; line-height: 1.85; overflow-wrap: anywhere; }
.policy-document h1 { color: #000; font-size: clamp(28px, 4vw, 44px); font-weight: 700; line-height: 1.35; margin-bottom: 32px; word-break: keep-all; }
.policy-document h2 { color: #111827; font-size: 24px; font-weight: 700; margin: 48px 0 18px; line-height: 1.5; }
.policy-document h3 { color: #111827; font-size: 19px; font-weight: 600; margin: 28px 0 12px; }
.policy-document [id] { scroll-margin-top: 104px; }
.policy-document p { margin: 16px 0; }
.policy-document ul, .policy-document ol { margin: 16px 0; padding-left: 28px; }
.policy-document ul { list-style: disc; }
.policy-document ol { list-style: decimal; }
.policy-document li { margin: 6px 0; }
.policy-document hr { margin: 40px 0; }
.policy-table { max-width: 100%; overflow-x: auto; margin: 24px 0; border: 1px solid #e5e7eb; border-radius: 12px; }
.policy-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.policy-table th, .policy-table td { min-width: 140px; padding: 14px 16px; text-align: left; vertical-align: top; border: 1px solid #e5e7eb; }
.policy-table th { background: #f3f4f6; color: #111827; font-weight: 600; }
.withdrawal-page { max-width: 1040px; margin: auto; padding: 64px 40px 96px; }
.withdrawal-page [hidden] { display: none !important; }
.withdrawal-page > h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 700; line-height: 1.2; margin-bottom: 24px; }
.withdrawal-intro { font-size: 18px; color: #4b5563; margin-bottom: 36px; }
.availability-note { border: 1px solid #dce0ff; border-radius: 16px; padding: 24px; background: #f5f5ff; margin-bottom: 32px; }
.availability-note h2 { font-size: 20px; font-weight: 600; margin-bottom: 12px; }
.availability-note p { color: #4b5563; margin-top: 8px; }
.availability-note a, .withdrawal-policy-link a { color: #362ffa; text-decoration: underline; text-underline-offset: 3px; }
.withdrawal-policy-link { margin-top: 28px; color: #6b7280; }
.withdrawal-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.withdrawal-card { padding: 28px; border: 1px solid #e5e7eb; border-radius: 16px; }
.step-number { color: #362ffa; font-size: 12px; letter-spacing: .06em; font-weight: 700; margin-bottom: 12px; }
.withdrawal-card h2 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.withdrawal-card > p:not(.step-number) { color: #6b7280; margin-bottom: 24px; }
.withdrawal-card label { display: block; margin: 18px 0 8px; font-size: 14px; font-weight: 600; }
.withdrawal-card input { display: block; width: 100%; border: 1px solid #d1d5db; border-radius: 10px; padding: 12px 14px; }
.withdrawal-card input:disabled { background: #f9fafb; cursor: not-allowed; }
.withdrawal-card button { width: 100%; border-radius: 10px; padding: 14px; margin-top: 24px; font-weight: 600; }
.withdrawal-card button[type="submit"] { background: #362ffa; color: white; }
.withdrawal-card button[type="submit"]:hover { background: #2a24d6; }
.withdrawal-card button.danger-button { background: #b91c1c; }
.withdrawal-card button.danger-button:hover { background: #991b1b; }
.withdrawal-card button:disabled { background: #e5e7eb; color: #6b7280; cursor: not-allowed; }
.withdrawal-card fieldset:disabled button,
.withdrawal-card fieldset:disabled button:hover { background: #e5e7eb; color: #6b7280; cursor: not-allowed; }
.withdrawal-warning { padding: 24px; border: 1px solid #fecaca; border-radius: 16px; background: #fff7f7; margin-bottom: 32px; }
.withdrawal-warning h2 { font-size: 20px; font-weight: 600; color: #991b1b; margin-bottom: 12px; }
.withdrawal-warning p { color: #7f1d1d; margin-top: 8px; }
.withdrawal-card label.acknowledgement { display: flex; align-items: flex-start; gap: 12px; font-weight: 400; line-height: 1.6; }
.withdrawal-card .acknowledgement input { width: 20px; height: 20px; margin-top: 3px; flex-shrink: 0; accent-color: #b91c1c; }
.form-feedback { margin-top: 16px; color: #991b1b; overflow-wrap: anywhere; }
.signed-in-account { padding: 20px; border: 1px solid #e5e7eb; border-radius: 12px; background: #f9fafb; overflow-wrap: anywhere; }
.signed-in-account strong { display: block; margin-top: 6px; }
.secondary-button { padding: 12px 16px; border: 1px solid #d1d5db; border-radius: 10px; background: white; color: #374151; font-weight: 600; }
.secondary-button:hover { background: #f3f4f6; }
.withdrawal-result { padding: 32px; border: 1px solid #d1d5db; border-radius: 16px; }
.withdrawal-result h2 { font-size: 26px; font-weight: 600; margin-bottom: 16px; }
.withdrawal-result p { color: #4b5563; }
.withdrawal-result button { margin-top: 24px; }
@media (max-width: 1023px) {
  .desktop-nav, .header-actions { display: none; }
  .mobile-menu { display: block; }
  .mobile-menu > summary { list-style: none; padding: 10px; cursor: pointer; }
  .mobile-menu > nav { position: absolute; top: 80px; left: 0; right: 0; background: white; border-bottom: 1px solid #e5e7eb; padding: 24px; max-height: calc(100dvh - 80px); overflow-y: auto; box-shadow: 0 12px 18px #0001; }
  .mobile-group { margin-bottom: 20px; }
  .mobile-group p { color: #6b7280; font-weight: 700; font-size: 14px; margin-bottom: 6px; }
  .mobile-group a { display: block; padding: 10px 8px; font-weight: 600; }
}
@media (max-width: 767px) {
  .header-inner { padding: 0 24px; }
  .policy-page, .withdrawal-page { padding: 40px 24px 64px; }
  .withdrawal-steps { grid-template-columns: 1fr; }
  .withdrawal-card { padding: 24px; }
  .company-facts, .office-grid { grid-template-columns: 1fr; }
  /* Preserve the original diagram while allowing it to fit narrow screens. */
  main .flex-nowrap { flex-wrap: wrap; }
  main .w-64 { max-width: 100%; }
  .procedure-flow { aspect-ratio: auto; display: grid; grid-template-columns: 1fr; gap: 24px; }
  .procedure-flow > svg { display: none; }
  .procedure-flow > div { position: static; transform: none; width: 100%; }
  .procedure-flow > div:first-of-type { width: 160px; height: 160px; margin: 0 auto 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; }
}
