/* LumaTan homepage V2.2 — dark warm premium. Display: Bricolage (brand, local). Text: Apple system stack. */
@font-face { font-family: Bricolage; src: url('/assets/fonts/BricolageGrotesque-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: Bricolage; src: url('/assets/fonts/BricolageGrotesque-Bold.ttf') format('truetype'); font-weight: 700; font-display: swap; }
@font-face { font-family: Bricolage; src: url('/assets/fonts/BricolageGrotesque-ExtraBold.ttf') format('truetype'); font-weight: 800; font-display: swap; }

:root {
  color-scheme: dark;
  /* Colour — app session palette (UVOnboardingDesign.swift) */
  --bg: #2e1e11;
  --bg-deep: #20170f;
  --bg-warm: #5e3413;
  --surface: rgba(255, 236, 210, .045);
  --surface-hi: rgba(255, 236, 210, .08);
  --line: rgba(255, 236, 210, .13);
  --line-strong: rgba(255, 214, 160, .24);
  --text: #fff4e5;      /* 9.8:1 on #5e3413, 14.8:1 on #2e1e11 */
  --text-2: #ead5be;    /* 7.5:1 on #5e3413 */
  --text-3: #d9bfa3;    /* 6.0:1 on #5e3413 — captions only */
  --gold: #ffc93c;
  --amber: #f2a100;
  --gold-soft: #ffd66b;
  --ink: #2a1806;       /* button text, 9.8:1 on gold */
  --low: #9ccead; --moderate: #ffce60; --high: #ffac65; --very-high: #ff8e7d; --extreme: #e7ade3;

  /* Type */
  --font-display: Bricolage, "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", system-ui, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", system-ui, sans-serif;
  --font-ui: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", system-ui, sans-serif;
  --fs-display: clamp(46px, 3.4vw + 30px, 86px);
  --fs-h2: clamp(34px, 2.2vw + 24px, 56px);
  --fs-h3: clamp(21px, .5vw + 18px, 25px);
  --fs-lead: clamp(18px, .45vw + 16px, 21px);
  --fs-body: 18px;
  --fs-small: 16px;
  --fs-caption: 14px;
  --lh-body: 1.6;

  /* Space — 4/8 scale */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --section: clamp(72px, 7vw + 24px, 128px);
  --radius-sm: 12px; --radius: 20px; --radius-lg: 28px;
  --header-h: 72px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-card: inset 0 1px 0 rgba(255, 240, 215, .09), 0 1px 2px rgba(0, 0, 0, .22), 0 10px 22px -10px rgba(0, 0, 0, .45), 0 30px 60px -30px rgba(0, 0, 0, .55);
  --shadow-card-hover: inset 0 1px 0 rgba(255, 240, 215, .13), 0 2px 4px rgba(0, 0, 0, .22), 0 18px 34px -12px rgba(0, 0, 0, .55), 0 44px 80px -30px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255, 201, 60, .1);
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 .92 0 0 0 0 .8 0 0 0 .32 -.13'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--grain), var(--bg); scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 20px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; position: relative; overflow-x: clip;
  background: transparent; color: var(--text);
  font: 400 var(--fs-body)/var(--lh-body) var(--font-text);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
}
body::before {
  content: ''; position: absolute; inset: 0 0 auto; height: 1100px; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent);
  background: var(--grain), radial-gradient(ellipse 130% 95% at 55% 35%, transparent 55%, rgba(12, 7, 3, .45) 100%), radial-gradient(ellipse 60% 55% at 78% 38%, rgba(156, 86, 28, .5), transparent 70%), linear-gradient(160deg, #2e1e11 0%, #3a2312 55%, #4b2a12 82%, var(--bg) 100%);
}
main { display: block; overflow-x: clip; }
h1, h2, h3, h4, p, figure { margin: 0; }
h1, h2 { font-family: var(--font-display); font-weight: 800; text-wrap: balance; }
h1 { font-size: var(--fs-display); line-height: 1.02; letter-spacing: -.038em; }
h1 span { color: var(--gold); }
h2 { font-size: var(--fs-h2); line-height: 1.06; letter-spacing: -.032em; }
h2 span { color: var(--text-3); }
h3 { font: 700 var(--fs-h3)/1.25 var(--font-ui); letter-spacing: -.018em; text-wrap: balance; }
h4 { font: 600 var(--fs-caption)/1.4 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
p { text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button { cursor: pointer; }
button[hidden] { display: none; }
img { max-width: 100%; }
svg { display: block; max-width: 100%; }
a, button, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #ffe3a3; outline-offset: 4px; border-radius: 6px; }
.wrap { width: min(1200px, 100% - 80px); margin-inline: auto; }
.section { padding-block: var(--section); }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 100; padding: 10px 18px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 600; transform: translateY(-160%); transition: transform .2s; }
.skip-link:focus { transform: none; }

/* ───────── Sticky header ───────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(36, 24, 13, .55);
  -webkit-backdrop-filter: blur(18px) saturate(160%); backdrop-filter: blur(18px) saturate(160%);
  border-bottom: 1px solid transparent;
  transition: background-color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-scrolled { background: rgba(30, 20, 11, .86); border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .7); }
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: var(--s6); transition: height .35s var(--ease); }
.is-scrolled .header-inner { height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 24px/1 var(--font-display); letter-spacing: -.035em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: 0 4px 14px -4px rgba(242, 161, 0, .5); transition: transform .35s var(--ease); }
.is-scrolled .brand img { transform: scale(.9); }
.site-nav { margin-left: auto; display: flex; gap: var(--s2); }
.site-nav a { position: relative; padding: 8px 14px; border-radius: 999px; font: 500 16px/1.2 var(--font-ui); color: var(--text-2); transition: color .2s, background-color .2s; }
.site-nav a:hover { color: var(--text); background: var(--surface-hi); }
.menu-toggle { display: none; }

/* ───────── App Store button ───────── */
.store-btn {
  --btn-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 -2px 0 rgba(150, 80, 0, .28) inset, 0 10px 24px -10px rgba(242, 161, 0, .75), 0 0 36px -8px rgba(255, 201, 60, .5);
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: none;
  color: var(--ink); border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-soft) 0%, var(--gold) 38%, var(--amber) 100%);
  box-shadow: var(--btn-shadow);
  font-family: var(--font-ui); white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s;
}
.store-btn::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .6) 48%, rgba(255, 255, 255, .15) 56%, transparent 70%);
  transform: translateX(-130%);
  animation: shimmer 6s var(--ease) 1.4s infinite;
}
.store-btn:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 -2px 0 rgba(150, 80, 0, .28) inset, 0 16px 32px -12px rgba(242, 161, 0, .85), 0 0 52px -6px rgba(255, 201, 60, .65); }
.store-btn:hover::after { animation: shimmer-once 1.1s var(--ease) both; }
.store-btn:active { transform: translateY(1px) scale(.98); filter: brightness(.97); box-shadow: 0 1px 0 rgba(255, 255, 255, .4) inset, 0 4px 12px -6px rgba(242, 161, 0, .8); transition-duration: .08s; }
.store-btn:focus-visible { outline: 3px solid var(--text); outline-offset: 3px; border-radius: 999px; }
.store-btn__logo { fill: currentColor; flex: none; }
.store-btn--large { min-height: 62px; padding: 10px 30px 10px 22px; gap: 12px; }
.store-btn--large .store-btn__logo { width: 30px; height: 30px; margin-top: -3px; }
.store-btn__label { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.05; }
.store-btn__label small { font-size: 12.5px; font-weight: 600; letter-spacing: .01em; opacity: .82; }
.store-btn__label strong { font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.store-btn--compact { min-height: 42px; padding: 0 18px 0 14px; gap: 7px; font-size: 15px; font-weight: 650; letter-spacing: -.005em; }
.store-btn--compact .store-btn__logo { width: 19px; height: 19px; margin-top: -2px; }
@keyframes shimmer { 0% { transform: translateX(-130%); } 22%, 100% { transform: translateX(130%); } }
@keyframes shimmer-once { from { transform: translateX(-130%); } to { transform: translateX(130%); } }

.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font: 600 17px/1.2 var(--font-ui); color: var(--text); transition: color .2s; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover { color: var(--gold); }
.text-link:hover span { transform: translateY(2px); }

/* ───────── Hero ───────── */
.hero { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s6); min-height: 740px; padding-block: var(--s5) var(--s7); }
.hero-copy { position: relative; z-index: 2; max-width: 560px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: var(--s5); font: 600 13px/1.3 var(--font-ui); letter-spacing: .16em; text-transform: uppercase; color: #f4d3a3; }
.eyebrow-sun { width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(255, 201, 60, .15), 0 0 18px rgba(255, 201, 60, .7); }
.lead { margin-top: var(--s5); max-width: 32em; font-size: var(--fs-lead); line-height: 1.6; color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s5); margin-top: var(--s6); }
.download-note { margin-top: var(--s3); font-size: var(--fs-caption); color: var(--text-3); }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: var(--s7); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--text-2); }
.hero-proof strong { font-weight: 600; color: var(--text); }
.proof-icon { font-size: 28px; color: var(--gold); }

