:root {
  --bg: #eef5fb;
  --bg2: #dbeaf7;
  --card: rgba(255, 255, 255, 0.72);
  --line: rgba(28, 48, 78, 0.12);
  --ink: #1c304e;
  --muted: #51627c;
  --accent: #d9731a;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15171f;
    --bg2: #23202c;
    --card: rgba(255, 255, 255, 0.06);
    --line: rgba(255, 255, 255, 0.12);
    --ink: #eef2f8;
    --muted: #a7b1c2;
    --accent: #ffc170;
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(170deg, var(--bg), var(--bg2)) fixed;
  min-height: 100vh;
}
a { color: inherit; text-underline-offset: 3px; }
.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }
header.top { display: flex; align-items: center; gap: 12px; padding: 22px 0; }
header.top img { width: 36px; height: 36px; border-radius: 9px; }
header.top .name { font-weight: 700; letter-spacing: 3px; }
header.top nav { margin-left: auto; display: flex; gap: 20px; font-size: 15px; }
header.top nav a { text-decoration: none; color: var(--muted); }
header.top nav a:hover { color: var(--ink); }

.hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding: 40px 0 60px; }
.hero .appicon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18); }
.hero h1 { font-size: clamp(44px, 8vw, 76px); letter-spacing: 8px; margin: 18px 0 4px; line-height: 1; }
.hero .tag { font-size: 24px; color: var(--muted); margin: 0 0 22px; }
.hero p { color: var(--muted); max-width: 32em; }
/* Main page: real sky photo behind the header and hero (Wael 2026-11-29), white text like the app. Same in light and dark. */
.skyband { position: relative; overflow: hidden; color: #fff; background: #2a6aa6; }
/* moving clouds: the photo drifts slowly sideways and breathes a little (still with Reduce Motion) */
.skyband::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 125%; background: url('/WTHR/img/sky-hero.jpg') center bottom / cover no-repeat; animation: sky-drift 70s ease-in-out infinite alternate; will-change: transform; }
@keyframes sky-drift { from { transform: translateX(0) scale(1.02); } to { transform: translateX(-20%) scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .skyband::before { animation: none; } }
@media (max-width: 640px) {
  header.top { flex-wrap: wrap; }
  header.top nav { margin-left: 0; width: 100%; flex-wrap: wrap; gap: 6px 16px; }
}
.skyband::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 90px; background: linear-gradient(to bottom, transparent, var(--bg)); pointer-events: none; }
.skyband .wrap { position: relative; z-index: 1; }
.skyband header.top nav a { color: rgba(255, 255, 255, 0.88); text-shadow: 0 1px 6px rgba(10, 40, 80, 0.35); }
.skyband header.top nav a:hover { color: #fff; }
.skyband .hero { padding-bottom: 110px; }
.skyband .hero h1, .skyband header.top .name { color: #fff; text-shadow: 0 2px 14px rgba(10, 40, 80, 0.35); }
.skyband .hero .tag, .skyband .hero p { color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 8px rgba(10, 40, 80, 0.35); }
.skyband .badge { color: #fff; background: rgba(30, 80, 140, 0.3); border-color: rgba(255, 255, 255, 0.45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.skyband .hero .shot { box-shadow: 0 24px 60px rgba(10, 40, 80, 0.35); }
/* Store badges: official artwork at the same visible height (the Play PNG carries its own clear space). */
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 26px; }
.stores .store { display: inline-flex; opacity: 0.92; }
.stores .as { height: 48px; width: auto; }
.stores .gp { height: 71px; width: auto; margin: -11.5px; }
.stores-soon { flex-basis: 100%; font-size: 13px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255, 255, 255, 0.9); text-shadow: 0 1px 6px rgba(10, 40, 80, 0.35); }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.badge { border: 1px solid var(--line); background: var(--card); border-radius: 999px; padding: 8px 16px; font-size: 14px; color: var(--muted); }
.hero .shot { justify-self: center; width: min(320px, 80vw); border-radius: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.25); }

h2 { font-size: 28px; margin: 0 0 18px; }


footer { border-top: 1px solid var(--line); padding: 26px 0 40px; color: var(--muted); font-size: 14px; }
footer .row { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 10px; }
footer .credits { font-size: 12.5px; opacity: 0.85; }

