/* Omada Health mockups. Drawn at a fixed size inside .mock-c and scaled to fit (see om.js). */
:root {
  --bg: #070708; --tx: #F4F4F2; --tx3: #6E6C68; --mono: 'Geist Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.2, .8, .2, 1); --spring: cubic-bezier(.34, 1.4, .5, 1);
  --or: #F47A44; --or2: #F26B2E; --teal: #2EC4B6; --green: #1FB97A; --purple: #8F45CF; --pink: #EC4F8E; --amber: #F5A623; --blue: #2AA8F2;
  --cream: #F4F1ED; --ink: #3D3935; --ink2: #6F6862; --ink3: #A49D96; --line: #E8E3DD;
  --om: 'Nunito Sans', system-ui, sans-serif;
}
.mock { position: relative; width: 100%; }
.mock-c { position: absolute; left: 0; top: 0; transform-origin: 0 0; font-family: var(--om); color: var(--ink); font-size: 14px; line-height: 1.4; -webkit-font-smoothing: antialiased; text-align: left; }
.mock-c *, .mock-c *::before, .mock-c *::after { box-sizing: border-box; }
.mock-c img { display: block; }
.mock-c h3, .mock-c h4, .mock-c p { margin: 0; }
.i { width: 14px; height: 14px; flex: none; }

/* stage backgrounds */
.st-bg { position: relative; width: 100%; height: 100%; overflow: hidden; background: var(--cream); }
.st-bg::before { content: ''; position: absolute; inset: 0; background: radial-gradient(55% 60% at 50% 30%, rgba(244, 122, 68, .16), transparent 70%); }
.st-bg > * { position: absolute; }

