/* ==========================================================================
   AEROCUP 2026 — Main Site Dark Swiss Minimalist UI v5.0
   Applies to: Public Pages, Auth, Team Portal, Member Portal, Verify & Live
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@600;700&family=Vazirmatn:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --ds-obsidian: #090B0F;
  --ds-slate: #12161F;
  --ds-slate-2: #161B26;
  --ds-border: #1F2633;
  --ds-border-hover: #2E384D;
  --ds-signal: #EA580C;
  --ds-signal-hover: #C2410C;
  --ds-cobalt: #2563EB;
  --ds-emerald: #10B981;
  --ds-amber: #F59E0B;
  --ds-rose: #F43F5E;
  --ds-text: #F8FAFC;
  --ds-text-2: #CBD5E1;
  --ds-muted: #94A3B8;
  --ds-dim: #64748B;
  --ds-font: 'Vazirmatn', system-ui, -apple-system, sans-serif;
  --ds-display: 'Space Grotesk', 'Vazirmatn', sans-serif;
  --ds-mono: 'JetBrains Mono', ui-monospace, monospace;
}

html, body {
  max-width: 100% !important;
  overflow-x: clip !important;
  font-family: var(--ds-font) !important;
  color-scheme: dark !important;
  background-color: var(--ds-obsidian) !important;
  color: var(--ds-text) !important;
}

body:not(.live-page) {
  background-color: var(--ds-obsidian) !important;
  background-image:
    radial-gradient(circle at 20% 0%, rgba(234, 88, 12, 0.12), transparent 40%),
    radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.08), transparent 40%),
    linear-gradient(rgba(31, 38, 51, 0.28) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 38, 51, 0.28) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px !important;
  color: var(--ds-text) !important;
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   1. Sticky Desktop Navbar & Utility Strip
   ========================================================================== */
.site-desktop-header .utility {
  background: rgba(9, 11, 15, 0.96) !important;
  border-bottom: 1px solid var(--ds-border) !important;
  color: var(--ds-muted) !important;
  font-family: var(--ds-mono), var(--ds-font) !important;
  font-size: 11px !important;
}
.site-desktop-header .utility span,
.site-desktop-header .utility i {
  color: var(--ds-muted) !important;
}
.site-desktop-header .nav {
  background: rgba(9, 11, 15, 0.86) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--ds-border) !important;
  box-shadow: none !important;
}
.site-desktop-header .nav-inner {
  min-height: 66px !important;
}
.ds-site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
}
.ds-site-badge {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: rgba(234, 88, 12, 0.15);
  border: 1px solid rgba(234, 88, 12, 0.42);
  color: var(--ds-signal);
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.ds-site-title {
  font-family: var(--ds-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.1;
  color: #fff;
}
.ds-site-title span { color: var(--ds-signal); }
.ds-site-sub {
  font-size: 10px;
  color: var(--ds-muted);
  margin-top: 2px;
}

.site-desktop-header .nav-links a {
  color: var(--ds-muted) !important;
  font-size: 12.5px !important;
  font-weight: 500 !important;
  padding: 7px 11px !important;
  border-radius: 8px !important;
  transition: all 0.15s ease !important;
}
.site-desktop-header .nav-links a:hover,
.site-desktop-header .nav-links a.active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06) !important;
}
.site-desktop-header .nav-actions .login,
.site-desktop-header .nav-actions a:not(.nav-cta) {
  background: var(--ds-slate) !important;
  border: 1px solid var(--ds-border) !important;
  color: var(--ds-text-2) !important;
  border-radius: 9px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}
.site-desktop-header .nav-actions .login:hover {
  border-color: var(--ds-border-hover) !important;
  color: #fff !important;
}
.site-desktop-header .nav-actions .nav-cta {
  background: var(--ds-signal) !important;
  border: 1px solid var(--ds-signal) !important;
  color: #fff !important;
  border-radius: 9px !important;
  padding: 8px 16px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 18px rgba(234, 88, 12, 0.25) !important;
}
.site-desktop-header .nav-actions .nav-cta:hover {
  background: var(--ds-signal-hover) !important;
}

