:root{
  --navy:#1B3A5C;
  --blue:#2F80ED;
  --gold:#C9962A;
  --green:#16A34A;
  --amber:#F2A900;
  --red:#DC2626;

  --bg:#F3F6FA;
  --bg-elevated:#FFFFFF;
  --card:#FFFFFF;
  --muted:#5B6B7C;
  --line:rgba(21,32,43,.10);
  --text:#15202B;
  --text-soft:rgba(21,32,43,.72);
  --surface:rgba(21,32,43,.035);
  --surface-strong:rgba(21,32,43,.06);

  --shadow: 0 14px 36px rgba(21,32,43,.10);
  --shadowSoft: 0 8px 22px rgba(21,32,43,.07);
  --radius: 18px;
  --radiusSm: 12px;

  --max: 1180px;
  --ease: .18s ease;
  --topbar-scroll-offset: 90px;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;color-scheme:light;scroll-padding-top:var(--topbar-scroll-offset);}
html,body{height:100%;}
html{overflow-x:hidden;}
body{
  margin:0;
  font-family: "DM Sans", Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1200px 420px at 10% -10%, rgba(47,128,237,.10), transparent 55%),
    radial-gradient(900px 380px at 100% 0%, rgba(242,138,0,.08), transparent 50%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  overflow-x:hidden;
}
img,video,svg,canvas{max-width:100%;height:auto;}
table{max-width:100%;}
a{color:inherit;text-decoration:none;}
.container{width:min(var(--max), calc(100% - 40px));margin:0 auto;}

/* Keep hash/scroll targets clear of the sticky topbar */
#profile-completion,
#taskTop,
#verifyTop{
  scroll-margin-top: calc(var(--topbar-scroll-offset) + 8px);
}

.topbar{
  position:sticky;top:0;z-index:50;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(21,32,43,.06);
}
.topbarInner{
  display:flex;align-items:center;justify-content:space-between;
  padding: 12px 0; gap:16px;
}
.brand{display:flex;align-items:center;gap:12px;min-width:220px;transition:opacity var(--ease);}
.brand:hover{opacity:.88;}
.brand img{height:88px;width:auto;display:block;} /* LOGO SIZE FIX */
.nav{display:flex;align-items:center;gap:6px;font-weight:700;color:var(--text-soft);font-size:15px;}
.nav a{padding:10px 14px;border-radius:999px;transition:background var(--ease), color var(--ease);}
.nav a:hover{background:rgba(47,128,237,.10);color:var(--navy);}

