/* tempoweather.app: one dark page set at dusk, the app icon's navy wall lit
   by a golden-hour sky. Built from the review mockup in
   design/app-store/site (Hunter, 2026-11-18). */
:root {
  --night: #0b1226; --panel: #172142; --line: #26305a;
  --fg: #f4f1ee; --muted: #a3acc4;
  --gold: #ffb27a; --rose: #f58fb4; --lilac: #b9a2ff;
  --ui: -apple-system, "SF Pro Display", "Inter", system-ui, sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--night); }
body { margin: 0; background: var(--night); color: var(--fg); font-family: var(--ui); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.page { position: relative; overflow: hidden; min-height: 100vh; }
.in { position: relative; max-width: 1080px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.sky { position: absolute; inset: 0 0 auto; height: 900px; pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(255,160,110,.45), transparent 70%),
    radial-gradient(ellipse 45% 40% at 12% 5%, rgba(236,120,170,.25), transparent 70%),
    radial-gradient(ellipse 45% 40% at 90% 8%, rgba(150,130,230,.25), transparent 70%); }
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 20px; padding-top: max(20px, env(safe-area-inset-top, 0px)); }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.links { display: flex; gap: 20px; font-size: 14px; color: var(--muted); }
.links a { text-decoration: none; }
.links a:hover { color: var(--fg); }
.glow { background: linear-gradient(90deg, var(--gold), var(--rose) 55%, var(--lilac)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Hero: the iPhone beside an open MacBook, its menu bar popover open and
   widgets on the desktop. 7% of the phone hangs below the MacBook. */
.hero { text-align: center; padding-block: 48px 8px; }
.hero h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); font-weight: 800; letter-spacing: -.035em; line-height: 1; margin: 0; text-wrap: balance; }
.hero p { color: var(--muted); font-size: 1.2rem; margin: 20px auto 0; max-width: 46ch; text-wrap: balance; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; }
.store { display: inline-flex; flex-direction: column; align-items: flex-start; background: #fff; color: #000; border-radius: 12px; padding: 9px 18px; font-weight: 600; font-size: 16px; line-height: 1.15; }
.store small { font-size: 10px; font-weight: 500; }
.price { font-size: 14px; color: var(--muted); }
.scene { position: relative; max-width: 960px; aspect-ratio: 960 / 575; container-type: inline-size; margin: 48px auto 0; }
.mbp { position: absolute; left: 0; top: 0; width: 82%; }
.lid { background: #0b0c10; border: 1px solid #2f3445; border-radius: 22px 22px 6px 6px; padding: 12px 12px 16px; box-shadow: 0 50px 100px rgba(0,0,0,.55); }
.screen { position: relative; aspect-ratio: 16 / 10; border-radius: 8px; overflow: hidden;
  background: linear-gradient(180deg, #232a5c 0%, #5b4a8c 40%, #c8749c 75%, #f2a46e 100%); }
.mb { display: flex; align-items: center; justify-content: space-between; height: 2.3cqw; padding: 0 1.25cqw; font-size: 1.15cqw; font-weight: 600; color: #fff; background: rgba(15,15,35,.35); }
.mb .l, .mb .r { display: flex; gap: 1.45cqw; align-items: center; }
.mb .l b { font-weight: 800; }
.mb .on { display: inline-flex; align-items: center; gap: .4cqw; padding: .1cqw .7cqw; border-radius: .5cqw; background: rgba(255,255,255,.28); }
.mb svg { width: 1.45cqw; height: 1.25cqw; }
.screen .pop { position: absolute; right: 10%; top: 5.6%; width: 38%; border-radius: 11px; border: 1px solid rgba(255,255,255,.2); box-shadow: 0 24px 50px rgba(0,0,0,.5); }
.desk-w { position: absolute; left: 2.3%; top: 8.3%; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; width: 40%; }
.desk-w img { display: block; width: 100%; border-radius: 2cqw; box-shadow: 0 12px 28px rgba(20,16,50,.4); }
.desk-w .wide { grid-column: span 2; }
.base { position: relative; height: 14px; margin: 0 -6%; background: linear-gradient(180deg, #d9dbe3, #9a9eab); border-radius: 2px 2px 16px 16px; }
.base::before { content: ""; position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: 6px; background: #7d8190; border-radius: 0 0 8px 8px; }
.iph { position: absolute; right: 0; top: 6.1cqw; width: 23%; padding: .75cqw; border-radius: 4.4cqw; background: #0b0c10; border: 1px solid #343a4c; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.iph img { display: block; width: 100%; border-radius: 3.7cqw; }

.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 56px; margin-top: 40px; border-top: 1px solid var(--line); }
.facts b { display: block; font-size: 15px; margin-bottom: 4px; }
.facts span { color: var(--muted); font-size: 14px; }
.pricing { text-align: center; padding-block: 56px 64px; border-top: 1px solid var(--line); }
.pricing h2 { font-size: clamp(1.8rem, 3.6vw, 2.4rem); font-weight: 800; letter-spacing: -.03em; margin: 0 0 8px; text-wrap: balance; }
.plans { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.plan { background: var(--panel); border-radius: 18px; padding: 22px 28px; min-width: 200px; text-align: left; }
.plan.best { outline: 1px solid rgba(255,178,122,.55); }
.plan .amt { font-size: 2rem; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.plan .per { color: var(--muted); font-size: 14px; }
.plan .tag { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 600; color: var(--gold); }
.support { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding-block: 56px; border-top: 1px solid var(--line); }
.support h2 { font-size: 1.6rem; letter-spacing: -.02em; margin: 0 0 8px; }
.support p { color: var(--muted); margin: 0 0 10px; max-width: 46ch; }
.card { background: var(--panel); border-radius: 18px; padding: 22px 24px; align-self: start; }
.card b { display: block; margin-bottom: 4px; }
.card a { color: var(--gold); text-decoration: none; font-weight: 600; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px 30px; padding-bottom: max(30px, env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.foot .fl { display: flex; gap: 18px; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--fg); }

/* Privacy and other text pages. */
.doc { max-width: 680px; padding-block: 32px 64px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); letter-spacing: -.03em; line-height: 1.1; margin: 0 0 6px; }
.doc .date { color: var(--muted); margin: 0 0 28px; }
.doc h2 { font-size: 1.15rem; margin: 32px 0 6px; }
.doc p, .doc li { color: #d3d8e6; }
.doc .lead { font-size: 1.15rem; color: var(--fg); }
.doc a { color: var(--gold); }

@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .support { grid-template-columns: 1fr; }
  .scene { aspect-ratio: 960 / 640; }
  .mbp { width: 92%; }
  .iph { width: 30%; top: 9cqw; }
}