/* Mobile Public Header & Slide-Down Drawer */
.mobile-v42-site-header {
  background: rgba(9, 11, 15, 0.92) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  border-bottom: 1px solid var(--ds-border) !important;
}
.mobile-v42-site-brand span {
  color: #fff !important;
  font-family: var(--ds-display) !important;
}
.mobile-v42-site-header button#mobilePublicMenu {
  background: var(--ds-slate) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 9px !important;
}
.mobile-v42-site-drawer aside {
  background: rgba(9, 11, 15, 0.98) !important;
  border-left: 1px solid var(--ds-border) !important;
}
.mobile-v42-site-drawer-head {
  border-bottom: 1px solid var(--ds-border) !important;
}
.mobile-v42-site-drawer nav a {
  background: rgba(18, 22, 31, 0.7) !important;
  border: 1px solid var(--ds-border) !important;
  color: var(--ds-text-2) !important;
  border-radius: 11px !important;
}
.mobile-v42-site-drawer nav a.accent-link {
  background: var(--ds-signal) !important;
  border-color: var(--ds-signal) !important;
  color: #fff !important;
}

/* ==========================================================================
   2. Global Dark Swiss Surfaces, Cards & Typography
   ========================================================================== */
.home29,
.about-page, .about-main,
.rules-page, .rules-main,
.committee-page, .contact-page,
.announcements-page, .schedule-page,
.verify-page, .auth-page,
.team-workspace-page, .team-workspace-main,
.member-portal {
  background: transparent !important;
  color: var(--ds-text) !important;
}

/* Glassy Slate Cards across ALL 22 pages */
.home29-flow-card, .home29-doc, .home29-fact, .home29-principle,
.home29-partner, .home29-poster-frame, .home29-intro-side,
.home29-roadmap-shell, .home29-hero-visual,
.about-card, .purpose-card, .spec-card, .stage-card, .flow-card, .mini-stat,
.rulebook-card, .fact, .phase, .tech-card, .penalty, .appeal-note,
.committee-card, .member-card, .role-card, .contact-card, .info-card,
.announce-card, .notice-card, .schedule-card, .verify-card,
.auth-card, .auth-register-box,
.team-stat-card, .team-progress-card, .team-quick-card, .team-overview-callout,
.team-edit-box, .sc-card-slot, .panel-card, .card, .box, .section-card {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.92) 0%, rgba(18, 22, 31, 0.97) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04) !important;
  color: var(--ds-text) !important;
  border-radius: 16px !important;
}
.home29-flow-card:hover, .about-card:hover, .phase:hover, .tech-card:hover,
.team-quick-card:hover, .announce-card:hover {
  border-color: rgba(234, 88, 12, 0.42) !important;
}