.hero-stage {
  --dome-w: 800px; --phone-w: 310px; --dome-top: -34px; --phone-top: 150px;
  position: relative; height: 730px; isolation: isolate;
}
.day-dome { position: absolute; z-index: -1; top: var(--dome-top); left: calc(50% - var(--dome-w) / 2); width: var(--dome-w); max-width: none; height: auto; overflow: visible; }
.main-orbit { fill: none; stroke-width: 1.4; }
.uv-band { fill: none; stroke-width: 7; stroke-linecap: round; opacity: .32; }
.hour-ticks { stroke: rgba(255, 225, 168, .32); stroke-width: 1.2; stroke-linecap: round; }
.hour-ticks--major { stroke: rgba(255, 225, 168, .6); stroke-width: 1.6; }
.hour-labels text { font: 600 11.5px var(--font-ui); letter-spacing: .14em; fill: var(--text-3); }
.horizon-label { font: 600 12px var(--font-ui); letter-spacing: .22em; fill: rgba(217, 191, 163, .75); }
.comet-bloom { opacity: .5; }
.comet-glow { opacity: .8; }
.sun-halo { transform-box: fill-box; transform-origin: center; animation: halo 3.6s ease-in-out infinite; }
.sun-corona { opacity: .7; }
.sun-rays { fill: none; stroke: #ffd66b; stroke-width: 2.4; stroke-linecap: round; transform-box: fill-box; transform-origin: center; animation: spin 24s linear infinite; }
.sun-rays--long { stroke: rgba(255, 224, 150, .55); stroke-width: 1.4; animation-duration: 40s; animation-direction: reverse; }
@keyframes halo { 50% { transform: scale(1.16); opacity: .7; } }
@keyframes spin { to { transform: rotate(360deg); } }

/* Moving light: a large soft glow that follows the sun (JS sets its transform) */
.hero-light { position: absolute; inset: 0; z-index: -2; pointer-events: none; }
.sun-light { position: absolute; left: 0; top: 0; width: 820px; height: 820px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 196, 92, .26), rgba(242, 140, 20, .1) 45%, transparent); opacity: .6; will-change: transform, opacity; }