/* phone: white iPhone, like the originals */
.ph { width: 300px; height: 612px; border-radius: 48px; background: linear-gradient(160deg, #FFFFFF, #ECECEC); box-shadow: inset 0 0 0 1.5px #D6D6D6, inset 0 0 0 5px #F7F7F7, 0 40px 70px -30px rgba(60, 40, 20, .35), 0 8px 20px -10px rgba(60, 40, 20, .2); }
.ph::before { content: ''; position: absolute; left: 50%; top: 40px; width: 52px; height: 6px; margin-left: -26px; border-radius: 4px; background: #CFCFCF; }
.ph::after { content: ''; position: absolute; left: 50%; bottom: 24px; width: 46px; height: 46px; margin-left: -23px; border-radius: 50%; box-shadow: inset 0 0 0 2px #D2D2D2; }
.scr { position: absolute; left: 15px; right: 15px; top: 76px; bottom: 76px; border: 2px solid #2E2E2E; background: #fff; overflow: hidden; }
.ph-wrap { position: absolute; }

/* tasks screen */
.tk-top { height: 44px; display: flex; align-items: center; gap: 14px; padding: 0 16px; font-size: 17px; color: var(--ink); border-bottom: 1px solid var(--line); }
.tk-top i { width: 16px; height: 2px; background: var(--ink); box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink); }
.tk-hero { height: 128px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; padding: 0 22px; background: #FAF5F1; font-size: 13.5px; font-weight: 600; color: var(--ink); background-image: radial-gradient(rgba(244, 122, 68, .14) 1.2px, transparent 1.3px); background-size: 14px 14px; }
.btn-or { display: inline-grid; place-items: center; height: 34px; padding: 0 20px; background: var(--or2); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; border-radius: 2px; box-shadow: 0 6px 14px -6px rgba(242, 107, 46, .7); }
.tk-hero.lesson { gap: 8px; font-size: 14.5px; line-height: 1.3; }
.tk-hero.lesson .btn-or { margin-top: 4px; }
.tk-k { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: var(--or2); }
.tk-l { font-size: 10.5px; letter-spacing: .06em; color: var(--ink3); padding: 10px 16px 6px; border-bottom: 1px solid var(--line); }
.tk { display: flex; align-items: center; gap: 12px; height: 41px; padding: 0 16px; border-bottom: 1px solid var(--line); font-size: 14px; }
.tk em { margin-left: auto; font-style: normal; color: var(--ink2); font-size: 13px; }
.ck { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--c); flex: none; transition: transform .45s var(--spring), background .3s; }
.ck svg { width: 12px; height: 12px; color: #fff; stroke-width: 3.2; transition: opacity .2s; }
.tk.todo .ck { background: transparent; box-shadow: inset 0 0 0 1.6px #CFC8C1; transform: scale(.92); }
.tk.todo .ck svg { opacity: 0; }

/* reaction screen */
.rx { position: absolute; inset: 0; display: flex; flex-direction: column; color: #fff; background: var(--rbg); }
.rx img { width: 100%; height: 224px; object-fit: cover; }
.rx h4 { font-size: 17px; font-weight: 700; line-height: 1.3; padding: 16px 18px 0; }
.rx p { font-size: 12.5px; line-height: 1.45; padding: 10px 18px 0; opacity: .95; }
.rx .got { margin: auto 18px 18px; height: 36px; display: grid; place-items: center; background: #fff; color: var(--ink); font-size: 10.5px; font-weight: 800; letter-spacing: .12em; }
.rx.slide { transform: translateY(100%); transition: transform .7s var(--ease); }
.rx.slide.on { transform: none; }
.rx.fade { opacity: 0; transition: opacity .7s ease; }
.rx.fade.on { opacity: 1; }
.r-green { --rbg: linear-gradient(180deg, #22C77F, #1BAE6B); }
.r-purple { --rbg: linear-gradient(180deg, #9B4FD6, #7838B6); }
.r-teal { --rbg: linear-gradient(180deg, #34D3CB, #26BDB2); }
.card-rx { position: absolute; width: 268px; height: 458px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(60, 40, 20, .4); }

/* microsurvey */
.ms { position: absolute; inset: 0; background: #F5F2EE; padding: 18px 16px; display: flex; flex-direction: column; }
.ms .q1 { font-size: 10px; letter-spacing: .1em; color: var(--ink3); }
.ms h4 { font-size: 15px; font-weight: 600; margin: 8px 0 4px; line-height: 1.35; }
.ms .sel1 { font-size: 13px; color: var(--ink2); margin-bottom: 14px; }
.opts { background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.opt { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--ink2); transition: color .3s; }
.opt:last-child { border-bottom: 0; }
.opt .rd { width: 18px; height: 18px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #BDB5AD; position: relative; transition: box-shadow .3s; }
.opt .rd::after { content: ''; position: absolute; inset: 4px; border-radius: 50%; background: var(--or2); transform: scale(0); transition: transform .35s var(--spring); }
.opt.on { color: var(--or2); }
.opt.on .rd { box-shadow: inset 0 0 0 1.5px var(--or2); }
.opt.on .rd::after { transform: none; }
.ms .sub { margin-top: auto; height: 38px; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #fff; background: #F6D8C9; border-radius: 2px; transition: background .4s, box-shadow .4s; }
.ms .sub.on { background: var(--or2); box-shadow: 0 8px 16px -8px rgba(242, 107, 46, .7); }
.ms .cancel { text-align: center; font-size: 10.5px; letter-spacing: .1em; font-weight: 700; color: var(--ink2); margin-top: 12px; }

/* discussion board */
.web { position: absolute; background: #F4F2EF; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -30px rgba(60, 40, 20, .35), 0 0 0 1px rgba(0, 0, 0, .05); }
.wb-nav { height: 56px; background: #fff; display: flex; align-items: center; padding: 0 22px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 9px; font-size: 19px; color: #6A6560; letter-spacing: .04em; font-weight: 400; }
.wordmark i { width: 22px; height: 22px; background: var(--or); display: grid; place-items: center; }
.wordmark i::after { content: ''; width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 0 2.5px #fff; }
.wb-nav nav { display: flex; gap: 30px; margin: 0 auto; font-size: 14.5px; color: #8A847E; }
.wb-nav nav span.on { color: var(--ink); font-weight: 600; box-shadow: 0 19px 0 -17px var(--ink); }
.wb-nav .me { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #F4B183, #C97047); box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #2EB872; }
.wb-body { padding: 26px 70px 0; }
.wb-h { display: flex; justify-content: space-between; align-items: center; }
.wb-h h3 { font-size: 22px; font-weight: 400; color: #7A736C; }
.btn-or.sm { height: 32px; font-size: 10.5px; padding: 0 16px; }
.wb-tabs { display: flex; gap: 28px; margin: 18px 0 18px; font-size: 11px; letter-spacing: .1em; font-weight: 800; color: #9C958E; }
.wb-tabs span.on { color: var(--ink); box-shadow: 0 10px 0 -8px var(--ink); }
.topic { display: flex; align-items: center; gap: 20px; background: #fff; border-radius: 4px; padding: 16px 20px; margin-bottom: 10px; box-shadow: 0 1px 3px rgba(0, 0, 0, .06); }
.topic b { display: block; font-size: 15px; font-weight: 600; }
.topic span { font-size: 12.5px; color: var(--ink2); }
.topic .rx-c { margin-left: auto; display: flex; gap: 22px; font-size: 13px; color: var(--ink2); }
.topic .rx-c > span { display: flex; align-items: center; gap: 6px; }
.heart { width: 15px; height: 14px; color: var(--or2); transition: transform .4s var(--spring); }
.heart.pop { transform: scale(1.45); }
.topic.new { animation: tin .7s var(--ease) both; }
.bubble { width: 14px; height: 13px; color: #A29B95; }

/* fanned reactions (teaser) */
.fan-bg { position: relative; width: 100%; height: 100%; overflow: hidden; background: #F26B3A; }
.fan-c { position: absolute; left: 50%; top: 78px; width: 268px; height: 458px; margin-left: -134px; overflow: hidden; border-radius: 10px;
  box-shadow: 0 30px 50px -20px rgba(90, 30, 0, .55), 0 0 0 1px rgba(255, 255, 255, .15);
  transform-origin: 50% 120%; transition: transform .9s var(--spring), box-shadow .9s var(--ease); }
.fan-c.p0 { transform: rotate(-16deg) translateX(-30px) scale(.9); z-index: 1; }
.fan-c.p1 { transform: rotate(16deg) translateX(30px) scale(.9); z-index: 2; }
.fan-c.p2 { transform: rotate(0) translateY(-10px); z-index: 3; box-shadow: 0 40px 60px -20px rgba(90, 30, 0, .65), 0 0 0 1px rgba(255, 255, 255, .2); }
.fan-c.p3 { transform: translateY(-60px) scale(.8); z-index: 0; } /* tucked behind the front card */
.fan-c.home { background: #fff; }

/* reveal + keyframes */
.rv { opacity: 0; transform: translateY(14px); }
.mock.in .rv { animation: rise .8s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms + 100ms); }
.mock.static .rv { opacity: 1; transform: none; animation: none !important; }
.mock.static * { transition: none !important; }
.mock.in .float { animation: bob 7s ease-in-out infinite; }
.mock.in .float.f2 { animation-duration: 8s; animation-delay: -3s; }
.fcur { position: absolute; left: 0; top: 0; width: 22px; height: 22px; z-index: 40; pointer-events: none; transition: transform .7s var(--ease), opacity .3s; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, .35)); opacity: 0; }
.fcur.on { opacity: 1; }
.fcur.tap svg { transform: scale(.82); }
.fcur svg { transition: transform .15s; transform-origin: 30% 20%; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes tin { from { opacity: 0; transform: translateY(-12px); } }
@media (prefers-reduced-motion: reduce) { .mock * { animation: none !important; transition: none !important; } .rv { opacity: 1; transform: none; } }