/* Hero Banners & Dark Feature Blocks */
.home29-hero, .about-hero, .rules-hero, .team-overview-hero,
.auth-visual, .home29-end, .home29-principles {
  background: linear-gradient(135deg, rgba(16, 21, 32, 0.92) 0%, rgba(21, 28, 43, 0.95) 60%, rgba(15, 23, 42, 0.92) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 20px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

/* High-Contrast Headings & Readable Body Text */
body:not(.live-page) h1,
body:not(.live-page) h2,
body:not(.live-page) h3,
body:not(.live-page) h4,
body:not(.live-page) strong,
body:not(.live-page) b {
  color: #F8FAFC !important;
}
body:not(.live-page) p,
body:not(.live-page) li,
body:not(.live-page) td {
  color: var(--ds-text-2) !important;
}
body:not(.live-page) small,
body:not(.live-page) .muted,
body:not(.live-page) .home29-note,
body:not(.live-page) .eyebrow-sub {
  color: var(--ds-muted) !important;
}

/* Mono Technical Eyebrows & Numbers */
.eyebrow, .home29-kicker, .about-kicker, .rules-kicker,
.auth-eyebrow, .auth-kicker, .section-index, .home29-section-index {
  font-family: var(--ds-mono), var(--ds-font) !important;
  color: var(--ds-amber) !important;
}
.home29-hero h1 em,
.home29-hero h1 span,
h1 em {
  color: var(--ds-signal) !important;
  font-style: normal !important;
}

/* ==========================================================================
   3. Buttons, Links, Badges & Form Controls
   ========================================================================== */
.home29-primary, .btn.orange, .auth-submit, .sc-submit-btn,
button[type="submit"]:not(.ghost-action):not(.secondary) {
  background: var(--ds-signal) !important;
  border: 1px solid var(--ds-signal) !important;
  color: #fff !important;
  border-radius: 11px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.24) !important;
  transition: all 0.15s ease !important;
}
.home29-primary:hover, .btn.orange:hover, .auth-submit:hover, .sc-submit-btn:hover {
  background: var(--ds-signal-hover) !important;
  transform: translateY(-1px);
}

.home29-secondary, .btn:not(.orange), .ghost-action, .auth-secondary {
  background: var(--ds-obsidian) !important;
  border: 1px solid var(--ds-border) !important;
  color: var(--ds-text-2) !important;
  border-radius: 11px !important;
  font-weight: 600 !important;
}
.home29-secondary:hover, .btn:not(.orange):hover, .ghost-action:hover, .auth-secondary:hover {
  border-color: rgba(37, 99, 235, 0.55) !important;
  color: #93C5FD !important;
}

/* Tags & Badges */
.tag, .rule-badge, .about-badge, .contact-badge, .home29-hero-tag,
.sc-badge-req, .sc-badge-opt {
  background: rgba(37, 99, 235, 0.14) !important;
  border: 1px solid rgba(37, 99, 235, 0.32) !important;
  color: #93C5FD !important;
}

/* Forms & Inputs */
body:not(.live-page) input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
body:not(.live-page) select,
body:not(.live-page) textarea {
  background: var(--ds-obsidian) !important;
  border: 1px solid var(--ds-border) !important;
  color: #fff !important;
  border-radius: 11px !important;
}
body:not(.live-page) input:focus,
body:not(.live-page) select:focus,
body:not(.live-page) textarea:focus {
  border-color: var(--ds-signal) !important;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.16) !important;
  outline: none !important;
}
body:not(.live-page) label {
  color: var(--ds-text-2) !important;
}

/* Tables */
body:not(.live-page) table {
  border-color: var(--ds-border) !important;
}
body:not(.live-page) th {
  background: #0D1118 !important;
  color: var(--ds-muted) !important;
  border-bottom: 1px solid var(--ds-border) !important;
}
body:not(.live-page) td {
  border-bottom: 1px solid var(--ds-border) !important;
}
body:not(.live-page) tbody tr:hover {
  background: rgba(255, 255, 255, 0.025) !important;
}

/* ==========================================================================
   4. Team Dashboard & Member Portal Sidebar + Workspace
   ========================================================================== */
