
    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0
    }

    :root {
      --red: #E8294A;
      --red-light: #FF6B82;
      --red-soft: #FFF0F2;
      --red-mid: #FFDDE2;
      --warm: #FFF7F0;
      --cream: #FFFBF5;
      --dark: #1A0A0E;
      --gray: #6B5B5F;
      --gray-light: #F5EFEF;
      --white: #FFFFFF;
      --font-head: 'Playfair Display', serif;
      --font-body: 'Nunito', sans-serif;
      --shadow: 0 8px 32px rgba(232, 41, 74, 0.10);
      --shadow-card: 0 4px 20px rgba(26, 10, 14, 0.07);
      --green: #1D9E75;
      --amber: #BA7517;
      --blue: #185FA5;
    }

    html {
      scroll-behavior: smooth
    }

    body {
      font-family: var(--font-body);
      background: var(--cream);
      color: var(--dark);
      line-height: 1.6
    }

    .page {
      display: none
    }

    .page.active {
      display: block
    }

    nav {
      position: sticky;
      top: 0;
      z-index: 200;
      background: rgba(255, 255, 255, 0.96);
      backdrop-filter: blur(12px);
      border-bottom: 1px solid var(--red-mid);
      padding: 0 5%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      height: 76px
    }

    .nav-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      cursor: pointer
    }

    .nav-logo-icon {
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--red);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      animation: pulse 2.5s ease-in-out infinite
    }

    @keyframes pulse {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(232, 41, 74, 0.35)
      }

      50% {
        box-shadow: 0 0 0 8px rgba(232, 41, 74, 0)
      }
    }

    .nav-logo span {
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--dark)
    }

    .nav-logo span em {
      font-style: normal;
      color: var(--red)
    }

    .nav-links {
      display: flex;
      gap: 22px;
      list-style: none;
      align-items: center;
      flex-wrap: nowrap;
      white-space: nowrap
    }

    .nav-links a {
      text-decoration: none;
      font-weight: 600;
      font-size: 0.88rem;
      color: var(--gray);
      transition: color .2s;
      cursor: pointer
    }

    .nav-links a:hover,
    .nav-links a.active {
      color: var(--red)
    }

    .nav-links a.active {
      border-bottom: 2px solid var(--red);
      padding-bottom: 4px
    }

    .nav-tracker-link,
    .nav-signup-link {
      color: var(--red) !important;
      font-weight: 700 !important
    }

    .nav-tracker-link:hover,
    .nav-signup-link:hover {
      color: #C41E38 !important
    }

    .nav-emergency-link {
      background: #1A0A0E;
      color: white !important;
      padding: 8px 16px;
      border-radius: 50px;
      font-weight: 800 !important;
      font-size: .84rem !important;
      animation: emergpulse 1.8s ease-in-out infinite;
      flex-shrink: 0
    }

    @keyframes emergpulse {

      0%,
      100% {
        box-shadow: 0 0 0 0 rgba(232, 41, 74, 0.5)
      }

      50% {
        box-shadow: 0 0 0 6px rgba(232, 41, 74, 0)
      }
    }

    .nav-emergency-link:hover {
      background: var(--red) !important
    }

    .btn-primary {
      background: var(--red);
      color: white;
      text-decoration: none;
      padding: 14px 32px;
      border-radius: 50px;
      font-weight: 800;
      font-family: var(--font-body);
      font-size: 1rem;
      transition: all .2s;
      display: inline-flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 6px 20px rgba(232, 41, 74, 0.3);
      cursor: pointer;
      border: none
    }

    .btn-primary:hover {
      background: #C41E38;
      transform: translateY(-2px)
    }

    .btn-secondary {
      color: var(--dark);
      text-decoration: none;
      font-weight: 700;
      font-size: 0.95rem;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      cursor: pointer
    }

    .btn-secondary:hover {
      color: var(--red)
    }

    .btn-arrow {
      font-size: 1.1rem;
      transition: transform .2s
    }

    .btn-secondary:hover .btn-arrow {
      transform: translateX(4px)
    }

    .hero {
      min-height: 88vh;
      background: var(--cream);
      display: grid;
      grid-template-columns: 1fr 1fr;
      align-items: center;
      gap: 0;
      padding: 60px 5% 40px;
      position: relative;
      overflow: hidden
    }

    .hero::before {
      content: '';
      position: absolute;
      right: -60px;
      top: -80px;
      width: 560px;
      height: 560px;
      border-radius: 50%;
      background: radial-gradient(circle, #FFD0D8 0%, transparent 70%);
      opacity: .6
    }

    .hero-text {
      position: relative;
      z-index: 2
    }

    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--red-soft);
      border: 1px solid var(--red-mid);
      color: var(--red);
      padding: 6px 16px;
      border-radius: 50px;
      font-size: .82rem;
      font-weight: 700;
      letter-spacing: .05em;
      text-transform: uppercase;
      margin-bottom: 28px
    }

    .hero-badge span {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: var(--red);
      animation: pulse-dot 1.5s ease-in-out infinite
    }

    @keyframes pulse-dot {

      0%,
      100% {
        opacity: 1;
        transform: scale(1)
      }

      50% {
        opacity: .4;
        transform: scale(.7)
      }
    }

    .hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2.6rem, 5vw, 3.8rem);
      line-height: 1.18;
      margin-bottom: 24px
    }

    .hero h1 em {
      font-style: italic;
      color: var(--red)
    }

    .hero p {
      font-size: 1.1rem;
      color: var(--gray);
      max-width: 440px;
      margin-bottom: 40px;
      line-height: 1.75
    }

    .hero-actions {
      display: flex;
      align-items: center;
      gap: 16px;
      flex-wrap: wrap
    }

    .hero-visual {
      position: relative;
      z-index: 2;
      display: flex;
      justify-content: center;
      align-items: center
    }

    .hero-card {
      background: white;
      border-radius: 28px;
      padding: 36px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--red-mid);
      width: 340px;
      position: relative;
      animation: float 4s ease-in-out infinite
    }

    @keyframes float {

      0%,
      100% {
        transform: translateY(0)
      }

      50% {
        transform: translateY(-10px)
      }
    }

    .hero-card-top {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 24px
    }

    .hero-drop {
      font-size: 3rem
    }

    .hero-card-top div p:first-child {
      font-weight: 800;
      font-size: 1.05rem
    }

    .hero-card-top div p:last-child {
      font-size: .85rem;
      color: var(--gray)
    }

    .blood-types {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-bottom: 24px
    }

    .bt {
      background: var(--red-soft);
      border: 1.5px solid var(--red-mid);
      border-radius: 12px;
      padding: 10px 6px;
      text-align: center;
      font-weight: 800;
      color: var(--red);
      font-size: .95rem;
      transition: all .2s;
      cursor: default
    }

    .bt:hover {
      background: var(--red);
      color: white;
      border-color: var(--red);
      transform: scale(1.05)
    }

    .bt.critical {
      background: var(--red);
      color: white;
      border-color: var(--red)
    }

    .critical-label {
      font-size: .78rem;
      color: var(--red);
      font-weight: 700;
      text-align: center
    }

    .floating-badge {
      position: absolute;
      right: -20px;
      top: 30px;
      background: #1FCB7C;
      color: white;
      padding: 8px 16px;
      border-radius: 50px;
      font-size: .82rem;
      font-weight: 700;
      box-shadow: 0 4px 14px rgba(31, 203, 124, 0.3);
      white-space: nowrap
    }

    .floating-badge2 {
      position: absolute;
      left: -24px;
      bottom: 50px;
      background: white;
      border: 1.5px solid var(--red-mid);
      padding: 10px 14px;
      border-radius: 16px;
      box-shadow: var(--shadow-card);
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap
    }

    .floating-badge2 strong {
      font-size: .9rem
    }

    .floating-badge2 small {
      font-size: .75rem;
      color: var(--gray);
      display: block
    }

    .stats {
      background: var(--red);
      padding: 48px 5%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      text-align: center
    }

    .stat-item {
      color: white
    }

    .stat-num {
      font-family: var(--font-head);
      font-size: 2.6rem;
      font-weight: 700;
      display: block;
      line-height: 1
    }

    .stat-label {
      font-size: .88rem;
      opacity: .85;
      margin-top: 6px;
      font-weight: 600
    }

    .section {
      padding: 90px 5%
    }

    .section-tag {
      display: inline-block;
      background: var(--red-soft);
      color: var(--red);
      padding: 5px 14px;
      border-radius: 50px;
      font-size: .8rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      margin-bottom: 16px
    }

    .section h2 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4vw, 2.8rem);
      line-height: 1.25;
      margin-bottom: 16px
    }

    .section h2 em {
      font-style: italic;
      color: var(--red)
    }

    .section-sub {
      font-size: 1.05rem;
      color: var(--gray);
      max-width: 520px;
      margin-bottom: 52px;
      line-height: 1.75
    }

    .cards-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px
    }

    .card {
      background: white;
      border-radius: 24px;
      padding: 32px 28px;
      border: 1px solid var(--gray-light);
      box-shadow: var(--shadow-card);
      transition: transform .25s, box-shadow .25s
    }

    .card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(232, 41, 74, 0.12)
    }

    .card-icon {
      width: 56px;
      height: 56px;
      border-radius: 16px;
      background: var(--red-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      margin-bottom: 20px
    }

    .card h3 {
      font-weight: 800;
      font-size: 1.1rem;
      margin-bottom: 10px
    }

    .card p {
      font-size: .92rem;
      color: var(--gray);
      line-height: 1.7
    }

    .how {
      background: var(--warm);
      padding: 90px 5%
    }

    .steps {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      position: relative;
      margin-top: 52px
    }

    .steps::before {
      content: '';
      position: absolute;
      top: 36px;
      left: 10%;
      width: 80%;
      height: 2px;
      background: repeating-linear-gradient(to right, var(--red-mid) 0, var(--red-mid) 8px, transparent 8px, transparent 16px)
    }

    .step {
      text-align: center;
      padding: 24px 16px;
      position: relative;
      z-index: 1
    }

    .step-num {
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: white;
      border: 3px solid var(--red-mid);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      margin: 0 auto 20px;
      font-weight: 800;
      transition: all .25s
    }

    .step:hover .step-num {
      background: var(--red);
      border-color: var(--red);
      transform: scale(1.1)
    }

    .step h3 {
      font-weight: 800;
      font-size: 1rem;
      margin-bottom: 8px
    }

    .step p {
      font-size: .87rem;
      color: var(--gray);
      line-height: 1.65
    }

    .bt-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-top: 52px
    }

    .bt-card {
      border-radius: 20px;
      padding: 28px 20px;
      text-align: center;
      background: white;
      border: 2px solid var(--red-mid);
      transition: all .25s
    }

    .bt-card:hover {
      background: var(--red);
      border-color: var(--red);
      transform: scale(1.04)
    }

    .bt-card:hover .bt-type,
    .bt-card:hover .bt-label {
      color: white !important
    }

    .bt-type {
      font-family: var(--font-head);
      font-size: 2.6rem;
      font-weight: 700;
      color: var(--red);
      line-height: 1.1
    }

    .bt-label {
      font-size: .82rem;
      color: var(--gray);
      font-weight: 600;
      margin-top: 8px
    }

    .bt-urgent {
      background: var(--red);
      border-color: var(--red)
    }

    .bt-urgent .bt-type {
      color: white
    }

    .bt-urgent .bt-label {
      color: rgba(255, 255, 255, .8)
    }

    .urgent-tag {
      display: inline-block;
      background: white;
      color: var(--red);
      font-size: .7rem;
      font-weight: 800;
      padding: 2px 10px;
      border-radius: 50px;
      margin-top: 10px
    }

    .testi {
      background: var(--red-soft);
      padding: 90px 5%
    }

    .testi-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-top: 52px
    }

    .testi-card {
      background: white;
      border-radius: 22px;
      padding: 30px 26px;
      border: 1px solid var(--red-mid);
      box-shadow: var(--shadow-card)
    }

    .testi-stars {
      color: #F5A623;
      font-size: 1rem;
      margin-bottom: 14px;
      letter-spacing: 2px
    }

    .testi-text {
      font-size: .95rem;
      line-height: 1.75;
      margin-bottom: 20px;
      font-style: italic
    }

    .testi-author {
      display: flex;
      align-items: center;
      gap: 12px
    }

    .testi-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: .9rem;
      color: white
    }

    .testi-name {
      font-weight: 700;
      font-size: .9rem
    }

    .testi-role {
      font-size: .78rem;
      color: var(--gray)
    }

    .cta-banner {
      background: var(--dark);
      color: white;
      padding: 80px 5%;
      text-align: center;
      position: relative;
      overflow: hidden
    }

    .cta-banner::before {
      content: '❤️';
      font-size: 280px;
      opacity: .05;
      position: absolute;
      right: -30px;
      top: -60px
    }

    .cta-banner h2 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4vw, 3rem);
      margin-bottom: 16px
    }

    .cta-banner h2 em {
      font-style: italic;
      color: var(--red-light)
    }

    .cta-banner p {
      font-size: 1.05rem;
      opacity: .75;
      margin-bottom: 36px;
      max-width: 500px;
      margin-inline: auto
    }

    footer {
      background: #120608;
      color: rgba(255, 255, 255, .7);
      padding: 50px 5% 28px;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 40px
    }

    .footer-logo {
      font-size: 1.3rem;
      font-weight: 800;
      color: white;
      margin-bottom: 12px
    }

    .footer-logo em {
      font-style: normal;
      color: var(--red-light)
    }

    footer p {
      font-size: .88rem;
      line-height: 1.7;
      margin-bottom: 20px
    }

    .footer-social {
      display: flex;
      gap: 10px
    }

    .social-btn {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .85rem;
      cursor: pointer;
      text-decoration: none;
      color: white;
      transition: background .2s
    }

    .social-btn:hover {
      background: var(--red)
    }

    footer h4 {
      font-size: .82rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .08em;
      color: white;
      margin-bottom: 18px
    }

    footer ul {
      list-style: none
    }

    footer ul li {
      margin-bottom: 10px
    }

    footer ul a {
      color: rgba(255, 255, 255, .6);
      text-decoration: none;
      font-size: .88rem;
      transition: color .2s;
      cursor: pointer
    }

    footer ul a:hover {
      color: var(--red-light)
    }

    .footer-bottom {
      border-top: 1px solid rgba(255, 255, 255, .08);
      margin-top: 40px;
      padding-top: 20px;
      text-align: center;
      font-size: .8rem;
      color: rgba(255, 255, 255, .35);
      grid-column: 1/-1
    }

    /* TRACKER */
    .tracker-page {
      background: var(--cream);
      min-height: 100vh
    }

    .tracker-hero {
      background: var(--dark);
      padding: 52px 5% 44px;
      position: relative;
      overflow: hidden
    }

    .tracker-hero::before {
      content: '🩸';
      font-size: 220px;
      opacity: .06;
      position: absolute;
      right: 3%;
      top: -20px;
      line-height: 1
    }

    .tracker-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4vw, 2.8rem);
      color: white;
      margin-bottom: 10px
    }

    .tracker-hero h1 em {
      font-style: italic;
      color: var(--red-light)
    }

    .tracker-hero p {
      color: rgba(255, 255, 255, .65);
      font-size: 1rem;
      max-width: 520px
    }

    .tracker-body {
      padding: 36px 5%
    }

    .tracker-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 14px;
      margin-bottom: 28px
    }

    .tstat {
      background: white;
      border-radius: 16px;
      padding: 18px 20px;
      border: 1px solid var(--gray-light);
      box-shadow: var(--shadow-card)
    }

    .tstat-n {
      font-size: 2rem;
      font-weight: 800;
      line-height: 1
    }

    .tstat-l {
      font-size: .78rem;
      color: var(--gray);
      margin-top: 4px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: .04em
    }

    .tracker-toolbar {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
      flex-wrap: wrap;
      align-items: center
    }

    .tracker-toolbar input {
      flex: 1;
      min-width: 160px;
      padding: 0 14px;
      height: 40px;
      border-radius: 50px;
      border: 1px solid var(--red-mid);
      font-family: var(--font-body);
      font-size: .9rem;
      outline: none;
      background: white;
      color: var(--dark)
    }

    .tracker-toolbar input:focus {
      border-color: var(--red)
    }

    .tracker-toolbar select {
      padding: 0 14px;
      height: 40px;
      border-radius: 50px;
      border: 1px solid var(--red-mid);
      font-family: var(--font-body);
      font-size: .88rem;
      background: white;
      color: var(--dark);
      cursor: pointer;
      outline: none
    }

    .add-donor-btn {
      background: var(--red);
      color: white;
      border: none;
      padding: 0 20px;
      height: 40px;
      border-radius: 50px;
      font-family: var(--font-body);
      font-size: .9rem;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 6px;
      white-space: nowrap;
      transition: background .2s
    }

    .add-donor-btn:hover {
      background: #C41E38
    }

    .donor-row {
      background: white;
      border-radius: 20px;
      padding: 20px 22px;
      margin-bottom: 12px;
      border: 1px solid var(--gray-light);
      box-shadow: var(--shadow-card);
      transition: box-shadow .2s
    }

    .donor-row:hover {
      box-shadow: 0 8px 28px rgba(232, 41, 74, 0.10)
    }

    .donor-row.status-ready {
      border-left: 4px solid var(--green);
      border-radius: 0 20px 20px 0
    }

    .donor-row.status-waiting {
      border-left: 4px solid #EF9F27;
      border-radius: 0 20px 20px 0
    }

    .donor-row.status-notified {
      border-left: 4px solid var(--blue);
      border-radius: 0 20px 20px 0
    }

    .dr-top {
      display: flex;
      align-items: center;
      gap: 14px;
      margin-bottom: 14px
    }

    .dr-avatar {
      width: 46px;
      height: 46px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 14px;
      flex-shrink: 0
    }

    .dr-info {
      flex: 1;
      min-width: 0
    }

    .dr-name {
      font-size: 1rem;
      font-weight: 800
    }

    .dr-sub {
      font-size: .8rem;
      color: var(--gray);
      margin-top: 2px
    }

    .blood-badge {
      padding: 4px 12px;
      border-radius: 50px;
      background: var(--red-soft);
      color: var(--red);
      font-weight: 800;
      font-size: .88rem;
      border: 1px solid var(--red-mid);
      flex-shrink: 0
    }

    .status-pill {
      padding: 4px 12px;
      border-radius: 50px;
      font-size: .78rem;
      font-weight: 700;
      flex-shrink: 0
    }

    .pill-ready {
      background: #E1F5EE;
      color: #085041
    }

    .pill-waiting {
      background: #FAEEDA;
      color: #633806
    }

    .pill-notified {
      background: #E6F1FB;
      color: #0C447C
    }

    .dr-contacts {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 10px;
      margin-bottom: 14px
    }

    .dr-contact {
      font-size: .8rem
    }

    .dr-clabel {
      color: var(--gray);
      margin-bottom: 3px;
      font-size: .72rem;
      text-transform: uppercase;
      letter-spacing: .04em
    }

    .dr-cval {
      font-weight: 700;
      font-size: .82rem;
      word-break: break-all
    }

    .social-pills {
      display: flex;
      gap: 5px;
      flex-wrap: wrap
    }

    .spill {
      font-size: .72rem;
      padding: 2px 9px;
      border-radius: 50px;
      border: 1px solid var(--red-mid);
      color: var(--red);
      background: var(--red-soft);
      font-weight: 700
    }

    .progress-wrap {
      margin-bottom: 10px
    }

    .prog-bar {
      height: 6px;
      background: var(--red-soft);
      border-radius: 6px;
      overflow: hidden;
      margin-bottom: 5px
    }

    .prog-fill {
      height: 100%;
      border-radius: 6px;
      transition: width .4s
    }

    .prog-labels {
      display: flex;
      justify-content: space-between;
      font-size: .75rem;
      color: var(--gray)
    }

    .dr-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center
    }

    .act-btn {
      display: flex;
      align-items: center;
      gap: 5px;
      padding: 7px 14px;
      border-radius: 50px;
      font-family: var(--font-body);
      font-size: .82rem;
      font-weight: 700;
      cursor: pointer;
      border: 1.5px solid;
      transition: all .2s
    }

    .act-donate {
      background: var(--red-soft);
      color: var(--red);
      border-color: var(--red-mid)
    }

    .act-donate:hover {
      background: var(--red);
      color: white;
      border-color: var(--red)
    }

    .act-call {
      background: #E1F5EE;
      color: #085041;
      border-color: #9FE1CB
    }

    .act-call:hover {
      background: var(--green);
      color: white;
      border-color: var(--green)
    }

    .act-msg {
      background: #E6F1FB;
      color: #0C447C;
      border-color: #B5D4F4
    }

    .act-msg:hover {
      background: var(--blue);
      color: white;
      border-color: var(--blue)
    }

    .act-hist {
      margin-left: auto;
      background: none;
      border: 1.5px solid var(--red-mid);
      color: var(--gray);
      font-size: .78rem;
      font-weight: 700;
      padding: 6px 12px;
      border-radius: 50px;
      cursor: pointer;
      font-family: var(--font-body)
    }

    .act-hist:hover {
      border-color: var(--red);
      color: var(--red)
    }

    .history-panel {
      border-top: 1px solid var(--red-mid);
      margin-top: 14px;
      padding-top: 14px
    }

    .history-panel h4 {
      font-size: .8rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: var(--gray);
      margin-bottom: 10px
    }

    .hist-item {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 7px 0;
      border-bottom: 1px dashed var(--red-mid);
      font-size: .83rem
    }

    .hist-item:last-child {
      border-bottom: none
    }

    .hist-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--green);
      flex-shrink: 0
    }

    .hist-num {
      color: var(--gray);
      font-size: .75rem;
      background: var(--red-soft);
      padding: 1px 8px;
      border-radius: 50px;
      margin-left: auto
    }

    .empty-state {
      text-align: center;
      padding: 60px 20px;
      color: var(--gray)
    }

    .empty-state .empty-icon {
      font-size: 3rem;
      margin-bottom: 16px
    }

    .empty-state p {
      font-size: 1rem
    }

    /* EMERGENCY */
    .emerg-page {
      background: #0D0406;
      min-height: 100vh
    }

    .emerg-hero {
      background: linear-gradient(135deg, #1A0A0E 0%, #2D0A10 50%, #1A0A0E 100%);
      padding: 52px 5% 48px;
      position: relative;
      overflow: hidden;
      border-bottom: 2px solid var(--red)
    }

    .emerg-hero::before {
      content: '🚨';
      font-size: 260px;
      opacity: .05;
      position: absolute;
      right: 2%;
      top: -30px;
      line-height: 1
    }

    .emerg-hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(232, 41, 74, .18);
      border: 1px solid rgba(232, 41, 74, .4);
      color: #FF8098;
      padding: 6px 16px;
      border-radius: 50px;
      font-size: .8rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 20px
    }

    .emerg-blink {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #FF4060;
      animation: blink .8s ease-in-out infinite
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: .2
      }
    }

    .emerg-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4vw, 3rem);
      color: white;
      margin-bottom: 10px
    }

    .emerg-hero h1 em {
      font-style: italic;
      color: var(--red-light)
    }

    .emerg-hero p {
      color: rgba(255, 255, 255, .6);
      font-size: 1rem;
      max-width: 540px
    }

    .emerg-body {
      padding: 32px 5%
    }

    .emerg-layout {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      align-items: start
    }

    .emerg-form-card {
      background: #1A0A0E;
      border: 1px solid rgba(232, 41, 74, .3);
      border-radius: 24px;
      padding: 28px
    }

    .emerg-form-card h3 {
      font-family: var(--font-head);
      font-size: 1.4rem;
      color: white;
      margin-bottom: 6px
    }

    .emerg-form-card p {
      color: rgba(255, 255, 255, .5);
      font-size: .88rem;
      margin-bottom: 24px
    }

    .form-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 14px
    }

    .form-row.full {
      grid-template-columns: 1fr
    }

    .ef-field {
      display: flex;
      flex-direction: column;
      gap: 6px
    }

    .ef-label {
      font-size: .75rem;
      font-weight: 800;
      color: rgba(255, 255, 255, .5);
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .ef-input {
      padding: 11px 15px;
      border-radius: 12px;
      border: 1.5px solid rgba(232, 41, 74, .25);
      background: rgba(255, 255, 255, .06);
      font-family: var(--font-body);
      font-size: .92rem;
      color: white;
      outline: none;
      transition: border-color .2s
    }

    .ef-input:focus {
      border-color: var(--red);
      background: rgba(232, 41, 74, .08)
    }

    .ef-input::placeholder {
      color: rgba(255, 255, 255, .3)
    }

    .ef-input option {
      background: #1A0A0E;
      color: white
    }

    .submit-emerg {
      width: 100%;
      margin-top: 20px;
      padding: 14px;
      border-radius: 50px;
      border: none;
      background: var(--red);
      color: white;
      font-family: var(--font-head);
      font-size: 1.1rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s;
      letter-spacing: .02em
    }

    .submit-emerg:hover {
      background: #C41E38;
      transform: scale(1.01)
    }

    .emerg-map-card {
      background: #1A0A0E;
      border: 1px solid rgba(232, 41, 74, .3);
      border-radius: 24px;
      overflow: hidden
    }

    .map-header {
      padding: 18px 22px;
      border-bottom: 1px solid rgba(232, 41, 74, .2)
    }

    .map-header h4 {
      color: white;
      font-size: 1rem;
      font-weight: 800;
      margin-bottom: 3px
    }

    .map-header p {
      color: rgba(255, 255, 255, .45);
      font-size: .8rem
    }

    #emergMap {
      width: 100%;
      height: 300px;
      background: #0a0203;
      position: relative;
      overflow: hidden
    }

    .map-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: rgba(255, 255, 255, .3);
      font-size: .9rem;
      gap: 10px
    }

    .map-placeholder .map-icon {
      font-size: 2.5rem
    }

    .map-address-bar {
      padding: 12px 22px;
      border-top: 1px solid rgba(232, 41, 74, .2);
      display: flex;
      align-items: center;
      gap: 10px
    }

    .map-address-bar span {
      color: rgba(255, 255, 255, .5);
      font-size: .82rem
    }

    .map-address-bar strong {
      color: white;
      font-size: .85rem;
      font-weight: 700;
      flex: 1
    }

    .suggested-donors {
      padding: 18px 22px;
      border-top: 1px solid rgba(232, 41, 74, .2)
    }

    .suggested-donors h4 {
      color: white;
      font-size: .88rem;
      font-weight: 800;
      margin-bottom: 14px;
      display: flex;
      align-items: center;
      gap: 8px
    }

    .sugg-badge {
      background: rgba(29, 158, 117, .2);
      color: #4CD9A8;
      border: 1px solid rgba(29, 158, 117, .35);
      padding: 2px 10px;
      border-radius: 50px;
      font-size: .7rem;
      font-weight: 800
    }

    .sugg-donor {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 9px 0;
      border-bottom: 1px solid rgba(255, 255, 255, .05)
    }

    .sugg-donor:last-child {
      border-bottom: none
    }

    .sugg-avatar {
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 11px;
      flex-shrink: 0
    }

    .sugg-info {
      flex: 1;
      min-width: 0
    }

    .sugg-name {
      color: white;
      font-size: .85rem;
      font-weight: 700
    }

    .sugg-meta {
      color: rgba(255, 255, 255, .4);
      font-size: .73rem;
      margin-top: 1px
    }

    .sugg-blood {
      background: rgba(232, 41, 74, .15);
      color: #FF8098;
      border: 1px solid rgba(232, 41, 74, .3);
      padding: 2px 8px;
      border-radius: 50px;
      font-size: .72rem;
      font-weight: 800;
      flex-shrink: 0
    }

    .sugg-pct {
      font-size: .7rem;
      font-weight: 800;
      padding: 2px 8px;
      border-radius: 50px;
      flex-shrink: 0
    }

    .pct-high {
      background: rgba(29, 158, 117, .2);
      color: #4CD9A8;
      border: 1px solid rgba(29, 158, 117, .3)
    }

    .pct-mid {
      background: rgba(239, 159, 39, .15);
      color: #F5B942;
      border: 1px solid rgba(239, 159, 39, .3)
    }

    .sugg-actions {
      display: flex;
      gap: 5px;
      flex-shrink: 0
    }

    .sugg-btn {
      font-size: .7rem;
      padding: 4px 10px;
      border-radius: 50px;
      border: 1px solid;
      cursor: pointer;
      font-family: var(--font-body);
      font-weight: 700;
      transition: all .15s
    }

    .sugg-call {
      background: rgba(29, 158, 117, .15);
      color: #4CD9A8;
      border-color: rgba(29, 158, 117, .3)
    }

    .sugg-call:hover {
      background: var(--green);
      color: white;
      border-color: var(--green)
    }

    .sugg-msg {
      background: rgba(24, 95, 165, .15);
      color: #80B8F0;
      border-color: rgba(24, 95, 165, .3)
    }

    .sugg-msg:hover {
      background: var(--blue);
      color: white;
      border-color: var(--blue)
    }

    .live-section {
      margin-top: 28px
    }

    .live-section-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px
    }

    .live-section-header h3 {
      color: white;
      font-size: 1.1rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      gap: 10px
    }

    .live-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--red);
      animation: blink .8s ease-in-out infinite;
      flex-shrink: 0
    }

    .live-count {
      background: var(--red);
      color: white;
      font-size: .72rem;
      font-weight: 800;
      padding: 2px 10px;
      border-radius: 50px
    }

    .req-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 16px
    }

    .req-card {
      background: #1A0A0E;
      border: 1px solid rgba(232, 41, 74, .25);
      border-radius: 18px;
      padding: 18px;
      transition: border-color .2s;
      position: relative;
      overflow: hidden
    }

    .req-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 3px;
      background: var(--red);
      border-radius: 18px 18px 0 0
    }

    .req-card:hover {
      border-color: rgba(232, 41, 74, .55)
    }

    .req-card.critical::before {
      background: linear-gradient(90deg, var(--red), #FF6B82);
      animation: urgentbar 1.5s ease-in-out infinite
    }

    @keyframes urgentbar {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: .5
      }
    }

    .req-top {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 12px
    }

    .req-blood {
      font-family: var(--font-head);
      font-size: 1.8rem;
      font-weight: 700;
      color: var(--red-light)
    }

    .req-urgency {
      font-size: .7rem;
      font-weight: 800;
      padding: 3px 10px;
      border-radius: 50px;
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .urg-critical {
      background: rgba(232, 41, 74, .2);
      color: #FF8098;
      border: 1px solid rgba(232, 41, 74, .4)
    }

    .urg-urgent {
      background: rgba(239, 159, 39, .15);
      color: #F5B942;
      border: 1px solid rgba(239, 159, 39, .3)
    }

    .urg-normal {
      background: rgba(29, 158, 117, .15);
      color: #4CD9A8;
      border: 1px solid rgba(29, 158, 117, .3)
    }

    .req-name {
      color: white;
      font-size: .92rem;
      font-weight: 700;
      margin-bottom: 3px
    }

    .req-hospital {
      color: rgba(255, 255, 255, .5);
      font-size: .78rem;
      margin-bottom: 6px
    }

    .req-addr {
      color: rgba(255, 255, 255, .4);
      font-size: .75rem;
      margin-bottom: 8px
    }

    .req-when {
      font-size: .72rem;
      color: rgba(255, 255, 255, .35)
    }

    .req-actions {
      display: flex;
      gap: 7px;
      margin-top: 12px;
      flex-wrap: wrap
    }

    .req-map-btn {
      font-size: .75rem;
      padding: 5px 12px;
      border-radius: 50px;
      background: rgba(255, 255, 255, .06);
      border: 1px solid rgba(255, 255, 255, .12);
      color: rgba(255, 255, 255, .6);
      cursor: pointer;
      font-family: var(--font-body);
      font-weight: 700;
      transition: all .15s
    }

    .req-map-btn:hover {
      background: rgba(232, 41, 74, .2);
      border-color: rgba(232, 41, 74, .4);
      color: white
    }

    .req-close-btn {
      font-size: .75rem;
      padding: 5px 12px;
      border-radius: 50px;
      background: rgba(255, 255, 255, .04);
      border: 1px solid rgba(255, 255, 255, .08);
      color: rgba(255, 255, 255, .35);
      cursor: pointer;
      font-family: var(--font-body);
      font-weight: 700;
      transition: all .15s;
      margin-left: auto
    }

    .req-close-btn:hover {
      background: rgba(232, 41, 74, .15);
      color: #FF8098
    }

    .no-requests {
      text-align: center;
      padding: 52px 20px;
      color: rgba(255, 255, 255, .3);
      grid-column: 1/-1
    }

    .no-requests .nr-icon {
      font-size: 3rem;
      margin-bottom: 12px
    }

    /* MODAL */
    .modal-wrap {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(26, 10, 14, .6);
      z-index: 300;
      align-items: center;
      justify-content: center;
      padding: 20px
    }

    .modal-wrap.open {
      display: flex
    }

    .modal-box {
      background: white;
      border-radius: 24px;
      padding: 32px;
      width: 100%;
      max-width: 560px;
      max-height: 90vh;
      overflow-y: auto;
      box-shadow: 0 20px 60px rgba(26, 10, 14, .35)
    }

    .modal-box h3 {
      font-family: var(--font-head);
      font-size: 1.4rem;
      margin-bottom: 6px
    }

    .modal-box .modal-sub {
      font-size: .88rem;
      color: var(--gray);
      margin-bottom: 24px
    }

    .modal-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px
    }

    .modal-field {
      display: flex;
      flex-direction: column;
      gap: 5px
    }

    .modal-field.full {
      grid-column: 1/-1
    }

    .modal-field label {
      font-size: .78rem;
      font-weight: 800;
      color: var(--gray);
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .modal-field input,
    .modal-field select {
      padding: 10px 14px;
      border-radius: 12px;
      border: 1.5px solid var(--red-mid);
      font-family: var(--font-body);
      font-size: .9rem;
      outline: none;
      transition: border-color .2s;
      color: var(--dark)
    }

    .modal-field input:focus,
    .modal-field select:focus {
      border-color: var(--red)
    }

    .modal-divider {
      grid-column: 1/-1;
      border: none;
      border-top: 1px dashed var(--red-mid);
      margin: 4px 0
    }

    .modal-section-label {
      grid-column: 1/-1;
      font-size: .78rem;
      font-weight: 800;
      color: var(--red);
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .modal-actions {
      display: flex;
      gap: 10px;
      margin-top: 24px
    }

    .modal-cancel {
      flex: 1;
      padding: 12px;
      border-radius: 50px;
      border: 1.5px solid var(--red-mid);
      background: none;
      font-family: var(--font-body);
      font-size: .9rem;
      font-weight: 700;
      color: var(--gray);
      cursor: pointer
    }

    .modal-cancel:hover {
      border-color: var(--red);
      color: var(--red)
    }

    .modal-save {
      flex: 2;
      padding: 12px;
      border-radius: 50px;
      border: none;
      background: var(--red);
      color: white;
      font-family: var(--font-body);
      font-size: .9rem;
      font-weight: 800;
      cursor: pointer;
      transition: background .2s
    }

    .modal-save:hover {
      background: #C41E38
    }

    .toast {
      position: fixed;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      background: var(--dark);
      color: white;
      padding: 11px 20px;
      border-radius: 50px;
      font-size: .84rem;
      font-weight: 700;
      z-index: 500;
      opacity: 0;
      transition: opacity .3s;
      pointer-events: none;
      max-width: 90vw;
      text-align: center;
      box-shadow: var(--shadow)
    }

    .toast.show {
      opacity: 1
    }

    /* ── NOTIFICATION PANEL ── */
    .notif-panel {
      background: white;
      border-radius: 20px;
      border: 1.5px solid var(--red-mid);
      padding: 20px 22px;
      margin-bottom: 22px;
      box-shadow: var(--shadow-card)
    }

    .notif-panel-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      flex-wrap: wrap
    }

    .notif-panel-title {
      font-size: 1rem;
      font-weight: 800;
      color: var(--dark)
    }

    .notif-panel-sub {
      font-size: .82rem;
      color: var(--gray);
      margin-top: 2px;
      max-width: 600px
    }

    .notif-status-dot {
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #ccc;
      flex-shrink: 0;
      margin-top: 2px
    }

    .notif-status-dot.connected {
      background: var(--green);
      animation: pulse-dot 2s infinite
    }

    .notif-status-dot.error {
      background: var(--red)
    }

    .notif-status-text {
      font-size: .78rem;
      font-weight: 700;
      color: var(--gray)
    }

    .notif-toggle-btn {
      background: var(--red-soft);
      color: var(--red);
      border: 1px solid var(--red-mid);
      padding: 8px 16px;
      border-radius: 50px;
      font-family: var(--font-body);
      font-size: .82rem;
      font-weight: 700;
      cursor: pointer;
      white-space: nowrap;
      flex-shrink: 0;
      transition: all .2s
    }

    .notif-toggle-btn:hover {
      background: var(--red);
      color: white
    }

    .notif-setup {
      margin-top: 18px;
      border-top: 1px dashed var(--red-mid);
      padding-top: 18px
    }

    .notif-setup-grid {
      display: grid;
      grid-template-columns: 2fr 1fr;
      gap: 12px;
      margin-bottom: 14px
    }

    .notif-field {
      display: flex;
      flex-direction: column;
      gap: 5px
    }

    .notif-field label {
      font-size: .72rem;
      font-weight: 800;
      color: var(--gray);
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .notif-field input {
      padding: 9px 13px;
      border-radius: 12px;
      border: 1.5px solid var(--red-mid);
      font-family: var(--font-body);
      font-size: .88rem;
      color: var(--dark);
      outline: none;
      transition: border-color .2s
    }

    .notif-field input:focus {
      border-color: var(--red)
    }

    .notif-actions {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 16px
    }

    .nact-btn {
      padding: 8px 16px;
      border-radius: 50px;
      font-family: var(--font-body);
      font-size: .82rem;
      font-weight: 700;
      cursor: pointer;
      border: 1.5px solid;
      transition: all .2s
    }

    .nact-connect {
      background: #E1F5EE;
      color: #085041;
      border-color: #9FE1CB
    }

    .nact-connect:hover {
      background: var(--green);
      color: white;
      border-color: var(--green)
    }

    .nact-test {
      background: #E6F1FB;
      color: #0C447C;
      border-color: #B5D4F4
    }

    .nact-test:hover {
      background: var(--blue);
      color: white;
      border-color: var(--blue)
    }

    .nact-notifyall {
      background: var(--red-soft);
      color: var(--red);
      border-color: var(--red-mid)
    }

    .nact-notifyall:hover {
      background: var(--red);
      color: white;
      border-color: var(--red)
    }

    .notif-log {
      background: var(--gray-light);
      border-radius: 12px;
      padding: 12px 14px;
      max-height: 180px;
      overflow-y: auto;
      font-size: .78rem
    }

    .notif-log-empty {
      color: var(--gray);
      text-align: center;
      padding: 12px 0
    }

    .nlog-item {
      padding: 6px 0;
      border-bottom: 1px solid rgba(0, 0, 0, .06);
      display: flex;
      align-items: flex-start;
      gap: 8px;
      line-height: 1.5
    }

    .nlog-item:last-child {
      border-bottom: none
    }

    .nlog-time {
      color: var(--gray);
      flex-shrink: 0;
      font-size: .72rem;
      margin-top: 1px
    }

    .nlog-msg {
      flex: 1
    }

    .nlog-ok {
      color: var(--green)
    }

    .nlog-err {
      color: var(--red)
    }

    .nlog-info {
      color: var(--blue)
    }

    .notif-quick {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-top: 14px;
      border-top: 1px dashed var(--red-mid);
      padding-top: 14px;
      flex-wrap: wrap
    }

    .notif-quick-stat {
      display: flex;
      align-items: center;
      gap: 10px
    }

    .nq-n {
      font-size: 1.8rem;
      font-weight: 800;
      color: var(--green);
      line-height: 1
    }

    .nq-l {
      font-size: .78rem;
      color: var(--gray);
      font-weight: 600
    }

    @media(max-width:600px) {
      .notif-setup-grid {
        grid-template-columns: 1fr
      }

      .notif-panel-header {
        flex-direction: column
      }

      .notif-toggle-btn {
        width: 100%;
        text-align: center
      }
    }


    .ham-btn {
      display: none;
      flex-direction: column;
      gap: 5px;
      cursor: pointer;
      background: none;
      border: none;
      padding: 6px;
      border-radius: 8px;
      margin-left: 8px
    }

    .ham-btn span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--dark);
      border-radius: 2px;
      transition: all .3s
    }

    .ham-btn.open span:nth-child(1) {
      transform: translateY(7px) rotate(45deg)
    }

    .ham-btn.open span:nth-child(2) {
      opacity: 0
    }

    .ham-btn.open span:nth-child(3) {
      transform: translateY(-7px) rotate(-45deg)
    }

    .mobile-menu {
      display: none;
      position: fixed;
      top: 68px;
      left: 0;
      right: 0;
      background: white;
      border-bottom: 1px solid var(--red-mid);
      padding: 16px 5% 20px;
      z-index: 190;
      box-shadow: 0 8px 24px rgba(26, 10, 14, .12);
      flex-direction: column;
      gap: 4px
    }

    .mobile-menu.open {
      display: flex
    }

    .mobile-menu a {
      display: block;
      padding: 12px 16px;
      border-radius: 12px;
      font-weight: 700;
      font-size: .95rem;
      color: var(--gray);
      cursor: pointer;
      text-decoration: none;
      transition: background .15s, color .15s
    }

    .mobile-menu a:hover,
    .mobile-menu a.active {
      background: var(--red-soft);
      color: var(--red)
    }

    .mobile-menu .mm-emerg {
      background: #1A0A0E;
      color: white !important;
      text-align: center;
      margin-top: 6px;
      animation: emergpulse 1.8s ease-in-out infinite
    }

    .mobile-menu .mm-emerg:hover {
      background: var(--red) !important
    }

    /* ── NAV COLLAPSE (own breakpoint so links never wrap/squish before switching to the hamburger) ── */
    @media(max-width:1180px) {
      .nav-links {
        display: none
      }

      .ham-btn {
        display: flex
      }
    }

    /* ── TABLET ── */
    @media(max-width:960px) {
      .hero {
        grid-template-columns: 1fr;
        padding: 36px 5% 40px;
        min-height: auto
      }

      .hero::before {
        width: 280px;
        height: 280px;
        top: -40px;
        right: -40px
      }

      .hero-visual {
        display: none
      }

      .hero h1 {
        font-size: clamp(2.2rem, 7vw, 3rem)
      }

      .hero p {
        font-size: 1rem;
        max-width: 100%
      }

      .hero-actions {
        gap: 10px
      }

      .btn-primary {
        padding: 12px 24px;
        font-size: .95rem
      }

      .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 36px 5%
      }

      .stat-num {
        font-size: 2rem
      }

      .section {
        padding: 60px 5%
      }

      .cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px
      }

      .how {
        padding: 60px 5%
      }

      .steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        margin-top: 36px
      }

      .steps::before {
        display: none
      }

      .bt-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px
      }

      .bt-type {
        font-size: 2rem
      }

      .testi-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 36px
      }

      .cta-banner {
        padding: 60px 5%
      }

      .cta-banner::before {
        font-size: 160px
      }

      footer {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
        padding: 40px 5% 24px
      }

      .tracker-stats {
        grid-template-columns: repeat(2, 1fr)
      }

      .tracker-toolbar {
        flex-direction: column;
        align-items: stretch
      }

      .tracker-toolbar input,
      .tracker-toolbar select,
      .add-donor-btn {
        width: 100%;
        min-width: unset
      }

      .dr-top {
        flex-wrap: wrap;
        gap: 10px
      }

      .dr-contacts {
        grid-template-columns: repeat(2, 1fr)
      }

      .dr-actions {
        gap: 6px
      }

      .act-hist {
        margin-left: 0
      }

      .emerg-layout {
        grid-template-columns: 1fr;
        gap: 20px
      }

      .req-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .emerg-hero {
        padding: 36px 5% 32px
      }

      .emerg-body {
        padding: 20px 5%
      }

      .modal-box {
        padding: 24px
      }
    }

    /* ── MOBILE ── */
    @media(max-width:600px) {
      nav {
        padding: 0 4%;
        height: 60px
      }

      .mobile-menu {
        top: 60px;
        padding: 12px 4% 16px
      }

      .nav-logo span {
        font-size: 1.1rem
      }

      .nav-logo-icon {
        width: 32px;
        height: 32px;
        font-size: 15px
      }

      .hero {
        padding: 28px 4% 32px
      }

      .hero h1 {
        font-size: clamp(1.9rem, 8vw, 2.6rem)
      }

      .hero p {
        font-size: .95rem
      }

      .hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
      }

      .btn-primary {
        width: 100%;
        justify-content: center;
        padding: 13px 20px
      }

      .btn-secondary {
        align-self: center
      }

      .stats {
        grid-template-columns: repeat(2, 1fr);
        padding: 28px 4%;
        gap: 12px
      }

      .stat-num {
        font-size: 1.8rem
      }

      .stat-label {
        font-size: .78rem
      }

      .section {
        padding: 48px 4%
      }

      .section h2 {
        font-size: clamp(1.7rem, 6vw, 2.2rem)
      }

      .section-sub {
        font-size: .95rem;
        margin-bottom: 32px
      }

      .cards-grid {
        grid-template-columns: 1fr;
        gap: 12px
      }

      .card {
        padding: 24px 20px
      }

      .card-icon {
        width: 48px;
        height: 48px;
        font-size: 1.4rem
      }

      .how {
        padding: 48px 4%
      }

      .steps {
        grid-template-columns: 1fr;
        gap: 0
      }

      .step {
        padding: 16px 12px;
        display: flex;
        align-items: flex-start;
        gap: 16px;
        text-align: left
      }

      .step-num {
        width: 52px;
        height: 52px;
        font-size: 1.2rem;
        flex-shrink: 0;
        margin: 0
      }

      .step h3 {
        font-size: .95rem
      }

      .step p {
        font-size: .83rem
      }

      .bt-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
        margin-top: 32px
      }

      .bt-card {
        padding: 16px 8px
      }

      .bt-type {
        font-size: 1.5rem
      }

      .bt-label {
        font-size: .7rem
      }

      .urgent-tag {
        font-size: .62rem;
        padding: 1px 7px
      }

      .testi {
        padding: 48px 4%
      }

      .testi-card {
        padding: 22px 18px
      }

      .cta-banner {
        padding: 48px 4%
      }

      .cta-banner h2 {
        font-size: clamp(1.6rem, 6vw, 2.2rem)
      }

      .cta-banner p {
        font-size: .92rem
      }

      .cta-banner .btn-primary {
        margin: 0 0 10px 0;
        width: 100%;
        max-width: 320px
      }

      footer {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 4% 20px
      }

      .footer-bottom {
        margin-top: 20px
      }

      .tracker-hero {
        padding: 32px 4% 28px
      }

      .tracker-hero::before {
        font-size: 120px
      }

      .tracker-body {
        padding: 20px 4%
      }

      .tracker-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px
      }

      .tstat {
        padding: 14px 16px
      }

      .tstat-n {
        font-size: 1.6rem
      }

      .donor-row {
        padding: 16px
      }

      .dr-top {
        gap: 8px
      }

      .dr-avatar {
        width: 40px;
        height: 40px
      }

      .dr-name {
        font-size: .92rem
      }

      .dr-sub {
        font-size: .72rem
      }

      .blood-badge {
        font-size: .78rem;
        padding: 3px 9px
      }

      .status-pill {
        font-size: .7rem;
        padding: 3px 8px
      }

      .dr-contacts {
        grid-template-columns: 1fr;
        gap: 8px
      }

      .dr-actions {
        flex-direction: column;
        align-items: stretch
      }

      .act-btn,
      .act-hist {
        justify-content: center;
        text-align: center;
        width: 100%
      }

      .hist-item {
        flex-wrap: wrap;
        gap: 6px
      }

      .hist-num {
        margin-left: 0
      }

      .emerg-page {
        min-height: 100vh
      }

      .emerg-hero {
        padding: 28px 4% 28px
      }

      .emerg-hero h1 {
        font-size: clamp(1.8rem, 7vw, 2.4rem)
      }

      .emerg-hero p {
        font-size: .9rem
      }

      .emerg-body {
        padding: 16px 4%
      }

      .emerg-form-card {
        padding: 20px 16px;
        border-radius: 18px
      }

      .emerg-form-card h3 {
        font-size: 1.2rem
      }

      .form-row {
        grid-template-columns: 1fr;
        gap: 10px
      }

      .ef-input {
        font-size: .88rem;
        padding: 10px 13px
      }

      .submit-emerg {
        font-size: 1rem;
        padding: 13px
      }

      #emergMap {
        height: 240px
      }

      .map-address-bar {
        flex-wrap: wrap;
        gap: 6px
      }

      .map-address-bar strong {
        font-size: .8rem
      }

      #mapGoogleLink {
        font-size: .75rem
      }

      .sugg-donor {
        flex-wrap: wrap;
        gap: 6px
      }

      .sugg-info {
        min-width: 140px
      }

      .req-grid {
        grid-template-columns: 1fr
      }

      .req-card {
        padding: 14px
      }

      .req-blood {
        font-size: 1.5rem
      }

      .req-actions {
        gap: 5px
      }

      .req-map-btn,
      .req-close-btn {
        font-size: .72rem;
        padding: 4px 10px
      }

      .live-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px
      }

      .modal-wrap {
        padding: 12px
      }

      .modal-box {
        padding: 20px 16px;
        border-radius: 18px;
        max-height: 95vh
      }

      .modal-box h3 {
        font-size: 1.2rem
      }

      .modal-grid {
        grid-template-columns: 1fr
      }

      .modal-field input,
      .modal-field select {
        font-size: .88rem
      }

      .modal-actions {
        flex-direction: column
      }

      .modal-cancel,
      .modal-save {
        width: 100%
      }
    }

    /* ══ SIGNUP PAGE ══ */
    .signup-page {
      background: var(--cream);
      min-height: 100vh
    }

    .signup-hero {
      background: linear-gradient(135deg, var(--red) 0%, #C41E38 60%, #9B1530 100%);
      padding: 60px 5% 56px;
      position: relative;
      overflow: hidden;
      text-align: center
    }

    .signup-hero::before {
      content: '❤️';
      font-size: 300px;
      opacity: .06;
      position: absolute;
      left: 50%;
      top: -60px;
      transform: translateX(-50%);
      line-height: 1
    }

    .signup-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .18);
      border: 1px solid rgba(255, 255, 255, .3);
      color: white;
      padding: 6px 18px;
      border-radius: 50px;
      font-size: .8rem;
      font-weight: 700;
      letter-spacing: .06em;
      text-transform: uppercase;
      margin-bottom: 22px
    }

    .signup-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2.2rem, 5vw, 3.4rem);
      color: white;
      margin-bottom: 14px;
      line-height: 1.2
    }

    .signup-hero h1 em {
      font-style: italic;
      opacity: .85
    }

    .signup-hero p {
      color: rgba(255, 255, 255, .78);
      font-size: 1.05rem;
      max-width: 520px;
      margin: 0 auto
    }

    .signup-body {
      padding: 52px 5%;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      max-width: 1100px;
      margin: 0 auto
    }

    .signup-form-wrap {
      background: white;
      border-radius: 28px;
      padding: 36px 32px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--red-mid)
    }

    .signup-form-wrap h2 {
      font-family: var(--font-head);
      font-size: 1.7rem;
      margin-bottom: 6px
    }

    .signup-form-wrap h2 em {
      font-style: italic;
      color: var(--red)
    }

    .signup-form-wrap .form-intro {
      font-size: .9rem;
      color: var(--gray);
      margin-bottom: 28px;
      line-height: 1.65
    }

    .sf-section {
      font-size: .72rem;
      font-weight: 800;
      color: var(--red);
      text-transform: uppercase;
      letter-spacing: .07em;
      margin: 20px 0 12px;
      padding-top: 16px;
      border-top: 1px dashed var(--red-mid)
    }

    .sf-section:first-of-type {
      margin-top: 0;
      padding-top: 0;
      border-top: none
    }

    .sf-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 0
    }

    .sf-grid.full {
      grid-template-columns: 1fr
    }

    .sf-field {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-bottom: 14px
    }

    .sf-field.half {
      margin-bottom: 0
    }

    .sf-label {
      font-size: .75rem;
      font-weight: 800;
      color: var(--gray);
      text-transform: uppercase;
      letter-spacing: .05em;
      display: flex;
      align-items: center;
      gap: 5px
    }

    .sf-label .req {
      color: var(--red)
    }

    .sf-input {
      padding: 11px 15px;
      border-radius: 14px;
      border: 1.5px solid var(--red-mid);
      font-family: var(--font-body);
      font-size: .93rem;
      color: var(--dark);
      outline: none;
      transition: border-color .2s, box-shadow .2s;
      background: white;
      width: 100%
    }

    .sf-input:focus {
      border-color: var(--red);
      box-shadow: 0 0 0 3px rgba(232, 41, 74, .1)
    }

    .sf-input.error {
      border-color: var(--red);
      background: var(--red-soft)
    }

    .sf-hint {
      font-size: .72rem;
      color: var(--gray);
      margin-top: 2px
    }

    .sf-blood-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 8px;
      margin-bottom: 14px
    }

    .sf-bt {
      padding: 10px 6px;
      border-radius: 12px;
      border: 2px solid var(--red-mid);
      text-align: center;
      font-weight: 800;
      font-size: .9rem;
      color: var(--red);
      cursor: pointer;
      transition: all .18s;
      background: var(--red-soft)
    }

    .sf-bt:hover {
      background: var(--red-soft);
      border-color: var(--red)
    }

    .sf-bt.selected {
      background: var(--red);
      color: white;
      border-color: var(--red)
    }

    .sf-consent {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 14px 16px;
      background: var(--red-soft);
      border-radius: 12px;
      margin: 18px 0
    }

    .sf-consent input[type=checkbox] {
      width: 18px;
      height: 18px;
      accent-color: var(--red);
      flex-shrink: 0;
      margin-top: 2px;
      cursor: pointer
    }

    .sf-consent label {
      font-size: .83rem;
      color: var(--dark);
      line-height: 1.55;
      cursor: pointer
    }

    .sf-consent label a {
      color: var(--red);
      text-decoration: none;
      font-weight: 700
    }

    .sf-submit {
      width: 100%;
      padding: 15px;
      border-radius: 50px;
      border: none;
      background: var(--red);
      color: white;
      font-family: var(--font-head);
      font-size: 1.1rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .22s;
      letter-spacing: .02em;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px
    }

    .sf-submit:hover {
      background: #C41E38;
      transform: translateY(-1px);
      box-shadow: 0 8px 24px rgba(232, 41, 74, .35)
    }

    .sf-submit:disabled {
      opacity: .55;
      cursor: not-allowed;
      transform: none;
      box-shadow: none
    }

    /* success state */
    .signup-success {
      display: none;
      text-align: center;
      padding: 40px 20px
    }

    .signup-success .succ-icon {
      font-size: 4rem;
      margin-bottom: 16px
    }

    .signup-success h3 {
      font-family: var(--font-head);
      font-size: 1.7rem;
      margin-bottom: 8px;
      color: var(--green)
    }

    .signup-success p {
      font-size: .95rem;
      color: var(--gray);
      margin-bottom: 24px;
      line-height: 1.7
    }

    .signup-success .succ-card {
      background: var(--red-soft);
      border: 1px solid var(--red-mid);
      border-radius: 16px;
      padding: 18px 22px;
      text-align: left;
      margin-bottom: 20px;
      font-size: .88rem
    }

    .signup-success .succ-card div {
      display: flex;
      justify-content: space-between;
      padding: 5px 0;
      border-bottom: 1px dashed var(--red-mid)
    }

    .signup-success .succ-card div:last-child {
      border-bottom: none
    }

    .signup-success .succ-card span {
      color: var(--gray)
    }

    .signup-success .succ-card strong {
      color: var(--dark)
    }

    /* right side info */
    .signup-info {
      display: flex;
      flex-direction: column;
      gap: 20px
    }

    .info-card {
      background: white;
      border-radius: 22px;
      padding: 26px 24px;
      border: 1px solid var(--gray-light);
      box-shadow: var(--shadow-card)
    }

    .info-card h3 {
      font-weight: 800;
      font-size: 1rem;
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 8px
    }

    .info-card p {
      font-size: .88rem;
      color: var(--gray);
      line-height: 1.65
    }

    .eligibility-list {
      list-style: none;
      margin-top: 14px
    }

    .eligibility-list li {
      font-size: .85rem;
      padding: 7px 0;
      border-bottom: 1px dashed var(--gray-light);
      display: flex;
      align-items: center;
      gap: 8px;
      color: var(--dark)
    }

    .eligibility-list li:last-child {
      border-bottom: none
    }

    .eligibility-list .chk {
      color: var(--green);
      font-size: 1rem;
      flex-shrink: 0
    }

    .eligibility-list .x {
      color: var(--red);
      font-size: 1rem;
      flex-shrink: 0
    }

    .impact-numbers {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 10px;
      margin-top: 14px
    }

    .impact-n {
      text-align: center;
      padding: 14px 8px;
      background: var(--red-soft);
      border-radius: 14px;
      border: 1px solid var(--red-mid)
    }

    .impact-n .n {
      font-family: var(--font-head);
      font-size: 1.6rem;
      font-weight: 700;
      color: var(--red);
      display: block
    }

    .impact-n .l {
      font-size: .7rem;
      color: var(--gray);
      margin-top: 2px
    }

    .process-steps {
      margin-top: 14px
    }

    .ps {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 8px 0;
      border-bottom: 1px dashed var(--gray-light)
    }

    .ps:last-child {
      border-bottom: none
    }

    .ps-num {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      background: var(--red-soft);
      border: 1.5px solid var(--red-mid);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      font-weight: 800;
      color: var(--red);
      flex-shrink: 0
    }

    .ps-text {
      font-size: .85rem;
      color: var(--dark);
      line-height: 1.55;
      padding-top: 3px
    }

    /* responsive */
    @media(max-width:900px) {
      .signup-body {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 32px 5%
      }
    }

    @media(max-width:600px) {
      .signup-hero {
        padding: 40px 4% 40px
      }

      .signup-body {
        padding: 24px 4%
      }

      .signup-form-wrap {
        padding: 24px 18px;
        border-radius: 20px
      }

      .sf-grid {
        grid-template-columns: 1fr
      }

      .sf-blood-grid {
        grid-template-columns: repeat(4, 1fr)
      }

      .impact-numbers {
        grid-template-columns: 1fr 1fr 1fr
      }
    }

    /* ══ DEMO BANNER (shown atop tracker/emergency demo pages) ══ */
    .demo-banner {
      background: var(--dark);
      color: white;
      padding: 12px 20px;
      text-align: center;
      font-size: .85rem;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      flex-wrap: wrap
    }

    .demo-banner span.dbtag {
      background: var(--red);
      padding: 3px 10px;
      border-radius: 50px;
      font-size: .7rem;
      letter-spacing: .05em;
      text-transform: uppercase
    }

    .demo-banner a {
      color: var(--red-light);
      text-decoration: underline;
      cursor: pointer;
      font-weight: 800
    }

    /* ══ DEMO HUB PAGE ══ */
    .demo-hub-page {
      background: var(--cream);
      min-height: 100vh
    }

    .demo-hub-hero {
      background: linear-gradient(135deg, var(--dark) 0%, #2A1015 60%, var(--dark) 100%);
      padding: 56px 5% 44px;
      text-align: center
    }

    .demo-hub-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4.5vw, 3.1rem);
      color: white;
      margin-bottom: 12px;
      line-height: 1.2
    }

    .demo-hub-hero h1 em {
      font-style: italic;
      color: var(--red-light)
    }

    .demo-hub-hero p {
      color: rgba(255, 255, 255, .72);
      font-size: 1rem;
      max-width: 560px;
      margin: 0 auto
    }

    .demo-hub-grid {
      max-width: 900px;
      margin: -30px auto 0;
      padding: 0 5% 60px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 24px;
      position: relative;
      z-index: 2
    }

    .demo-hub-card {
      background: white;
      border-radius: 24px;
      padding: 32px 28px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--red-mid);
      text-align: center;
      cursor: pointer;
      transition: transform .2s
    }

    .demo-hub-card:hover {
      transform: translateY(-4px)
    }

    .demo-hub-card .dhc-icon {
      font-size: 2.6rem;
      margin-bottom: 14px
    }

    .demo-hub-card h3 {
      font-family: var(--font-head);
      font-size: 1.3rem;
      margin-bottom: 8px
    }

    .demo-hub-card p {
      color: var(--gray);
      font-size: .88rem;
      line-height: 1.6;
      margin-bottom: 18px
    }

    @media(max-width:700px) {
      .demo-hub-grid {
        grid-template-columns: 1fr
      }
    }

    /* ══ DEMO WORKSPACE SHELL ══ */
    .demo-subnav {
      background: var(--dark);
      position: sticky;
      top: 0;
      z-index: 150;
      border-bottom: 1px solid rgba(255, 255, 255, .08)
    }

    .demo-subnav-inner {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 5%;
      display: flex;
      align-items: center;
      gap: 24px;
      height: 56px
    }

    .demo-subnav-org {
      color: white;
      font-weight: 800;
      font-size: .9rem;
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap
    }

    .demo-subnav-tag {
      background: var(--red);
      color: white;
      font-size: .62rem;
      padding: 2px 9px;
      border-radius: 50px;
      letter-spacing: .06em;
      font-weight: 800
    }

    .demo-subnav-tabs {
      display: flex;
      gap: 4px;
      flex: 1;
      overflow-x: auto
    }

    .demo-subnav-tabs a {
      color: rgba(255, 255, 255, .55);
      text-decoration: none;
      font-size: .83rem;
      font-weight: 700;
      padding: 8px 14px;
      border-radius: 8px;
      white-space: nowrap;
      cursor: pointer;
      transition: all .15s
    }

    .demo-subnav-tabs a:hover {
      color: white;
      background: rgba(255, 255, 255, .06)
    }

    .demo-subnav-tabs a.active {
      color: white;
      background: rgba(232, 41, 74, .22)
    }

    .demo-subnav-exit {
      color: rgba(255, 255, 255, .45) !important;
      font-size: .8rem !important;
      font-weight: 700 !important;
      text-decoration: none;
      white-space: nowrap;
      cursor: pointer
    }

    .demo-subnav-exit:hover {
      color: white !important
    }

    @media(max-width:760px) {
      .demo-subnav-inner {
        gap: 12px;
        padding: 0 4%
      }

      .demo-subnav-org span:not(.demo-subnav-tag) {
        display: none
      }

      .demo-subnav-tabs a {
        padding: 8px 10px;
        font-size: .78rem
      }
    }

    /* dashboard */
    .demo-dash-body {
      max-width: 1200px;
      margin: 0 auto;
      padding: 32px 5% 60px
    }

    .demo-dash-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      flex-wrap: wrap;
      gap: 16px;
      margin-bottom: 26px
    }

    .demo-dash-head h1 {
      font-family: var(--font-head);
      font-size: clamp(1.6rem, 3vw, 2.2rem)
    }

    .demo-dash-head h1 em {
      font-style: italic;
      color: var(--red)
    }

    .demo-dash-head p {
      color: var(--gray);
      font-size: .9rem;
      margin-top: 4px
    }

    .demo-stat-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 32px
    }

    .demo-stat-card {
      background: white;
      border: 1px solid var(--red-mid);
      border-radius: 18px;
      padding: 20px
    }

    .demo-stat-card .n {
      font-family: var(--font-head);
      font-size: 2rem;
      font-weight: 700;
      color: var(--dark);
      display: block
    }

    .demo-stat-card .l {
      font-size: .8rem;
      color: var(--gray);
      margin-top: 2px
    }

    .demo-stat-card .trend {
      font-size: .72rem;
      font-weight: 700;
      color: var(--green);
      margin-top: 6px;
      display: block
    }

    .demo-quick-row {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      margin-bottom: 32px
    }

    .demo-quick-card {
      background: white;
      border: 1px solid var(--red-mid);
      border-radius: 18px;
      padding: 22px 18px;
      cursor: pointer;
      transition: transform .15s;
      text-align: center
    }

    .demo-quick-card:hover {
      transform: translateY(-3px)
    }

    .demo-quick-card .qi {
      font-size: 1.8rem;
      margin-bottom: 8px
    }

    .demo-quick-card h4 {
      font-size: .9rem;
      margin-bottom: 4px
    }

    .demo-quick-card p {
      font-size: .76rem;
      color: var(--gray);
      line-height: 1.5
    }

    .demo-two-col {
      display: grid;
      grid-template-columns: 1.4fr 1fr;
      gap: 20px
    }

    .demo-panel {
      background: white;
      border: 1px solid var(--red-mid);
      border-radius: 20px;
      padding: 22px 24px
    }

    .demo-panel h3 {
      font-family: var(--font-head);
      font-size: 1.1rem;
      margin-bottom: 14px
    }

    .demo-activity {
      display: flex;
      flex-direction: column
    }

    .demo-activity-row {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px dashed var(--red-mid);
      font-size: .85rem
    }

    .demo-activity-row:last-child {
      border-bottom: none
    }

    .demo-activity-icon {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--red-soft);
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      font-size: .9rem
    }

    .demo-activity-text strong {
      color: var(--dark)
    }

    .demo-activity-time {
      font-size: .72rem;
      color: var(--gray);
      display: block;
      margin-top: 2px
    }

    .demo-org-card .row {
      display: flex;
      justify-content: space-between;
      padding: 7px 0;
      border-bottom: 1px dashed var(--red-mid);
      font-size: .85rem
    }

    .demo-org-card .row:last-child {
      border-bottom: none
    }

    .demo-org-card .row span {
      color: var(--gray)
    }

    @media(max-width:900px) {

      .demo-stat-row,
      .demo-quick-row {
        grid-template-columns: 1fr 1fr
      }

      .demo-two-col {
        grid-template-columns: 1fr
      }
    }

    /* team page */
    .demo-team-body {
      max-width: 900px;
      margin: 0 auto;
      padding: 32px 5% 60px
    }

    .demo-team-toolbar {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 20px;
      flex-wrap: wrap;
      gap: 12px
    }

    .demo-team-list {
      background: white;
      border: 1px solid var(--red-mid);
      border-radius: 20px;
      overflow: hidden
    }

    .demo-team-row {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 16px 20px;
      border-bottom: 1px solid var(--red-soft)
    }

    .demo-team-row:last-child {
      border-bottom: none
    }

    .demo-team-avatar {
      width: 42px;
      height: 42px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 800;
      font-size: .85rem;
      flex-shrink: 0
    }

    .demo-team-info {
      flex: 1;
      min-width: 0
    }

    .demo-team-name {
      font-weight: 700;
      font-size: .92rem
    }

    .demo-team-email {
      font-size: .78rem;
      color: var(--gray)
    }

    .demo-role-badge {
      font-size: .72rem;
      font-weight: 800;
      padding: 5px 12px;
      border-radius: 50px;
      white-space: nowrap
    }

    .role-owner {
      background: #FFF0F2;
      color: var(--red)
    }

    .role-admin {
      background: #E6F1FB;
      color: var(--blue)
    }

    .role-staff {
      background: #E1F5EE;
      color: var(--green)
    }

    .role-viewer {
      background: #F1F0F5;
      color: var(--gray)
    }

    /* settings page */
    .demo-settings-body {
      max-width: 640px;
      margin: 0 auto;
      padding: 32px 5% 60px
    }

    .demo-settings-card {
      background: white;
      border: 1px solid var(--red-mid);
      border-radius: 24px;
      padding: 32px
    }

    /* ══ ORGANIZATION APPLICATION PAGE ══ */
    .org-apply-page {
      background: var(--cream);
      min-height: 100vh
    }

    .oa-hero {
      background: linear-gradient(135deg, var(--dark) 0%, #2A1015 60%, var(--dark) 100%);
      padding: 56px 5% 44px;
      text-align: center
    }

    .oa-hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255, 255, 255, .1);
      border: 1px solid rgba(255, 255, 255, .2);
      color: white;
      padding: 6px 18px;
      border-radius: 50px;
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: .05em;
      text-transform: uppercase;
      margin-bottom: 20px
    }

    .oa-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4.5vw, 3.1rem);
      color: white;
      margin-bottom: 12px;
      line-height: 1.2
    }

    .oa-hero h1 em {
      font-style: italic;
      color: var(--red-light)
    }

    .oa-hero p {
      color: rgba(255, 255, 255, .72);
      font-size: 1rem;
      max-width: 520px;
      margin: 0 auto
    }

    .oa-steps {
      display: flex;
      justify-content: center;
      gap: 0;
      max-width: 640px;
      margin: -24px auto 0;
      padding: 0 5%;
      position: relative;
      z-index: 2
    }

    .oa-step {
      flex: 1;
      text-align: center;
      position: relative
    }

    .oa-step-dot {
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: white;
      border: 2px solid var(--red-mid);
      color: var(--gray);
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: .85rem;
      margin: 0 auto 8px;
      transition: all .2s
    }

    .oa-step.active .oa-step-dot,
    .oa-step.done .oa-step-dot {
      background: var(--red);
      border-color: var(--red);
      color: white
    }

    .oa-step-label {
      font-size: .72rem;
      font-weight: 700;
      color: var(--gray);
      text-transform: uppercase;
      letter-spacing: .03em
    }

    .oa-step.active .oa-step-label {
      color: var(--red)
    }

    .oa-step:not(:last-child)::after {
      content: '';
      position: absolute;
      top: 17px;
      left: calc(50% + 24px);
      width: calc(100% - 48px);
      height: 2px;
      background: var(--red-mid)
    }

    .oa-step.done:not(:last-child)::after {
      background: var(--red)
    }

    .oa-body {
      max-width: 640px;
      margin: 0 auto;
      padding: 36px 5% 60px
    }

    .oa-card {
      background: white;
      border-radius: 28px;
      padding: 36px 32px;
      box-shadow: var(--shadow-card);
      border: 1px solid var(--red-mid)
    }

    .oa-card h2 {
      font-family: var(--font-head);
      font-size: 1.5rem;
      margin-bottom: 6px
    }

    .oa-card h2 em {
      font-style: italic;
      color: var(--red)
    }

    .oa-card .oa-intro {
      font-size: .88rem;
      color: var(--gray);
      margin-bottom: 24px;
      line-height: 1.6
    }

    .oa-panel {
      display: none
    }

    .oa-panel.active {
      display: block
    }

    .oa-swatches {
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
      margin-bottom: 18px
    }

    .oa-swatch {
      width: 44px;
      height: 44px;
      border-radius: 50%;
      cursor: pointer;
      border: 3px solid transparent;
      transition: all .15s;
      position: relative
    }

    .oa-swatch.selected {
      border-color: var(--dark);
      transform: scale(1.1)
    }

    .oa-swatch.selected::after {
      content: '✓';
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      font-weight: 800;
      font-size: .9rem
    }

    .oa-subdomain-wrap {
      display: flex;
      align-items: center;
      border: 1.5px solid var(--red-mid);
      border-radius: 12px;
      overflow: hidden
    }

    .oa-subdomain-wrap input {
      border: none;
      flex: 1;
      padding: 11px 14px;
      font-family: var(--font-body);
      font-size: .9rem;
      outline: none;
      color: var(--dark)
    }

    .oa-subdomain-suffix {
      background: var(--red-soft);
      color: var(--gray);
      padding: 11px 14px;
      font-size: .85rem;
      white-space: nowrap;
      font-weight: 600
    }

    .oa-review-row {
      display: flex;
      justify-content: space-between;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px dashed var(--red-mid);
      font-size: .88rem
    }

    .oa-review-row:last-child {
      border-bottom: none
    }

    .oa-review-row span {
      color: var(--gray)
    }

    .oa-review-row strong {
      color: var(--dark);
      text-align: right
    }

    .oa-nav {
      display: flex;
      gap: 12px;
      margin-top: 24px
    }

    .oa-btn-back {
      flex: 1;
      background: none;
      border: 1.5px solid var(--red-mid);
      border-radius: 50px;
      padding: 13px;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .9rem;
      color: var(--gray);
      cursor: pointer
    }

    .oa-btn-next {
      flex: 2;
      background: var(--red);
      color: white;
      border: none;
      border-radius: 50px;
      padding: 13px;
      font-family: var(--font-body);
      font-weight: 800;
      font-size: .95rem;
      cursor: pointer;
      transition: background .2s
    }

    .oa-btn-next:hover {
      background: #C41E38
    }

    .oa-success {
      display: none;
      text-align: center;
      padding: 20px 4px
    }

    .oa-success .succ-icon {
      font-size: 4rem;
      margin-bottom: 16px
    }

    .oa-success h3 {
      font-family: var(--font-head);
      font-size: 1.6rem;
      margin-bottom: 8px;
      color: var(--green)
    }

    .oa-success p {
      font-size: .92rem;
      color: var(--gray);
      line-height: 1.7;
      margin-bottom: 20px
    }

    .oa-ref-card {
      background: var(--red-soft);
      border: 1px solid var(--red-mid);
      border-radius: 16px;
      padding: 18px 22px;
      margin-bottom: 20px;
      font-size: .88rem;
      text-align: left
    }

    .oa-ref-card div {
      display: flex;
      justify-content: space-between;
      padding: 5px 0
    }

    .oa-ref-card span {
      color: var(--gray)
    }

    .oa-ref-card strong {
      color: var(--dark)
    }

    @media(max-width:600px) {
      .oa-card {
        padding: 26px 20px;
        border-radius: 20px
      }

      .oa-step-label {
        font-size: .62rem
      }
    }

    /* ══ ABOUT PAGE ══ */
    .about-page {
      background: var(--cream);
      min-height: 100vh
    }

    /* hero */
    .about-hero {
      background: var(--dark);
      padding: 64px 5% 56px;
      position: relative;
      overflow: hidden;
      text-align: center
    }

    .about-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at 30% 50%, rgba(232, 41, 74, .18) 0%, transparent 60%), radial-gradient(ellipse at 70% 50%, rgba(232, 41, 74, .10) 0%, transparent 60%)
    }

    .about-hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(232, 41, 74, .18);
      border: 1px solid rgba(232, 41, 74, .4);
      color: #FF8098;
      padding: 6px 18px;
      border-radius: 50px;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 22px;
      position: relative
    }

    .about-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2.2rem, 5vw, 3.4rem);
      color: white;
      line-height: 1.22;
      margin-bottom: 14px;
      position: relative
    }

    .about-hero h1 em {
      font-style: italic;
      color: var(--red-light)
    }

    .about-hero p {
      color: rgba(255, 255, 255, .65);
      font-size: 1rem;
      max-width: 540px;
      margin: 0 auto;
      position: relative;
      line-height: 1.75
    }

    /* tab switcher */
    .about-tabs {
      display: flex;
      gap: 0;
      border-bottom: 2px solid var(--red-mid);
      padding: 0 5%;
      background: white;
      position: sticky;
      top: 68px;
      z-index: 90;
      overflow-x: auto
    }

    .about-tab {
      padding: 14px 24px;
      font-size: .9rem;
      font-weight: 700;
      color: var(--gray);
      border: none;
      background: none;
      cursor: pointer;
      border-bottom: 3px solid transparent;
      margin-bottom: -2px;
      white-space: nowrap;
      font-family: var(--font-body);
      transition: color .2s
    }

    .about-tab:hover {
      color: var(--red)
    }

    .about-tab.active {
      color: var(--red);
      border-bottom-color: var(--red)
    }

    .about-section {
      display: none;
      padding: 60px 5% 80px
    }

    .about-section.active {
      display: block
    }

    /* section header */
    .about-sec-tag {
      display: inline-block;
      background: var(--red-soft);
      color: var(--red);
      padding: 4px 14px;
      border-radius: 50px;
      font-size: .75rem;
      font-weight: 800;
      letter-spacing: .06em;
      text-transform: uppercase;
      margin-bottom: 12px
    }

    .about-sec-h {
      font-family: var(--font-head);
      font-size: clamp(1.8rem, 4vw, 2.6rem);
      line-height: 1.25;
      margin-bottom: 12px
    }

    .about-sec-h em {
      font-style: italic;
      color: var(--red)
    }

    .about-sec-sub {
      font-size: 1rem;
      color: var(--gray);
      max-width: 540px;
      line-height: 1.75;
      margin-bottom: 48px
    }

    /* mission cards */
    .mission-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 56px
    }

    .mission-card {
      background: white;
      border-radius: 22px;
      padding: 28px 24px;
      border: 1px solid var(--gray-light);
      box-shadow: var(--shadow-card);
      text-align: center
    }

    .mission-icon {
      font-size: 2.2rem;
      margin-bottom: 14px
    }

    .mission-card h3 {
      font-weight: 800;
      font-size: 1rem;
      margin-bottom: 8px
    }

    .mission-card p {
      font-size: .85rem;
      color: var(--gray);
      line-height: 1.65
    }

    /* timeline */
    .timeline {
      position: relative;
      padding-left: 40px;
      margin-bottom: 56px
    }

    .timeline::before {
      content: '';
      position: absolute;
      left: 12px;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--red-mid)
    }

    .tl-item {
      position: relative;
      margin-bottom: 32px
    }

    .tl-dot {
      position: absolute;
      left: -34px;
      top: 4px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: var(--red);
      border: 3px solid white;
      box-shadow: 0 0 0 2px var(--red-mid)
    }

    .tl-year {
      font-size: .72rem;
      font-weight: 800;
      color: var(--red);
      text-transform: uppercase;
      letter-spacing: .08em;
      margin-bottom: 4px
    }

    .tl-title {
      font-weight: 800;
      font-size: .98rem;
      margin-bottom: 4px
    }

    .tl-text {
      font-size: .85rem;
      color: var(--gray);
      line-height: 1.65
    }

    /* FOUNDERS GRID */
    .founders-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px
    }

    .founder-card {
      background: white;
      border-radius: 24px;
      overflow: hidden;
      border: 1px solid var(--gray-light);
      box-shadow: var(--shadow-card);
      transition: transform .25s, box-shadow .25s
    }

    .founder-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 16px 40px rgba(232, 41, 74, .13)
    }

    .founder-card.featured {
      grid-column: 1/-1;
      display: grid;
      grid-template-columns: 260px 1fr;
      border: 2px solid var(--red-mid)
    }

    .founder-avatar-wrap {
      position: relative;
      background: var(--red-soft)
    }

    .founder-avatar {
      width: 100%;
      aspect-ratio: 1;
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-head);
      font-size: 3.5rem;
      font-weight: 700;
      color: var(--red)
    }

    .founder-card.featured .founder-avatar {
      font-size: 5rem;
      min-height: 260px
    }

    .founder-role-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      background: var(--red);
      color: white;
      font-size: .7rem;
      font-weight: 800;
      padding: 4px 12px;
      border-radius: 50px;
      letter-spacing: .04em
    }

    .founder-body {
      padding: 22px
    }

    .founder-card.featured .founder-body {
      padding: 32px
    }

    .founder-name {
      font-family: var(--font-head);
      font-size: 1.15rem;
      font-weight: 700;
      margin-bottom: 3px
    }

    .founder-card.featured .founder-name {
      font-size: 1.6rem
    }

    .founder-title {
      font-size: .8rem;
      font-weight: 700;
      color: var(--red);
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .founder-bio {
      font-size: .85rem;
      color: var(--gray);
      line-height: 1.7;
      margin-bottom: 14px
    }

    .founder-card.featured .founder-bio {
      font-size: .95rem
    }

    .founder-stats {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      margin-bottom: 14px
    }

    .founder-stat {
      text-align: center
    }

    .founder-stat .fsn {
      font-family: var(--font-head);
      font-size: 1.3rem;
      font-weight: 700;
      color: var(--red);
      display: block;
      line-height: 1
    }

    .founder-stat .fsl {
      font-size: .68rem;
      color: var(--gray);
      margin-top: 2px
    }

    .founder-socials {
      display: flex;
      gap: 8px
    }

    .f-soc {
      width: 32px;
      height: 32px;
      border-radius: 50%;
      background: var(--red-soft);
      border: 1px solid var(--red-mid);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: .75rem;
      text-decoration: none;
      color: var(--red);
      font-weight: 700;
      transition: all .2s
    }

    .f-soc:hover {
      background: var(--red);
      color: white
    }

    .founder-quote {
      font-style: italic;
      font-size: .88rem;
      color: var(--gray);
      border-left: 3px solid var(--red-mid);
      padding-left: 14px;
      margin: 14px 0
    }

    /* DONORS/SPONSORS */
    .donors-hero-strip {
      background: var(--red);
      padding: 32px 5%;
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 16px;
      text-align: center;
      margin-bottom: 48px
    }

    .dhs-item {
      color: white
    }

    .dhs-n {
      font-family: var(--font-head);
      font-size: 2rem;
      font-weight: 700;
      display: block;
      line-height: 1
    }

    .dhs-l {
      font-size: .8rem;
      opacity: .8;
      margin-top: 4px;
      font-weight: 600
    }

    .donors-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      margin-bottom: 52px
    }

    .donor-card {
      background: white;
      border-radius: 22px;
      padding: 24px 22px;
      border: 1px solid var(--gray-light);
      box-shadow: var(--shadow-card);
      display: flex;
      flex-direction: column;
      gap: 12px;
      transition: transform .25s, box-shadow .25s
    }

    .donor-card:hover {
      transform: translateY(-4px);
      box-shadow: 0 12px 32px rgba(232, 41, 74, .12)
    }

    .donor-card.platinum {
      border: 2px solid #C0A060;
      background: linear-gradient(135deg, #FFFDF5, white)
    }

    .donor-card.gold {
      border: 2px solid #D4A820;
      background: linear-gradient(135deg, #FFFBEA, white)
    }

    .donor-card.silver {
      border: 2px solid #B0B0C0;
      background: linear-gradient(135deg, #F8F8FF, white)
    }

    .donor-top {
      display: flex;
      align-items: center;
      gap: 14px
    }

    .donor-avatar {
      width: 52px;
      height: 52px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: 800;
      font-size: 15px;
      flex-shrink: 0;
      color: white
    }

    .donor-info {
      flex: 1
    }

    .donor-name-text {
      font-weight: 800;
      font-size: 1rem
    }

    .donor-type {
      font-size: .72rem;
      color: var(--gray);
      margin-top: 2px
    }

    .donor-tier-badge {
      padding: 3px 12px;
      border-radius: 50px;
      font-size: .68rem;
      font-weight: 800;
      letter-spacing: .05em;
      text-transform: uppercase;
      flex-shrink: 0
    }

    .tier-platinum {
      background: #F0E8C8;
      color: #8B6914
    }

    .tier-gold {
      background: #FFF0B0;
      color: #8B6000
    }

    .tier-silver {
      background: #EBEBF5;
      color: #5A5A80
    }

    .tier-bronze {
      background: #F5EDE0;
      color: #7A5030
    }

    .donor-amount {
      font-family: var(--font-head);
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--dark)
    }

    .donor-amount span {
      font-size: .85rem;
      color: var(--gray);
      font-family: var(--font-body);
      font-weight: 600
    }

    .donor-message {
      font-size: .83rem;
      color: var(--gray);
      font-style: italic;
      border-left: 2px solid var(--red-mid);
      padding-left: 10px;
      line-height: 1.6
    }

    .donor-date {
      font-size: .72rem;
      color: var(--gray)
    }

    /* add donation form */
    .add-donation-section {
      background: var(--warm);
      border-radius: 24px;
      padding: 36px;
      margin-top: 8px
    }

    .add-donation-section h3 {
      font-family: var(--font-head);
      font-size: 1.5rem;
      margin-bottom: 6px
    }

    .add-donation-section h3 em {
      font-style: italic;
      color: var(--red)
    }

    .add-donation-section p {
      font-size: .9rem;
      color: var(--gray);
      margin-bottom: 24px
    }

    .donation-form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
      margin-bottom: 14px
    }

    .donation-form-grid.full {
      grid-template-columns: 1fr
    }

    .df-field {
      display: flex;
      flex-direction: column;
      gap: 5px
    }

    .df-label {
      font-size: .72rem;
      font-weight: 800;
      color: var(--gray);
      text-transform: uppercase;
      letter-spacing: .05em
    }

    .df-input {
      padding: 10px 14px;
      border-radius: 12px;
      border: 1.5px solid var(--red-mid);
      font-family: var(--font-body);
      font-size: .9rem;
      color: var(--dark);
      outline: none;
      background: white;
      transition: border-color .2s
    }

    .df-input:focus {
      border-color: var(--red)
    }

    .amount-presets {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 14px
    }

    .amt-btn {
      padding: 8px 18px;
      border-radius: 50px;
      border: 1.5px solid var(--red-mid);
      background: var(--red-soft);
      color: var(--red);
      font-family: var(--font-body);
      font-size: .88rem;
      font-weight: 700;
      cursor: pointer;
      transition: all .2s
    }

    .amt-btn:hover,
    .amt-btn.active {
      background: var(--red);
      color: white;
      border-color: var(--red)
    }

    .donate-submit {
      background: var(--red);
      color: white;
      border: none;
      padding: 13px 32px;
      border-radius: 50px;
      font-family: var(--font-body);
      font-size: .95rem;
      font-weight: 800;
      cursor: pointer;
      transition: all .2s;
      display: flex;
      align-items: center;
      gap: 8px
    }

    .donate-submit:hover {
      background: #C41E38;
      transform: translateY(-1px);
      box-shadow: 0 6px 20px rgba(232, 41, 74, .3)
    }

    /* responsive */
    @media(max-width:960px) {
      .founders-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .founder-card.featured {
        grid-column: 1/-1;
        grid-template-columns: 200px 1fr
      }

      .donors-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .donors-hero-strip {
        grid-template-columns: repeat(2, 1fr)
      }

      .mission-grid {
        grid-template-columns: repeat(2, 1fr)
      }

      .about-tabs {
        top: 60px
      }
    }

    @media(max-width:600px) {
      .about-tabs {
        top: 60px
      }

      .founders-grid {
        grid-template-columns: 1fr
      }

      .founder-card.featured {
        grid-template-columns: 1fr
      }

      .founder-card.featured .founder-avatar {
        min-height: 200px
      }

      .donors-grid {
        grid-template-columns: 1fr
      }

      .donors-hero-strip {
        grid-template-columns: repeat(2, 1fr);
        padding: 24px 4%
      }

      .mission-grid {
        grid-template-columns: 1fr
      }

      .about-section {
        padding: 40px 4% 60px
      }

      .about-tabs {
        padding: 0 4%
      }

      .donation-form-grid {
        grid-template-columns: 1fr
      }

      .about-hero {
        padding: 44px 4% 40px
      }
    }

    /* ══ PRIVACY PAGE ══ */
    .privacy-page {
      background: var(--cream);
      min-height: 100vh
    }

    .privacy-hero {
      background: var(--dark);
      padding: 56px 5% 48px;
      position: relative;
      overflow: hidden;
      text-align: center
    }

    .privacy-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse at center, rgba(232, 41, 74, .12) 0%, transparent 70%)
    }

    .privacy-hero-tag {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(232, 41, 74, .18);
      border: 1px solid rgba(232, 41, 74, .4);
      color: #FF8098;
      padding: 6px 18px;
      border-radius: 50px;
      font-size: .78rem;
      font-weight: 800;
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-bottom: 20px;
      position: relative
    }

    .privacy-hero h1 {
      font-family: var(--font-head);
      font-size: clamp(2rem, 4vw, 3rem);
      color: white;
      margin-bottom: 12px;
      position: relative
    }

    .privacy-hero h1 em {
      font-style: italic;
      color: var(--red-light)
    }

    .privacy-hero p {
      color: rgba(255, 255, 255, .6);
      font-size: .95rem;
      max-width: 520px;
      margin: 0 auto;
      position: relative;
      line-height: 1.75
    }

    .privacy-hero-meta {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 20px;
      margin-top: 20px;
      flex-wrap: wrap;
      position: relative
    }

    .privacy-hero-meta span {
      color: rgba(255, 255, 255, .45);
      font-size: .8rem;
      display: flex;
      align-items: center;
      gap: 5px
    }

    .privacy-body {
      max-width: 820px;
      margin: 0 auto;
      padding: 52px 5% 80px
    }

    .privacy-toc {
      background: var(--red-soft);
      border: 1px solid var(--red-mid);
      border-radius: 20px;
      padding: 24px 28px;
      margin-bottom: 48px
    }

    .privacy-toc h3 {
      font-weight: 800;
      font-size: .9rem;
      text-transform: uppercase;
      letter-spacing: .06em;
      color: var(--red);
      margin-bottom: 14px
    }

    .privacy-toc ol {
      padding-left: 20px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4px 24px
    }

    .privacy-toc ol li {
      font-size: .88rem;
      color: var(--dark);
      padding: 3px 0
    }

    .privacy-toc ol li a {
      color: var(--red);
      text-decoration: none;
      font-weight: 600
    }

    .privacy-toc ol li a:hover {
      text-decoration: underline
    }

    .privacy-section {
      margin-bottom: 48px;
      scroll-margin-top: 90px
    }

    .privacy-section h2 {
      font-family: var(--font-head);
      font-size: 1.5rem;
      color: var(--dark);
      margin-bottom: 14px;
      padding-bottom: 10px;
      border-bottom: 2px solid var(--red-mid);
      display: flex;
      align-items: center;
      gap: 10px
    }

    .privacy-section h2 .ps-num {
      background: var(--red);
      color: white;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: .8rem;
      font-weight: 800;
      flex-shrink: 0;
      font-family: var(--font-body)
    }

    .privacy-section p {
      font-size: .93rem;
      color: var(--gray);
      line-height: 1.8;
      margin-bottom: 14px
    }

    .privacy-section ul,
    .privacy-section ol {
      padding-left: 20px;
      margin-bottom: 14px
    }

    .privacy-section ul li,
    .privacy-section ol li {
      font-size: .93rem;
      color: var(--gray);
      line-height: 1.75;
      margin-bottom: 6px
    }

    .privacy-section ul li strong,
    .privacy-section ol li strong {
      color: var(--dark);
      font-weight: 700
    }

    .privacy-highlight {
      background: var(--red-soft);
      border-left: 4px solid var(--red);
      border-radius: 0 12px 12px 0;
      padding: 16px 20px;
      margin: 18px 0
    }

    .privacy-highlight p {
      margin: 0;
      font-size: .88rem;
      color: var(--dark);
      line-height: 1.7
    }

    .privacy-highlight p strong {
      color: var(--red)
    }

    .privacy-table {
      width: 100%;
      border-collapse: collapse;
      margin: 18px 0;
      font-size: .88rem
    }

    .privacy-table th {
      background: var(--red-soft);
      color: var(--dark);
      font-weight: 800;
      padding: 10px 14px;
      text-align: left;
      border: 1px solid var(--red-mid);
      font-size: .82rem;
      text-transform: uppercase;
      letter-spacing: .04em
    }

    .privacy-table td {
      padding: 10px 14px;
      border: 1px solid var(--gray-light);
      color: var(--gray);
      vertical-align: top;
      line-height: 1.6
    }

    .privacy-table tr:nth-child(even) td {
      background: var(--gray-light)
    }

    .privacy-contact-card {
      background: var(--dark);
      border-radius: 20px;
      padding: 28px 32px;
      margin-top: 20px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px
    }

    .privacy-contact-card h3 {
      color: white;
      font-family: var(--font-head);
      font-size: 1.2rem;
      grid-column: 1/-1;
      margin-bottom: 4px
    }

    .privacy-contact-card p {
      color: rgba(255, 255, 255, .55);
      font-size: .85rem;
      grid-column: 1/-1;
      margin-bottom: 8px;
      line-height: 1.65
    }

    .pcc-item {
      display: flex;
      align-items: center;
      gap: 10px
    }

    .pcc-item span {
      color: rgba(255, 255, 255, .6);
      font-size: .85rem
    }

    .pcc-item strong {
      color: white;
      font-size: .9rem
    }

    .privacy-back-top {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      margin-top: 8px;
      font-size: .82rem;
      font-weight: 700;
      color: var(--red);
      text-decoration: none;
      cursor: pointer;
      background: none;
      border: none;
      font-family: var(--font-body);
      padding: 0
    }

    .privacy-back-top:hover {
      opacity: .75
    }

    .consent-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      background: var(--red-soft);
      border: 1px solid var(--red-mid);
      color: var(--red);
      padding: 4px 12px;
      border-radius: 50px;
      font-size: .75rem;
      font-weight: 700;
      margin-bottom: 8px
    }

    @media(max-width:600px) {
      .privacy-hero {
        padding: 40px 4% 36px
      }

      .privacy-body {
        padding: 36px 4% 60px
      }

      .privacy-toc ol {
        grid-template-columns: 1fr
      }

      .privacy-contact-card {
        grid-template-columns: 1fr;
        padding: 22px 20px
      }

      .privacy-table {
        font-size: .82rem
      }

      .privacy-table th,
      .privacy-table td {
        padding: 8px 10px
      }
    }


    /* ════════════════════════════════════════════════════
   POLISH PASS — depth, motion quality, cohesion, a11y
   ════════════════════════════════════════════════════ */

    /* premium easing on every interactive element instead of linear/ease default */
    a,
    button,
    .card,
    .bt-card,
    .step-num,
    .founder-card,
    .donor-card,
    .donor-row,
    .btn-primary,
    .btn-secondary,
    .nav-links a,
    .social-btn,
    .f-soc,
    .act-btn,
    .amt-btn,
    .sugg-btn,
    .donate-submit,
    .testi-card,
    .mission-card,
    .tstat,
    input,
    select,
    textarea {
      transition-timing-function: cubic-bezier(.22, 1, .36, 1);
    }

    /* selection + scrollbar, small details that read as "finished" */
    ::selection {
      background: var(--red);
      color: #fff
    }

    ::-webkit-scrollbar {
      width: 10px;
      height: 10px
    }

    ::-webkit-scrollbar-track {
      background: var(--cream)
    }

    ::-webkit-scrollbar-thumb {
      background: var(--red-mid);
      border-radius: 10px;
      border: 2px solid var(--cream)
    }

    ::-webkit-scrollbar-thumb:hover {
      background: var(--red-light)
    }

    /* real keyboard-focus states (previously relied on browser default only) */
    a:focus-visible,
    button:focus-visible,
    .bt:focus-visible,
    .step:focus-visible,
    .card:focus-visible,
    .about-tab:focus-visible,
    .social-btn:focus-visible,
    .f-soc:focus-visible {
      outline: 2.5px solid var(--red);
      outline-offset: 3px;
      border-radius: 6px
    }

    input:focus-visible,
    select:focus-visible,
    textarea:focus-visible {
      outline: none
    }

    /* respect reduced-motion preference site-wide */
    @media(prefers-reduced-motion:reduce) {

      *,
      *::before,
      *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
        scroll-behavior: auto !important
      }
    }

    /* softer, layered shadow language replaces the single flat drop-shadow everywhere */
    .card,
    .testi-card,
    .hero-card,
    .founder-card,
    .donor-card,
    .mission-card,
    .tstat,
    .donor-row {
      box-shadow: 0 1px 2px rgba(26, 10, 14, .04), 0 10px 26px rgba(26, 10, 14, .06);
    }

    .card:hover,
    .founder-card:hover,
    .donor-card:hover {
      box-shadow: 0 4px 10px rgba(232, 41, 74, .09), 0 22px 46px rgba(232, 41, 74, .15);
    }

    .donor-row:hover {
      box-shadow: 0 4px 10px rgba(232, 41, 74, .08), 0 16px 36px rgba(232, 41, 74, .11)
    }

    /* flat poster-red bands get a whisper of gradient so they read as considered, not a color fill */
    .stats,
    .donors-hero-strip {
      background: linear-gradient(135deg, #F0263F 0%, var(--red) 55%, #D81F3E 100%)
    }

    .cta-banner {
      background: linear-gradient(160deg, #1A0A0E 0%, #2A0A10 60%, #1A0A0E 100%)
    }

    /* cards that had no hover response now get the same quiet lift as the rest of the site */
    .testi-card,
    .mission-card {
      transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s
    }

    .testi-card:hover,
    .mission-card:hover {
      transform: translateY(-4px)
    }

    .tstat {
      transition: box-shadow .25s, transform .25s
    }

    .tstat:hover {
      box-shadow: 0 10px 26px rgba(232, 41, 74, .10);
      transform: translateY(-2px)
    }

    /* tactile press feedback on the actions people actually click through */
    .btn-primary:active,
    .add-donor-btn:active,
    .submit-emerg:active,
    .donate-submit:active,
    .amt-btn:active,
    .act-btn:active,
    .sugg-btn:active {
      transform: scale(.97)
    }

    /* the dimmest text on dark surfaces was under typical contrast minimums — nudge it up */
    .emerg-hero p,
    .tracker-hero p,
    .privacy-hero p {
      color: rgba(255, 255, 255, .72)
    }

    .req-when,
    .map-address-bar span,
    .sugg-meta {
      color: rgba(255, 255, 255, .5)
    }

    .footer-bottom {
      color: rgba(255, 255, 255, .45)
    }

    /* hero glow softened into two overlapping layers instead of one hard-edged circle */
    .hero::before {
      width: 640px;
      height: 640px;
      right: -140px;
      top: -140px;
      background: radial-gradient(circle, #FFD0D8 0%, #FFE8EC 42%, transparent 72%)
    }

    /* hairline under nav reads cleaner than relying on blur alone */
    nav {
      box-shadow: 0 1px 0 rgba(26, 10, 14, .04)
    }

    /* footer edge picks up a whisper of brand color rather than a hard black cut */
    footer {
      border-top: 1px solid rgba(232, 41, 74, .18)
    }

    /* step markers, blood-type tiles and founder avatars get a touch more presence on hover */
    .bt-card:hover {
      box-shadow: 0 10px 28px rgba(232, 41, 74, .22)
    }

    .step-num {
      box-shadow: 0 2px 6px rgba(26, 10, 14, .05)
    }

    @media(max-width:600px) {
      .hero::before {
        width: 340px;
        height: 340px
      }
    }


    /* ════════════════════════════════════════════════════════════
       FIXES & ADDITIONS
       ════════════════════════════════════════════════════════════ */

    /* ── Logo: footer now carries the same mark as the nav, so brand reads consistently ── */
    .footer-logo {
      display: flex;
      align-items: center;
      gap: 10px
    }

    .footer-logo::before {
      content: '🩸';
      flex: none;
      width: 34px;
      height: 34px;
      border-radius: 50%;
      background: var(--red);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 16px
    }

    /* ── Sticky offsets matched to the real 76px nav (About tabs were tucked 8px under it) ── */
    .mobile-menu {
      top: 76px
    }

    .about-tabs {
      top: 76px
    }

    @media(max-width:600px) {

      .mobile-menu,
      .about-tabs {
        top: 60px
      }
    }

    /* ── Demo: dedicated navigation. The site nav steps aside so the demo reads as its own app. ── */
    body.in-demo>nav,
    body.in-demo .mobile-menu {
      display: none !important
    }

    .demo-subnav {
      background: #120608;
      border-bottom: 2px solid var(--red);
      box-shadow: 0 6px 24px rgba(18, 6, 8, .18)
    }

    .demo-banner {
      background: var(--red);
      color: white;
      font-size: .74rem;
      font-weight: 700;
      letter-spacing: .02em;
      text-align: center;
      padding: 6px 5%
    }

    .demo-subnav-brand {
      display: flex;
      align-items: center;
      gap: 9px;
      text-decoration: none;
      cursor: pointer;
      padding-right: 20px;
      border-right: 1px solid rgba(255, 255, 255, .12)
    }

    .demo-subnav-mark {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background: var(--red);
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 14px
    }

    .demo-subnav-brandname {
      color: white;
      font-weight: 800;
      font-size: 1.05rem
    }

    .demo-subnav-brandname em {
      font-style: normal;
      color: var(--red-light)
    }

    .demo-subnav-inner {
      max-width: 1320px
    }

    .demo-subnav-cta {
      background: white;
      color: var(--dark) !important;
      font-size: .8rem;
      font-weight: 800;
      padding: 8px 16px;
      border-radius: 50px;
      text-decoration: none;
      white-space: nowrap;
      transition: background .2s, color .2s
    }

    .demo-subnav-cta:hover {
      background: var(--red);
      color: white !important
    }

    @media(max-width:900px) {
      .demo-subnav-org {
        display: none
      }
    }

    @media(max-width:760px) {
      .demo-subnav-brandname {
        display: none
      }

      .demo-subnav-brand {
        padding-right: 12px
      }

      .demo-subnav-cta {
        display: none
      }

      .demo-banner {
        font-size: .68rem
      }
    }

    /* ── Donation system ── */
    .df-block {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: .95rem;
      margin: 22px 0 12px
    }

    .df-block:first-of-type {
      margin-top: 4px
    }

    .df-step {
      width: 24px;
      height: 24px;
      border-radius: 50%;
      background: var(--red);
      color: white;
      font-size: .78rem;
      display: inline-flex;
      align-items: center;
      justify-content: center
    }

    .cur-toggle {
      display: inline-flex;
      background: white;
      border: 1.5px solid var(--red-mid);
      border-radius: 50px;
      padding: 3px;
      margin-bottom: 14px
    }

    .cur-btn {
      border: none;
      background: transparent;
      padding: 7px 20px;
      border-radius: 50px;
      font-family: var(--font-body);
      font-weight: 800;
      font-size: .85rem;
      color: var(--gray);
      cursor: pointer;
      transition: all .2s
    }

    .cur-btn.active {
      background: var(--red);
      color: white
    }

    .pay-methods {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
      gap: 10px;
      margin-bottom: 14px
    }

    .pay-method {
      display: flex;
      align-items: center;
      gap: 9px;
      padding: 12px 14px;
      background: white;
      border: 1.5px solid var(--red-mid);
      border-radius: 14px;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .86rem;
      color: var(--dark);
      cursor: pointer;
      transition: all .2s
    }

    .pay-method:hover {
      border-color: var(--red)
    }

    .pay-method.active {
      border-color: var(--red);
      background: var(--red-soft);
      box-shadow: 0 0 0 3px rgba(232, 41, 74, .12)
    }

    .pm-ic {
      font-size: 1.2rem
    }

    .pay-instructions {
      background: white;
      border: 1.5px dashed var(--red-mid);
      border-radius: 16px;
      padding: 16px 18px;
      margin-bottom: 4px
    }

    .pay-steps {
      margin: 0 0 14px 18px;
      font-size: .86rem;
      color: var(--gray);
      line-height: 1.7
    }

    .pay-account {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      background: var(--red-soft);
      border-radius: 12px;
      padding: 12px 14px
    }

    .pay-acc-label {
      font-size: .7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: var(--gray)
    }

    .pay-acc-value {
      font-size: 1.15rem;
      font-weight: 800;
      letter-spacing: .02em;
      word-break: break-all
    }

    .pay-copy {
      border: none;
      background: var(--red);
      color: white;
      font-family: var(--font-body);
      font-weight: 800;
      font-size: .8rem;
      padding: 8px 16px;
      border-radius: 50px;
      cursor: pointer
    }

    .pay-note {
      font-size: .78rem;
      color: var(--gray);
      margin-top: 8px
    }

    .pay-missing {
      font-size: .82rem;
      color: #7A4A00;
      background: #FFF4DC
    }

    .add-donation-section .df-fine {
      font-size: .76rem;
      margin: 14px 0 0
    }

    .don-status {
      display: inline-block;
      margin-top: 10px;
      font-size: .72rem;
      font-weight: 800;
      padding: 3px 10px;
      border-radius: 50px
    }

    .don-status.ok {
      background: #E1F5EE;
      color: #085041
    }

    .don-status.wait {
      background: #FFF4DC;
      color: #7A4A00
    }

    @media(max-width:600px) {
      .add-donation-section {
        padding: 24px 18px
      }

      .pay-account {
        flex-direction: column;
        align-items: flex-start
      }
    }


    /* ── Demo: Regular Patients ── */
    .demo-quick-row {
      grid-template-columns: repeat(auto-fit, minmax(190px, 1fr))
    }

    .dp-filters {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      margin: 26px 0 16px
    }

    .dp-filters button {
      border: 1.5px solid var(--red-mid);
      background: white;
      color: var(--gray);
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .84rem;
      padding: 8px 18px;
      border-radius: 50px;
      cursor: pointer;
      transition: all .2s
    }

    .dp-filters button.on,
    .dp-filters button:hover {
      background: var(--red);
      border-color: var(--red);
      color: white
    }

    .dp-list {
      display: flex;
      flex-direction: column;
      gap: 14px
    }

    .dp-card {
      background: white;
      border: 1px solid var(--red-mid);
      border-radius: 20px;
      padding: 20px 22px;
      box-shadow: 0 2px 8px rgba(232, 41, 74, .06)
    }

    .dp-top {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      gap: 12px;
      flex-wrap: wrap
    }

    .dp-name {
      display: flex;
      align-items: center;
      gap: 10px;
      font-weight: 800;
      font-size: 1.05rem
    }

    .dp-blood {
      background: var(--red);
      color: white;
      font-size: .8rem;
      font-weight: 800;
      padding: 3px 11px;
      border-radius: 50px
    }

    .dp-sub {
      font-size: .82rem;
      color: var(--gray);
      margin-top: 3px
    }

    .dp-chip {
      font-size: .74rem;
      font-weight: 800;
      padding: 5px 12px;
      border-radius: 50px;
      white-space: nowrap
    }

    .dp-chip.ok {
      background: #E1F5EE;
      color: #085041
    }

    .dp-chip.soon {
      background: #FFF4DC;
      color: #7A4A00
    }

    .dp-chip.today {
      background: #FFE3B8;
      color: #7A3A00
    }

    .dp-chip.overdue {
      background: #FDE0E5;
      color: #A01830
    }

    .dp-meta {
      display: flex;
      flex-wrap: wrap;
      gap: 6px 20px;
      font-size: .84rem;
      color: var(--gray);
      margin: 14px 0
    }

    .dp-meta b {
      color: var(--dark)
    }

    .dp-req {
      background: var(--red-soft);
      border-left: 3px solid var(--red);
      border-radius: 10px;
      padding: 10px 14px;
      font-size: .86rem;
      margin-bottom: 14px
    }

    .dp-acts {
      display: flex;
      flex-wrap: wrap;
      gap: 8px
    }

    .dp-acts button {
      border: none;
      background: var(--red);
      color: white;
      font-family: var(--font-body);
      font-weight: 700;
      font-size: .8rem;
      padding: 8px 16px;
      border-radius: 50px;
      cursor: pointer
    }

    .dp-acts button.ghost {
      background: white;
      color: var(--red);
      border: 1.5px solid var(--red-mid)
    }

    .dp-acts button:hover {
      filter: brightness(.95)
    }

    .dp-table {
      width: 100%;
      border-collapse: collapse;
      margin-top: 14px;
      font-size: .84rem
    }

    .dp-table th {
      text-align: left;
      font-size: .7rem;
      text-transform: uppercase;
      letter-spacing: .05em;
      color: var(--gray);
      padding: 6px 8px;
      border-bottom: 1px solid var(--red-mid)
    }

    .dp-table td {
      padding: 8px;
      border-bottom: 1px solid #F5E6E9
    }

    .dp-empty {
      text-align: center;
      color: var(--gray);
      padding: 36px 0
    }


/* HopeAlert logo image (platform brand). White-label tenants fall back to the text logo. */
.brand-logo-img { height: 40px; width: auto; display: block; }
.tenant-logo { display: none; align-items: center; gap: 10px; }
body.is-tenant .tenant-logo { display: flex; }
body.is-tenant .brand-logo-img { display: none; }
@media (max-width: 640px) { .brand-logo-img { height: 32px; } }


/* ── FAQ SYSTEM ─────────────────────────────────────────── */
.faq-section { padding: 80px 5%; background: var(--white); }
.faq-head { text-align: center; max-width: 640px; margin: 0 auto 32px; }
.faq-sub { color: var(--gray); }
.faq-tools, .faq-actions, .faq-list, .faq-empty, .faq-contact { max-width: 820px; margin-left: auto; margin-right: auto; }
.faq-tools { display: grid; gap: 14px; margin-bottom: 14px; }
.faq-search { display: flex; align-items: center; gap: 10px; background: var(--cream); border: 1.5px solid var(--red-mid); border-radius: 999px; padding: 0 18px; transition: border-color .2s, box-shadow .2s; }
.faq-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.faq-search input { flex: 1; border: 0; background: transparent; font: inherit; padding: 13px 0; color: var(--dark); outline: none; min-width: 0; }
.faq-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.faq-cat { font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; border: 1.5px solid var(--red-mid); background: var(--white); color: var(--gray); border-radius: 999px; padding: 7px 16px; transition: all .2s; }
.faq-cat:hover { border-color: var(--red); color: var(--red); }
.faq-cat.active { background: var(--red); border-color: var(--red); color: #fff; }
.faq-actions { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: .85rem; color: var(--gray); }
.faq-toggle-all { font: inherit; font-size: .85rem; font-weight: 700; background: none; border: 0; color: var(--red); cursor: pointer; padding: 4px 0; }
.faq-toggle-all:hover { text-decoration: underline; }
.faq-list { display: grid; gap: 10px; }
.faq-item { background: var(--cream); border: 1.5px solid var(--red-mid); border-radius: 16px; transition: border-color .2s, box-shadow .2s; scroll-margin-top: 96px; }
.faq-item[hidden] { display: none; }
.faq-item:hover { border-color: var(--red-light); }
.faq-item.open { border-color: var(--red); background: var(--white); box-shadow: var(--shadow); }
.faq-item h3 { font-family: var(--font-body); font-size: 1rem; margin: 0; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; text-align: left; font: inherit; font-weight: 800; color: var(--dark); background: none; border: 0; padding: 18px 20px; cursor: pointer; border-radius: 16px; }
.faq-q:focus-visible, .faq-cat:focus-visible, .faq-toggle-all:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }
.faq-chev { flex: 0 0 28px; height: 28px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; line-height: 1; }
.faq-item.open .faq-chev { background: var(--red); color: #fff; }
.faq-a-inner { padding: 0 20px 20px; color: var(--gray); line-height: 1.7; animation: faqIn .25s ease; }
.faq-a-inner a { color: var(--red); font-weight: 700; cursor: pointer; text-decoration: underline; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.faq-empty { text-align: center; color: var(--gray); padding: 28px 16px; background: var(--cream); border-radius: 16px; border: 1.5px dashed var(--red-mid); }
.faq-empty[hidden] { display: none; }
.faq-contact { margin-top: 36px; text-align: center; background: var(--red-soft); border-radius: 20px; padding: 28px 20px; }
.faq-contact h3 { font-family: var(--font-head); font-size: 1.4rem; margin-bottom: 6px; }
.faq-contact p { color: var(--gray); margin-bottom: 16px; }
@media (max-width: 640px) { .faq-section { padding: 56px 5%; } .faq-q { padding: 15px 16px; } .faq-a-inner { padding: 0 16px 16px; } .faq-cats { justify-content: flex-start; } }
@media (prefers-reduced-motion: reduce) { .faq-a-inner { animation: none; } }


/* ── PAY WHAT YOU CAN ───────────────────────────────────── */
.pricing-section { padding: 80px 5%; background: var(--cream); }
body.is-tenant .pricing-section { display: none; }
.pricing-head { text-align: center; max-width: 680px; margin: 0 auto 40px; }
.pricing-sub { color: var(--gray); font-size: 1.1rem; }
.tiers, .pricing-below, .custom-amt, .amt-error { max-width: 1060px; margin-left: auto; margin-right: auto; }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { font: inherit; text-align: left; cursor: pointer; background: var(--white); border: 2px solid var(--red-mid); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; color: var(--dark); transition: border-color .2s, box-shadow .2s, transform .2s; }
.tier:hover { border-color: var(--red-light); transform: translateY(-2px); }
.tier.selected { border: 3px solid #C8102E; padding: 27px; box-shadow: 0 8px 32px rgba(200,16,46,.15); }
.tier:focus-visible, .ps-btn:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }
.tier-name { font-weight: 800; color: #C8102E; }
.tier-name-teal { color: #0B7A80; }
.tier-price { font-family: var(--font-head); font-size: 3rem; font-weight: 700; line-height: 1.1; }
.tier-desc { color: var(--gray); line-height: 1.6; }
.tier-pick { margin-top: auto; text-align: center; font-weight: 800; padding: 13px; border-radius: 999px; border: 2px solid #C8102E; color: #C8102E; background: var(--white); min-height: 48px; }
.tier.selected .tier-pick { background: #C8102E; color: #fff; }
.custom-amt { margin-top: 22px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.custom-amt label { font-weight: 700; color: var(--gray); }
.custom-box { display: flex; align-items: center; background: var(--white); border: 2px solid var(--red-mid); border-radius: 999px; padding: 0 18px; min-height: 48px; }
.custom-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 3px var(--red-soft); }
.custom-box span { font-weight: 800; color: var(--gray); }
.custom-box input { border: 0; outline: 0; font: inherit; font-weight: 700; width: 110px; padding: 10px 8px; background: transparent; color: var(--dark); }
.amt-error { text-align: center; color: #B3122A; font-weight: 700; margin-bottom: 8px; }
.amt-error[hidden], .ps-msg[hidden] { display: none; }
.pricing-below { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; margin-top: 20px; }
.pricing-card { background: var(--white); border: 2px solid var(--red-mid); border-radius: 20px; padding: 28px; }
.pricing-card h3 { font-family: var(--font-head); font-size: 1.6rem; margin-bottom: 16px; }
.pricing-feats { list-style: none; display: grid; gap: 12px; line-height: 1.5; }
.pricing-feats li { display: flex; gap: 12px; }
.pricing-summary { background: #1A0A0E; color: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; }
.ps-label { font-weight: 700; color: #FFDDE2; }
.ps-amount { font-family: var(--font-head); font-size: 2.75rem; font-weight: 700; line-height: 1.1; }
.ps-note, .ps-msg { color: #E8D9DC; line-height: 1.6; font-size: .95rem; }
.ps-msg { background: rgba(255,255,255,.1); border-radius: 12px; padding: 12px 14px; }
.ps-btn { margin-top: auto; text-align: center; text-decoration: none; font-weight: 800; padding: 14px; border-radius: 999px; background: #E8294A; color: #fff; min-height: 48px; display: block; }
.ps-btn:hover { background: #C8102E; }
.ps-contact { font-size: .85rem; color: #E8D9DC; text-align: center; }
@media (max-width: 860px) { .tiers, .pricing-below { grid-template-columns: 1fr; } .pricing-section { padding: 56px 5%; } }
@media (prefers-reduced-motion: reduce) { .tier { transition: none; } .tier:hover { transform: none; } }

.hero-free-note { margin-top: 14px; font-size: .95rem; color: var(--gray); }
.hero-free-note a { color: var(--red); font-weight: 700; cursor: pointer; text-decoration: underline; }
