/* Product mockups drawn in HTML/CSS: iPhone, Apple Watch, the HR dashboard in a browser, notifications, an email and a share card.
   Screens use the app's v3 look: void black, lime accent, Space Grotesk + Nunito. All names and numbers are illustrative. */

.m, .m * { box-sizing: border-box; }
.m { --m-void: #050607; --m-surface: #0E1012; --m-raised: #16191C; --m-line: #1C1F22; --m-line2: #2E3236; --m-bone: #EDEFE8; --m-ash: #8A9188; --m-ash2: #B4BAB2; --m-lime: #C6FF3D; --m-live: #FF4D42; --m-sky: #5CC8FF; --m-sun: #FFC93C; --m-lilac: #B48AF5; --m-coral: #FF7A59; }

/* ---------- iPhone ---------- */
/* The frame is 300px wide; the screen inside is laid out at the app's real size (393 x 874 pt) and scaled to fit,
   so every number below matches the SwiftUI code (TabHeader, DayDotStrip, LightBarMeter, FloatingNav...). */
.phone {
  width: 300px; height: 640px; flex: none; border-radius: 54px; padding: 11px; position: relative;
  background: linear-gradient(145deg, #3A3D40, #121314 30%, #2A2C2E 70%, #0B0C0D);
  box-shadow: 0 0 0 1.5px #4A4D50 inset, 0 0 0 1px #000, 0 50px 90px -30px rgba(10, 12, 11, .55), 0 20px 40px -20px rgba(10,12,11,.35);
}
.phone::before { content: ""; position: absolute; right: -3px; top: 170px; width: 3px; height: 90px; border-radius: 0 3px 3px 0; background: #2A2C2E; }
.phone::after { content: ""; position: absolute; left: -3px; top: 140px; width: 3px; height: 54px; border-radius: 3px 0 0 3px; background: #2A2C2E; box-shadow: 0 74px 0 #2A2C2E; }
.phone .screen { position: relative; width: 100%; height: 100%; border-radius: 44px; overflow: hidden; background: var(--m-void); }
.vs { text-align: left; position: absolute; left: 0; top: 0; width: 393px; height: 874px; transform: scale(.7074); transform-origin: 0 0; background: var(--m-void); color: var(--m-bone); font-family: "Space Grotesk", system-ui, sans-serif; font-weight: 500; overflow: hidden; -webkit-font-smoothing: antialiased; }
.v-island { position: absolute; left: 50%; top: 11px; transform: translateX(-50%); width: 126px; height: 37px; border-radius: 20px; background: #000; z-index: 10; }
.v-status { display: flex; justify-content: space-between; align-items: center; height: 54px; padding: 6px 34px 0 52px; font: 600 17px "Inter", system-ui; color: #fff; }
.v-status .ic { display: flex; gap: 6px; align-items: center; }
.v-pad { padding: 8px 18px 0; }
.v-caps { font-family: "Space Mono", ui-monospace, monospace; font-weight: 400; font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--m-ash); }
.v-head { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.v-head .t { display: flex; align-items: baseline; gap: 10px; flex: 1; min-width: 0; }
.v-head h6 { margin: 0; font: 600 32px/1 "Space Grotesk"; letter-spacing: -1px; color: var(--m-bone); }
.v-streak { display: flex; align-items: center; gap: 6px; height: 38px; padding: 0 12px; border-radius: 99px; background: var(--m-surface); box-shadow: inset 0 0 0 1px var(--m-line2); font: 700 15px "Space Mono"; color: var(--m-lime); }
.v-streak svg { width: 16px; height: 16px; filter: drop-shadow(0 0 4px rgba(198,255,61,.8)); }
.v-av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; flex: none; font: 700 15px "Space Grotesk"; color: #fff; box-shadow: 0 0 0 2px var(--m-void), 0 0 0 3px var(--m-line2); }
.c1 { background: #2B5F86; } .c2 { background: #6A47A8; } .c3 { background: #9A4A2E; } .c4 { background: #4A6420; } .c5 { background: #7A5E14; } .c6 { background: #2A2D30; }

/* Day dots */
.v-days { display: flex; margin: 20px -18px 0; padding: 0 4px; -webkit-mask: linear-gradient(90deg, transparent, #000 16%, #000 92%, transparent); mask: linear-gradient(90deg, transparent, #000 16%, #000 92%, transparent); }
.v-day { width: 47px; flex: none; display: grid; justify-items: center; gap: 9px; font: 400 11px "Space Mono"; color: var(--m-ash); }
.v-dot { width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--m-line2); }
.v-dot.full { background: var(--m-lime); box-shadow: 0 0 14px rgba(198,255,61,.55); }
.v-dot.today { background: conic-gradient(var(--m-lime) 0 var(--p), #1C1F22 var(--p) 100%); box-shadow: inset 0 0 0 2px var(--m-lime), 0 0 16px rgba(198,255,61,.6); }
.v-day.now { color: var(--m-lime); }

/* Hero: today's steps as a light-bar meter */
.v-hero { position: relative; overflow: hidden; margin-top: 20px; padding: 22px; border-radius: 28px; background: var(--m-surface); box-shadow: inset 0 0 0 1px var(--m-line); }
.v-hero::before { content: ""; position: absolute; width: 320px; height: 200px; left: -40px; bottom: -190px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198,255,61,.16), transparent); }
.v-hero .row { display: flex; justify-content: space-between; align-items: flex-end; }
.v-hero .num { font: 600 64px/1 "Space Grotesk"; letter-spacing: -3px; color: var(--m-bone); margin-top: 4px; font-variant-numeric: tabular-nums; }
.v-hero .goal { font: 400 13px "Space Mono"; color: var(--m-ash); padding-bottom: 8px; }
.v-bars { display: flex; align-items: flex-end; gap: 4px; height: 64px; margin: 16px 0; }
.v-bars i { flex: 1; border-radius: 2px; background: var(--m-line); transform-origin: bottom; transform: scaleY(.06); opacity: .15; transition: transform .7s cubic-bezier(.2,.8,.3,1.1), opacity .7s; }
.v-bars i.on { background: var(--m-lime); box-shadow: 0 0 8px rgba(198,255,61,.5); }
.m.in .v-bars i, .v-bars.in i { transform: scaleY(1); opacity: 1; }
.v-hero .foot { display: flex; justify-content: space-between; align-items: center; }
.v-hero .foot b { font: 700 15px "Space Grotesk"; color: var(--m-lime); }
.v-quiet { margin-top: 14px; text-align: center; font: italic 400 16px "Instrument Serif", Georgia, serif; color: var(--m-ash); }

/* Cards */
.v-card { margin-top: 20px; padding: 14px 16px; border-radius: 24px; background: var(--m-surface); box-shadow: inset 0 0 0 1px var(--m-line); display: flex; align-items: center; gap: 12px; }
.v-card.raised { background: var(--m-raised); }
.v-rank { width: 48px; height: 48px; border-radius: 16px; background: var(--m-lime); color: #050607; display: grid; place-items: center; font: 600 22px "Space Grotesk"; flex: none; }
.v-card .mid { flex: 1; min-width: 0; display: grid; gap: 2px; }
.v-card .mid b { font: 700 17px "Space Grotesk"; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-card .mid span { font: 600 13px "Space Grotesk"; color: var(--m-ash); }
.v-chev { width: 9px; height: 9px; border-right: 2.5px solid var(--m-lime); border-top: 2.5px solid var(--m-lime); transform: rotate(45deg); margin-right: 4px; flex: none; }
.v-pill { width: 46px; height: 64px; border-radius: 99px; box-shadow: inset 0 0 0 2px var(--m-lime), 0 0 12px rgba(198,255,61,.45); display: grid; place-content: center; text-align: center; flex: none; }
.v-pill b { font: 600 18px "Space Grotesk"; color: var(--m-lime); }
.v-pill span { font: 400 9px "Space Mono"; color: var(--m-ash); }
.v-live { display: inline-flex; align-items: center; gap: 8px; }
.v-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--m-live); box-shadow: 0 0 0 0 rgba(255,77,66,.7); animation: v-pulse 1.8s ease-out infinite; }
@keyframes v-pulse { to { box-shadow: 0 0 0 7px rgba(255,77,66,0); } }
.v-sec { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; }
.v-sec h6 { margin: 0; font: 600 20px "Space Grotesk"; letter-spacing: -.5px; color: var(--m-bone); }
.v-sec a { font: 400 11px "Space Mono"; letter-spacing: 1px; text-transform: uppercase; color: var(--m-lime); }

/* Boards */
.v-board { margin-top: 10px; padding: 6px; border-radius: 24px; background: var(--m-surface); box-shadow: inset 0 0 0 1px var(--m-line); }
.v-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 18px; }
.v-row .r { width: 22px; font: 400 12px "Space Mono"; color: var(--m-ash); }
.v-row .v-av { width: 34px; height: 34px; font-size: 13px; box-shadow: none; }
.v-row .n { flex: 1; font: 600 16px "Space Grotesk"; color: var(--m-bone); }
.v-row .s { font: 700 14px "Space Mono"; color: var(--m-bone); }
.v-row.me { background: rgba(198,255,61,.07); }
.v-row.me .r, .v-row.me .s { color: var(--m-lime); }
.v-row.me .v-av { box-shadow: 0 0 0 2px var(--m-lime), 0 0 12px rgba(198,255,61,.45); }
.v-row.me .n { font-weight: 700; }

/* Challenges hub */
.v-new { margin-top: 18px; height: 52px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--m-lime); color: var(--m-lime); display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px "Space Grotesk"; }
.v-livecard { position: relative; overflow: hidden; margin-top: 12px; padding: 18px 20px; border-radius: 26px; background: var(--m-surface); box-shadow: inset 0 0 0 1px var(--m-line); }
.v-livecard::after { content: ""; position: absolute; width: 240px; height: 200px; right: -60px; bottom: -120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(198,255,61,.14), transparent); }
.v-livecard .top { display: flex; justify-content: space-between; }
.v-livecard h5 { margin: 12px 0 0; font: 600 20px "Space Grotesk"; letter-spacing: -.5px; color: var(--m-bone); }
.v-livecard .rk { display: flex; align-items: center; gap: 16px; margin-top: 12px; }
.v-livecard .rk > b { font: 600 48px/1 "Space Grotesk"; letter-spacing: -2.5px; color: var(--m-lime); text-shadow: 0 0 22px rgba(198,255,61,.4); }
.v-livecard .rk div { display: grid; gap: 2px; }
.v-livecard .rk div b { font: 700 15px "Space Grotesk"; color: var(--m-bone); }
.v-livecard .rk div span { font: 600 13px "Space Grotesk"; color: var(--m-ash); }

/* Pushed screens (Workplace competition) */
.v-back { width: 44px; height: 44px; border-radius: 50%; background: var(--m-raised); display: grid; place-items: center; flex: none; }
.v-back i { width: 10px; height: 10px; border-left: 3px solid var(--m-bone); border-bottom: 3px solid var(--m-bone); transform: rotate(45deg); margin-left: 4px; }
.v-ph { display: flex; align-items: center; gap: 12px; }
.v-ph .t { flex: 1; min-width: 0; }
.v-ph h6 { margin: 0; font: 600 26px/1.1 "Space Grotesk"; color: var(--m-bone); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v-ph .t span { font: 700 13px "Space Grotesk"; color: #9AA198; }
.v-daypill { height: 32px; padding: 0 12px; border-radius: 99px; background: var(--m-raised); display: grid; place-items: center; font: 700 12px "Space Grotesk"; letter-spacing: .5px; color: var(--m-lime); white-space: nowrap; }
.v-info { margin-top: 12px; padding: 12px 14px; border-radius: 22px; background: var(--m-surface); box-shadow: inset 0 0 0 1px var(--m-line); display: grid; gap: 7px; font: 700 13px "Space Grotesk"; color: var(--m-bone); }
.v-info span { display: flex; gap: 10px; align-items: center; }
.v-info span::before { content: ""; width: 14px; height: 14px; border-radius: 4px; box-shadow: inset 0 0 0 1.5px var(--m-lime); flex: none; }
.v-seg { margin-top: 12px; display: flex; gap: 4px; padding: 4px; border-radius: 22px; background: var(--m-surface); }
.v-seg span { flex: 1; height: 38px; display: grid; place-items: center; border-radius: 18px; font: 700 15px "Space Grotesk"; color: #9AA198; }
.v-seg span.on { background: var(--m-raised); color: #fff; }
.v-seg.caps { border-radius: 99px; box-shadow: inset 0 0 0 1px var(--m-line); gap: 0; }
.v-seg.caps span { height: 40px; border-radius: 99px; font-size: 14px; color: var(--m-ash2); font-weight: 600; }
.v-seg.caps span.on { background: var(--m-bone); color: var(--m-void); font-weight: 700; }
.v-teams { margin-top: 12px; padding: 6px; border-radius: 24px; background: var(--m-surface); box-shadow: inset 0 0 0 1px var(--m-line); }
.v-team { display: flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 8px; border-radius: 16px; }
.v-team .r { width: 22px; text-align: center; font: 700 14px "Space Grotesk"; color: #9AA198; }
.v-team .v-tile { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 600 12px "Space Grotesk"; color: #050607; flex: none; }
.v-team .nm { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.v-team .nm div { display: grid; }
.v-team .nm b { font: 700 15px "Space Grotesk"; color: var(--m-bone); }
.v-team .nm small { font: 600 12px "Space Grotesk"; color: #9AA198; }
.v-team .you { font: 700 10px "Space Mono"; letter-spacing: 1px; padding: 2px 7px; border-radius: 8px; background: var(--m-lime); color: #050607; }
.v-team .sc { font: 700 15px "Space Grotesk"; color: var(--m-bone); }
.v-team.mine { background: #1B2611; }
.v-team.mine .r { color: var(--m-lime); }
.v-open { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin: 4px 8px 0; border-top: 1px solid var(--m-line); font: 700 14px "Space Grotesk"; color: var(--m-lime); }

/* Friends board */
.v-chips { display: flex; align-items: center; gap: 6px; margin-top: 14px; }
.v-chips span { white-space: nowrap; height: 34px; padding: 0 11px; border-radius: 99px; display: grid; place-items: center; font: 700 14px "Space Grotesk"; color: var(--m-bone); box-shadow: inset 0 0 0 1px var(--m-line2); background: var(--m-surface); }
.v-chips span.on { background: var(--m-lime); color: #050607; box-shadow: none; }
.v-chips em { margin-left: auto; font: normal 700 12px "Space Grotesk"; color: #9AA198; }
.v-fboard { margin-top: 12px; padding: 6px 10px; border-radius: 24px; background: var(--m-surface); }
.v-frow { display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 8px; }
.v-frow .r { width: 26px; text-align: center; font: 700 14px "Space Grotesk"; color: #9AA198; }
.v-frow .v-av { box-shadow: none; }
.v-frow .nm { flex: 1; display: grid; }
.v-frow .nm b { font: 700 16px "Space Grotesk"; color: var(--m-bone); }
.v-frow .nm small { font: 700 12px "Space Grotesk"; color: #9AA198; }
.v-frow .sc { font: 700 16px "Space Grotesk"; color: var(--m-bone); }
.v-frow.me { border-radius: 18px; background: #1B2611; box-shadow: inset 0 0 0 2px var(--m-lime); margin: 4px 0; }
.v-frow.me .r { width: 26px; height: 26px; border-radius: 50%; background: var(--m-lime); color: #050607; display: grid; place-items: center; font-size: 13px; }
.v-frow.me .nm small { color: var(--m-lime); }

/* Floating nav (3 tabs; the picked one grows to show its name) */
.v-nav { position: absolute; left: 50%; bottom: 40px; transform: translateX(-50%); display: flex; gap: 4px; padding: 5px; border-radius: 99px; background: rgba(14,16,18,.72); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(237,239,232,.08), 0 12px 40px rgba(0,0,0,.7); z-index: 6; }
.v-nav span { height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border-radius: 99px; color: var(--m-ash2); font: 700 14px "Space Grotesk"; }
.v-nav span.on { background: var(--m-lime); color: #050607; padding-right: 16px; box-shadow: 0 0 18px rgba(198,255,61,.45); }
.v-nav svg { width: 20px; height: 20px; }
.v-homebar { position: absolute; left: 50%; bottom: 8px; transform: translateX(-50%); width: 134px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.7); z-index: 7; }
.v-fade { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; background: linear-gradient(transparent, var(--m-void) 65%); z-index: 5; pointer-events: none; }

/* Brand mark used for the illustrative company */
.m-logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font: 700 15px "Space Grotesk"; color: #050607; background: linear-gradient(135deg, #FFC93C, #FF7A59); flex: none; }
.m-label { font: 700 10px/1 "Space Mono", ui-monospace, monospace; letter-spacing: .12em; text-transform: uppercase; color: #8A9188; }

/* ---------- Apple Watch ---------- */
.watch { width: 196px; flex: none; position: relative; }
.watch .strap { position: absolute; left: 34px; right: 34px; height: 90px; background: linear-gradient(90deg, #1B1D1F, #2A2D30 50%, #1B1D1F); border-radius: 26px; z-index: 0; }
.watch .strap.top { top: -64px; } .watch .strap.bot { bottom: -64px; }
.watch .case { position: relative; z-index: 1; height: 236px; border-radius: 58px; padding: 10px; background: linear-gradient(145deg, #5A5D60, #1A1B1C 35%, #3A3D40 75%, #121314); box-shadow: 0 30px 60px -20px rgba(10,12,11,.6), 0 0 0 1px #000; }
.watch .crown { position: absolute; right: -9px; top: 62px; width: 12px; height: 40px; border-radius: 5px; background: linear-gradient(90deg, #6A6D70, #2A2C2E); z-index: 2; }
.watch .crown + .crown { top: 120px; height: 28px; width: 8px; right: -6px; }
.watch .wscreen { height: 100%; border-radius: 48px; background: #000; color: #fff; font-family: "Space Grotesk"; padding: 18px 18px; position: relative; overflow: hidden; }
.watch .wtime { position: absolute; right: 22px; top: 16px; font: 600 14px "Inter"; color: #EDEFE8; }
.watch .wstreak { display: flex; align-items: center; gap: 4px; font: 700 12px "Space Mono"; color: var(--m-lime); margin-top: 2px; }
.watch .wstreak svg { width: 12px; height: 12px; filter: drop-shadow(0 0 3px rgba(198,255,61,.8)); }
.watch .wnum { font: 600 38px/1 "Space Grotesk"; letter-spacing: -1.5px; margin-top: 14px; color: #EDEFE8; }
.watch .wgoal { font: 400 8.5px "Space Mono"; letter-spacing: 1px; color: #8A9188; margin-top: 4px; }
.watch .wbars { height: 30px; gap: 3px; margin: 12px 0 8px; }
.watch .wfoot { font: 600 11.5px "Space Grotesk"; color: #B4BAB2; }
.watch .wfoot em { color: var(--m-lime); font-style: normal; }

/* ---------- Floating notification ---------- */
.notif { display: flex; gap: 12px; align-items: flex-start; width: 320px; padding: 13px 14px; border-radius: 22px; background: rgba(28,31,34,.78); backdrop-filter: blur(20px) saturate(1.4); -webkit-backdrop-filter: blur(20px) saturate(1.4); border: 1px solid rgba(237,239,232,.1); box-shadow: 0 24px 60px -20px rgba(0,0,0,.9); color: #EDEFE8; font-family: "Inter", system-ui; text-align: left; }
.notif img { width: 38px; height: 38px; border-radius: 10px; flex: none; }
.notif .t { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; gap: 8px; }
.notif .t span { color: #8A9188; font-weight: 400; font-size: 12px; }
.notif p { margin: 2px 0 0; font-size: 13px; line-height: 1.35; color: #B4BAB2; }
.notif.dark { background: rgba(22,25,28,.86); border-color: #2E3236; color: #EDEFE8; }
.notif.dark p { color: #B4BAB2; }

/* ---------- Browser + HR dashboard ---------- */
.browser { width: 100%; border-radius: 20px; overflow: hidden; background: #0E1012; border: 1px solid #2E3236; box-shadow: 0 60px 120px -40px rgba(0,0,0,.9), 0 0 80px -30px rgba(198,255,61,.15); text-align: left; }
.browser-bar { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: #16191C; border-bottom: 1px solid #1C1F22; }
.browser-bar .dots { display: flex; gap: 7px; }
.browser-bar .dots i { width: 11px; height: 11px; border-radius: 50%; background: #3A3D40; }
.browser-bar .dots i:nth-child(1) { background: #FF5F57; } .browser-bar .dots i:nth-child(2) { background: #FEBC2E; } .browser-bar .dots i:nth-child(3) { background: #28C840; }
.browser-bar .url { flex: 1; max-width: 360px; margin: 0 auto; padding: 6px 12px; border-radius: 9px; background: #0E1012; color: #8A9188; font: 500 12px "Inter"; text-align: center; }
.dash { display: grid; grid-template-columns: 196px 1fr; min-height: 560px; color: #EDEFE8; font-family: "Inter", system-ui; font-size: 13px; }
.dash-side { background: #0A0B0C; border-right: 1px solid #1C1F22; padding: 18px 12px; display: flex; flex-direction: column; gap: 3px; }
.dash-co { display: flex; align-items: center; gap: 10px; padding: 4px 8px 18px; font: 600 14px "Space Grotesk"; letter-spacing: -0.02em; }
.dash-co small { display: block; font: 500 11px "Inter"; color: #8A9188; letter-spacing: 0; }
.dash-side a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 10px; color: #9AA198; text-decoration: none; font-weight: 500; }
.dash-side a i { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid currentColor; opacity: .8; }
.dash-side a.on { background: #16191C; color: #fff; }
.dash-side a.on i { border-color: var(--m-lime); background: var(--m-lime); }
.dash-side .plan-pill { margin-top: auto; padding: 12px; border-radius: 14px; background: #121416; border: 1px solid #1C1F22; font-size: 11.5px; color: #9AA198; }
.dash-side .plan-pill b { display: block; color: #fff; font-size: 12.5px; margin-bottom: 2px; }
.dash-main { padding: 22px 24px; min-width: 0; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.dash-head h4 { font: 600 22px "Space Grotesk"; letter-spacing: -0.03em; margin: 4px 0 0; color: #fff; }
.dash-head .code { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; border-radius: 12px; background: #121416; border: 1px solid #1C1F22; font: 600 13px "Space Mono", monospace; letter-spacing: .08em; white-space: nowrap; }
.dash-head .code span { font: 600 11px "Inter"; padding: 6px 10px; border-radius: 8px; background: var(--m-lime); color: #050607; letter-spacing: 0; }
.kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.kpi { background: #121416; border: 1px solid #1C1F22; border-radius: 16px; padding: 14px; }
.kpi > span { font-size: 11.5px; color: #8A9188; font-weight: 500; }
.kpi b { display: block; font: 600 26px/1.1 "Space Grotesk"; letter-spacing: -0.04em; color: #fff; margin-top: 6px; }
.kpi em { font-style: normal; font-size: 11.5px; font-weight: 600; color: var(--m-lime); }
.dash-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 12px; }
.panel { background: #121416; border: 1px solid #1C1F22; border-radius: 16px; padding: 16px; min-width: 0; }
.panel h5 { margin: 0 0 12px; font: 600 13.5px "Inter"; color: #fff; display: flex; justify-content: space-between; align-items: center; }
.panel h5 span { font-weight: 500; color: #8A9188; font-size: 11.5px; }
.chart svg { width: 100%; height: 170px; }
.teams-t { width: 100%; border-collapse: collapse; }
.teams-t td { padding: 7px 0; border-top: 1px solid #1C1F22; font-size: 12.5px; }
.teams-t tr:first-child td { border-top: 0; }
.teams-t .r { width: 22px; font: 700 11px "Space Mono"; color: #8A9188; }
.teams-t .v { text-align: right; font: 600 13px "Space Grotesk"; color: #fff; }
.teams-t .d { width: 54px; text-align: right; font-size: 11px; font-weight: 600; color: var(--m-lime); }
.teams-t .d.down { color: #FF8A80; }
.dept { display: grid; gap: 9px; }
.dept div { display: grid; grid-template-columns: 82px 1fr 38px; align-items: center; gap: 10px; font-size: 12px; color: #B4BAB2; }
.dept i { display: block; height: 8px; border-radius: 99px; background: linear-gradient(90deg, var(--m-lime), #8FD400); }
.dept b { font: 600 12px "Space Grotesk"; color: #fff; text-align: right; }
@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .dash-side { display: none; }
  .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash-grid { grid-template-columns: 1fr; }
  .dash-head { flex-direction: column; align-items: flex-start; }
}

/* ---------- Email (weekly pulse) ---------- */
.mail { background: #0E1012; color: #EDEFE8; border-radius: 22px; border: 1px solid #1C1F22; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); font-family: "Inter", system-ui; overflow: hidden; text-align: left; }
.mail-head { padding: 14px 18px; border-bottom: 1px solid #1C1F22; font-size: 12.5px; color: #8A9188; display: grid; gap: 3px; }
.mail-head b { color: #EDEFE8; font-weight: 600; }
.mail-body { padding: 22px 22px 24px; }
.mail-hero { background: #050607; color: #EDEFE8; border-radius: 16px; box-shadow: inset 0 0 0 1px #1C1F22; padding: 20px; position: relative; overflow: hidden; }
.mail-hero::after { content: ""; position: absolute; width: 220px; height: 220px; right: -60px; top: -80px; border-radius: 50%; background: #C6FF3D; filter: blur(70px); opacity: .25; }
.mail-hero small { font: 700 10px "Space Mono"; letter-spacing: .12em; text-transform: uppercase; color: #C6FF3D; }
.mail-hero h6 { margin: 8px 0 0; font: 600 24px/1.1 "Space Grotesk"; letter-spacing: -0.04em; color: #fff; }
.mail-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.mail-stats div { background: #16191C; border-radius: 12px; padding: 10px; font-size: 11px; color: #8A9188; }
.mail-stats b { display: block; font: 600 18px "Space Grotesk"; color: #EDEFE8; letter-spacing: -0.03em; }
.mail-body p { font-size: 13px; color: #B4BAB2; margin: 14px 0 0; line-height: 1.5; }
.mail-btn { display: inline-block; margin-top: 16px; padding: 11px 18px; border-radius: 999px; background: #C6FF3D; color: #050607; font-size: 13px; font-weight: 600; }

/* ---------- Share card (end-of-challenge recap) ---------- */
.post { background: #0E1012; color: #EDEFE8; border-radius: 22px; border: 1px solid #1C1F22; box-shadow: 0 30px 70px -30px rgba(0,0,0,.9); font-family: "Inter", system-ui; overflow: hidden; text-align: left; }
.post-head { display: flex; gap: 10px; align-items: center; padding: 14px 16px; }
.post-head b { display: block; font-size: 13.5px; }
.post-head span { font-size: 11.5px; color: #8A9188; }
.post-text { padding: 0 16px 12px; font-size: 13px; color: #B4BAB2; line-height: 1.45; }
.post-text em { color: #C6FF3D; font-style: normal; font-weight: 600; }
.recap { margin: 0 12px 12px; border-radius: 16px; background: #050607 url("assets/scenes/horizon.jpg") center/cover; color: #fff; padding: 22px 20px; position: relative; overflow: hidden; aspect-ratio: 1.25; display: flex; flex-direction: column; }
.recap::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,6,7,.2), rgba(5,6,7,.75)); }
.recap > * { position: relative; }
.recap small { font: 700 10px "Space Mono"; letter-spacing: .14em; color: #C6FF3D; text-transform: uppercase; }
.recap b { font: 600 46px/1 "Space Grotesk"; letter-spacing: -0.05em; margin-top: auto; }
.recap span { font-size: 14px; color: #C4C9C1; margin-top: 6px; }
.recap .wm { position: absolute; right: 18px; top: 18px; display: flex; align-items: center; gap: 6px; font: 700 11px "Space Grotesk"; color: #EDEFE8; }
.recap .wm img { width: 18px; height: 18px; border-radius: 5px; }
.post-foot { display: flex; gap: 18px; padding: 10px 16px 14px; font-size: 12px; color: #8A9188; border-top: 1px solid #1C1F22; }

/* Moment cards in the marquee */
.moment { display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 12px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); white-space: nowrap; font-size: .95rem; color: var(--ink-2, #3D433F); box-shadow: 0 1px 2px rgba(10,12,11,.05); }
.moment b { color: var(--ink); font-weight: 600; }
.moment .e { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--raised); font-size: 1.1rem; }

/* ---------- iPhone home screen: the app icon and widget in context ---------- */
.v-home { background: radial-gradient(70% 45% at 50% 100%, rgba(198,255,61,.22), transparent 70%), url("assets/scenes/rise.jpg") center 75%/cover, #050607; }
.v-home::before { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(5,6,7,.55), rgba(5,6,7,.7)); }
.v-home > * { position: relative; }
.v-home .v-island { position: absolute; }
.v-widget { margin: 22px 28px 0; height: 158px; border-radius: 24px; padding: 18px 18px 18px 20px; display: flex; gap: 16px; align-items: stretch; background: rgba(14,16,18,.88); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: inset 0 0 0 1px rgba(237,239,232,.08); }
.v-widget .l { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.v-widget .l b { font: 700 40px/1 "Space Grotesk"; letter-spacing: -1.8px; color: var(--m-bone); margin-top: 2px; }
.v-widget .l em { font: normal 500 13px "Space Grotesk"; color: var(--m-lime); }
.v-widget .st { margin-top: auto; display: flex; align-items: center; gap: 5px; font: 400 12px "Space Mono"; color: var(--m-lime); }
.v-widget .st svg { width: 12px; height: 12px; }
.v-widget .wb { width: 100px; display: flex; align-items: flex-end; gap: 3px; }
.v-widget .wb i { flex: 1; border-radius: 1.5px; background: #1C1F22; }
.v-widget .wb i.on { background: var(--m-lime); box-shadow: 0 0 6px rgba(198,255,61,.5); }
.v-widget-label { text-align: center; font: 500 12px "Inter"; color: rgba(255,255,255,.85); margin-top: 7px; }
.v-grid { display: grid; grid-template-columns: repeat(4, 64px); justify-content: space-between; row-gap: 22px; margin: 26px 30px 0; }
.v-app { display: grid; justify-items: center; gap: 6px; font: 500 12px "Inter"; color: rgba(255,255,255,.55); white-space: nowrap; }
.v-app .ic { width: 64px; height: 64px; border-radius: 15px; display: block; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); opacity: .75; }
.v-app.me { color: #fff; font-weight: 600; }
.v-app.me .ic { opacity: 1; object-fit: cover; box-shadow: 0 0 24px rgba(198,255,61,.55); animation: v-icon 2.4s ease-in-out infinite; }
@keyframes v-icon { 50% { box-shadow: 0 0 40px rgba(198,255,61,.85); } }
.v-search { width: 92px; margin: 34px auto 0; height: 30px; border-radius: 99px; display: grid; place-items: center; font: 500 13px "Inter"; color: rgba(255,255,255,.8); background: rgba(40,44,48,.7); backdrop-filter: blur(12px); }
.v-dock { position: absolute; left: 12px; right: 12px; bottom: 14px; height: 94px; border-radius: 34px; display: flex; justify-content: space-around; align-items: center; background: rgba(40,44,48,.45); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.v-dock .ic { width: 64px; height: 64px; border-radius: 15px; opacity: .7; }
@media (prefers-reduced-motion: reduce) { .v-app.me .ic { animation: none; } }

/* Callout next to a phone: "Look for this icon" */
.icon-callout { display: inline-flex; align-items: center; gap: 14px; padding: 12px 18px 12px 12px; border-radius: 20px; background: var(--card, #0E1012); box-shadow: inset 0 0 0 1px var(--line, #1C1F22); }
.icon-callout img { width: 56px; height: 56px; border-radius: 13px; box-shadow: 0 0 24px rgba(198,255,61,.45); }
.icon-callout b { display: block; font: 600 1.05rem "Space Grotesk"; color: var(--ink, #EDEFE8); }
.icon-callout span { font-size: .88rem; color: var(--muted, #8A9188); }

/* ---------- Android (Pixel-style) frame ---------- */
.phone.android { border-radius: 44px; padding: 9px; background: linear-gradient(160deg, #3A3D40, #17181A 35%, #26282A 70%, #0E0F10); }
.phone.android .screen { border-radius: 36px; }
.phone.android::before { right: -3px; top: 150px; height: 64px; }
.phone.android::after { left: auto; right: -3px; top: 240px; height: 90px; border-radius: 0 3px 3px 0; box-shadow: none; }
.v-punch { position: absolute; left: 50%; top: 16px; transform: translateX(-50%); width: 17px; height: 17px; border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #0d0d0d, inset 0 0 0 4px #111; z-index: 10; }
.v-status.and { height: 48px; padding: 14px 28px 0 30px; font: 500 15px "Inter", system-ui; }
.v-status.and .ic { gap: 7px; }
.v-homebar.and { width: 108px; height: 4px; bottom: 9px; background: rgba(255,255,255,.75); }
.v-shot { display: block; width: 100%; height: 100%; object-fit: cover; }

/* Android home screen */
.v-home.and { background: radial-gradient(70% 45% at 50% 100%, rgba(198,255,61,.2), transparent 70%), url("assets/scenes/horizon.jpg") center/cover, #050607; }
.v-glance { margin: 34px 30px 0; display: grid; gap: 4px; }
.v-glance b { font: 400 30px/1.1 "Inter", system-ui; letter-spacing: -.5px; color: #fff; }
.v-glance span { font: 500 15px "Inter"; color: rgba(255,255,255,.75); }
.v-widget.and { margin: 22px 22px 0; border-radius: 28px; }
.v-grid.and { grid-template-columns: repeat(4, 66px); margin: 30px 30px 0; row-gap: 20px; }
.v-app.and .ic { width: 62px; height: 62px; border-radius: 50%; }
.v-app.and.me .ic { border-radius: 50%; }
.v-dock.and { left: 30px; right: 30px; bottom: 98px; height: 70px; border-radius: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; justify-content: space-between; }
.v-dock.and .ic { width: 62px; height: 62px; border-radius: 50%; }
.v-asearch { position: absolute; left: 22px; right: 22px; bottom: 30px; height: 56px; border-radius: 99px; display: flex; align-items: center; gap: 12px; padding: 0 20px; background: rgba(40,44,48,.75); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: rgba(255,255,255,.8); font: 500 15px "Inter"; }
.v-asearch span { flex: 1; color: rgba(255,255,255,.6); }

/* Two phones side by side: iPhone behind, Android in front */
.duo { position: relative; display: flex; justify-content: center; }
.duo > .phone:first-child { margin-right: -60px; translate: 0 -24px; rotate: -4deg; z-index: 1; filter: brightness(.9); }
.duo > .phone:last-child { rotate: 4deg; z-index: 2; }
/* Inside feature cards the pair is drawn smaller and centred: iPhone back-left, Android front-right */
.peek .duo { width: 100%; height: 100%; }
.peek .duo > .phone { position: absolute; top: 0; left: 50%; margin: 0; translate: none; rotate: none; scale: none; transform-origin: top center; }
.peek .duo > .phone:first-child { top: 26px; transform: translateX(-70%) scale(.62) rotate(-4deg); }
.peek .duo > .phone:last-child { transform: translateX(-30%) scale(.62) rotate(4deg); }
.platform-tags { display: flex; gap: 8px; justify-content: center; margin-top: 18px; font: 600 .78rem var(--body, "Inter"); letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #8A9188); }
.platform-tags span { padding: 6px 12px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line-2, #2E3236); }
/* Home screens: keep the pinned layers pinned (the wallpaper dimmer makes other children relative) */
.v-home > .v-homebar, .v-home > .v-dock, .v-home > .v-asearch, .v-home > .v-punch, .v-home > .v-island { position: absolute; }
.v-home.and::before { background: linear-gradient(rgba(5,6,7,.6), rgba(5,6,7,.78)); }