.team-sidebar {
  background: linear-gradient(180deg, #0E131D 0%, #090B0F 100%) !important;
  border-left: 1px solid var(--ds-border) !important;
}
.team-sidebar-nav a {
  color: var(--ds-muted) !important;
  border-radius: 10px !important;
}
.team-sidebar-nav a:hover {
  background: rgba(255, 255, 255, 0.05) !important;
  color: #fff !important;
}
.team-sidebar-nav a.active {
  background: rgba(37, 99, 235, 0.15) !important;
  border: 1px solid rgba(37, 99, 235, 0.35) !important;
  color: #93C5FD !important;
}
.team-workspace-mobile-nav {
  background: rgba(18, 22, 31, 0.95) !important;
  border-bottom: 1px solid var(--ds-border) !important;
}
.sc-dropzone {
  background: rgba(9, 11, 15, 0.7) !important;
  border: 1.5px dashed var(--ds-border-hover) !important;
}
.sc-dropzone:hover {
  border-color: var(--ds-signal) !important;
}
.message-box {
  background: rgba(37, 99, 235, 0.14) !important;
  border: 1px solid rgba(37, 99, 235, 0.32) !important;
  color: #93C5FD !important;
}
.message-box.error {
  background: rgba(244, 63, 94, 0.14) !important;
  border-color: rgba(244, 63, 94, 0.35) !important;
  color: #FDA4AF !important;
}
.message-box.ok {
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #34D399 !important;
}

/* ==========================================================================
   5. Footer
   ========================================================================== */
.footer {
  background: rgba(9, 11, 15, 0.96) !important;
  border-top: 1px solid var(--ds-border) !important;
  color: var(--ds-muted) !important;
}
.footer a { color: var(--ds-text-2) !important; }
.footer a:hover { color: var(--ds-signal) !important; }
.footer-bottom {
  border-top: 1px solid var(--ds-border) !important;
  color: var(--ds-dim) !important;
}


/* ==========================================================================
   6. v5.1 Complete Polish (Fixes 1–16 + Cobalt #2563EB & Amber #F59E0B Accents)
   ========================================================================== */

/* Richer Cobalt & Amber ambient glow on background */
body:not(.live-page) {
  background-image:
    radial-gradient(circle at 14% 0%, rgba(37, 99, 235, 0.14), transparent 38%),
    radial-gradient(circle at 86% 6%, rgba(245, 158, 11, 0.10), transparent 36%),
    radial-gradient(circle at 50% 45%, rgba(234, 88, 12, 0.06), transparent 45%),
    linear-gradient(rgba(31, 38, 51, 0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 38, 51, 0.30) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px !important;
}

/* Fix #2: Clean white logo in header */
.ds-site-brand img {
  height: 38px !important;
  width: auto !important;
  max-height: 40px !important;
  display: block !important;
}

/* Fix #4: Logout button in header */
.nav-logout,
.site-desktop-header .nav-actions button.nav-logout {
  background: rgba(244, 63, 94, 0.14) !important;
  border: 1px solid rgba(244, 63, 94, 0.38) !important;
  color: #FDA4AF !important;
  border-radius: 9px !important;
  padding: 8px 14px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.nav-logout:hover {
  background: rgba(244, 63, 94, 0.26) !important;
  color: #fff !important;
}
.site-desktop-header .nav-actions .nav-user {
  background: rgba(37, 99, 235, 0.12) !important;
  border: 1px solid rgba(37, 99, 235, 0.3) !important;
  color: #F8FAFC !important;
}

/* Fix #1, #8, #9, #10, #11, #14, #15: Eliminate EVERY remaining white box */
.home29-intro, .home29-poster, .home29-flow, .home29-roadmap,
.home29-partners, .home29-docs,
.member-portal-page, .member-portal-shell,
.auth-card-wrap, .auth-shell, .news-page, .news-main,
.committee-intro, .committee-section, .contact-main {
  background: transparent !important;
}

.home29-intro-main,
.home29-poster-copy,
.home29-note,
.announcement-card,
.announcement-empty,
.announcement-detail,
.announcement-summary,
.news-note,
.intro-copy,
.intro-stats,
.stat,
.coop-card,
.form-card,
.info-card,
.team-table-card,
.appeal-form-note,
.document-lock-status,
.document-upload-card,
.upload-drop,
.cert-panel-card,
.cert-row,
.member-credential-note,
.member-progress-grid > div,
.certificate-row,
.member-request,
.empty-state,
.verify-box,
.v-card,
.v-item,
.contact,
.public-stage-list article,
.rule-callout,
section.member-card[style*="fffafa"] {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.94) 0%, rgba(18, 22, 31, 0.98) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  color: var(--ds-text) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
}

.home29-note,
.appeal-form-note,
.news-note,
.member-credential-note {
  background: rgba(37, 99, 235, 0.10) !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
  border-right: 3px solid #2563EB !important;
  color: #CBD5E1 !important;
}

.committee-card .mark {
  background: rgba(37, 99, 235, 0.14) !important;
  border: 1px solid rgba(37, 99, 235, 0.32) !important;
}
.committee-card .initials {
  color: #93C5FD !important;
}

/* Fix #3: Light frosted backing for Sponsor Logos so they pop cleanly */
.home29-partner img,
.mobile-v42-partner-list article img {
  background: rgba(248, 250, 252, 0.94) !important;
  padding: 10px !important;
  border-radius: 14px !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25) !important;
}

/* Fix #5: Roadmap numbers, dots, dates, and lines */
.home29-roadmap-shell:before {
  background: var(--ds-border-hover) !important;
}
.home29-time {
  border-color: var(--ds-border) !important;
}
.home29-time .dot,
.roadmap-dot {
  background: #F59E0B !important;
  box-shadow: 0 0 0 6px #12161F, 0 0 0 7px rgba(245, 158, 11, 0.45) !important;
}
.home29-time .no,
.roadmap-no {
  color: #60A5FA !important;
  font-weight: 800 !important;
}
.home29-time time,
.roadmap-step time {
  color: #F8FAFC !important;
}
.roadmap-ext-badge {
  background: rgba(245, 158, 11, 0.16) !important;
  border: 1px solid rgba(245, 158, 11, 0.38) !important;
  color: #FBBF24 !important;
}

/* Fix #6, #7, #9, #10: Remove ugly blue box from .tag eyebrows & dim ghost numbers */
.tag,
.head .tag,
.section-heading .tag,
.news-top .tag,
.home29-doc .tag {
  background: transparent !important;
  border: 0 !important;
  padding: 0 !important;
  color: #F59E0B !important;
  font-family: var(--ds-mono), var(--ds-font) !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  display: inline-block !important;
}
.home29-flow-card .ghost {
  color: rgba(255, 255, 255, 0.04) !important;
}
.home29-flow-card .num,
.home29-partner .n,
.purpose-card .num {
  color: #60A5FA !important;
}

/* Fix #12: BPJ Notice Banner (dark amber/signal glass) */
#bpjNoticeBanner {
  background: linear-gradient(135deg, rgba(234, 88, 12, 0.14) 0%, rgba(18, 22, 31, 0.96) 100%) !important;
  border: 1px solid rgba(234, 88, 12, 0.40) !important;
  border-right: 4px solid #EA580C !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25) !important;
}
#bpjNoticeBanner h3,
#bpjNoticeBanner strong {
  color: #F8FAFC !important;
}
#bpjNoticeBanner p {
  color: #CBD5E1 !important;
}
#bpjNoticeBanner span {
  background: rgba(245, 158, 11, 0.16) !important;
  color: #FBBF24 !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
}