.hero-phone { position: absolute; top: var(--phone-top); left: calc(50% - var(--phone-w) / 2); width: var(--phone-w); }
.hero-phone::before { content: ''; position: absolute; inset: 6% -16% 8%; z-index: -2; border-radius: 50%; background: radial-gradient(closest-side, rgba(242, 161, 0, .34), transparent); filter: blur(34px); }
.phone-shadow { position: absolute; inset: 5% 7% 6%; z-index: -1; border-radius: 60px; background: rgba(12, 6, 2, .7); filter: blur(26px); transform: translateY(28px); }
.phone-shadow::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -16%; height: 18%; border-radius: 50%; background: rgba(8, 4, 1, .6); filter: blur(20px); }
.phone-sheen { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255, 236, 205, .14), inset 1.5px 2px 0 rgba(255, 244, 222, .38), inset -1px 0 0 rgba(255, 196, 120, .18); background: linear-gradient(115deg, rgba(255, 255, 255, .16) 0%, rgba(255, 255, 255, .04) 22%, transparent 38%, transparent 70%, rgba(255, 220, 160, .07) 100%); background-size: 160% 100%; background-position: 40% 0; }
.hero-app-screen { position: relative; width: 100%; aspect-ratio: 800 / 1405; overflow: hidden; border-radius: 54px 54px 16px 16px; -webkit-mask-image: linear-gradient(#000 64%, rgba(0, 0, 0, .55) 82%, transparent 97%); mask-image: linear-gradient(#000 64%, rgba(0, 0, 0, .55) 82%, transparent 97%); }
.hero-app-screen img { position: absolute; left: -12.5%; top: -2.49%; width: 125%; max-width: none; height: auto; }
.session-note {
  position: absolute; left: 0; bottom: 92px; z-index: 2; display: flex; align-items: center; gap: 14px; max-width: 320px;
  padding: 14px 20px 14px 14px; border-radius: 18px; border: 1px solid rgba(255, 228, 185, .22);
  background: linear-gradient(160deg, rgba(110, 72, 40, .82), rgba(70, 45, 24, .82)); -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 1px 0 rgba(255, 240, 215, .22), 0 2px 4px rgba(0, 0, 0, .2), 0 14px 28px -10px rgba(0, 0, 0, .55), 0 34px 60px -24px rgba(0, 0, 0, .6);
  transform: rotate(-3deg);
}
.notification-icon { flex: none; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: linear-gradient(180deg, var(--gold-soft), var(--amber)); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 14px -6px rgba(242, 161, 0, .8); color: #3c240e; }
.notification-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.session-note div > span { display: block; font: 500 12px/1.3 var(--font-ui); color: #f0d3ac; }
.session-note strong { display: block; font: 650 17px/1.35 var(--font-ui); letter-spacing: -.01em; }
.session-note p { font-size: 13px; line-height: 1.4; color: var(--text-2); }
.stage-caption { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; align-items: center; gap: 12px; font: 500 13px/1 var(--font-ui); color: var(--text-3); }
.stage-caption button { width: 40px; height: 40px; border: 1px solid var(--line-strong); border-radius: 50%; background: rgba(255, 236, 210, .04); font-size: 13px; color: var(--text-2); transition: background-color .2s, color .2s; }
.stage-caption button:hover { background: var(--surface-hi); color: var(--text); }

/* Hero entrance */
.hero-copy > * { animation: rise .9s var(--ease-out) both; }
.hero-copy > :nth-child(2) { animation-delay: .08s; }
.hero-copy > :nth-child(3) { animation-delay: .16s; }
.hero-copy > :nth-child(4) { animation-delay: .24s; }
.hero-copy > :nth-child(5) { animation-delay: .3s; }
.hero-copy > :nth-child(6) { animation-delay: .36s; }
.hero-phone > .hero-app-screen { animation: rise-phone 1.1s var(--ease-out) .15s both; }
.session-note > * { animation: rise .8s var(--ease-out) .7s both; }
.day-dome { animation: fade 1.4s ease .1s both; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes rise-phone { from { opacity: 0; transform: translateY(48px) scale(.97); } }
@keyframes fade { from { opacity: 0; } }

/* ───────── Companion strip ───────── */
.companion-strip { position: relative; background: rgba(32, 23, 15, .6); }
.companion-strip::before, .companion-strip::after, .uv-section::before, .uv-section::after, .site-footer::before { content: ''; position: absolute; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 201, 60, .32) 30%, rgba(255, 226, 180, .4) 50%, rgba(255, 201, 60, .32) 70%, transparent); }
.companion-strip::before, .uv-section::before, .site-footer::before { top: 0; }
.companion-strip::after, .uv-section::after { bottom: 0; }
.companion-strip .wrap { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding-block: var(--s4); }
.companion-strip p { font: 600 17px/1.4 var(--font-ui); color: var(--text); }
.companion-strip ul { display: flex; flex-wrap: wrap; gap: var(--s2); margin: 0; padding: 0; list-style: none; }
.companion-strip li { padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; font: 500 15px/1.2 var(--font-ui); color: var(--text-2); background: var(--surface); }

/* ───────── Glass: gradient hairline border (masked ring) ───────── */
.card::after, .supporting-screen::after, .connected-row::after, .live-widget::after, .session-note::after {
  content: ''; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, rgba(255, 226, 180, .34), rgba(255, 226, 180, .07) 38%, rgba(255, 226, 180, .05) 70%, rgba(255, 201, 60, .18));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.session-note { border-color: transparent; }

/* ───────── Section heading ───────── */
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s6); margin-bottom: var(--s7); }
.section-heading > p { max-width: 24em; font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); }