.ctaRow{display:flex;gap:8px;align-items:center;justify-content:flex-end;flex-wrap:nowrap;min-width:0;}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  padding:12px 16px;border-radius:999px;border:1px solid transparent;
  font-weight:800;cursor:pointer;white-space:nowrap;
  transition:transform var(--ease), box-shadow var(--ease), background var(--ease), border-color var(--ease), opacity var(--ease);
}
.btn:hover{transform:translateY(-1px);}
.btn:active{transform:translateY(1px);}
.btnPrimary{
  background: linear-gradient(180deg, #FFB24C, #F28A00);
  color:#111;
  box-shadow: 0 10px 24px rgba(242,138,0,.24);
}
.btnPrimary:hover{box-shadow: 0 14px 30px rgba(242,138,0,.30);}
.btnGhost{
  background: #fff;
  border-color: rgba(21,32,43,.14);
  color: var(--text);
}
.btnGhost:hover{
  border-color: rgba(47,128,237,.45);
  background: rgba(47,128,237,.08);
}

.hero{
  position:relative;
  padding:58px 0 30px;
  color:#fff;
  overflow:hidden;
  background:#1B3A5C;
}

/* BACKGROUND CAROUSEL LAYERS (behind form) */
.hero .heroBg{
  position:absolute; inset:0;
  background-size:cover;
  background-position:center;
  opacity:0;
  transform: scale(1.03) translateX(-18px);
  transition: opacity 900ms ease, transform 4500ms ease;
  will-change: opacity, transform;
  z-index:0;
}
.hero .heroBg.is-active{
  opacity:1;
  transform: scale(1.03) translateX(18px);
}
.hero .heroOverlay{
  position:absolute; inset:0;
  background:
    linear-gradient(115deg, rgba(15,32,48,.78) 0%, rgba(15,32,48,.48) 48%, rgba(47,128,237,.22) 100%),
    linear-gradient(180deg, rgba(0,0,0,.22), rgba(0,0,0,.42));
  z-index:1;
}
.hero > .container{ position:relative; z-index:2; }

.heroGrid{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:30px;
  align-items:stretch;
}
.hero h1{
  margin:0 0 12px;
  font-size: clamp(34px, 4.2vw, 54px);
  line-height:1.05;
  letter-spacing:-0.03em;
  font-weight:800;
}
.hero p{
  margin:0 0 24px;
  color: rgba(255,255,255,.90);
  font-size:18px;
  line-height:1.5;
  max-width:62ch;
}

.searchCard{
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 24px 60px rgba(0,0,0,.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.searchRow{
  display:grid;
  grid-template-columns:1.1fr .9fr auto;
  gap:10px;
  align-items:stretch;
}
.field{display:flex;flex-direction:column;gap:6px;}
.label{
  font-size:12px;
  color: var(--muted);
  font-weight:800;
  letter-spacing:.04em;
  text-transform: uppercase;
}
.hero .label{
  color: rgba(255,255,255,.78);
}
input,select,textarea{
  width:100%;
  padding:14px 14px;
  border-radius:12px;
  border:1px solid rgba(21,32,43,.14);
  background: #fff;
  color:#15202B;
  font-size:15px;
  font-family:inherit;
  outline:none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
input[type="checkbox"],
input[type="radio"]{
  width:18px;
  height:18px;
  min-width:18px;
  max-width:18px;
  padding:0;
  margin:0;
  border-radius:4px;
  flex:0 0 auto;
  accent-color: var(--blue);
  box-shadow:none;
}
textarea{min-height:120px;resize:vertical;}
input:focus,select:focus,textarea:focus{
  border-color: rgba(242,138,0,.75);
  box-shadow: 0 0 0 4px rgba(242,138,0,.18);
}
input[type="checkbox"]:focus,
input[type="radio"]:focus{
  box-shadow: 0 0 0 3px rgba(47,128,237,.22);
}
.section input,.section select,.section textarea,
.cardBox input,.cardBox select,.cardBox textarea,
.authCard input,.authCard select,.authCard textarea{
  background: #fff;
  border-color: rgba(21,32,43,.14);
  color: var(--text);
}
input::placeholder,
textarea::placeholder,
select::placeholder,
.section input::placeholder,
.section textarea::placeholder,
.cardBox input::placeholder,
.cardBox textarea::placeholder,
.authCard input::placeholder,
.authCard textarea::placeholder{
  color: #5B6B7C;
  opacity: 1;
}
input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder{
  color: #5B6B7C;
  opacity: 1;
}
input::-moz-placeholder,
textarea::-moz-placeholder{
  color: #5B6B7C;
  opacity: 1;
}
input:-ms-input-placeholder,
textarea:-ms-input-placeholder{
  color: #5B6B7C;
  opacity: 1;
}
.notePill{
  margin-top:12px;
  display:inline-flex;
  gap:10px;align-items:center;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(212,175,55,.18);
  border: 1px solid rgba(212,175,55,.38);
  color: rgba(255,255,255,.95);
  font-weight:800;
  width:fit-content;
}
.notePill .dot{
  width:10px;height:10px;border-radius:50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,175,55,.18);
  animation: fibPulse 2s ease infinite;
}
@keyframes fibPulse{
  0%,100%{opacity:1}
  50%{opacity:.45}
}

.heroSide{
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  padding:20px;
  backdrop-filter: blur(8px);
}
.heroSide h3{margin:0 0 12px;font-size:16px;color:rgba(255,255,255,.96);font-weight:800;}
.trustList{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px;}
.trustItem{
  display:flex;gap:12px;align-items:flex-start;
  padding:12px;border-radius:14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.12);
  transition: background var(--ease), border-color var(--ease);
}
.trustItem:hover{
  background: rgba(0,0,0,.26);
  border-color: rgba(255,255,255,.20);
}
.badgeIcon{
  width:38px;height:38px;border-radius:12px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;flex:0 0 auto;
}
.bGold{background: rgba(212,175,55,.16); border:1px solid rgba(212,175,55,.35);}
.bVer{background: rgba(45,190,127,.14); border:1px solid rgba(45,190,127,.30);}
.bFree{background: rgba(47,128,237,.14); border:1px solid rgba(47,128,237,.30);}
.trustItem strong{display:block;color:#fff;}
.trustItem span{display:block;color: rgba(255,255,255,.80);font-size:13px;line-height:1.25;}

.steps{padding:22px 0 0;margin-top:-18px;}
.stepsRow{
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display:grid;
  grid-template-columns:repeat(3,1fr);
  overflow:hidden;
}
.step{padding:20px;display:flex;gap:14px;align-items:flex-start;transition:background var(--ease);}
.step:hover{background:rgba(47,128,237,.05);}
.step + .step{border-left:1px solid var(--line);}
.stepIcon{
  width:44px;height:44px;border-radius:14px;
  background: rgba(242,138,0,.14);
  border: 1px solid rgba(242,138,0,.28);
  display:flex;align-items:center;justify-content:center;
  flex:0 0 auto;font-weight:900;color: #D97706;
}
.step h4{margin:0 0 6px;font-size:16px;color:var(--text);}
.step p{margin:0;color:var(--muted);font-size:14px;line-height:1.35;}

.section{padding:48px 0;}
.sectionHeader{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin-bottom:18px;}
.sectionHeader h2{margin:0;font-size:clamp(24px, 2.6vw, 30px);letter-spacing:-0.02em;font-weight:800;color:var(--text);}
.sectionHeader p{margin:6px 0 0;color:var(--muted);max-width:70ch;line-height:1.45;}

.chips{display:flex;gap:10px;flex-wrap:wrap;}
.chip{
  background: var(--card);
  border:1px solid var(--line);
  padding:12px 16px;
  border-radius:999px;
  display:flex;gap:10px;align-items:center;
  box-shadow: var(--shadowSoft);
  font-weight:800;
  color: var(--text);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.chip:hover{
  transform:translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(47,128,237,.35);
}

.grid{display:grid;grid-template-columns:1.1fr .9fr;gap:18px;align-items:start;margin-top:16px;}
.card{
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadowSoft);
  overflow:hidden;
  transition: box-shadow var(--ease), transform var(--ease);
}
.card:hover{box-shadow: var(--shadow);}
.cardPad{padding:18px;}
.cardHeader{
  padding:14px 16px;
  display:flex;align-items:center;justify-content:space-between;
  gap:12px;
  background: linear-gradient(180deg, rgba(242,138,0,.14), rgba(242,138,0,.04));
  border-bottom: 1px solid var(--line);
}
.cardHeader h3{margin:0;font-size:16px;color:var(--text);}
.list{display:flex;flex-direction:column;}
.row{
  display:flex;gap:14px;align-items:center;
  padding:14px 16px;
  border-top:1px solid var(--line);
  transition:background var(--ease);
}
.row:first-child{border-top:none;}
.row:hover{background:rgba(47,128,237,.05);}
.avatar{
  width:44px;height:44px;border-radius:14px;
  background: linear-gradient(180deg, #E8EEF5, #D9E2EC);
  border: 1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  font-weight:900;color: var(--muted);
}
.rowMain{flex:1 1 auto;min-width:0;}
.rowMain strong{display:block;}
.rowMain small{display:block;color:var(--muted);margin-top:3px;}
.stars{color: var(--amber); font-weight:900; letter-spacing:1px;}
.btnSm{
  padding:10px 12px;border-radius:999px;
  border: 1px solid rgba(21,32,43,.14);
  background: #fff;
  color: var(--text);
  font-weight:800;
  transition: border-color var(--ease), color var(--ease);
}
.btnSm:hover{border-color:var(--blue);color:var(--blue);}
.btnSmPrimary{
  border-color:transparent;
  background: linear-gradient(180deg, #FFB24C, #F28A00);
  color:#111;
}

.testGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px;}
.tCard{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadowSoft);
  padding:18px;
  display:flex;flex-direction:column;gap:10px;
  transition: transform var(--ease), box-shadow var(--ease);
}
.tCard:hover{
  transform:translateY(-3px);
  box-shadow: var(--shadow);
}
.tTop{display:flex;gap:12px;align-items:center;}
.tAvatar{
  width:44px;height:44px;border-radius:14px;
  background: rgba(47,128,237,.10);
  border: 1px solid rgba(47,128,237,.22);
  display:flex;align-items:center;justify-content:center;
  font-weight:900;color: var(--blue);
}
.tName{font-weight:800;color:var(--text);}
.tMeta{color:var(--muted);font-size:13px;}
.tQuote{color: var(--text-soft);font-size:14px;line-height:1.5;}
.tStars{color: var(--amber); font-weight:900; letter-spacing:1px;}

.faqStrip{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:16px;}
.faq{
  background: var(--card);
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadowSoft);
  padding:18px;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.faq:hover{
  border-color: rgba(47,128,237,.30);
  box-shadow: var(--shadow);
}
.faq strong{display:block;margin-bottom:6px;color:var(--text);}
.faq span{color:var(--muted);font-size:14px;line-height:1.45;}

.footer{
  padding:40px 0 48px;
  border-top:1px solid var(--line);
  background: linear-gradient(180deg, #EEF2F7 0%, #E6ECF4 100%);
}
.footerGrid{
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:16px;
  align-items:start;
}
.footer strong{font-size:17px;font-weight:800;color:var(--text);}
.footer small{color:var(--muted);line-height:1.5;}
.footerLinks{display:flex;gap:14px;flex-wrap:wrap;justify-content:flex-end;}
.footerLinks a{color: var(--text-soft); font-weight:700; transition: color var(--ease);}
.footerLinks a:hover{color: var(--blue);}

@media (max-width:980px){
  .heroGrid{grid-template-columns:1fr;}
  .grid{grid-template-columns:1fr;}
  .testGrid{grid-template-columns:1fr;}
  .faqStrip{grid-template-columns:1fr;}
  .footerGrid{grid-template-columns:1fr;}
  .footerLinks{justify-content:flex-start;}
  .brand{min-width:auto;}
  .sectionHeader{flex-direction:column;align-items:flex-start;}
}
@media (max-width:900px){
  :root{ --topbar-scroll-offset: 72px; }
  .topbar .nav{display:none;}
  .navToggle{display:inline-flex;}
  .topbarInner{
    flex-wrap:nowrap;
    gap:8px;
    padding:8px 0;
  }
  .brand{min-width:0;flex:0 1 auto;}
  .brand img{
    height:36px;
    max-width:min(42vw, 150px);
    width:auto;
    object-fit:contain;
  }
  .ctaRow{
    width:auto;
    flex:1 1 auto;
    min-width:0;
    flex-wrap:nowrap;
    justify-content:flex-end;
    gap:6px;
  }
  .ctaRow .btn{
    flex:0 1 auto;
    min-width:0;
    padding:8px 10px;
    font-size:12px;
    white-space:nowrap;
    text-align:center;
  }
}
@media (max-width:720px){
  .searchRow{grid-template-columns:1fr;}
  .stepsRow{grid-template-columns:1fr;}
  .step + .step{border-left:none;border-top:1px solid var(--line);}
  .container{width:calc(100% - 28px);}
  .section{padding:28px 0;}
  .hero{padding:36px 0 24px;}
  .btn{padding:11px 14px;}
  .cardPad{padding:16px;}
}
/* Badge images (PNG) */
.badgeRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:10px;
  align-items:center;
}

.badgeImg{
  height:42px;
  width:auto;
  display:block;
  filter: drop-shadow(0 8px 18px rgba(21,32,43,.12));
}

.badgeImg.small{
  height:36px;
  filter: drop-shadow(0 6px 14px rgba(21,32,43,.10));
}

.tradeCard{
  padding:16px;
}

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

.tradeAvatar{
  width:54px;
  height:54px;
  border-radius:16px;
  background: linear-gradient(180deg, #E8EEF5, #D9E2EC);
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  color: var(--muted);
  overflow:hidden;
}
.tradeAvatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.tradeMeta{
  color: var(--muted);
  font-size:13px;
  margin-top:4px;
}

.tradeActions{
  margin-left:auto;
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
}

@media(max-width:720px){
  .tradeActions{ width:100%; justify-content:flex-end; margin-left:0; }
  .badgeImg{ height:38px; }
}
/* Badge carousel (homepage) */
.badgeBelt{
  position: relative;
  padding: 16px;
  overflow: hidden;
}

.badgeTrack{
  display:flex;
  gap:14px;
  align-items:center;
  overflow-x:auto;
  padding: 10px 6px;
  scroll-behavior: smooth;
}

/* Hide scrollbar but keep scroll */
.badgeTrack::-webkit-scrollbar{height:10px}
.badgeTrack::-webkit-scrollbar-thumb{background:rgba(21,32,43,.14);border-radius:999px}
.badgeTrack{scrollbar-color: rgba(21,32,43,.18) transparent}

.badgeItem{
  flex: 0 0 auto;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadowSoft);
  cursor: pointer;
}

.badgeItem img{
  height: 56px;
  width: auto;
  display:block;
  transition: transform 160ms ease, filter 160ms ease;
  filter: drop-shadow(0 10px 18px rgba(21,32,43,.12));
}

.badgeItem:hover img{
  transform: scale(2.2);
  filter: drop-shadow(0 20px 30px rgba(21,32,43,.18));
  z-index: 9999;
}

/* Tooltip */
.badgeTip{
  position:absolute;
  left: 16px;
  right: 16px;
  bottom: 12px;
  background: #15202B;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px 12px;
  color: #fff;
  box-shadow: 0 18px 50px rgba(21,32,43,.22);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events:none;
}

.badgeTip.show{
  opacity: 1;
  transform: translateY(0);
}

.badgeTipTitle{
  font-weight: 900;
  margin-bottom: 4px;
}

.badgeTipDesc{
  font-size: 13px;
  color: rgba(255,255,255,.80);
  line-height: 1.35;
}
/* ===== Badge carousel (Homepage) — seamless flow ===== */

.badgeBelt{
  position: relative;
  padding: 18px;
  overflow: hidden; /* keeps the belt clean */
}

/* Moving belt container */
.badgeTrack{
  display:flex;
  gap:18px;
  align-items:center;
  width: max-content;
  animation: badgeFlow 28s linear infinite;
  will-change: transform;
  padding: 10px 6px;
}

/* Pause flow on hover (so user can inspect) */
.badgeBelt:hover .badgeTrack{
  animation-play-state: paused;
}

@keyframes badgeFlow{
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Individual badge tile */
.badgeItem{
  flex: 0 0 auto;
  position: relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadowSoft);
  cursor: pointer;
}

/* BIGGER by default */
.badgeItem img{
  height: 78px;   /* was too small */
  width: auto;
  display:block;
  transition: transform 160ms ease, filter 160ms ease;
  filter: drop-shadow(0 12px 22px rgba(21,32,43,.14));
}

/* POP OUT ABOVE EVERYTHING */
.badgeItem{
  overflow: visible;
  z-index: 1;
}
.badgeItem:hover{
  z-index: 99999; /* ensures it sits above all */
}

.badgeItem:hover img{
  transform: scale(2.6) translateY(-10px);
  filter: drop-shadow(0 26px 40px rgba(21,32,43,.20));
}

/* Tooltip BELOW belt (so it never gets covered) */
.badgeTip{
  margin-top: 14px;
  background: #15202B;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  box-shadow: 0 18px 50px rgba(21,32,43,.22);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events:none;
}
.badgeTip.show{
  opacity: 1;
  transform: translateY(0);
}
.badgeTipTitle{
  font-weight: 900;
  margin-bottom: 4px;
}
.badgeTipDesc{
  font-size: 13px;
  color: rgba(255,255,255,.80);
  line-height: 1.35;
}

/* Responsive tweaks */
@media(max-width:720px){
  .badgeItem img{ height: 66px; }
}

/* ===========================
   MOBILE NAV (Hamburger)
   =========================== */
.navToggle{
  display:none;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadowSoft);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  padding:0;
}
.navToggle span{
  display:block;
  width:18px;
  height:2px;
  background:#15202B;
  border-radius:2px;
  position:relative;
}
.navToggle span::before,
.navToggle span::after{
  content:"";
  position:absolute;
  left:0;
  width:18px;
  height:2px;
  background:#15202B;
  border-radius:2px;
}
.navToggle span::before{ top:-6px; }
.navToggle span::after{ top:6px; }

.mnavOverlay{
  position:fixed;
  inset:0;
  background: rgba(21,32,43,.42);
  display:none;
  z-index:999999;
}
.mnavOverlay.show{ display:block; }

.mnavPanel{
  position:fixed;
  top:0;
  right:0;
  height:100%;
  width:min(86vw, 360px);
  background:#fff;
  box-shadow: -18px 0 60px rgba(21,32,43,.18);
  transform: translateX(100%);
  transition: transform 180ms ease;
  z-index:1000000;
  display:flex;
  flex-direction:column;
}
.mnavPanel.show{ transform: translateX(0); }

.mnavHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px;
  border-bottom:1px solid var(--line);
  color: var(--text);
}
.mnavClose{
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor:pointer;
  font-size:22px;
  font-weight:900;
  line-height:1;
}

.mnavLinks{
  padding:12px 14px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mnavLinks a{
  padding:12px 12px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  background: var(--surface);
  border:1px solid var(--line);
}
.mnavLinks a.active{
  background: rgba(47,128,237,.10);
  border-color: rgba(47,128,237,.28);
}

.mnavCtas{
  margin-top:auto;
  padding:14px;
  border-top:1px solid var(--line);
  display:flex;
  gap:10px;
}
.mnavCtas .btn{ width:100%; justify-content:center; }

/* Soft surfaces for pages with shared card classes */
.cardBox,
.authCard,
.hiwCard,
.hiwHero,
.planCard,
.kpi,
.pageBanner,
.innerHero{
  background: var(--card) !important;
  border-color: var(--line) !important;
  color: var(--text);
}
.cardBox .label,
.authCard .label,
.hiwCard .label{
  color: var(--muted) !important;
  text-transform: none;
  letter-spacing: 0;
}
.err{
  background: rgba(220,38,38,.08);
  border: 1px solid rgba(220,38,38,.22);
  color: var(--text);
}
.ok{
  background: rgba(22,163,74,.10);
  border: 1px solid rgba(22,163,74,.24);
  color: var(--text);
}
.modalBox{
  background: #fff !important;
  color: var(--text);
}
.modalHeader{
  border-bottom-color: var(--line) !important;
}
.modalHeader strong,
.modalClose{
  color: var(--text) !important;
}
.modalClose{
  background: var(--surface) !important;
  border-color: var(--line) !important;
}
.modalBody input{
  background: #fff !important;
  border-color: rgba(21,32,43,.14) !important;
  color: var(--text) !important;
}
.linkBtn{ color: var(--blue) !important; border-bottom-color: rgba(47,128,237,.35) !important; }

/* Shared responsive helpers used across pages */
@media (max-width:900px){
  .authGrid,
  .twoCol,
  .postWrap,
  .hiwGrid,
  .dirHeroGrid,
  .rulesGrid,
  .tierGrid,
  .verifyGrid,
  .namePassGrid{
    grid-template-columns:1fr !important;
  }
}
@media (max-width:720px){
  .btnRow{flex-direction:column;align-items:stretch;}
  .btnRow .btn,.btnRow .linkBtn{width:100%;text-align:center;}
  input:not([type="checkbox"]):not([type="radio"]),select,textarea,.btn{max-width:100%;}
}
.termsRow{
  display:flex;
  gap:10px;
  align-items:flex-start;
  margin-top:10px;
}
.termsRow input[type="checkbox"]{
  width:18px;
  height:18px;
  min-width:18px;
  max-width:18px;
  margin-top:2px;
  flex:0 0 18px;
}
.termsText{
  flex:1 1 auto;
  min-width:0;
  font-size:13px;
  line-height:1.4;
  color:var(--muted);
}