/* Fix #13: Student Card Upload Box (Leader & Member) */
#leaderStudentCardBox,
#memberStudentCardBox {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.94) 0%, rgba(18, 22, 31, 0.98) 100%) !important;
  border: 1px solid var(--ds-border) !important;
}
.sc-drop-icon {
  background: rgba(37, 99, 235, 0.16) !important;
  border: 1px solid rgba(37, 99, 235, 0.32) !important;
  color: #60A5FA !important;
}
.sc-drop-title {
  color: #F8FAFC !important;
}
.sc-drop-sub, .sc-slot-desc, .sc-slot-foot {
  color: #94A3B8 !important;
}
.sc-saved-pill {
  background: rgba(16, 185, 129, 0.14) !important;
  border: 1px solid rgba(16, 185, 129, 0.35) !important;
}
.sc-saved-pill span {
  color: #34D399 !important;
}
.sc-saved-pill a {
  background: var(--ds-obsidian) !important;
  border: 1px solid rgba(16, 185, 129, 0.4) !important;
  color: #F8FAFC !important;
}
#leaderScStatusBadge,
#memberScStatusBadge {
  background: rgba(245, 158, 11, 0.15) !important;
  border: 1px solid rgba(245, 158, 11, 0.35) !important;
  color: #FBBF24 !important;
}

/* Fix #14: Register page bottom "Already have an account?" box */
.auth-register-box {
  padding: 16px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
}
.auth-divider span {
  background: var(--ds-slate) !important;
  color: var(--ds-muted) !important;
  padding: 0 10px !important;
}