/* ───────── Cards ───────── */
.card { position: relative; padding: var(--s6) 28px 28px; border: 1px solid transparent; border-radius: var(--radius); background: linear-gradient(165deg, rgba(255, 236, 210, .075), rgba(255, 236, 210, .018) 60%); box-shadow: var(--shadow-card); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.card::before { content: ''; position: absolute; inset: -1px -1px auto; height: 2px; border-radius: var(--radius) var(--radius) 0 0; background: linear-gradient(90deg, transparent, rgba(255, 201, 60, .55), transparent); opacity: .6; transition: opacity .3s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }
.card:hover::before { opacity: 1; }
.app-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.feature-heading { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); }
.feature-symbol, .connected-icon { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 13px; border: 1px solid rgba(255, 214, 140, .22); background: linear-gradient(150deg, rgba(255, 214, 107, .24), rgba(242, 161, 0, .06)); box-shadow: inset 0 1px 0 rgba(255, 245, 225, .22), 0 8px 18px -10px rgba(242, 161, 0, .6); }
.feature-symbol svg, .connected-icon svg { width: 24px; height: 24px; fill: none; stroke: url(#icon-gradient); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.card > p { font-size: 17px; line-height: 1.6; color: var(--text-2); }
.small-note { margin-top: var(--s3); font-size: var(--fs-caption); line-height: 1.55; color: var(--text-3); }

.mini-forecast { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: var(--s5); }
.hour { flex: 1; display: flex; flex-direction: column; align-items: center; font: 600 14px/1.2 var(--font-ui); color: var(--text-2); }
.hour i { display: block; width: 100%; margin: 6px 0 8px; border-radius: 6px 6px 2px 2px; background: linear-gradient(180deg, rgba(255, 201, 60, .75), rgba(255, 201, 60, .25)); transform-origin: bottom; }
.hour small { font: 500 12px/1.2 var(--font-ui); color: var(--text-3); white-space: nowrap; }
.h3 i { height: 28px; } .h4 i { height: 42px; } .h5 i { height: 58px; }
.h6 i { height: 74px; background: linear-gradient(180deg, rgba(255, 172, 101, .85), rgba(255, 172, 101, .25)); }
.h7 i { height: 88px; background: linear-gradient(180deg, rgba(255, 150, 100, .85), rgba(255, 150, 100, .25)); }
.h8 i { height: 104px; background: linear-gradient(180deg, rgba(255, 142, 125, .9), rgba(255, 142, 125, .25)); }

.skin-tones { display: flex; gap: 10px; margin-top: var(--s5); }
.skin-tones i { width: 32px; height: 32px; border-radius: 50%; background: #f2c9a0; box-shadow: 0 0 0 2px rgba(255, 255, 255, .06); }
.skin-tones i:nth-child(2) { background: #e8b486; } .skin-tones i:nth-child(3) { background: #ce955f; }
.skin-tones i:nth-child(4) { background: #a96b3c; } .skin-tones i:nth-child(5) { background: #82502e; }
.skin-tones i:nth-child(6) { background: #633c25; box-shadow: 0 0 0 1px #a07045; }
.estimate-range { display: flex; align-items: center; gap: var(--s4); margin-top: var(--s5); }
.estimate-range strong { font: 800 44px/1 var(--font-display); letter-spacing: -.04em; color: var(--gold); white-space: nowrap; font-variant-numeric: tabular-nums; }
.estimate-range strong small { font: 500 17px var(--font-ui); letter-spacing: 0; color: var(--text-2); }
.estimate-range p { font-size: var(--fs-caption); line-height: 1.5; color: var(--text-3); }

.session-steps { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-direction: column; gap: var(--s3); font: 500 17px/1.3 var(--font-ui); }
.session-steps li { display: flex; align-items: center; gap: var(--s3); padding: 10px 12px; border-radius: 14px; background: var(--surface); color: var(--text-2); }
.session-steps li:first-child { color: var(--text); background: rgba(255, 201, 60, .1); }
.session-steps span { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 206, 152, .3); color: var(--gold); font-size: 14px; }

.app-screen-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); margin-top: var(--s7); }
.supporting-screen { position: relative; display: flex; align-items: center; gap: var(--s6); min-width: 0; padding: var(--s6); border-radius: var(--radius-lg); background: linear-gradient(135deg, rgba(255, 236, 210, .065), rgba(242, 161, 0, .03)); box-shadow: var(--shadow-card); transition: box-shadow .4s var(--ease); }
.supporting-screen:hover { box-shadow: var(--shadow-card-hover); }
.screen-image-wrap { flex: 0 0 52%; overflow: hidden; border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(255, 220, 170, .12), 0 24px 48px -20px rgba(10, 5, 2, .8); }
.screen-image-wrap img { display: block; width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.supporting-screen:hover .screen-image-wrap img { transform: scale(1.03); }
.supporting-screen figcaption strong { display: block; font: 800 clamp(24px, 1vw + 16px, 30px)/1.12 var(--font-display); letter-spacing: -.028em; text-wrap: balance; }
.supporting-screen figcaption span { display: block; margin-top: var(--s3); font-size: 17px; line-height: 1.55; color: var(--text-2); }

.connected-row { position: relative; display: flex; align-items: center; gap: var(--s5); margin-top: var(--s7); padding: var(--s5) var(--s6); border-radius: var(--radius); background: linear-gradient(120deg, rgba(255, 236, 210, .06), rgba(255, 236, 210, .02)); box-shadow: var(--shadow-card); }
.connected-row p { flex: 1; }
.connected-row strong { display: block; font: 650 19px/1.35 var(--font-ui); letter-spacing: -.01em; }
.connected-row p span { display: block; margin-top: var(--s1); max-width: 60ch; font-size: 16px; line-height: 1.55; color: var(--text-2); }

/* ───────── UV section ───────── */
.uv-section { position: relative; padding-block: var(--section); background: var(--grain), radial-gradient(ellipse 50% 70% at 85% 30%, rgba(156, 86, 28, .22), transparent 70%), linear-gradient(115deg, #21180f, #382514); }
.uv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 96px); align-items: start; }
.uv-intro > p { max-width: 26em; margin: var(--s5) 0 var(--s6); font-size: var(--fs-lead); color: var(--text-2); }
.live-widget { position: relative; padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, rgba(255, 220, 160, .08), rgba(255, 220, 160, .02)); box-shadow: var(--shadow-card); }
.live-topline { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); }
.live-source { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--surface-hi); font: 500 13px/1.2 var(--font-ui); color: var(--text-2); }
.live-source i { width: 7px; height: 7px; border-radius: 50%; background: #b8d898; box-shadow: 0 0 0 0 rgba(184, 216, 152, .6); animation: live 2.4s ease-out infinite; }
@keyframes live { 70%, 100% { box-shadow: 0 0 0 7px rgba(184, 216, 152, 0); } }
.live-widget label { display: block; margin: var(--s5) 0 var(--s2); font: 500 15px/1.3 var(--font-ui); color: var(--text-2); }
.live-widget select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .16); border-radius: var(--radius-sm); background: #3c2b1d; font-size: 17px; color: var(--text); transition: border-color .2s; }
.live-widget select:hover { border-color: var(--line-strong); }
.live-value { display: flex; align-items: center; gap: var(--s5); min-height: 84px; margin-top: var(--s4); }
.live-value strong { font: 800 64px/1.1 var(--font-display); letter-spacing: -.04em; color: var(--gold); font-variant-numeric: tabular-nums; }
.live-value span { font: 600 17px/1.3 var(--font-ui); color: var(--text-2); }
.live-result > p { margin: var(--s2) 0 var(--s4); font-size: 16px; line-height: 1.55; color: var(--text-2); }
.retry-button { margin-bottom: var(--s4); padding: 10px 16px; min-height: 44px; border: 1px solid rgba(239, 196, 120, .4); border-radius: var(--radius-sm); background: transparent; font: 600 15px var(--font-ui); color: var(--gold); transition: background-color .2s; }
.retry-button:hover { background: rgba(242, 161, 0, .1); }
.source-note { padding-top: var(--s4); border-top: 1px solid var(--line); font-size: var(--fs-caption); line-height: 1.55; color: var(--text-3); }

.uv-explainer > h3 { font-size: clamp(24px, .8vw + 18px, 30px); }
.scale-intro { margin-top: var(--s3); color: var(--text-2); }
.who-scale { margin: var(--s6) 0 var(--s7); }
.who-scale ol { display: flex; gap: var(--s2); margin: var(--s4) 0 0; padding: 0; list-style: none; }
.who-scale li { position: relative; flex: 1; min-width: 0; padding-top: var(--s3); }
.who-scale li::before { content: ''; position: absolute; inset: 0 0 auto; height: 5px; border-radius: 3px; background: currentColor; transform-origin: left; }
.who-scale strong { display: block; font: 700 21px/1.3 var(--font-ui); letter-spacing: -.01em; }
.who-scale span { display: block; font: 500 14px/1.3 var(--font-ui); color: var(--text-2); }
.low { color: var(--low); } .moderate { color: var(--moderate); } .high { color: var(--high); } .very-high { color: var(--very-high); } .extreme { color: var(--extreme); }
.planning-bands h4 { margin-bottom: var(--s2); }
.planning-bands > div { display: flex; align-items: center; gap: var(--s4); padding: var(--s4) 0; border-bottom: 1px solid var(--line); }
.planning-bands div > span { width: 76px; flex: none; font: 600 16px var(--font-ui); color: var(--gold); font-variant-numeric: tabular-nums; }
.planning-bands strong { font: 500 17px/1.4 var(--font-ui); }
.planning-bands i { margin-left: auto; font-style: normal; font-size: 20px; color: var(--gold); }

/* ───────── UV library ───────── */
.uv-library { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: var(--s8); align-items: center; border-bottom: 1px solid var(--line); }
.uv-library-intro p { max-width: 22em; margin-top: var(--s4); color: var(--text-2); }
.level-links { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s3); }
.level-links a { --tone: var(--gold); display: flex; flex-direction: column; padding: 14px 16px 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); color: var(--tone); transition: transform .3s var(--ease), border-color .3s, background-color .3s; }
.level-links a:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--tone) 55%, transparent); background: color-mix(in srgb, var(--tone) 10%, transparent); }
.level-links small { font: 600 12px/1.2 var(--font-ui); letter-spacing: .1em; color: var(--text-3); }
.level-links strong { font: 800 34px/1.2 var(--font-display); letter-spacing: -.035em; }
.level-links span { margin-top: 2px; font: 500 13px/1.3 var(--font-ui); color: var(--text-2); white-space: nowrap; }
.level-links span::after { content: ' →'; transition: margin .25s var(--ease); }
.level-links a:hover span::after { margin-left: 3px; }
.level-links .level-low { --tone: var(--low); } .level-links .level-mod { --tone: var(--moderate); } .level-links .level-high { --tone: var(--high); }
.level-links .level-vhigh { --tone: var(--very-high); } .level-links .level-extreme { --tone: var(--extreme); }