/* policy page */
.doc { max-width: 720px; padding-bottom: 40px; }
.doc h1 { font-size: 38px; margin: 20px 0 4px; }
.doc .updated { color: var(--muted); margin-bottom: 30px; }
.doc h2 { font-size: 21px; margin: 34px 0 8px; }
.doc p, .doc li { color: var(--ink); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .note { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }

@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; padding-top: 16px; text-align: left; }
  .hero .shot { width: min(300px, 86vw); }
  header.top nav { gap: 14px; }
}

/* WTHR+ / TRVL+ banner (same as the app; animated by plus-banner.js). Gold frame, black base, sky layer fades in and out. */
.plus-banner {
  position: relative; display: block; margin: 0 0 60px; padding: 2.4px; border-radius: 24px; text-decoration: none; overflow: hidden;
  background: linear-gradient(135deg, #F6E3A6, #C9A24A 25%, #8A6A26 50%, #E3B95C 75%, #F6E3A6);
  box-shadow: 0 24px 60px -28px rgba(216, 178, 92, 0.55); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.plus-banner:hover { transform: translateY(-2px); box-shadow: 0 30px 70px -26px rgba(216, 178, 92, 0.7); }
.plus-banner .pb-base, .plus-banner .pb-sky { position: absolute; inset: 2.4px; border-radius: 21.6px; }
.plus-banner .pb-base { background: linear-gradient(135deg, #1D1B16, #0B0B0C 50%, #1A160C); }
.plus-banner .pb-sky { background: #2F6EA8 url('/WTHR/img/plus/banner-sky.jpg') center 75% / cover no-repeat; }
.plus-banner .pb-hair { position: absolute; inset: 7px; border-radius: 18px; border: 0.7px solid rgba(227, 185, 92, 0.45); pointer-events: none; }
.plus-banner .pb-art { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.plus-banner .pb-row { position: relative; display: flex; align-items: center; gap: 22px; padding: 30px 30px 24px; }
.plus-banner .pb-col { flex: 1; min-width: 0; }
.plus-banner .pb-rule { position: relative; width: 132px; height: 1px; margin-top: 12px; }
.plus-banner .pb-rule i { position: absolute; inset: 0; }
.plus-banner .pb-rule-gold { background: linear-gradient(90deg, rgba(227,185,92,0), rgba(227,185,92,0.9), rgba(227,185,92,0)); }
.plus-banner .pb-rule-day { background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.9), rgba(255,255,255,0)); }
.plus-banner .pb-soon { text-shadow: 0 1px 5px rgba(10, 40, 80, 0.45); margin-top: 9px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; color: #fff; }
.plus-banner .pb-medals { display: flex; gap: 16px; }
.plus-banner .pb-item { width: 64px; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.plus-banner .pb-coin { position: relative; width: 58px; height: 58px; border-radius: 50%; }
.plus-banner .pb-face { position: absolute; inset: 0; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.plus-banner .pb-face svg { width: 27px; height: 27px; }
.plus-banner .pb-gold { background: radial-gradient(circle at 35% 20%, #201B10, #0B0B0C 70%) padding-box, linear-gradient(135deg, #F6E3A6, #C9A24A, #8A6A26, #E3B95C, #F6E3A6) border-box; border: 2px solid transparent; opacity: 0; }
.plus-banner .pb-day { border: 2px solid rgba(255, 255, 255, 0.9); background: rgba(40, 90, 150, 0.32); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.plus-banner .pb-labels { position: relative; align-self: stretch; height: 16px; }
.plus-banner .pb-l { text-shadow: 0 1px 5px rgba(10, 40, 80, 0.5); position: absolute; inset: 0; text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0.06em; }
.plus-banner .pb-lday { color: rgba(255, 255, 255, 0.95); }
.plus-banner .pb-lgold { color: rgba(235, 200, 115, 0.9); opacity: 0; }
.plus-banner .pb-go { white-space: nowrap; text-shadow: 0 1px 6px rgba(10, 40, 80, 0.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); margin-left: 10px; padding: 11px 20px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.75); color: #fff; font-size: 15px; font-weight: 600; letter-spacing: 0.04em; }
@media (max-width: 760px) {
  .plus-banner .pb-row { flex-wrap: wrap; padding: 24px 20px 20px; gap: 14px; }
  .plus-banner .pb-col { flex-basis: 100%; }
  .plus-banner .pb-go { margin-left: 0; }
}


/* What's inside: bento tiles, each with a real screen from the app (Wael 2026-11-29). */
.sec-head { max-width: 640px; margin: 0 0 28px; }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 44px); line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 12px; }
.sec-head p { margin: 0; color: var(--muted); font-size: 18px; }
.inside { margin: 20px 0 90px; }
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  grid-template-areas: "temp temp ring" "arc arc ring" "wear act act" "wear air world" "alert alert world"; }
.tile { position: relative; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 26px; padding: 22px; display: flex; flex-direction: column; gap: 18px;
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 18px 40px -28px rgba(20, 50, 90, 0.35); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.tile:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -26px rgba(20, 50, 90, 0.45); }
.tile h3 { margin: 12px 0 6px; font-size: 19px; letter-spacing: -0.01em; }
.tile p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.tile .ic { display: inline-flex; width: 42px; height: 42px; border-radius: 13px; align-items: center; justify-content: center; background: linear-gradient(135deg, #2F6EA8, #6AA9D6); box-shadow: 0 6px 16px -6px rgba(47,110,168,0.7); }
.tile .ic svg { width: 23px; height: 23px; fill: #fff; }
.tile .shot { flex: 1; min-height: 190px; border-radius: 18px; overflow: hidden; background: #24222e; box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset; }
.tile .shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: transform 0.6s cubic-bezier(.2,.8,.2,1); }
.tile:hover .shot img { transform: scale(1.03); }
.t-temp { grid-area: temp; flex-direction: row; align-items: stretch; }
.t-temp .tx, .t-arc .tx, .t-act .tx { flex: 0 0 34%; align-self: center; }
.t-temp .shot, .t-arc .shot, .t-act .shot { min-height: 220px; }
.t-arc { grid-area: arc; flex-direction: row; align-items: stretch; }
.t-ring { grid-area: ring; }
.t-wear { grid-area: wear; }
.t-wear .shot { background: #313234; }
.t-wear .shot img { object-fit: contain; object-position: center top; }
.t-act { grid-area: act; flex-direction: row; align-items: stretch; }
.t-act .shot img { object-position: center 30%; }
.t-air { grid-area: air; }
.t-world { grid-area: world; }
.t-alert { grid-area: alert; flex-direction: row; align-items: center; }
.t-alert .tx { display: grid; grid-template-columns: auto 1fr; column-gap: 16px; align-items: center; }
.t-alert .tx .ic { grid-row: span 2; background: linear-gradient(135deg, #FB8500, #FFD166); box-shadow: 0 6px 16px -6px rgba(251,133,0,0.7); }
.t-alert h3 { margin-top: 0; }

/* Screens: four phones, the middle two raised, a soft glow behind */
.screens { position: relative; margin: 0 0 90px; }
.phones { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; align-items: start; padding: 10px 0 0; }
.phones::before { content: ""; position: absolute; inset: 10% 5% 0; background: radial-gradient(50% 60% at 50% 50%, rgba(106,169,214,0.45), transparent 70%); filter: blur(30px); z-index: -1; }
.phones figure { margin: 0; text-align: center; transition: transform 0.35s cubic-bezier(.2,.8,.2,1); }
.phones figure:nth-child(2), .phones figure:nth-child(3) { transform: translateY(-26px); }
.phones figure:hover { transform: translateY(-36px) scale(1.02); }
.phones img { width: 100%; display: block; border-radius: 26px; box-shadow: 0 30px 60px -24px rgba(10, 30, 60, 0.55), 0 0 0 1px var(--line); }
@media (max-width: 860px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "temp temp" "arc arc" "ring wear" "act act" "air world" "alert alert"; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; grid-template-areas: "temp" "arc" "ring" "wear" "act" "air" "world" "alert"; }
  .t-temp, .t-arc, .t-act { flex-direction: column; }
  .t-temp .tx, .t-arc .tx, .t-act .tx { flex: none; align-self: stretch; }
  .tile .shot { min-height: 0; flex: none; }
  .tile .shot img { height: auto; }
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -20px; padding: 10px 20px 20px; scrollbar-width: none; }
  .phones::-webkit-scrollbar { display: none; }
  .phones figure { flex: 0 0 68%; scroll-snap-align: center; }
  .phones figure:nth-child(2), .phones figure:nth-child(3) { transform: none; }
}