/* Fix #15: Member Portal progress bar & leave-team card */
.member-progress-meter,
.team-progress-meter {
  background: var(--ds-obsidian) !important;
  border: 1px solid var(--ds-border) !important;
}
#memberProgressBar,
#progressBar {
  background: linear-gradient(90deg, #2563EB, #F59E0B, #EA580C) !important;
}
section.member-card[style*="fffafa"] {
  border: 1px solid rgba(244, 63, 94, 0.35) !important;
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(18, 22, 31, 0.96)) !important;
}
section.member-card[style*="fffafa"] h2 {
  color: #FDA4AF !important;
}

/* Fix #16: Richer Cobalt (#2563EB) & Amber (#F59E0B) Accents across cards & links */
.home29-flow-card:nth-child(odd):before,
.coop-card:nth-child(odd):before,
.fact:nth-child(odd):before,
.purpose-card:nth-child(odd):before {
  background: linear-gradient(90deg, #2563EB, transparent 75%) !important;
}
.home29-flow-card:nth-child(even):before,
.coop-card:nth-child(even):before,
.fact:nth-child(even):before,
.purpose-card:nth-child(even):before {
  background: linear-gradient(90deg, #F59E0B, transparent 75%) !important;
}
.team-stat-card:nth-child(1),
.mini-stat:nth-child(1) { border-top: 2px solid #2563EB !important; }
.team-stat-card:nth-child(2),
.mini-stat:nth-child(2) { border-top: 2px solid #F59E0B !important; }
.team-stat-card:nth-child(3),
.mini-stat:nth-child(3) { border-top: 2px solid #EA580C !important; }
.team-stat-card:nth-child(4),
.mini-stat:nth-child(4) { border-top: 2px solid #10B981 !important; }

.text-link, .home29-flow-card a, .home29-doc a, .announcement-read {
  color: #60A5FA !important;
  border-color: rgba(96, 165, 250, 0.35) !important;
}
.text-link:hover, .home29-flow-card a:hover, .home29-doc a:hover {
  color: #FBBF24 !important;
  border-color: rgba(251, 191, 36, 0.5) !important;
}
.c-btn {
  background: var(--ds-obsidian) !important;
  border: 1px solid var(--ds-border) !important;
  color: var(--ds-text-2) !important;
}
.c-btn.primary {
  background: #2563EB !important;
  border-color: #2563EB !important;
  color: #fff !important;
}
.c-btn.dl {
  background: rgba(16, 185, 129, 0.14) !important;
  border-color: rgba(16, 185, 129, 0.35) !important;
  color: #34D399 !important;
}


/* ==========================================================================
   7. v5.2 Polish (All 11 Fixes: Logo Size, CTA Banner, Hero Two-Tone,
      White Partner Logos, Announcement Text, Mobile Home & Sticky Header)
   ========================================================================== */

/* Fix #1: Larger white logo in desktop & mobile header */
.site-desktop-header .nav-inner {
  min-height: 74px !important;
}
.ds-site-brand img {
  height: 54px !important;
  max-height: 56px !important;
  width: auto !important;
}

/* Fix #2: Floating Orange Gradient CTA Banner (matching reference) */
.home29-end {
  max-width: 1200px !important;
  margin: 44px auto !important;
  padding: 40px 44px !important;
  border-radius: 20px !important;
  background: linear-gradient(270deg, #EA580C 0%, #C2410C 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 20px 50px rgba(234, 88, 12, 0.24) !important;
}
.home29-end .container {
  padding: 0 !important;
  max-width: none !important;
}
.home29-end .eyebrow {
  color: #FED7AA !important;
}
.home29-end h3,
.home29-end h3 em {
  color: #FFFFFF !important;
}
.home29-end a {
  background: #090B0F !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
  padding: 14px 24px !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35) !important;
}
.home29-end a span {
  color: #EA580C !important;
}

/* Fix #3: Two-Tone AEROCUP in Hero (AERO = Crisp White, CUP = Signal Orange) */
.home29-hero h1 span:first-child,
.mobile-v42-hero h1 {
  color: #FFFFFF !important;
}
.home29-hero h1 span.orange,
.mobile-v42-hero h1 span {
  color: #EA580C !important;
}

/* Fix #4: Remove white background behind white partner logos */
.home29-partner img,
.mobile-v42-partner-list article img {
  background: transparent !important;
  padding: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35)) !important;
}

/* Fix #5: Readable Announcement Detail Body Text */
.announcement-body {
  color: #E2E8F0 !important;
  font-size: 14.5px !important;
  line-height: 2.3 !important;
}
.announcement-summary {
  color: #CBD5E1 !important;
  background: rgba(37, 99, 235, 0.10) !important;
  border: 1px solid rgba(37, 99, 235, 0.28) !important;
}

/* Fix #6: Primary Action Buttons (Add Member, Edit Profile, etc.) */
.primary-btn {
  background: var(--ds-signal) !important;
  border: 1px solid var(--ds-signal) !important;
  color: #FFFFFF !important;
  border-radius: 11px !important;
  padding: 10px 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.24) !important;
  cursor: pointer !important;
}
.primary-btn:hover {
  background: var(--ds-signal-hover) !important;
}
.primary-btn:disabled {
  opacity: 0.45 !important;
  cursor: not-allowed !important;
}

/* Fix #7 & #8: Sticky Mobile Header + Mobile Logout Button */
#site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 90 !important;
}
.mobile-v42-site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 90 !important;
}
.mobile-v42-site-brand img {
  height: 36px !important;
  width: auto !important;
}
.ds-mob-logout-btn {
  width: 100% !important;
  padding: 12px 14px !important;
  border-radius: 11px !important;
  background: rgba(244, 63, 94, 0.14) !important;
  border: 1px solid rgba(244, 63, 94, 0.38) !important;
  color: #FDA4AF !important;
  font: 700 13px var(--ds-font) !important;
  cursor: pointer !important;
  text-align: center !important;
  margin-top: 6px !important;
}

/* Fix #9: Complete Dark Swiss Styling for Mobile Homepage (.inline-mobile-home) */
.inline-mobile-home,
.mobile-v42-poster,
.mobile-v42-flow,
.aerocup-roadmap,
.mobile-v42-partners {
  background: transparent !important;
  color: var(--ds-text) !important;
  border-color: var(--ds-border) !important;
}
.mobile-v42-hero,
.mobile-v42-dark {
  background: linear-gradient(135deg, rgba(16, 21, 32, 0.94) 0%, rgba(21, 28, 43, 0.96) 100%) !important;
  border-bottom: 1px solid var(--ds-border) !important;
}
.mobile-v42-stat-strip > div,
.mobile-v42-flow-list a,
.mobile-v42-principles article,
.mobile-v42-partner-list article,
.roadmap-note {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.94) 0%, rgba(18, 22, 31, 0.98) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 14px !important;
  color: var(--ds-text) !important;
}
.mobile-v42-flow-list a strong,
.mobile-v42-partner-list article strong,
.roadmap-step h4,
.roadmap-head h3,
.mobile-v42-section-head h2 {
  color: #F8FAFC !important;
}
.mobile-v42-flow-list a span,
.mobile-v42-partner-list article span,
.roadmap-step p,
.roadmap-head p {
  color: var(--ds-muted) !important;
}
.mobile-v42-flow-list a b {
  color: #60A5FA !important;
}
.mobile-v42-flow-list a i {
  color: #F59E0B !important;
}
.mobile-v42-section-head span {
  color: #F59E0B !important;
}
.roadmap-step {
  border-color: var(--ds-border) !important;
}
.mobile-v42-final {
  margin: 18px 14px 28px !important;
  border-radius: 18px !important;
  background: linear-gradient(270deg, #EA580C 0%, #C2410C 100%) !important;
  box-shadow: 0 14px 36px rgba(234, 88, 12, 0.25) !important;
}
.mobile-v42-final a {
  background: #090B0F !important;
  color: #FFFFFF !important;
  border-radius: 12px !important;
}

/* Fix #10: Ensure Committee cards stay dark on mobile too */
.committee-card,
.scientific-card,
.intro-copy,
.intro-stats,
.stat {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.94) 0%, rgba(18, 22, 31, 0.98) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  color: var(--ds-text) !important;
}
.committee-card h3, .scientific-card h3, .stat b {
  color: #F8FAFC !important;
}
.committee-card p, .scientific-card p, .stat span {
  color: var(--ds-muted) !important;
}