/* ───────── Guides ───────── */
.guide-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s8); }
.guide-list a { display: grid; grid-template-columns: 1fr 40px; align-items: center; gap: 6px var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--line); transition: color .2s; }
.guide-list a > span { grid-column: 1; font: 600 13px/1.3 var(--font-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.guide-list h3 { grid-column: 1; font: 600 20px/1.4 var(--font-ui); letter-spacing: -.012em; text-wrap: pretty; }
.guide-list i { grid-column: 2; grid-row: 1 / 3; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-style: normal; font-size: 17px; color: var(--text-2); transition: transform .3s var(--ease), color .2s, background-color .2s, border-color .2s; }
.guide-list a:hover { color: var(--gold); }
.guide-list a:hover i { transform: translate(3px, -3px); color: var(--ink); background: var(--gold); border-color: var(--gold); }

/* ───────── Closing ───────── */
.closing-section { position: relative; isolation: isolate; padding-block: var(--section); text-align: center; }
.closing-section::before { content: ''; position: absolute; inset: 0 5%; z-index: -1; background: radial-gradient(ellipse at center, rgba(137, 81, 22, .3), transparent 70%); }
.closing-sun { position: relative; width: 160px; height: 60px; margin: 0 auto var(--s5); overflow: hidden; border-bottom: 1px solid rgba(244, 199, 131, .35); }
.closing-sun span { display: block; width: 72px; height: 72px; margin: 26px auto 0; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--gold-soft), var(--amber)); box-shadow: 0 0 60px rgba(242, 161, 0, .55); }
.js .closing-sun span { transform: translateY(40px); transition: transform 1.6s var(--ease-out) .2s; }
.js .closing-inner.is-shown .closing-sun span { transform: none; }
.closing-kicker { margin-bottom: var(--s4); font: 500 17px var(--font-ui); color: var(--text-2); }
.closing-section h2 { margin-bottom: var(--s6); }
.closing-section h2 span { color: var(--gold); }
.closing-section .download-note { margin-top: var(--s4); }

