/* =========================================================================
   Mother — marketing site styles
   Theme engine: data-skin (metal|boring) × data-mode (dark|light) on <html>.
   Palettes, gradient hex + glow taken from the app (MetalPalette / NeatGradient
   clearDayWarm / .metalGlow).
   ========================================================================= */

:root { --maxw: 920px; --radius: 18px; --ease: cubic-bezier(0.22, 1, 0.36, 1); }

/* ---- METAL · DARK (default) ---- */
:root[data-skin="metal"][data-mode="dark"] {
  --bg: #000000; --surface: rgba(255,255,255,0.05); --hairline: #2A2A2A;
  --ink: #F5F5F5; --ink-muted: #BBBBBB; --ink-faint: #6E6E6E;
  --accent: #FF0000; --accent-rgb: 255,0,0; --on-accent: #ffffff;
  --display: "Pirata One", "Rubik", serif; --display-weight: 400; --display-tracking: 0.5px;
  --grain-opacity: 0.10; --grain-blend: screen;
  --glow: drop-shadow(0 0 4px rgba(var(--accent-rgb),0.55)) drop-shadow(0 0 13px rgba(var(--accent-rgb),0.22));
}
/* ---- METAL · LIGHT (warm cream) ---- */
:root[data-skin="metal"][data-mode="light"] {
  --bg: #E0DDCE; --surface: rgba(0,0,0,0.04); --hairline: #C4C0AF;
  --ink: #1A1A18; --ink-muted: #5C5A50; --ink-faint: #9C9A8E;
  --accent: #E21D1D; --accent-rgb: 226,29,29; --on-accent: #ffffff;
  --display: "Pirata One", "Rubik", serif; --display-weight: 400; --display-tracking: 0.5px;
  --grain-opacity: 0.06; --grain-blend: multiply;
  --glow: drop-shadow(0 0 5px rgba(var(--accent-rgb),0.40));
}
/* ---- BORING · LIGHT (sunny / warm) ---- */
:root[data-skin="boring"][data-mode="light"] {
  --bg: #FFC940; --surface: rgba(255,255,255,0.55); --hairline: rgba(60,40,10,0.16);
  --ink: #2A2723; --ink-muted: #6B5E45; --ink-faint: #9a8a66;
  --accent: #E8780C; --accent-rgb: 232,120,12; --on-accent: #ffffff;
  --display: "Rubik", system-ui, sans-serif; --display-weight: 800; --display-tracking: -0.5px;
  --grain-opacity: 0.04; --grain-blend: multiply;
  --glow: none;
}
/* ---- BORING · DARK (warm dusk) ---- */
:root[data-skin="boring"][data-mode="dark"] {
  --bg: #1A1610; --surface: rgba(255,255,255,0.06); --hairline: rgba(255,255,255,0.12);
  --ink: #F3ECDD; --ink-muted: #C2B091; --ink-faint: #8a7c63;
  --accent: #F7B733; --accent-rgb: 247,183,51; --on-accent: #1A1610;
  --display: "Rubik", system-ui, sans-serif; --display-weight: 800; --display-tracking: -0.5px;
  --grain-opacity: 0.07; --grain-blend: screen;
  --glow: none;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  background: var(--bg); color: var(--ink); font-family: "Rubik", system-ui, sans-serif;
  font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
h1, h2, h3 { font-family: var(--display); font-weight: var(--display-weight); line-height: 1.04; letter-spacing: var(--display-tracking); }
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--accent); }
section { padding: clamp(44px, 7vw, 88px) clamp(20px, 5vw, 40px); }
.section { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.kicker { text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; color: var(--accent); margin-bottom: 14px; }
h2 { font-size: clamp(2rem, 5.5vw, 3.4rem); margin-bottom: 16px; }
.lead { color: var(--ink-muted); max-width: 46ch; margin: 0 auto; font-size: 1.1rem; }

/* ---------- Animated background gradient (moving) ---------- */
.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; background: var(--bg); transition: background-color .6s var(--ease); }
/* WebGL Neat layer — sits over the CSS mesh, fades in once it's rendering. */
.bg__neat { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; transition: opacity .8s var(--ease); pointer-events: none; }
.bg__neat.is-live { opacity: 1; }
/* Hide the "NEAT" credit link the library injects into this container.
   No real hideWatermark option exists; credit removal is being squared with
   FireCMS (hello@firecms.co). See neat.js + README. */
