/* Rewards Lab light and dark themes. Light values match the original design. */
:root{
  --muted-2:#9aa3b5; --text-2:#3b4356; --surface-2:#f4f6f9; --hero-2:#f3f8fc;
  --amber-line:#f3d27a; --amber-text:#5c4300; --navy:#001433; --rose-text:#0a2a5e; --lane-req:#001433;
  --logo-u:#007FC8; --logo-text:#007FC8;
}
html[data-theme="dark"]{
  color-scheme:dark;
  --ink:#e6edf7; --muted:#a3afc4; --muted-2:#7f8ba3; --text-2:#c6d0e0;
  --line:#26344d; --bg:#0a1222; --card:#111c30; --surface-2:#18243b; --hero-2:#0d1a2e;
  --brand:#1f8ad0; --brand-soft:#123150;
  --amber-soft:#2d2611; --amber-line:#5b4a16; --amber-text:#f2cf73; --gold-text:#e3b43c;
  --green:#45aef0; --green-soft:#123150; --rose-soft:#1b2842; --rose-text:#9db8e8;
  --teal:#4fb3f0; --teal-soft:#123150; --navy:#132a4f; --lane-req:#9db8e8;
  --logo-u:#4fb3f0; --logo-text:#4fb3f0;
}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .logo{color:var(--logo-text)}
.logo .lm path{stroke:var(--logo-u)}
html[data-theme="dark"] .modal{background:rgba(0,0,0,.65)}
html[data-theme="dark"] input,html[data-theme="dark"] textarea,html[data-theme="dark"] select{color:var(--ink);background-color:var(--surface-2);border-color:var(--line)}
html[data-theme="dark"] input::placeholder,html[data-theme="dark"] textarea::placeholder{color:var(--muted-2)}
html[data-theme="dark"] .topbar,html[data-theme="dark"] .dd-menu .box{box-shadow:0 3px 0 var(--amber)}
.theme-toggle{border:1px solid var(--line);background:var(--card);color:var(--ink);border-radius:9px;width:36px;height:36px;display:inline-grid;place-items:center;font-size:16px;cursor:pointer;flex:none;padding:0}
.theme-toggle:hover{background:var(--surface-2)}
@media(max-width:480px){.theme-toggle{width:32px;height:32px;font-size:14px}}

/* YouTube player: shows a cover until the visitor presses play */
.yt{position:relative;aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#0a2a5e,#007FC8)}
.yt iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.yt-cover{position:absolute;inset:0;display:grid;place-items:center;border:0;padding:0;margin:0;background:transparent;cursor:pointer;width:100%;height:100%;color:#fff;font-family:inherit}
div.yt-cover{cursor:default}
.yt-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.yt-play{position:relative;width:62px;height:62px;border-radius:50%;background:rgba(255,255,255,.95);color:#007FC8;display:grid;place-items:center;font-size:22px;box-shadow:0 8px 24px rgba(0,0,0,.3);transition:transform .15s}
button.yt-cover:hover .yt-play{transform:scale(1.08)}
.yt-cap{position:absolute;left:10px;bottom:10px;font-size:12px;background:rgba(0,0,0,.55);color:#fff;padding:3px 9px;border-radius:6px}

/* Tabs: one section of a page at a time */
.tabbar{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;position:sticky;top:61px;z-index:15;background:var(--bg);padding:12px 0;margin:8px 0 22px;border-bottom:1px solid var(--line)}
.tabbar::-webkit-scrollbar{display:none}
.tabbar button{flex:none;white-space:nowrap;border:1px solid var(--line);background:var(--card);color:var(--muted);border-radius:99px;padding:8px 16px;font-family:inherit;font-size:14px;cursor:pointer}
.tabbar button:hover{color:var(--ink)}
.tabbar button.on{background:var(--navy);border-color:var(--navy);color:#fff}
.tabpanel[hidden]{display:none!important}
.tabpanel>section.block:first-child,.tabpanel>.block:first-child{padding-top:4px}
.hero.short{padding:40px 24px 34px}
.hero.short h1{font-size:44px;margin:4px 0 8px}
.hero.short p{margin-bottom:18px}
.benefits .card{display:flex;align-items:center;gap:12px;padding:18px 20px}
.benefits .card h4{margin:0;font-size:18px}
.bicon{font-size:24px}
.qa{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.qa .card h4{margin:0 0 6px;font-size:16.5px}
.qa .card p{margin:0;color:var(--muted);font-size:14.5px}
.helpline{margin-top:16px;font-size:14.5px;color:var(--muted)}
.helpline a{color:var(--brand)}
@media(max-width:900px){.qa{grid-template-columns:1fr}.hero.short h1{font-size:34px}}
@media(max-width:480px){.tabbar{top:53px}}

/* Phone menu */
.menu-btn{display:none;flex:none;width:38px;height:36px;border:1px solid var(--line);background:var(--card);border-radius:9px;padding:0;cursor:pointer;flex-direction:column;justify-content:center;align-items:center;gap:4px}
.menu-btn span{display:block;width:16px;height:2px;border-radius:2px;background:var(--ink);transition:transform .2s,opacity .2s}
.menu-btn.x span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-btn.x span:nth-child(2){opacity:0}
.menu-btn.x span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
.mnav{position:absolute;left:0;right:0;top:100%;background:var(--card);border-bottom:1px solid var(--line);box-shadow:0 14px 30px rgba(0,10,30,.18);max-height:calc(100vh - 64px);overflow-y:auto;padding:6px 16px 16px;z-index:30}
.mnav[hidden]{display:none}
.mgroup{padding:6px 0;border-bottom:1px solid var(--line)}
.mnav a{display:block;text-decoration:none}
.mhead{font-size:16px;color:var(--ink);padding:9px 4px}
.mhead.on{color:var(--brand)}
.mitem{font-size:15px;color:var(--muted);padding:8px 4px 8px 16px}
.mitem:hover,.mhead:hover{color:var(--brand)}
.mbtns{display:flex;gap:8px;padding-top:14px}
.mbtns .btn{flex:1;justify-content:center}
@media(max-width:900px){
  .topbar .nav{display:none!important}
  .menu-btn{display:inline-flex}
  .topbar .search{display:none}
}
@media(max-width:560px){
  .topbar .in>.btn.ghost,.topbar .right-btns>.btn.ghost{display:none}
}