/* ==========================================================================
   8. v5.3 Specificity Fixes (Mobile Homepage, Mobile Committee, About .flow)
   ========================================================================== */

/* Fix #1a: Mobile Homepage Roadmap & Sections (override site.css media queries) */
html body .aerocup-roadmap,
html body.public-v42-mobile .aerocup-roadmap,
html body .inline-mobile-home,
html body.public-v42-mobile .inline-mobile-home,
html body.public-v42-mobile .inline-mobile-home > section:not(.mobile-v42-final):not(.mobile-v42-hero):not(.mobile-v42-dark),
html body.public-v42-mobile .mobile-v42-poster,
html body.public-v42-mobile .mobile-v42-flow,
html body.public-v42-mobile .mobile-v42-partners {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border-color: var(--ds-border) !important;
}
html body .aerocup-roadmap:before,
html body.public-v42-mobile .aerocup-roadmap:before {
  display: none !important;
}
html body.public-v42-mobile .roadmap-step {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.94) 0%, rgba(18, 22, 31, 0.98) 100%) !important;
  border: 1px solid var(--ds-border) !important;
  border-radius: 14px !important;
  padding: 16px 14px !important;
  margin-bottom: 10px !important;
}
html body.public-v42-mobile .roadmap-dot {
  box-shadow: 0 0 0 4px #12161F, 0 0 0 6px rgba(245, 158, 11, 0.45) !important;
}