/* ───────── Footer ───────── */
.site-footer { position: relative; background: rgba(24, 17, 10, .5); padding-block: var(--s7) var(--s6); }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: var(--s6); }
.footer-brand p { margin-top: var(--s3); max-width: 30ch; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.footer-top nav { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-left: auto; }
.footer-top nav a { padding-block: 6px; font: 500 16px var(--font-ui); color: var(--text-2); transition: color .2s; }
.footer-top nav a:hover { color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; gap: var(--s4); margin-top: var(--s6); padding-top: var(--s5); border-top: 1px solid var(--line); font-size: var(--fs-caption); color: var(--text-3); }

/* ───────── Scroll reveal & play states (only when JS is running) ───────── */
.js [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: calc(var(--reveal-i, 0) * 90ms); }
.js [data-reveal].is-shown { opacity: 1; transform: none; }
.js .mini-forecast i { transform: scaleY(.06); transition: transform 1s var(--ease-out); }
.js .mini-forecast .hour:nth-child(2) i { transition-delay: .07s; } .js .mini-forecast .hour:nth-child(3) i { transition-delay: .14s; }
.js .mini-forecast .hour:nth-child(4) i { transition-delay: .21s; } .js .mini-forecast .hour:nth-child(5) i { transition-delay: .28s; }
.js .mini-forecast .hour:nth-child(6) i { transition-delay: .35s; }
.js .mini-forecast.is-playing i { transform: none; }
.js .skin-tones i { opacity: 0; transform: scale(.4); transition: opacity .5s, transform .6s var(--ease-out); }
.js .skin-tones i:nth-child(2) { transition-delay: .06s; } .js .skin-tones i:nth-child(3) { transition-delay: .12s; } .js .skin-tones i:nth-child(4) { transition-delay: .18s; }
.js .skin-tones i:nth-child(5) { transition-delay: .24s; } .js .skin-tones i:nth-child(6) { transition-delay: .3s; }
.js .skin-tones.is-playing i { opacity: 1; transform: none; }
.js .session-steps li { opacity: 0; transform: translateX(-14px); transition: opacity .6s, transform .7s var(--ease-out); }
.js .session-steps li:nth-child(2) { transition-delay: .12s; } .js .session-steps li:nth-child(3) { transition-delay: .24s; }
.js .session-steps.is-playing li { opacity: 1; transform: none; }
.js .who-scale li::before { transform: scaleX(0); transition: transform .9s var(--ease-out); }
.js .who-scale li:nth-child(2)::before { transition-delay: .1s; } .js .who-scale li:nth-child(3)::before { transition-delay: .2s; }
.js .who-scale li:nth-child(4)::before { transition-delay: .3s; } .js .who-scale li:nth-child(5)::before { transition-delay: .4s; }
.js .who-scale.is-playing li::before { transform: none; }

/* ───────── Responsive ───────── */
@media (max-width: 1279px) {
  .hero-stage { --dome-w: 680px; --phone-w: 280px; --dome-top: -20px; --phone-top: 145px; height: 670px; }
  .hero-app-screen { border-radius: 50px 50px 14px 14px; }
  .session-note { left: -12px; bottom: 80px; }
  .supporting-screen { flex-direction: column; align-items: flex-start; }
  .screen-image-wrap { flex: none; width: 100%; max-width: 340px; align-self: center; }
  .app-features { gap: var(--s4); }
  .card { padding-inline: 24px; }
}

@media (max-width: 1023px) {
  .wrap { width: min(1200px, 100% - 64px); }
  .hero { grid-template-columns: 1fr; min-height: 0; gap: var(--s4); padding-top: var(--s7); }
  .hero-copy { max-width: 640px; }
  .hero-proof { display: none; }
  .hero-stage { --dome-w: 680px; --phone-w: 290px; --dome-top: -10px; --phone-top: 150px; height: 680px; width: 100%; max-width: 640px; margin-inline: auto; }
  .session-note { left: 0; }
  .app-features { grid-template-columns: 1fr 1fr; }
  .session-feature { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--s6); }
  .session-feature .feature-heading, .session-feature > p { grid-column: 1; }
  .session-steps { grid-column: 2; grid-row: 1 / 3; margin-top: 0; align-self: center; }
  .uv-grid { grid-template-columns: 1fr; }
  .uv-library { grid-template-columns: 1fr; gap: var(--s6); }
  .guide-list { column-gap: var(--s6); }
  .companion-strip .wrap { flex-direction: column; justify-content: center; text-align: center; }
  .companion-strip ul { justify-content: center; }
}

