/* Travel Town Free Energy - main stylesheet (mobile first). Edit colors in :root */
:root{color-scheme:dark}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:76px}
body{margin:0;font:17px/1.65 system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:#e9eefb;background:#141a29;-webkit-text-size-adjust:100%}
img{max-width:100%;height:auto;display:block}a{color:#7db8ff}h1,h2,h3,h4{line-height:1.25;margin:0 0 .6em;color:#fff}
h1{font-size:clamp(2rem,6vw,3rem)}h2{font-size:clamp(1.45rem,4vw,2rem);margin-top:1.4em}h3{font-size:1.2rem}p,ul,ol{margin:0 0 1em}
.wrap{max-width:1100px;margin:0 auto;padding:0 18px}.narrow{max-width:780px}.center{text-align:center}
.skip{position:absolute;left:-999px}.skip:focus{left:8px;top:8px;background:#fff;padding:8px;z-index:99}
.site-header{background:#0b1220;border-bottom:1px solid #26375e;position:sticky;top:0;z-index:50}.bar{display:flex;align-items:center;justify-content:space-between;min-height:64px}
.logo{display:flex;align-items:center;gap:10px;color:#fff;text-decoration:none;font-weight:700;line-height:1.1}.logo span{display:flex;flex-direction:column;font-size:.95rem}.logo b{color:#ff9f1c;font-size:1.05rem}
.menu-btn{display:none;background:none;border:0;padding:12px;min-width:48px;min-height:48px;cursor:pointer}.menu-btn span{display:block;width:24px;height:3px;background:#fff;margin:5px 0;border-radius:2px}
.nav ul{display:flex;gap:6px;list-style:none;margin:0;padding:0}.nav a{display:block;color:#e8eefc;text-decoration:none;padding:12px 14px;border-radius:8px;font-weight:600}.nav a:hover{background:#26375e;color:#fff}
@media(max-width:820px){.menu-btn{display:block}.nav{display:none;position:absolute;left:0;right:0;top:64px;background:#0b1220;border-top:1px solid #26375e}.nav.open{display:block}.nav ul{flex-direction:column;padding:8px 14px 14px}}
.hero{background:linear-gradient(135deg,#0b1220,#2d4a86);color:#fff;padding:28px 0}.hero h1{color:#fff}.hero-in{display:grid;gap:26px;align-items:center}
@media(min-width:860px){.hero-in{grid-template-columns:1.1fr 1fr}}
.eyebrow{color:#ff9f1c;font-weight:700;text-transform:uppercase;font-size:.8rem;letter-spacing:.06em;margin-bottom:.5em}.lead{font-size:1.15rem;color:inherit;opacity:.95}.note{font-size:.88rem;opacity:.8}
.btns{display:flex;flex-wrap:wrap;gap:12px;margin:18px 0}.btn,.claim-button{display:inline-block;background:linear-gradient(135deg,#ff9f1c,#ff4d6d);color:#fff;text-decoration:none;font-weight:700;padding:14px 24px;min-height:48px;border-radius:12px;text-align:center;border:0}
.btn.ghost{background:transparent;border:2px solid rgba(255,255,255,.7)}.btn:hover,.claim-button:hover{filter:brightness(1.08)}
.ph{margin:0;background:#26375e;border-radius:16px;overflow:hidden;aspect-ratio:16/9}.ph img{width:100%;height:100%;object-fit:cover}.ph figcaption{display:none}
.post-body .ph{margin:1.2em 0}.sec{padding:32px 0}.sec h2:first-child,.cta h2:first-child{margin-top:0}.sec .wrap>h2+.sub{margin-top:-.3em}.alt{background:#182034}.sub{color:#a7b2cc}
.cards{display:grid;gap:14px;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))}
.reward-card{background:#1c2438;border:1px solid #2b3550;border-radius:14px;padding:18px;display:flex;flex-direction:column;gap:6px;box-shadow:0 2px 8px rgba(27,42,73,.06)}.reward-card h4{margin:0}.reward-card p{margin:0;color:#a7b2cc;font-size:.95rem}.reward-card .claim-button{margin-top:8px}
.reward-date{font-size:.8rem;color:#a7b2cc;font-weight:600}.status{align-self:flex-start;font-size:.78rem;font-weight:700;padding:3px 10px;border-radius:99px}.status.ok{background:#12382a;color:#5be3a0}.status.old{background:#3d1f24;color:#ff9a9a}
.day{margin-top:22px}.tip{background:#2a2416;border-left:4px solid #ff9f1c;padding:12px 16px;border-radius:8px;margin-top:22px}
.steps{padding-left:1.2em}.steps li{margin-bottom:.6em}.check{list-style:none;padding:0}.check li{padding-left:28px;position:relative;margin-bottom:.4em}.check li:before{content:"\2713";position:absolute;left:0;color:#5be3a0;font-weight:700}
.grid3,.grid2{display:grid;gap:16px}@media(min-width:700px){.grid3{grid-template-columns:repeat(3,1fr)}.grid2{grid-template-columns:repeat(2,1fr)}}
.box,.post{background:#1c2438;border:1px solid #2b3550;border-radius:14px;padding:20px;text-decoration:none;color:#e9eefb;display:block}.post:hover{border-color:#ff9f1c}.post span{color:#7db8ff;font-weight:600}
details{background:#1c2438;border:1px solid #2b3550;border-radius:12px;margin-bottom:10px}summary{cursor:pointer;padding:14px 16px;font-weight:700;color:#fff;min-height:48px}details p{padding:0 16px;margin:0 0 14px}
.cta{background:#0b1220;color:#fff;text-align:center;padding:36px 0}.cta h2{color:#fff;margin-top:0}
.crumbs{padding-top:16px;font-size:.88rem;color:#a7b2cc}.crumbs i{font-style:normal;margin:0 4px}.meta{color:#a7b2cc;font-size:.9rem}.related{background:#182034;border-radius:14px;padding:6px 20px 14px;margin-top:2em}.post-body{padding-top:24px;padding-bottom:40px}
.site-footer{background:#111b30;color:#c8d2ea;padding:36px 0 18px}.site-footer h2{color:#fff;font-size:1rem;margin:0 0 .6em}.site-footer a{color:#c8d2ea}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li{margin-bottom:.4em}
.fgrid{display:grid;gap:24px}@media(min-width:760px){.fgrid{grid-template-columns:2fr 1fr 1fr}}.copy{grid-column:1/-1;font-size:.82rem;border-top:1px solid #26375e;padding-top:14px;margin:0}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Hero: text left, image right (stacked on mobile) */
.hero-in{gap:20px}.hero h1{font-size:clamp(1.9rem,5.4vw,2.9rem);margin-bottom:.4em}.hero .lead{margin-bottom:.8em}
.hero-img{width:100%;height:auto;aspect-ratio:5/4;border-radius:20px;box-shadow:0 12px 30px rgba(0,0,0,.28);max-height:300px;object-fit:cover}
.hero .btns{margin:14px 0}.chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0 0 10px}.chips li{background:rgba(255,255,255,.12);border-radius:99px;padding:4px 12px;font-size:.85rem}
@media(min-width:860px){.hero-in{grid-template-columns:1.1fr 1fr;gap:36px}.hero-img{max-height:none}.hero{padding:44px 0}}
.hero + .sec,.sec + .sec{margin-top:0}.post-body .ph{margin:1em 0}h2{margin-top:1.1em}

/* Safety fallbacks (never depend on variables for the dark areas) */
.site-header{background:#1b2a49}.hero{background:linear-gradient(135deg,#1b2a49,#2d4a86);color:#fff}.hero h1,.hero .lead{color:#fff}.cta{background:#1b2a49}.site-footer{background:#111b30}.nav a{color:#e8eefc}
@media(max-width:820px){.nav{background:#1b2a49}}

/* Dark theme: solid values, no variables */
html,body{background:#141a29;color:#e9eefb}
.site-header{background:#0b1220}.hero{background:linear-gradient(135deg,#131d38,#1f3566);color:#fff}
.site-footer,.cta{background:#0b1220}.alt,.related{background:#182034}
.nav a{color:#e9eefb}.nav a:hover{background:#26375e;color:#fff}.logo{color:#fff}
@media(max-width:820px){.nav{background:#0b1220}}
