/* JainHelp Job Form — teal + gold from logo.jpg
   Fonts: Lexend (headings) + Source Sans 3 (body) */

   :root {
    --brand: #106060;
    --brand-dark: #0a4545;
    --brand-mid: #1a7878;
    --brand-soft: #e7f4f4;
    --accent: #d4a84b;
    --accent-dark: #b8892e;
    --accent-soft: #f8efd8;
    --bg: #f4faf9;
    --bg-pattern: #e5f0ef;
    --surface: #ffffff;
    --text: #122222;
    --muted: #4a6666;
    --border: #c9dede;
    --danger: #b91c1c;
    --danger-bg: #fef2f2;
    --focus: #d4a84b;
    --radius: 14px;
    --shadow: 0 16px 48px rgba(16, 96, 96, 0.12);
    --font-display: "Lexend", system-ui, sans-serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
    --z-overlay: 50;
    --touch: 48px;
  }
  
  *,
  *::before,
  *::after {
    box-sizing: border-box;
  }
  
  html {
    scroll-behavior: smooth;
  }
  
  body {
    margin: 0;
    min-height: 100dvh;
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.55;
    color: var(--text);
    background:
      radial-gradient(1100px 480px at 8% -8%, var(--accent-soft), transparent 58%),
      radial-gradient(900px 420px at 100% 0%, var(--brand-soft), transparent 55%),
      linear-gradient(180deg, var(--bg) 0%, #ffffff 52%, var(--bg-pattern) 100%);
  }
  
  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }
  
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
  
  .skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 100;
    background: var(--brand);
    color: #fff;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
  }
  .skip-link:focus {
    top: 1rem;
  }
  
  .site-header {
    background: linear-gradient(125deg, var(--brand-dark) 0%, var(--brand) 48%, var(--brand-mid) 100%);
    color: #fff;
    padding: 1.1rem 1rem;
    border-bottom: 3px solid var(--accent);
    box-shadow: 0 8px 28px rgba(16, 96, 96, 0.22);
  }
  
  .site-header__inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
  }
  
  .site-header__brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    min-width: 0;
  }
  
  .site-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 14px;
    background: var(--brand-dark);
    border: 1.5px solid rgba(201, 162, 39, 0.55);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
    flex-shrink: 0;
  }
  
  .site-brand__name {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3.5vw, 1.7rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: #fff;
  }
  
  .site-brand__tag {
    margin: 0.25rem 0 0;
    font-size: 0.86rem;
    color: rgba(255, 248, 230, 0.88);
  }
  
  .site-header__help {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.55rem;
    margin-left: auto;
    max-width: 100%;
  }
  
  .header-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    min-height: 44px;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #f0d978 0%, var(--accent) 55%, var(--accent-dark) 100%);
    color: var(--brand-dark);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    white-space: nowrap;
    flex: 0 0 auto;
    transition: filter 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  }
  
  .header-wa:hover {
    filter: brightness(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
  }
  
  .header-wa:active {
    transform: translateY(1px);
  }
  
  .header-phone {
    color: rgba(255, 246, 220, 0.95);
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    min-height: 44px;
    padding: 0 0.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.01em;
    white-space: nowrap;
    flex: 0 1 auto;
    cursor: pointer;
    transition: color 0.2s ease;
  }
  
  .header-phone:hover {
    color: #ffe9a8;
    text-decoration: underline;
  }
  
  @media (min-width: 640px) {
    .site-logo {
      width: 66px;
      height: 66px;
    }
  
    .header-wa {
      font-size: 0.84rem;
      padding: 0.5rem 1rem;
    }
  
    .header-phone {
      font-size: 0.84rem;
    }
  }
  
  @media (max-width: 640px) {
    .site-header__inner {
      flex-wrap: wrap;
    }
  
    .site-header__brand {
      flex: 1 1 auto;
      min-width: 0;
    }
  
    .site-header__help {
      flex: 1 1 100%;
      margin-left: 0;
      justify-content: space-between;
      gap: 0.45rem;
    }
  
    .header-wa {
      flex: 1 1 auto;
      min-width: 0;
      padding: 0.45rem 0.7rem;
      font-size: 0.78rem;
    }
  
    .header-phone {
      flex: 0 0 auto;
      font-size: 0.78rem;
    }
  }
  
  @media (max-width: 400px) {
    .header-wa__long,
    .header-phone__label {
      display: none;
    }
  
    .header-wa {
      padding: 0.4rem 0.65rem;
    }
  
    .site-brand__tag {
      display: none;
    }
  }
  
  .page {
    max-width: 720px;
    margin: 0 auto;
    padding: 1.5rem 1rem 3rem;
  }
  
  .hero {
    margin-bottom: 1.25rem;
    animation: fadeUp 0.45s ease both;
  }
  
  .hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 4vw, 2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
  }
  
  .hero__lead {
    margin: 0.5rem 0 0;
    color: var(--muted);
    max-width: 42rem;
  }
  
  .step-nav {
    margin-bottom: 1.15rem;
    animation: fadeUp 0.4s ease both;
  }
  
  .step-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
  }
  
  @media (min-width: 640px) {
    .step-nav__list {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
  
  .step-nav__item {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 44px;
    padding: 0.45rem 0.65rem;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
  }
  
  .step-nav__num {
    display: inline-grid;
    place-items: center;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    background: #e8dfd4;
    color: var(--muted);
    font-size: 0.75rem;
    flex-shrink: 0;
  }
  
  .step-nav__item.is-active {
    border-color: var(--accent);
    color: var(--brand-dark);
    background: var(--accent-soft);
  }
  
  .step-nav__item.is-active .step-nav__num {
    background: var(--brand);
    color: #fff;
  }
  
  .step-nav__item.is-done {
    border-color: var(--accent);
    color: var(--brand-dark);
    background: var(--accent-soft);
  }
  
  .step-nav__item.is-done .step-nav__num {
    background: var(--accent);
    color: var(--brand-dark);
  }
  
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .form-section--reveal {
    animation: fadeUp 0.35s ease both;
  }
  
  .section-continue {
    margin-top: 0.35rem;
  }
  
  .section-continue .btn {
    width: 100%;
  }
  
  .form-alert {
    margin: 0.85rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    border: 1px solid transparent;
    font-weight: 500;
  }
  .form-alert--error {
    background: var(--danger-bg);
    border-color: #fecaca;
    color: var(--danger);
  }
  .form-alert--success {
    background: var(--accent-soft);
    border-color: #e2c96a;
    color: var(--brand-dark);
  }
  
  .app-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    padding: 1.25rem 1.15rem 1.5rem;
    animation: fadeUp 0.5s ease 0.05s both;
  }
  
  .form-section {
    border: 0;
    margin: 0 0 1.5rem;
    padding: 0;
  }
  
  .form-section__title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--accent-dark);
    margin-bottom: 0.85rem;
    padding-bottom: 0.4rem;
    border-bottom: 2px solid var(--accent-soft);
    width: 100%;
  }
  
  .field {
    margin-bottom: 1rem;
  }
  
  .field--toggle {
    padding: 0.85rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--brand-soft);
  }
  
  .toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
  }
  
  .toggle-label {
    margin: 0 !important;
    font-weight: 700 !important;
  }
  
  .switch {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 30px;
    flex-shrink: 0;
    cursor: pointer;
  }
  
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .switch__slider {
    position: absolute;
    inset: 0;
    background: #cfc3b5;
    border-radius: 999px;
    transition: background-color 0.2s ease;
  }
  
  .switch__slider::before {
    content: "";
    position: absolute;
    height: 24px;
    width: 24px;
    left: 3px;
    top: 3px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease;
  }
  
  .switch input:checked + .switch__slider {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  }
  
  .switch input:checked + .switch__slider::before {
    transform: translateX(22px);
  }
  
  .switch input:focus-visible + .switch__slider {
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.35);
  }
  
  .aadhaar-fields {
    margin: 0 0 1rem;
    padding: 1rem;
    border: 1.5px dashed var(--accent);
    border-radius: 12px;
    background: var(--accent-soft);
    animation: fadeUp 0.3s ease both;
  }
  
  .aadhaar-fields__title {
    margin: 0 0 0.85rem;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-dark);
  }
  
  .field-label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    color: var(--text);
  }
  
  .file-picker {
    position: relative;
    display: grid;
    gap: 0.55rem;
  }
  
  .file-picker__hit {
    position: relative;
    display: block;
    min-height: var(--touch);
  }
  
  .file-picker__input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0 !important;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    min-height: 100% !important;
    border-radius: 10px;
  }
  
  .field.is-invalid .file-picker__input {
    background: transparent !important;
    border: 0 !important;
  }
  
  .field.is-invalid .file-picker__btn {
    border-color: var(--danger);
    background: #fffafa;
  }
  
  .file-picker__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--touch);
    padding: 0.7rem 1rem;
    border: 1.5px dashed var(--brand);
    border-radius: 10px;
    background: var(--surface);
    color: var(--brand-dark);
    font: inherit;
    font-weight: 700;
    pointer-events: none;
  }
  
  .file-picker__hit:focus-within .file-picker__btn,
  .file-picker__hit:hover .file-picker__btn {
    background: var(--accent-soft);
    border-color: var(--accent-dark);
  }
  
  .file-picker__name {
    margin: 0;
    font-size: 0.82rem;
    color: var(--muted);
    word-break: break-all;
  }
  
  .file-picker__preview {
    display: block;
    width: 100%;
    max-height: 180px;
    object-fit: contain;
    border-radius: 10px;
    border: 1.5px solid var(--border);
    background: #fff;
  }
  
  .field.is-invalid input[type="file"] {
    border-color: var(--danger);
  }
  
  .field label {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.35rem;
    color: var(--text);
  }
  
  .req {
    color: var(--danger);
  }
  
  .field-hint {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    color: var(--muted);
  }
  
  .field-error {
    margin: 0.35rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--danger);
  }
  
  .field input,
  .field select {
    width: 100%;
    min-height: var(--touch);
    padding: 0.65rem 0.85rem;
    font: inherit;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .field input::placeholder {
    color: #9a8b7c;
  }
  
  .field input:hover,
  .field select:hover {
    border-color: #c4b5a4;
  }
  
  .field input:focus,
  .field select:focus,
  .btn:focus-visible,
  .link-btn:focus-visible {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.35);
  }
  
  .field.is-invalid input,
  .field.is-invalid select {
    border-color: var(--danger);
    background: #fffafa;
  }
  
  .field.is-valid input,
  .field.is-valid select {
    border-color: var(--accent);
  }
  
  .name-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  
  @media (min-width: 640px) {
    .name-grid {
      grid-template-columns: repeat(3, 1fr);
    }
    .name-grid.is-hire {
      grid-template-columns: 1fr;
    }
  }
  
  .field-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  
  @media (min-width: 640px) {
    .field-row {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .timing-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0.5rem;
    align-items: center;
  }
  
  .timing-sep {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--muted);
    text-align: center;
  }
  
  .timing-row input {
    width: 100%;
    min-height: var(--touch);
    padding: 0.65rem 0.85rem;
    font: inherit;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .timing-row input:focus {
    outline: none;
    border-color: var(--focus);
    box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.35);
  }
  
  .field.is-invalid .timing-row input {
    border-color: var(--danger);
    background: #fffafa;
  }
  
  .field.is-valid .timing-row input {
    border-color: var(--accent);
  }
  
  .otp-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  
  @media (min-width: 480px) {
    .otp-row {
      grid-template-columns: 1fr auto;
      align-items: stretch;
    }
  
    .otp-row .btn {
      min-width: 7.5rem;
    }
  }
  
  #whatsAppNo.is-locked {
    background: #f7f4ef;
    color: var(--brand-dark);
    cursor: default;
  }
  
  .verify-block {
    margin-top: 0.35rem;
    padding: 0.95rem 1rem 1.05rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: linear-gradient(180deg, #fffdf8 0%, #fff 100%);
  }
  
  .verify-block + .verify-block {
    margin-top: 0.85rem;
  }
  
  .verify-block .field:last-child {
    margin-bottom: 0;
  }
  
  .otp-verified,
  .otp-verified-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0.75rem 0 0;
    padding: 0.7rem 0.85rem;
    border-radius: 12px;
    background: #eef8f1;
    border: 1px solid #b7dfc4;
    color: #1f6b3a;
    font-weight: 600;
    font-size: 0.95rem;
  }
  
  .otp-verified-banner__text {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
  }
  
  .otp-verified-banner .link-btn {
    margin-left: 0;
    color: var(--brand);
    font-size: 0.9rem;
  }
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: var(--touch);
    padding: 0.7rem 1.15rem;
    border-radius: 10px;
    border: 1.5px solid transparent;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
  }
  
  .btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
  }
  
  .btn--primary {
    background: linear-gradient(135deg, var(--brand-mid) 0%, var(--brand) 55%, var(--brand-dark) 100%);
    color: #fff;
    width: 100%;
    border-color: transparent;
    box-shadow: 0 6px 18px rgba(16, 96, 96, 0.18);
  }
  .btn--primary:hover:not(:disabled) {
    filter: brightness(1.06);
  }
  
  .btn--secondary {
    background: var(--accent-soft);
    color: var(--brand-dark);
    border-color: #e2c96a;
    white-space: nowrap;
  }
  .btn--secondary:hover:not(:disabled) {
    background: #efe0b0;
  }
  
  .btn--ghost {
    background: transparent;
    color: var(--brand);
    border-color: var(--border);
    width: 100%;
    margin-top: 0.65rem;
  }
  .btn--ghost:hover {
    background: var(--brand-soft);
  }
  
  .btn.is-loading .btn__label {
    opacity: 0.01;
  }
  .btn.is-loading .btn__spinner {
    display: block;
  }
  
  .btn__spinner {
    display: none;
    position: absolute;
    width: 1.15rem;
    height: 1.15rem;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
  }
  
  #submit-btn {
    position: relative;
  }
  
  .link-btn {
    margin-left: 0.5rem;
    padding: 0;
    border: 0;
    background: none;
    color: var(--brand);
    font: inherit;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
  }
  
  .choice-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.55rem;
    margin-top: 0.55rem;
  }
  
  @media (min-width: 520px) {
    .choice-list {
      grid-template-columns: 1fr 1fr;
    }
  }
  
  .choice-card {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-height: 0;
    padding: 0.8rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-weight: 600;
    color: var(--brand);
    transition: border-color 0.15s ease, background-color 0.15s ease;
  }
  
  .choice-card:has(input:checked),
  .choice-card.is-on {
    border-color: var(--brand);
    background: var(--brand-soft);
  }
  
  .choice-card input {
    width: 18px;
    height: 18px;
    margin-top: 0.15rem;
    flex-shrink: 0;
    accent-color: var(--brand);
    cursor: pointer;
  }
  
  .choice-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
  }
  
  .choice-card__text {
    line-height: 1.3;
  }
  
  .choice-card__sub {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--muted);
    line-height: 1.35;
  }
  
  .field--nested {
    margin-top: 0.75rem;
    margin-bottom: 0;
  }
  
  .review-panel {
    margin: 0 0 1rem;
    padding: 1.1rem 1.15rem 1.2rem;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
  }
  
  .review-panel__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    color: var(--brand);
    margin: 0 0 0.25rem;
  }
  
  .review-panel__lead {
    margin: 0 0 0.85rem;
    color: var(--muted);
    font-size: 0.92rem;
  }
  
  .review-list {
    margin: 0;
    display: grid;
    grid-template-columns: minmax(7.5rem, 34%) 1fr;
    gap: 0.45rem 0.85rem;
  }
  
  .review-list dt {
    margin: 0;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
  }
  
  .review-list dd {
    margin: 0;
    color: var(--text);
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  
  @media (max-width: 560px) {
    .review-list {
      grid-template-columns: 1fr;
      gap: 0.15rem 0;
    }
    .review-list dt + dd {
      margin-bottom: 0.55rem;
    }
  }
  
  .form-actions__note {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--muted);
  }
  
  .success-panel {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    padding: 2rem 1.25rem;
    text-align: center;
    animation: fadeUp 0.4s ease both;
  }
  
  .success-panel__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand);
    display: grid;
    place-items: center;
  }
  
  .success-panel__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: 1.5rem;
  }
  
  .success-panel__text {
    margin: 0.5rem 0 1rem;
    color: var(--muted);
  }
  
  .success-panel__id {
    margin: 0 0 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
  }
  
  .site-footer {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 1rem 2.5rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.9rem;
  }
  
  .footer-copy {
    margin: 0;
    font-size: 0.88rem;
  }
  
  .footer-credit {
    margin: 0.4rem 0 0;
    font-size: 0.85rem;
  }
  
  .footer-credit a {
    color: var(--brand);
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
  }
  
  .footer-credit a:hover {
    text-decoration: underline;
  }
  
  .spinner-overlay {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: rgba(255, 255, 255, 0.72);
    display: grid;
    place-items: center;
  }
  
  .spinner-overlay[hidden] {
    display: none !important;
  }
  
  .spinner {
    width: 52px;
    height: 52px;
    border: 5px solid #e8dfd4;
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }
  
  @keyframes spin {
    to { transform: rotate(360deg); }
  }
  
  .is-hidden,
  [hidden] {
    display: none !important;
  }
  