@media (max-width: 767px) {
  :root { --fs-body: 17px; --header-h: 64px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { gap: var(--s3); }
  .is-scrolled .header-inner { height: 56px; }
  .brand { font-size: 21px; gap: 8px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .site-header .store-btn--compact { margin-left: auto; min-height: 40px; padding: 0 14px 0 12px; font-size: 15px; }
  .js .menu-toggle { display: grid; place-content: center; gap: 5px; width: 44px; height: 44px; margin-right: -8px; border: 0; border-radius: 12px; background: transparent; }
  .menu-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s var(--ease); }
  .menu-open .menu-toggle span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: var(--s2) 16px var(--s4); background: #22170d; box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .8); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s; }
  .menu-open .site-nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease), visibility 0s; }
  .site-nav a { padding: 14px 4px; border-radius: 0; font-size: 18px; border-bottom: 1px solid var(--line); }
  .site-nav a:last-child { border-bottom: 0; }
  .site-nav a:hover { background: transparent; color: var(--gold); }

  .hero { padding-top: var(--s6); padding-bottom: var(--s5); }
  .eyebrow { font-size: 12px; letter-spacing: .14em; margin-bottom: var(--s4); }
  .lead { margin-top: var(--s4); }
  .hero-actions { margin-top: var(--s5); gap: var(--s3) var(--s5); }
  .store-btn--large { min-height: 58px; padding-right: 26px; }
  .store-btn__label strong { font-size: 21px; }
  .hero-stage { --dome-w: 150vw; --phone-w: min(290px, 80vw); --dome-top: -10px; --phone-top: 128px; height: 650px; }
  .hero-app-screen { border-radius: 46px 46px 12px 12px; }
  .day-dome text { display: none; }
  .session-note { left: 0; bottom: 64px; max-width: 280px; padding: 12px 16px 12px 12px; gap: 12px; }
  .session-note strong { font-size: 16px; }
  .notification-icon { width: 38px; height: 38px; font-size: 21px; }
  .stage-caption { bottom: 4px; }

  .companion-strip .wrap { padding-block: var(--s5); gap: var(--s4); }
  .companion-strip li { font-size: 14px; padding: 6px 12px; }
  .section-heading { display: block; margin-bottom: var(--s6); }
  .section-heading > p, .section-heading > .text-link { margin-top: var(--s4); }
  .app-features { grid-template-columns: 1fr; }
  .session-feature { display: block; }
  .session-steps { margin-top: var(--s5); }
  .card { padding: 28px 22px 24px; }
  .mini-forecast { gap: 12px; }
  .app-screen-gallery { grid-template-columns: 1fr; margin-top: var(--s6); }
  .supporting-screen { padding: var(--s5); gap: var(--s5); }
  .connected-row { flex-direction: column; align-items: flex-start; gap: var(--s4); padding: var(--s5); }
  .connected-row .store-btn { align-self: stretch; }
  .live-widget { padding: 22px; }
  .live-value strong { font-size: 58px; }
  .who-scale ol { gap: 6px; }
  .who-scale strong { font-size: 17px; }
  .who-scale span { font-size: 12px; white-space: nowrap; }
  .planning-bands div > span { width: 64px; font-size: 15px; }
  .planning-bands strong { font-size: 16px; }
  .level-links { gap: var(--s2); }
  .level-links a { padding: 10px 0 12px; align-items: center; border-radius: 14px; }
  .level-links strong { font-size: 28px; }
  .level-links span { font-size: 0; }
  .level-links span::after { content: '→'; font-size: 14px; }
  .guide-list { grid-template-columns: 1fr; }
  .guide-list h3 { font-size: 18px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: var(--s5); }
  .footer-top nav { margin-left: 0; }
  .footer-bottom { flex-direction: column; gap: var(--s2); }
}

@media (max-width: 359px) {
  .wrap { width: calc(100% - 24px); }
  .site-header .store-btn--compact span { display: none; }
  .site-header .store-btn--compact { padding: 0 12px; }
  .who-scale span { font-size: 11px; }
}