/* Fix #1b: Mobile Committee Cards (override site.css mobile rules) */
html body .committee-page .committee-card,
html body.public-v42-mobile .committee-card,
html body.public-v42-mobile .committee-list .committee-card,
html body.public-v42-mobile .executive-grid .committee-card,
html body.public-v42-mobile .intro-copy,
html body.public-v42-mobile .intro-stats,
html body.public-v42-mobile .stat {
  background: linear-gradient(180deg, rgba(22, 27, 38, 0.95) 0%, rgba(18, 22, 31, 0.99) 100%) !important;
  background-color: #12161F !important;
  border: 1px solid var(--ds-border) !important;
  color: var(--ds-text) !important;
}
html body.public-v42-mobile .committee-card h3 {
  color: #F8FAFC !important;
}
html body.public-v42-mobile .committee-card p {
  color: var(--ds-muted) !important;
}

/* Fix #3: Remove white background strip behind .flow cards on About page */
html body .about-page .flow,
html body .about-section .flow {
  background: transparent !important;
  background-color: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}


/* ==========================================================================
   9. v5.4 Final Fix: Mobile Homepage Main/Body Light Background Override
   ========================================================================== */
html body.homepage-inline,
html body.public-v42-mobile,
html body.homepage-inline.public-v42-mobile,
html body.homepage-inline main#top,
html body.public-v42-mobile main#top,
html body.homepage-inline .inline-mobile-home {
  background-color: #090B0F !important;
  background-image:
    radial-gradient(circle at 14% 0%, rgba(37, 99, 235, 0.14), transparent 38%),
    radial-gradient(circle at 86% 6%, rgba(245, 158, 11, 0.10), transparent 36%),
    linear-gradient(rgba(31, 38, 51, 0.30) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 38, 51, 0.30) 1px, transparent 1px) !important;
  background-size: 100% 100%, 100% 100%, 34px 34px, 34px 34px !important;
}
html body.homepage-inline main#top > .inline-mobile-home > section:not(.mobile-v42-final):not(.mobile-v42-hero):not(.mobile-v42-dark) {
  background: transparent !important;
  background-color: transparent !important;
}
