/* ClearMile pre-launch page — visuals that show the problem and the promise, never the product. */

/* Hero: haze field with a clear zone around the Ribbon */
.hero-art { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 30% 40%, #F7F9FB 0%, #E3E8EF 55%, #D3DDEA 100%);
  border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255,255,255,.9), 0 30px 60px -40px rgba(34,50,74,.6); }
.hero-art canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-art .mark { position: absolute; left: 14%; top: 17%; width: 60%; height: 60%; filter: drop-shadow(0 18px 24px rgba(34,50,74,.25)); }
.hero-art .tag { position: absolute; left: 20px; bottom: 18px; right: 20px; display: flex; justify-content: space-between; gap: 12px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.hero-art .tag b { color: var(--ink); font-weight: 700; }
@media (max-width: 860px) { .hero-art { max-width: 520px; } }

/* "Same breath, different city" — PM2.5 dot comparison */
.breath { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.breath figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.breath .jar { position: relative; aspect-ratio: 1 / 1; border-radius: 18px; overflow: hidden;
  background: linear-gradient(160deg, #F7F9FB, #E9EEF5); border: 1px solid var(--line); }
.breath svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.breath svg circle { transition: opacity .5s ease, r .5s ease; }
.breath figcaption { margin-top: 14px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.breath figcaption strong { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.breath figcaption span { color: var(--muted); font-size: 15px; }
.breath-note .x { display: block; margin-bottom: 6px; color: var(--ink); font-family: var(--display); font-size: clamp(40px, 6vw, 64px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.city-pick { margin-top: 28px; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.city-pick button { font: inherit; font-weight: 600; font-size: 16px; color: var(--muted); background: none; border: 1.5px solid transparent; border-radius: 10px; padding: 8px 16px; cursor: pointer; }
.city-pick button[aria-pressed="true"] { background: var(--metal); color: var(--ink); border-color: #7C90AD; box-shadow: var(--shadow-btn); }
.breath-note { margin-top: 14px; font-size: 14px; color: var(--muted); max-width: 760px; }
@media (max-width: 640px) { .breath { grid-template-columns: 1fr 1fr; gap: 10px; } .breath figure { padding: 12px; } .breath figcaption strong { font-size: 17px; } }

/* Promise cards with simple line icons */
.promise .ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--metal); border: 1px solid #9AAAC1; margin-bottom: 16px; }
.promise .ico svg { width: 24px; height: 24px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Under wraps: frosted panel over abstract metal, no product shape */
.wraps { margin-top: 44px; position: relative; overflow: hidden; border-radius: 28px; min-height: 340px; display: grid; align-items: end;
  background: #22324A; isolation: isolate; }
.wraps .blobs { position: absolute; inset: -20%; z-index: -2; filter: blur(38px) saturate(1.1); }
.wraps .blobs span { position: absolute; border-radius: 50%; opacity: .9; animation: drift 18s ease-in-out infinite alternate; }
.wraps .blobs span:nth-child(1) { width: 55%; height: 60%; left: 5%; top: 10%; background: radial-gradient(circle at 30% 30%, #D3DDEA, #546D92 60%, transparent 70%); }
.wraps .blobs span:nth-child(2) { width: 50%; height: 55%; right: 0; top: 25%; background: radial-gradient(circle at 60% 40%, #A4B6CF, #34496B 65%, transparent 72%); animation-duration: 22s; }
.wraps .blobs span:nth-child(3) { width: 40%; height: 45%; left: 35%; bottom: 0; background: radial-gradient(circle, #F2F5F9, #6B819F 55%, transparent 70%); animation-duration: 26s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(6%, -5%) scale(1.12); } }
.wraps::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 7px), linear-gradient(180deg, rgba(34,50,74,0) 30%, rgba(28,42,62,.75)); }
.wraps .glass { margin: 22px; padding: 28px; border-radius: 20px; background: rgba(238,241,245,.14); border: 1px solid rgba(255,255,255,.28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: #fff; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.wraps .glass h3 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; letter-spacing: -0.03em; }
.wraps .glass p { margin-top: 8px; color: #D3DDEA; max-width: 560px; font-size: 17px; }
.wraps .stamp { position: absolute; top: 22px; left: 22px; font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #fff;
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.45); background: rgba(34,50,74,.35); }
.wraps .btn-primary { flex: none; }
@media (prefers-reduced-motion: reduce) { .wraps .blobs span { animation: none; } }