/* ───────── Reduced motion: instant states, nothing moves ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .mini-forecast i, .js .skin-tones i, .js .session-steps li, .js .who-scale li::before, .js .closing-sun span { opacity: 1; transform: none; }
  .hero-phone, .session-note, .day-dome { transform: none; }
  .session-note { transform: rotate(-3deg); }
  .store-btn:hover, .card:hover, .level-links a:hover, .guide-list a:hover i, .supporting-screen:hover .screen-image-wrap img { transform: none; }
}
/* ───────── Phone mock-up: live UV readout over the real Today screenshot ─────────
   Coordinates are measured on screen-today.jpg (1000 × 1440): left/top in % of the image box,
   sizes in cqw (1cqw = 10 image px), so the overlay scales with the phone at every width. */
@font-face { font-family: Hanken; src: url('/assets/fonts/HankenGrotesk-Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
.uv-screen { position: absolute; left: -12.5%; top: -2.49%; width: 125%; aspect-ratio: 1000 / 1440; container-type: inline-size; pointer-events: none; }
.uv-screen > * { position: absolute; }
.uv-patch--readout {
  left: 17.6%; top: 28.6%; width: 53%; height: 9.72%;
  background: linear-gradient(90deg, rgba(88, 42, 46, .5), rgba(88, 42, 46, 0) 24%, rgba(88, 42, 46, 0) 100%), linear-gradient(180deg, #8d503c 0%, #874a38 15%, #804535 35%, #7a4235 52%, #713d36 70%, #673734 88%, #613335 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in; mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 96%, transparent), linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent); mask-composite: intersect;
}
.uv-number { left: 19.8%; top: 29.25%; font: 800 14.2cqw/1 var(--font-display); letter-spacing: -.015em; color: #fcf2e6; font-variant-numeric: tabular-nums; white-space: nowrap; }
.uv-band-label { left: 43.1%; top: 30.1%; font: 700 3.7cqw/1.1 var(--font-display); letter-spacing: -.01em; color: #fec874; transition: color .8s ease; }
.uv-band-label[data-tone="low"] { color: #5fd3c2; }
.uv-band-label[data-tone="moderate"] { color: #f7cf5a; }
.uv-band-label[data-tone="high"] { color: #fec874; }
.uv-band-label[data-tone="very-high"] { color: #ff8a4c; }
.uv-band-label[data-tone="extreme"] { color: #ff6a7e; }
.uv-caption { left: 43%; top: 33.8%; font: 500 2.2cqw/1.32 Hanken, var(--font-text); color: #c9a69b; white-space: nowrap; }
.uv-patch--slider { left: 17.8%; top: 40.5%; width: 64.6%; height: 3.4%; background: #4c2733; }
.uv-track { left: 18.9%; top: 41.6%; width: 62%; height: 1.25%; border-radius: 99px; background: linear-gradient(90deg, #33b8a3 0%, #a6b783 18%, #f1ac37 40%, #f8932b 60%, #fb612b 75%, #f14f38 88%, #cd2d4d 100%); box-shadow: 0 0 1.2cqw rgba(241, 120, 60, .25); }
.uv-knob { position: absolute; display: block; left: -1.8cqw; top: 50%; width: 3.6cqw; height: 3.6cqw; margin-top: -1.8cqw; border-radius: 50%; border: .6cqw solid #f8932b; background: #ece7e8; box-shadow: 0 .3cqw 1cqw rgba(30, 10, 10, .45); transform: translate3d(38.33cqw, 0, 0); }
/* Planning tip card under the slider (text area x 284–830, y 762–868) */
.uv-patch--tip { left: 28.2%; top: 52.8%; width: 55.2%; height: 7.5%; background: linear-gradient(180deg, #452637, #432636 45%, #412637); -webkit-mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent); mask-image: linear-gradient(90deg, transparent, #000 1.5%, #000 98.5%, transparent); }
.uv-tip { left: 29.1%; top: 53.3%; width: 52.5cqw; display: flex; flex-direction: column; gap: .45cqw; transition: opacity .26s ease, transform .26s ease; }
.uv-tip.is-changing { opacity: 0; transform: translateY(.4cqw); }
.uv-tip strong { font: 700 3.2cqw/1.1 var(--font-display); letter-spacing: -.012em; color: #fff4ef; }
.uv-tip span { font: 500 2.16cqw/1.36 Hanken, var(--font-text); color: #d3b9c0; text-wrap: pretty; }
@media (prefers-reduced-motion: reduce) { .uv-band-label, .uv-tip { transition: none; } }

/* Analytics consent bar (analytics.js shows it to visitors in European time zones) */
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 640px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 14px 16px; border-radius: 18px; background: rgba(36, 24, 13, 0.94); border: 1px solid rgba(255, 201, 60, 0.22); box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); color: #f4e7d6; font: 15px/1.45 -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, sans-serif; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.consent[hidden] { display: none; }
.consent p { margin: 0; flex: 1 1 280px; }
.consent a { color: #ffc93c; }
.consent-actions { display: flex; gap: 8px; }
.consent-button { border: 1px solid rgba(255, 201, 60, 0.45); background: transparent; color: #fff4e4; border-radius: 999px; padding: 8px 16px; font: 600 14px -apple-system, system-ui, sans-serif; cursor: pointer; }
.consent-button[data-consent-choice="granted"] { background: linear-gradient(180deg, #ffd66b, #f2a100); color: #2b1600; border-color: transparent; }
.consent-button:focus-visible { outline: 3px solid #ffc93c; outline-offset: 2px; }
.analytics-control { margin: 12px 0 20px; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(163, 90, 0, 0.25); display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.analytics-control[hidden] { display: none; }
.analytics-control button { border: 1px solid rgba(163, 90, 0, 0.45); background: transparent; color: inherit; border-radius: 999px; padding: 6px 14px; font: 600 14px -apple-system, system-ui, sans-serif; cursor: pointer; }