.bg a[data-n], .bg a[href*="neat.firecms.co"] { display: none !important; }

/* ---------- Theme-switch crossfade ----------
   On a mood change, <html> gets `.is-switching`: content + the WebGL gradient
   fade out, the palette/gradient swap while hidden, then everything fades back
   in (the solid --bg + body colours cross-transition underneath). See app.js. */
main, .footer { transition: opacity .26s var(--ease); }
:root.is-switching main, :root.is-switching .footer { opacity: 0; }
:root.is-switching .bg__neat { opacity: 0; transition: opacity .24s var(--ease); }
@media (prefers-reduced-motion: reduce) { main, .footer { transition: none; } }
.bg__mesh {
  position: absolute; inset: -25%; width: 150%; height: 150%;
  filter: blur(60px) saturate(1.4); opacity: .9;
  animation: meshDrift 26s ease-in-out infinite alternate;
  will-change: transform;
}
/* BORING sunny mesh — NeatGradient clearDayWarm hex */
:root[data-skin="boring"][data-mode="light"] .bg__mesh {
  background:
    radial-gradient(38% 44% at 20% 26%, #2A86D6 0%, transparent 62%),
    radial-gradient(36% 40% at 80% 18%, #3FA4E0 0%, transparent 60%),
    radial-gradient(50% 52% at 52% 58%, #FFE89A 0%, transparent 60%),
    radial-gradient(42% 46% at 86% 76%, #FFC677 0%, transparent 60%),
    radial-gradient(42% 46% at 14% 82%, #B0E1EC 0%, transparent 60%);
}
:root[data-skin="boring"][data-mode="dark"] .bg__mesh {
  opacity: .55;
  background:
    radial-gradient(40% 44% at 22% 24%, #6b4e12 0%, transparent 62%),
    radial-gradient(46% 50% at 54% 60%, #b98a2a 0%, transparent 60%),
    radial-gradient(42% 46% at 84% 78%, #8a5a18 0%, transparent 60%);
}
/* METAL — ink black with a drifting accent halo */
:root[data-skin="metal"][data-mode="dark"] .bg__mesh {
  background:
    radial-gradient(40% 44% at 30% 22%, rgba(255,0,0,0.22) 0%, transparent 62%),
    radial-gradient(36% 40% at 76% 72%, rgba(255,0,0,0.12) 0%, transparent 62%);
}
:root[data-skin="metal"][data-mode="light"] .bg__mesh {
  opacity: .5;
  background:
    radial-gradient(40% 44% at 28% 24%, rgba(226,29,29,0.16) 0%, transparent 62%),
    radial-gradient(40% 44% at 78% 74%, rgba(180,150,90,0.18) 0%, transparent 62%);
}
@keyframes meshDrift {
  0%   { transform: translate3d(-2%,-1%,0) scale(1.05) rotate(0deg); }
  50%  { transform: translate3d(2%,2%,0)   scale(1.14) rotate(3deg); }
  100% { transform: translate3d(-1%,1%,0)  scale(1.08) rotate(-2deg); }
}
@media (prefers-reduced-motion: reduce) { .bg__mesh { animation: none; } }

/* ---------- Grain ---------- */
.grain {
  position: fixed; inset: -50%; width: 200%; height: 200%; pointer-events: none; z-index: 9999;
  opacity: var(--grain-opacity); mix-blend-mode: var(--grain-blend);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain .5s steps(4) infinite;
}
@keyframes grain { 0%{transform:translate(0,0)} 25%{transform:translate(-4%,2%)} 50%{transform:translate(3%,-3%)} 75%{transform:translate(-2%,4%)} 100%{transform:translate(2%,-2%)} }
@media (prefers-reduced-motion: reduce) { .grain { animation: none; } }

/* ---------- Mask-tinted icons (same SVG set as the app, per-skin colour + glow) ---------- */
.ic-mask {
  display: inline-block; background-color: var(--accent);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat;
  width: 1em; height: 1em;
}
.glow { filter: var(--glow); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 13px 24px; border-radius: 999px; border: 0; cursor: pointer; font-family: "Rubik"; font-weight: 600; font-size: .98rem; transition: transform .2s var(--ease), opacity .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--accent { background: var(--accent); color: var(--on-accent); }
.btn--accent { filter: var(--glow); }
.btn--ghost { background: var(--surface); color: var(--ink); border: 1.5px solid var(--hairline); }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }

/* ---------- Welcome ---------- */
.welcome { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; padding: 24px; text-align: center; background: var(--bg); }
.welcome::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; }
.welcome[hidden] { display: none; }
.welcome.is-leaving { animation: welcomeOut .6s var(--ease) forwards; }
@keyframes welcomeOut { to { opacity: 0; transform: scale(1.04); visibility: hidden; } }
.welcome__inner { max-width: 600px; }
.welcome__mark { width: clamp(180px, 50vw, 300px); height: clamp(95px, 26vw, 158px); background: var(--ink); margin: 0 auto 26px; }
.welcome__eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; margin-bottom: 18px; }
.welcome__body { color: var(--ink-muted); font-size: 1.05rem; margin: 0 auto 26px; max-width: 520px; }
.welcome__ask { font-weight: 700; font-size: 1.2rem; margin-bottom: 20px; }
.welcome__choices { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.welcome__note { margin-top: 24px; font-size: .85rem; color: var(--ink-muted); }

/* ---------- Hero (centred) ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; min-height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 100px 20px 60px; }
.wordmark { width: clamp(170px, 34vw, 260px); height: clamp(90px, 18vw, 137px); background: var(--ink); margin-bottom: 26px; }
.hero__eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700; margin-bottom: 14px; }
.hero__title { font-size: clamp(2.6rem, 8vw, 5rem); }
.hero__sub { color: var(--ink-muted); font-size: 1.15rem; max-width: 40ch; margin: 22px auto 30px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Store badges ---------- */
.stores { display: flex; gap: 18px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }
.store { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; transition: transform .2s var(--ease); }
.store:hover { transform: translateY(-2px); }
.store img { height: 54px; width: auto; display: block; }
.store--soon { opacity: .5; }
.store--soon:hover { transform: none; }
.store__soon { font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; color: var(--ink-muted); }

/* ---------- Phone mockups (swap each .scr for a real <img> screenshot later) ---------- */
.phones { display: flex; justify-content: center; align-items: center; margin: 46px auto 38px; opacity: 0; transition: opacity 1s var(--ease); }
.phones.is-in { opacity: 1; }
.phone { flex: 0 0 auto; }
.phone__frame { width: clamp(166px, 23vw, 232px); border-radius: 38px; background: #0a0a0a; border: 2px solid #2c2c2c; padding: 7px; box-shadow: 0 44px 80px -34px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.05); }
.phone__screen { position: relative; aspect-ratio: 9 / 19.5; border-radius: 32px; overflow: hidden; background: #000; }
.phone--center { z-index: 3; }
.phone--center .phone__frame { box-shadow: 0 56px 96px -30px rgba(0,0,0,.9), 0 0 70px -14px rgba(var(--accent-rgb), .35), inset 0 0 0 1px rgba(255,255,255,.06); }
.phone--left  { z-index: 1; transform: translateX(11%) rotate(-9deg) scale(.84); transform-origin: bottom right; }
.phone--right { z-index: 1; transform: translateX(-11%) rotate(9deg) scale(.84); transform-origin: bottom left; }
@media (prefers-reduced-motion: reduce) { .phones { opacity: 1; } }
@media (max-width: 560px) {
  .phone--left  { transform: translateX(22%) rotate(-9deg) scale(.68); }
  .phone--right { transform: translateX(-22%) rotate(9deg) scale(.68); }
}

/* ---------- Mini app screen (themeable via data-skin: metal | boring | chunk) ---------- */
.scr {
  --s-bg: radial-gradient(135% 90% at 50% -8%, #2a0707 0%, #050505 56%, #000 100%);
  --s-ink: #F5F5F5; --s-muted: #9E9E9E; --s-accent: #FF0000; --s-accent-rgb: 255,0,0;
  --s-surface: rgba(255,255,255,.07); --s-display: "Pirata One", serif; --s-weight: 400;
  --s-glow: drop-shadow(0 0 4px rgba(255,0,0,.6)) drop-shadow(0 0 11px rgba(255,0,0,.28));
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 2px;
  padding: 13px 12px 12px; background: var(--s-bg); color: var(--s-ink);
  font-family: "Rubik", system-ui, sans-serif; font-size: 11px;
}
.scr[data-skin="boring"] {
  --s-bg: linear-gradient(168deg, #2A86D6 0%, #74C0E8 22%, #B0E1EC 40%, #FFE89A 64%, #FFC677 84%, #FFC940 100%);
  --s-ink: #2A2723; --s-muted: #6B5E45; --s-accent: #E8780C; --s-accent-rgb: 232,120,12;
  --s-surface: rgba(255,255,255,.5); --s-display: "Rubik", sans-serif; --s-weight: 800; --s-glow: none;
}
.scr[data-skin="chunk"] {
  --s-bg: #1414C8; --s-ink: #FDFD5B; --s-muted: #AEB0F2; --s-accent: #FDFD5B; --s-accent-rgb: 253,253,91;
  --s-surface: rgba(255,255,255,.13); --s-display: "Rubik", sans-serif; --s-weight: 800; --s-glow: none;
}
.scr__status { display: flex; align-items: center; justify-content: space-between; font-size: 9px; font-weight: 600; opacity: .92; }
.scr__island { width: 40px; height: 11px; border-radius: 999px; background: rgba(0,0,0,.5); }
.scr[data-skin="boring"] .scr__island { background: rgba(0,0,0,.35); }
.scr__batt { width: 18px; height: 9px; border-radius: 2px; border: 1px solid currentColor; opacity: .65; }
.scr__head { text-align: center; margin-top: 12px; }
.scr__head b { font-size: 13px; font-weight: 700; }
.scr__head small { display: block; color: var(--s-muted); font-size: 9.5px; margin-top: 1px; }
.scr__hero { display: grid; justify-items: center; gap: 2px; margin-top: 6px; }
.scr__icon { width: 52px; height: 52px; background-color: var(--s-accent);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; filter: var(--s-glow); }
.scr__temp { font-family: var(--s-display); font-weight: var(--s-weight); font-size: 42px; line-height: 1; }
.scr__hl { font-size: 10px; color: var(--s-muted); letter-spacing: .03em; }
.scr__pill { margin: 9px 2px 0; padding: 8px 10px; border-radius: 12px; background: var(--s-surface); font-size: 9.8px; line-height: 1.4; text-align: center; }
.scr__pill em { color: var(--s-accent); font-style: italic; font-weight: 600; }
.scr__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-top: auto; }
.scr__tile { background: var(--s-surface); border-radius: 12px; padding: 8px 6px; display: grid; justify-items: center; gap: 2px; }
.scr__tile span { width: 17px; height: 17px; background-color: var(--s-accent);
  -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.scr__tile b { font-family: var(--s-display); font-weight: var(--s-weight); font-size: 14px; }
.scr__tile small { color: var(--s-muted); font-size: 8px; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Three moods (upright phones, one per theme) ---------- */
.moods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 38px 0 20px; justify-items: center; }
@media (max-width: 720px) { .moods { grid-template-columns: 1fr; gap: 34px; } }
.mood-card { display: grid; justify-items: center; gap: 14px; transition-delay: calc(var(--d, 0) * 90ms); }
.mood-card .phone__frame { width: clamp(176px, 30vw, 220px); }
.mood-card figcaption { text-align: center; }
.mood-card figcaption b { display: block; font-family: var(--display); font-weight: var(--display-weight); font-size: 1.4rem; }
.mood-card figcaption span { color: var(--ink-muted); font-size: .9rem; }

/* ---------- Feature (centred) ---------- */
.feature__ic { width: 46px; height: 46px; margin-bottom: 18px; }

/* Sass slider demo */
.sass { margin: 30px auto 0; max-width: 560px; padding: 24px; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface); backdrop-filter: blur(8px); }
.sass__line { min-height: 3.2em; font-size: 1.1rem; transition: opacity .2s; }
.sass input[type=range] { width: 100%; margin-top: 16px; accent-color: var(--accent); }
.sass__labels { display: flex; justify-content: space-between; font-size: .72rem; color: var(--ink-muted); margin-top: 6px; text-transform: uppercase; letter-spacing: .08em; }

/* Nowcast bars — grow on scroll */
.bars { display: flex; align-items: flex-end; justify-content: center; gap: 8px; height: 140px; margin: 34px auto 12px; max-width: 360px; }
.bars i { width: 18px; border-radius: 5px; background: var(--accent); height: 0; filter: var(--glow); transition: height .9s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.bars.is-in i { height: var(--h); }
.bars__cap { color: var(--ink-muted); font-size: .95rem; }

/* iOS-style lock-screen push notification — slides in like a real banner */
.ios-note { display: flex; gap: 12px; align-items: flex-start; text-align: left; width: min(440px, 92%); margin: 34px auto 10px; padding: 14px 16px; border-radius: 22px; background: color-mix(in srgb, var(--surface) 55%, rgba(255,255,255,.06)); border: 1px solid var(--hairline); backdrop-filter: blur(20px) saturate(1.3); box-shadow: 0 22px 54px -26px rgba(0,0,0,.6);
  opacity: 0; transform: translateY(-34px) scale(.94); transform-origin: top center;
  transition: opacity .42s var(--ease), transform .62s cubic-bezier(0.34, 1.56, 0.64, 1); }
.ios-note.is-in { opacity: 1; transform: translateY(0) scale(1); }
@media (prefers-reduced-motion: reduce) { .ios-note { opacity: 1; transform: none; transition: none; } }
.ios-note__app { flex: 0 0 auto; }
.ios-note__app img { width: 40px; height: 40px; border-radius: 10px; display: block; }
.ios-note__body { flex: 1; min-width: 0; }
.ios-note__top { display: flex; align-items: center; justify-content: space-between; font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-muted); }
.ios-note__top b { font-weight: 700; }
.ios-note__title { font-weight: 600; font-size: 1rem; margin-top: 3px; }
.ios-note__text { color: var(--ink-muted); font-size: .92rem; margin-top: 2px; }

/* Wider nowcast graph */
.nowcast { width: min(680px, 96%); margin: 16px auto 0; }
.bars--wide { max-width: none; width: 100%; gap: clamp(3px, 1.4vw, 9px); height: 150px; margin: 6px 0 8px; }
.bars--wide i { width: auto; flex: 1; min-width: 0; }
.bars__axis { display: flex; justify-content: space-between; color: var(--ink-muted); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; }

/* History charts + 6am→6am rainfall tile */
.histwrap { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 34px auto 16px; max-width: 760px; text-align: left; }
@media (max-width: 620px) { .histwrap { grid-template-columns: 1fr; } }
.histcard { background: var(--surface); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 18px 18px 16px; backdrop-filter: blur(8px); }
.histcard--rain66 { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; gap: 8px 28px; align-items: center; }
@media (max-width: 620px) { .histcard--rain66 { grid-template-columns: 1fr; } }
.histcard__head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.histcard__head b { font-size: 1.05rem; }
.histcard__head small { color: var(--ink-muted); font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; }

.chart { display: block; width: 100%; }
.minibars { display: flex; align-items: flex-end; gap: 2px; height: 90px; }
.minibars i { flex: 1; min-width: 0; height: 0; background: var(--accent); border-radius: 2px 2px 0 0; filter: var(--glow); opacity: .9; transition: height .8s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.minibars.is-in i { height: max(2px, var(--h)); }
.chart--line { height: 96px; overflow: visible; }
.chart--line .line { fill: none; stroke: var(--accent); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-linejoin: round; stroke-linecap: round; filter: var(--glow); stroke-dasharray: 900; stroke-dashoffset: 900; transition: stroke-dashoffset 1.5s var(--ease); }
.chart--line.is-in .line { stroke-dashoffset: 0; }
.chart--line .area { fill: var(--accent); opacity: 0; transition: opacity 1s var(--ease) .35s; }
.chart--line.is-in .area { opacity: .14; }

.rain66__main { display: grid; gap: 6px; }
.rain66__val { font-family: var(--display); font-weight: var(--display-weight); font-size: 3rem; line-height: 1; }
.rain66__val i { font-family: "Rubik"; font-style: normal; font-size: 1rem; color: var(--ink-muted); margin-left: 4px; }
.rain66__meter { display: grid; gap: 8px; }
.rain66__bar { height: 9px; border-radius: 999px; background: color-mix(in srgb, var(--ink) 12%, transparent); overflow: hidden; }
.rain66__bar span { display: block; height: 100%; width: 0; background: var(--accent); border-radius: 999px; filter: var(--glow); transition: width 1.1s var(--ease); }
.rain66.is-in .rain66__bar span { width: var(--p); }
.rain66__cap { color: var(--ink-muted); font-size: .82rem; }

.stations { margin-top: 18px; color: var(--ink-muted); }
.stations strong { color: var(--ink); }

/* ---------- Weather Wrapped (Spotify-Wrapped-style recap share cards) ---------- */
/* Mock share cards in the dark Metal aesthetic — own dark surface + accent glow so
   they read like the app's exported card even when the site is on a light skin. */
.wrap-cards { display: flex; justify-content: center; align-items: stretch; gap: clamp(10px, 2vw, 18px); margin: 38px auto 22px; max-width: 820px; }
.wrap-card {
  --wc-ink: #F5F5F5; --wc-muted: #A6A6A6; --wc-accent: #FF3B30; --wc-accent-rgb: 255,59,48;
  --wc-glow: drop-shadow(0 0 4px rgba(var(--wc-accent-rgb),.6)) drop-shadow(0 0 13px rgba(var(--wc-accent-rgb),.26));
  flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 7px; text-align: left;
  padding: 22px 20px; border-radius: var(--radius); color: var(--wc-ink);
  background: radial-gradient(130% 100% at 18% -10%, #2a0707 0%, #0a0505 56%, #000 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 64px -34px rgba(0,0,0,.85), inset 0 0 0 1px rgba(255,255,255,.03);
}
.wrap-card--hero { flex: 1.35 1 0; position: relative; gap: 9px; padding: 26px 24px;
  box-shadow: 0 40px 80px -34px rgba(0,0,0,.9), 0 0 64px -18px rgba(var(--wc-accent-rgb),.4), inset 0 0 0 1px rgba(255,255,255,.05); }
.wrap-card--side { align-self: center; }
.wrap-card__eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .64rem; font-weight: 700; color: var(--wc-accent); }
.wrap-card__stat { font-family: var(--display); font-weight: var(--display-weight); font-size: clamp(2.4rem, 7vw, 3.2rem); line-height: .96; filter: var(--wc-glow); }
.wrap-card__stat--big { font-size: clamp(2.8rem, 8.5vw, 4rem); }
.wrap-card__stat i { font-family: "Rubik"; font-style: normal; font-weight: 600; font-size: .42em; color: var(--wc-muted); margin-left: 3px; filter: none; }
.wrap-card__meta { font-size: .76rem; color: var(--wc-muted); text-transform: uppercase; letter-spacing: .05em; }
.wrap-card__note { margin-top: auto; padding-top: 10px; font-size: .92rem; line-height: 1.45; color: #E8E8E8; }
.wrap-card__note em { color: var(--wc-accent); font-style: italic; font-weight: 600; }
.wrap-card__chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 4px; }
.wrap-card__chips span { display: grid; gap: 2px; padding: 9px 11px; border-radius: 12px; background: rgba(255,255,255,.05); font-size: .82rem; }
.wrap-card__chips b { font-size: .6rem; text-transform: uppercase; letter-spacing: .08em; color: var(--wc-muted); font-weight: 700; }
.wrap-card__brand { position: absolute; top: 22px; right: 22px; width: 58px; height: 30px; background-color: rgba(255,255,255,.32); }
.wrapped__share { margin-top: 8px; color: var(--ink-muted); font-size: .95rem; }
.wrapped__share strong { color: var(--ink); }
@media (max-width: 680px) {
  .wrap-cards { flex-direction: column; max-width: 380px; }
  .wrap-card, .wrap-card--hero { flex: 1 1 auto; }
  .wrap-card--side { align-self: stretch; }
}

/* ---------- Theme gallery (moods) ---------- */
.themes__note { color: var(--ink-muted); font-size: .95rem; }

/* ---------- Pricing ---------- */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 34px; text-align: left; }
@media (max-width: 680px) { .plans { grid-template-columns: 1fr; } }
.plan { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 28px; background: var(--surface); backdrop-filter: blur(8px); }
.plan--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.plan h3 { font-size: 1.4rem; margin-bottom: 8px; }
.plan__price { font-family: var(--display); font-size: 2.4rem; margin-bottom: 16px; }
.plan__price span { font-family: "Rubik"; font-size: 1rem; color: var(--ink-muted); }
.plan ul { list-style: none; display: grid; gap: 9px; margin-bottom: 20px; }
.plan li { padding-left: 24px; position: relative; color: var(--ink-muted); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* ---------- Get / waitlist ---------- */
.get { max-width: 640px; }
.get__appicon img { width: 84px; height: 84px; border-radius: 20px; margin-bottom: 18px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.5); }
.get p { color: var(--ink-muted); }
.waitlist { display: flex; gap: 10px; margin: 26px auto 0; max-width: 460px; }
.waitlist input { flex: 1; padding: 14px 18px; border-radius: 999px; border: 1.5px solid var(--hairline); background: var(--surface); color: var(--ink); font-size: 1rem; font-family: "Rubik"; }
.waitlist input::placeholder { color: var(--ink-muted); }
.get__small { font-size: .82rem; margin-top: 14px; }
@media (max-width: 480px) { .waitlist { flex-direction: column; } }

/* Beta signup — consent + success state */
.get__consent { display: flex; gap: 9px; align-items: flex-start; justify-content: center; max-width: 460px; margin: 14px auto 0; font-size: .82rem; color: var(--ink-muted); text-align: left; cursor: pointer; }
.get__consent input { margin-top: 2px; accent-color: var(--accent); flex: 0 0 auto; }
.get__consent a { color: var(--ink); text-decoration: underline; }
.get__done { margin-top: 28px; }
.get__done-title { font-family: "Pirata One", serif; font-size: 1.6rem; margin: 0 0 14px; }
.get__steps { list-style: none; padding: 0; margin: 0 auto; max-width: 420px; display: flex; flex-direction: column; gap: 14px; text-align: left; counter-reset: step; }
.get__steps li { position: relative; padding-left: 40px; color: var(--ink); line-height: 1.5; }
.get__steps li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: -2px; width: 26px; height: 26px; border-radius: 999px; background: var(--accent); color: var(--on-accent); display: grid; place-items: center; font-weight: 700; font-size: .85rem; }
.get__steps .btn { margin-top: 2px; }

/* Hero beta CTA — stack the button, note, then the (soon) store badges */
.hero__cta { flex-direction: column; align-items: center; gap: 6px; }
.btn--hero { font-size: 1.05rem; padding: 16px 34px; }
.hero__betanote { font-size: .82rem; color: var(--ink-muted); margin: 12px 0 4px; }
.stores--soon { opacity: .72; }

/* ---------- FAQ (matches in-app expandable tiles) ---------- */
.faq { max-width: 720px; }
.faq__list { display: grid; gap: 12px; margin-top: 30px; text-align: left; }
.faq details {
  border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--surface);
  backdrop-filter: blur(10px); overflow: hidden;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.faq details[open] {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--hairline));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent);
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  gap: 16px; padding: 18px 22px; font-weight: 600; font-size: 1.05rem; transition: color .2s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
/* Accent chevron that rotates open/closed */
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 10px; height: 10px; margin-right: 3px;
  border-right: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent);
  transform: rotate(45deg); transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { color: var(--ink-muted); padding: 0 22px 18px; margin: 0; }
.faq details[open] p { animation: faqReveal .34s var(--ease); }
@keyframes faqReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .faq details[open] p { animation: none; } .faq summary::after { transition: none; } }

/* ---------- Footer (premium, multi-column) ---------- */
.footer { max-width: var(--maxw); margin: 0 auto; padding: clamp(48px,7vw,80px) clamp(20px,5vw,40px) 34px; border-top: 1px solid var(--hairline); }
.footer__top { display: grid; grid-template-columns: 1.5fr 2fr; gap: 48px; }
@media (max-width: 680px) { .footer__top { grid-template-columns: 1fr; gap: 40px; } }
.footer__brand { display: grid; gap: 18px; align-content: start; }
.footer__mark { width: 132px; height: 69px; background: var(--ink); }
.footer__tag { color: var(--ink-muted); max-width: 30ch; font-size: .98rem; line-height: 1.5; }
.footer__social { display: flex; gap: 12px; }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--hairline); background: var(--surface); transition: transform .2s var(--ease), border-color .2s var(--ease); }
.social:hover { transform: translateY(-3px); border-color: var(--accent); }
.social .ic-mask { width: 19px; height: 19px; background-color: var(--ink-muted); transition: background-color .2s var(--ease); }
.social:hover .ic-mask { background-color: var(--accent); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 420px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__col { display: grid; gap: 11px; align-content: start; }
.footer__col h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); font-weight: 700; }
.footer__col a { color: var(--ink-muted); font-size: .96rem; width: fit-content; transition: color .2s var(--ease); }
.footer__col a:hover { color: var(--accent); }
.footer__bar { display: flex; flex-wrap: wrap; gap: 8px 22px; justify-content: space-between; align-items: center; margin-top: clamp(36px,5vw,56px); padding-top: 22px; border-top: 1px solid var(--hairline); }
.footer__copy, .footer__made { color: var(--ink-faint); font-size: .82rem; }
.footer__made { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Floating mood control (not a nav) ---------- */
.mood { position: fixed; bottom: 18px; right: 18px; z-index: 200; display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 999px; background: color-mix(in srgb, var(--bg) 78%, transparent); border: 1px solid var(--hairline); backdrop-filter: blur(14px); }
.skin-toggle { display: inline-flex; gap: 2px; }
.skin-toggle button { border: 0; background: transparent; color: var(--ink-muted); cursor: pointer; padding: 6px 12px; border-radius: 999px; font-family: "Rubik"; font-weight: 600; font-size: .8rem; transition: all .25s var(--ease); }
.skin-toggle button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--d, 0) * 80ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .bars i { transition: none; } }
