/* dijitalapp.com — the live phone: the hero's stage, "see it live", "made here", and the app's own screens drawn
   small. The screens keep the app's light look whatever theme the site wears (a phone is a lit screen).
   Played by stage.js; without script every scene stands in its final state. */

body { --glow-2: #7c4dff; }
:root[data-theme='dark'] body { --glow-2: #9a7bff; }
.glow-probe { display: none; }

/* ---------- the phone ---------- */
.ph {
  --a-bg: #f4f6fa; --a-card: #fff; --a-ink: #0f1722; --a-muted: #667085; --a-line: #e6e9ef; --a-blue: #2a6df4; --a-soft: #eaf1ff;
  position: relative; flex: none; width: min(300px, 78vw); aspect-ratio: 300 / 624; border-radius: 46px; background: #0b0d12;
  box-shadow: 0 0 0 1.5px #2a2e37, 0 0 0 9px #0b0d12, 0 0 0 10.5px #343944, 0 40px 80px -24px rgb(8 15 40 / 45%), 0 18px 36px -18px rgb(8 15 40 / 35%);
  margin: 11px; color: var(--a-ink); font: 400 13px/1.4 var(--font); text-align: left; -webkit-user-select: none; user-select: none;
}
.ph-island { position: absolute; z-index: 5; top: 10px; left: 50%; width: 84px; height: 24px; border-radius: 14px; background: #0b0d12; transform: translateX(-50%); }
.ph-screen { position: absolute; inset: 0; overflow: hidden; border-radius: 37px; background: var(--a-bg); isolation: isolate; }
.scene { position: absolute; inset: 0; display: none; flex-direction: column; padding-top: 40px; }
.scene.is-active { display: flex; }
.sim .scene.is-active { animation: scene-in .5s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes scene-in { from { opacity: 0; transform: scale(.975); } to { opacity: 1; transform: none; } }

/* Steps: hidden until their turn, then they come in. */
.sim:not(.sim-still) .scene [data-s]:not([data-fx='cls']):not([data-fx='count']):not(.on) { display: none; }
.sim:not(.sim-still) .scene [data-s].on:not([data-fx]), .sim:not(.sim-still) .scene [data-s][data-fx='type'].on { animation: step-in .42s cubic-bezier(.2, .9, .3, 1.15) both; }
@keyframes step-in { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }

.ph .g { width: 16px; height: 16px; }
.ph b { font-weight: 650; }
.ph small { color: var(--a-muted); font-size: 11px; }
.ph .av { width: 34px; height: 34px; font-size: 13px; flex: none; }
.ph .av-s { width: 24px; height: 24px; font-size: 10.5px; background: #dbe7fb; color: #1a4fa8; }
.ph .av-s.av-1 { background: #dcefe6; color: #0d6b48; }
.ph .av-s.av-2 { background: #f6e5d3; color: #8a4b12; }
.ph .av-s.av-3 { background: #ece1f6; color: #6a3a99; }
.ph .av-s.av-4 { background: #e6e8eb; color: #3d4450; }
.ph .av-0 { background: #dbe7fb; color: #1a4fa8; }
.ph .av-1 { background: #dcefe6; color: #0d6b48; }
.ph .av-2 { background: #f6e5d3; color: #8a4b12; }
.ph .av-3 { background: #ece1f6; color: #6a3a99; }

.sc-head { display: flex; align-items: center; gap: 10px; padding: 8px 14px 10px; background: var(--a-card); border-bottom: 1px solid var(--a-line); }
.sc-head b { display: block; font-size: 14px; }
.sc-head-plain { justify-content: space-between; border-bottom: 0; background: transparent; padding-bottom: 6px; }
.sc-title { font-size: 21px !important; letter-spacing: -.02em; }
.sc-ico { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--a-card); border: 1px solid var(--a-line); color: var(--a-muted); }
.sc-body { display: flex; flex-direction: column; gap: 8px; flex: 1; min-height: 0; padding: 12px; overflow: hidden; }
.sc-chat { justify-content: flex-end; }
.sc-note { display: flex; align-items: center; justify-content: center; gap: 6px; align-self: center; margin-bottom: auto; padding: 4px 10px; border-radius: 999px; background: #e9f6ef; color: #0d6b48; font-size: 10.5px; font-weight: 600; }
.sc-note .g { width: 12px; height: 12px; }
.sc-compose { display: flex; align-items: center; gap: 8px; margin: 0 10px 12px; padding: 6px 6px 6px 14px; border-radius: 999px; background: var(--a-card); border: 1px solid var(--a-line); color: var(--a-muted); font-size: 12.5px; }
.sc-compose span { flex: 1; }
.sc-compose i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--a-blue); color: #fff; }

/* messages */
.ph .ph-screen .msg { position: relative; max-width: 80%; padding: 7px 11px; border: 0; border-radius: 16px; font-size: 12.5px; line-height: 1.38; }
.ph .ph-screen .msg.in { align-self: flex-start; background: var(--a-card); color: var(--a-ink); border-bottom-left-radius: 5px; box-shadow: 0 1px 1px rgb(15 23 34 / 6%); }
.ph .ph-screen .msg.out { align-self: flex-end; background: var(--a-blue); color: #fff; border-bottom-right-radius: 5px; }
.ph .msg small { display: block; margin: 0 0 1px; color: var(--a-blue); font-size: 10.5px; font-weight: 650; }
.ph .react { position: absolute; right: 8px; bottom: -11px; padding: 1px 6px; border-radius: 999px; background: var(--a-card); color: var(--a-ink); font-size: 10px; box-shadow: 0 1px 4px rgb(15 23 34 / 18%); }
.ph .msg.event { display: flex; align-items: center; gap: 10px; margin-top: 6px; padding: 9px 12px 9px 9px; }
.ph .ev-day { display: grid; place-items: center; width: 40px; height: 42px; border-radius: 10px; background: var(--a-soft); color: var(--a-blue); font-size: 8.5px; font-weight: 700; letter-spacing: .04em; line-height: 1.1; }
.ph .ev-day b { display: block; font-size: 16px; }
.ph .msg.event small { color: var(--a-muted); font-weight: 400; }
.ph .msg.event em { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: #0d8a5b; font-size: 10.5px; font-style: normal; font-weight: 650; }
.ph .msg.event em .g { width: 12px; height: 12px; stroke-width: 2.4; }
.ph .voice { display: flex; align-items: center; gap: 8px; }
.voice-play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgb(255 255 255 / 22%); }
.voice-play .g { width: 12px; height: 12px; fill: currentColor; stroke-width: 0; }
.ph .voice time { font-size: 10.5px; opacity: .85; }
.wave { display: flex; align-items: center; gap: 2.5px; height: 20px; }
.wave i { width: 2.5px; height: 6px; border-radius: 2px; background: currentColor; opacity: .9; }
.wave i:nth-child(6n + 1) { height: 8px; } .wave i:nth-child(6n + 2) { height: 15px; } .wave i:nth-child(6n + 3) { height: 11px; }
.wave i:nth-child(6n + 4) { height: 19px; } .wave i:nth-child(6n + 5) { height: 9px; } .wave i:nth-child(4n) { height: 13px; }
.dots { display: flex !important; align-items: center; gap: 4px; width: max-content; padding: 11px 13px !important; }
.dots i { width: 6px; height: 6px; border-radius: 50%; background: #9aa4b2; animation: dot 1s ease-in-out infinite; }
.dots i:nth-child(2) { animation-delay: .15s; } .dots i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 0%, 60%, 100% { transform: none; opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* Meydan */
.sc-seg { display: flex; gap: 4px; margin: 0 12px; padding: 3px; border-radius: 12px; background: #e6eaf1; font-size: 12px; font-weight: 650; }
.sc-seg span { flex: 1; padding: 6px 0; border-radius: 9px; color: var(--a-muted); text-align: center; }
.sc-seg .on { background: var(--a-card); color: var(--a-ink); box-shadow: 0 1px 2px rgb(15 23 34 / 10%); }
.post { padding: 12px; border-radius: 16px; background: var(--a-card); box-shadow: 0 1px 2px rgb(15 23 34 / 7%); }
.post header { display: flex; align-items: center; gap: 9px; color: var(--a-muted); }
.post header div { flex: 1; min-width: 0; }
.post header b { display: block; color: var(--a-ink); }
.post > p { margin-top: 8px; font-size: 12.5px; }
.tagged { color: var(--a-blue); font-weight: 600; }
.post-img { position: relative; height: 112px; margin-top: 9px; overflow: hidden; border-radius: 12px; background: linear-gradient(180deg, #ff8a5c 0%, #ffb56b 38%, #ffd98e 60%, #2f6ea3 60.5%, #173d63 100%); }
.post-img .sun { position: absolute; left: 58%; top: 34%; width: 36px; height: 36px; border-radius: 50%; background: #fff3c4; box-shadow: 0 0 34px 12px rgb(255 243 196 / 65%); }
.post-img .hill { position: absolute; bottom: 38%; width: 60%; height: 34px; border-radius: 50% 50% 0 0; background: #5b3a52; }
.post-img .hill-1 { left: -12%; } .post-img .hill-2 { left: 26%; width: 90%; height: 22px; background: #7a4a5c; opacity: .9; }
.post-img .sea { position: absolute; inset: 61% 0 0; background: repeating-linear-gradient(180deg, rgb(255 255 255 / 0%) 0 5px, rgb(255 226 160 / 22%) 5px 6px); }
.post footer { display: flex; gap: 18px; margin-top: 9px; padding-top: 8px; border-top: 1px solid var(--a-line); color: var(--a-muted); }
.act { display: flex; align-items: center; gap: 5px; font-size: 11.5px; }
.act b { font-weight: 600; }
.act.like.on { color: #e5345b; }
.act.like.on .g { fill: currentColor; animation: like .5s cubic-bezier(.2, .9, .3, 1.6); }
@keyframes like { 0% { transform: scale(.6); } 60% { transform: scale(1.35); } 100% { transform: none; } }
.cm { display: flex; gap: 8px; margin-top: 9px; }
.cm p { padding: 6px 10px; border-radius: 13px; background: var(--a-bg); font-size: 11.5px; line-height: 1.35; }
.cm p b { display: block; font-size: 11px; }
.cm small { display: block; margin: 2px 0 0 10px; font-size: 10px; font-weight: 600; }
.cm-all { margin-top: 9px; color: var(--a-muted); font-size: 11px; font-weight: 650; }

/* Live */
.scene-live { padding-top: 0; }
.lv { position: absolute; inset: 0; overflow: hidden; background: #0c0b1a; color: #fff; }
.lv-cam { position: absolute; inset: 0; background: radial-gradient(120% 70% at 50% 28%, #5b2b8f 0%, #2a1650 45%, #0c0b1a 100%); }
.lv-glow { position: absolute; inset: -20%; background: radial-gradient(40% 30% at 30% 30%, rgb(255 92 168 / 45%), transparent 70%), radial-gradient(40% 30% at 72% 40%, rgb(92 140 255 / 40%), transparent 70%); animation: drift 9s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(6%, 5%) rotate(8deg); } }
.lv-host { position: absolute; left: 50%; top: 30%; display: grid; place-items: center; transform: translate(-50%, -50%); }
.ph .av-xl { width: 92px; height: 92px; font-size: 34px; border: 3px solid rgb(255 255 255 / 85%); }
.ring { position: absolute; width: 92px; height: 92px; border-radius: 50%; border: 2px solid rgb(255 255 255 / 55%); animation: ring 2.4s ease-out infinite; }
.ring-2 { animation-delay: 1.2s; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.9); opacity: 0; } }
.lv-top { position: absolute; top: 44px; left: 12px; right: 12px; display: flex; align-items: center; justify-content: space-between; }
.lv-chip { display: flex; align-items: center; gap: 7px; padding: 4px 12px 4px 4px; border-radius: 999px; background: rgb(0 0 0 / 38%); font-size: 11.5px; line-height: 1.15; }
.lv-chip b { display: block; } .lv-chip small { color: rgb(255 255 255 / 75%); font-size: 10px; } .lv-chip small b { display: inline; font-weight: 600; }
.lv-badge { padding: 4px 9px; border-radius: 7px; background: #f0314f; font-size: 10px; font-weight: 800; letter-spacing: .06em; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgb(240 49 79 / 0%); } 0%, 100% { box-shadow: 0 0 0 0 rgb(240 49 79 / 55%); } }
.lv-pk { position: absolute; top: 47%; left: 12px; right: 12px; }
.lv-pk-tag { display: inline-block; margin-bottom: 5px; padding: 2px 8px; border-radius: 6px; background: linear-gradient(90deg, #ff4d6d, #5b8cff); font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.lv-pk-bar { height: 10px; overflow: hidden; border-radius: 999px; background: #5b8cff; }
.lv-pk-a { display: block; width: 50%; height: 100%; border-radius: 999px 0 0 999px; background: linear-gradient(90deg, #ff4d6d, #ff8a5c); transition: width 1.3s cubic-bezier(.2, .8, .2, 1); }
.lv-pk-a.on, .sim-still .lv-pk-a, html:not(.sim) .lv-pk-a { width: 62%; }
.lv-pk-nums { display: flex; justify-content: space-between; margin-top: 4px; font-size: 10px; }
.lv-gift { position: absolute; left: 10px; top: 60%; display: flex; align-items: center; gap: 7px; padding: 5px 14px 5px 5px; border-radius: 999px; background: linear-gradient(90deg, rgb(255 176 59 / 95%), rgb(255 92 138 / 85%) 70%, rgb(255 92 138 / 0%)); font-size: 11.5px; line-height: 1.15; }
.lv-gift b { display: block; } .lv-gift small { color: rgb(255 255 255 / 90%); font-size: 10px; }
.sim:not(.sim-still) .scene .lv-gift.on { animation: gift-in .55s cubic-bezier(.2, .9, .3, 1.2) both; }
@keyframes gift-in { from { opacity: 0; transform: translateX(-60%); } to { opacity: 1; transform: none; } }
.lv-rose { position: relative; width: 30px; height: 30px; margin-left: 4px; }
.lv-rose i { position: absolute; left: 50%; top: 50%; width: 15px; height: 15px; margin: -13px 0 0 -7.5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: radial-gradient(circle at 50% 30%, #ff7d95, #d81b47); transform-origin: 50% 13px; }
.lv-rose i:nth-child(2) { transform: rotate(72deg); } .lv-rose i:nth-child(3) { transform: rotate(144deg); } .lv-rose i:nth-child(4) { transform: rotate(216deg); } .lv-rose i:nth-child(5) { transform: rotate(288deg); }
.lv-x { font-size: 20px !important; font-style: italic; font-weight: 800 !important; text-shadow: 0 2px 0 rgb(0 0 0 / 25%); }
.sim:not(.sim-still) .lv-gift.on .lv-x { animation: like .5s .5s cubic-bezier(.2, .9, .3, 1.6) both; }
.lv-burst { position: absolute; left: 50%; top: 38%; width: 0; height: 0; pointer-events: none; }
.lv-burst i { position: absolute; width: 9px; height: 9px; margin: -4.5px; border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%; background: #ff5c8a; opacity: 0; }
.lv-burst i:nth-child(3n) { background: #ffd166; border-radius: 50%; } .lv-burst i:nth-child(3n + 1) { background: #fff; width: 5px; height: 5px; border-radius: 50%; }
.lv-burst i:nth-child(1) { --x: 0px; --y: -96px; } .lv-burst i:nth-child(2) { --x: 48px; --y: -83px; } .lv-burst i:nth-child(3) { --x: 83px; --y: -48px; }
.lv-burst i:nth-child(4) { --x: 96px; --y: 0px; } .lv-burst i:nth-child(5) { --x: 83px; --y: 48px; } .lv-burst i:nth-child(6) { --x: 48px; --y: 83px; }
.lv-burst i:nth-child(7) { --x: 0px; --y: 96px; } .lv-burst i:nth-child(8) { --x: -48px; --y: 83px; } .lv-burst i:nth-child(9) { --x: -83px; --y: 48px; }
.lv-burst i:nth-child(10) { --x: -96px; --y: 0px; } .lv-burst i:nth-child(11) { --x: -83px; --y: -48px; } .lv-burst i:nth-child(12) { --x: -48px; --y: -83px; }
.lv-burst.on i { animation: burst 1.3s cubic-bezier(.1, .7, .2, 1) both; }
.lv-burst.on i:nth-child(2n) { animation-delay: .12s; animation-duration: 1.5s; }
@keyframes burst { 0% { opacity: 0; transform: translate(0, 0) scale(.3); } 15% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--x), var(--y)) scale(1.5) rotate(140deg); } }
.lv-chat { position: absolute; left: 10px; right: 56px; bottom: 58px; display: flex; flex-direction: column; justify-content: flex-end; gap: 5px; max-height: 96px; overflow: hidden; }
.lv-line { display: flex; align-items: center; gap: 6px; width: max-content; max-width: 100%; padding: 3px 10px 3px 3px; border-radius: 999px; background: rgb(0 0 0 / 34%); font-size: 11px; }
.lv-line b { margin-right: 5px; color: #ffd98e; }
.lv-hearts { position: absolute; right: 16px; bottom: 60px; width: 30px; height: 220px; pointer-events: none; }
.lv-hearts i { position: absolute; bottom: 0; left: 4px; color: #ff5c8a; opacity: 0; }
.lv-hearts i .g { width: 20px; height: 20px; fill: currentColor; stroke-width: 0; }
.lv-hearts i:nth-child(2n) { color: #ffd166; left: 12px; } .lv-hearts i:nth-child(3n) { color: #8fb4ff; left: -2px; }
.lv-hearts.on i { animation: heart 1.9s ease-out both; }
.lv-hearts.on i:nth-child(2) { animation-delay: .18s; } .lv-hearts.on i:nth-child(3) { animation-delay: .36s; } .lv-hearts.on i:nth-child(4) { animation-delay: .55s; }
.lv-hearts.on i:nth-child(5) { animation-delay: .75s; } .lv-hearts.on i:nth-child(6) { animation-delay: .95s; }
@keyframes heart { 0% { opacity: 0; transform: translateY(0) scale(.5); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateY(-200px) translateX(-8px) scale(1.15) rotate(-14deg); } }
.lv-bar { position: absolute; left: 10px; right: 10px; bottom: 14px; display: flex; align-items: center; gap: 8px; }
.lv-bar span { flex: 1; padding: 9px 14px; border-radius: 999px; background: rgb(255 255 255 / 14%); color: rgb(255 255 255 / 70%); font-size: 12px; }
.lv-bar i { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgb(255 255 255 / 14%); }
.lv-bar .lv-giftbtn { background: linear-gradient(135deg, #ffb03b, #ff5c8a); }

/* Market */
.mk-feature { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 16px; background: linear-gradient(120deg, #123b33, #1f6a52); color: #fff; }
.mk-feature small { color: #f1d9a0; font-weight: 650; letter-spacing: .02em; } .mk-feature b { display: block; font-size: 12.5px; line-height: 1.3; }
.mk-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 6px; padding: 12px 6px; border-radius: 16px; background: var(--a-card); box-shadow: 0 1px 2px rgb(15 23 34 / 7%); }
.mk-app { position: relative; display: grid; justify-items: center; gap: 5px; }
.mk-app small { max-width: 100%; overflow: hidden; color: var(--a-ink); font-size: 9.5px; font-weight: 600; text-align: center; text-overflow: ellipsis; white-space: nowrap; }
.mk-ico { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 13px; color: #fff; transition: transform .25s ease, box-shadow .25s ease; }
.mk-ico .g { width: 22px; height: 22px; }
.t-1 { background: linear-gradient(135deg, #5b6b82, #2c3848); } .t-2 { background: linear-gradient(135deg, #2fb37a, #0f7d57); } .t-3 { background: linear-gradient(135deg, #ffa53b, #f06a1f); }
.t-4 { background: linear-gradient(135deg, #4c8dff, #2a55d8); } .t-5 { background: linear-gradient(135deg, #2aa39a, #156a75); } .t-6 { background: linear-gradient(135deg, #ffcb47, #f0981f); }
.t-7 { background: linear-gradient(135deg, #8c6bff, #5a3bd8); } .t-8 { background: linear-gradient(135deg, #1f6a52, #0e3d33); color: #f1d9a0; }
.mk-app em { position: absolute; top: -5px; right: 2px; padding: 1px 5px; border-radius: 999px; background: #f0314f; color: #fff; font-size: 8px; font-style: normal; font-weight: 800; box-shadow: 0 0 0 2px var(--a-card); }
.mk-app.on .mk-ico { transform: scale(.88); box-shadow: 0 0 0 5px rgb(255 165 59 / 30%); }
.mk-sheet { display: flex; align-items: center; gap: 11px; margin-top: auto; padding: 12px; border-radius: 18px; background: var(--a-card); box-shadow: 0 -6px 26px rgb(15 23 34 / 14%); }
.mk-sheet div { flex: 1; min-width: 0; } .mk-sheet b { display: block; }
.mk-open { padding: 7px 16px; border-radius: 999px; background: var(--a-blue); color: #fff; font-size: 12px; font-weight: 700; }
.sim:not(.sim-still) .scene .mk-sheet.on { animation: sheet-in .5s cubic-bezier(.2, .9, .3, 1.1) both; }
@keyframes sheet-in { from { opacity: 0; transform: translateY(70%); } to { opacity: 1; transform: none; } }
.sim:not(.sim-still) .mk-grid.on .mk-app { animation: step-in .4s cubic-bezier(.2, .9, .3, 1.2) both; }
.mk-grid.on .mk-app:nth-child(2) { animation-delay: .05s; } .mk-grid.on .mk-app:nth-child(3) { animation-delay: .1s; } .mk-grid.on .mk-app:nth-child(4) { animation-delay: .15s; }
.mk-grid.on .mk-app:nth-child(5) { animation-delay: .2s; } .mk-grid.on .mk-app:nth-child(6) { animation-delay: .25s; } .mk-grid.on .mk-app:nth-child(7) { animation-delay: .3s; } .mk-grid.on .mk-app:nth-child(8) { animation-delay: .35s; }

/* Not Defterim */
.nt { padding: 14px; border-radius: 16px; background: #fffdf5; box-shadow: 0 1px 2px rgb(15 23 34 / 8%), inset 0 0 0 1px #f1e9cf; }
.nt h4 { margin: 0; font-size: 16px; letter-spacing: -.01em; }
.nt-line { min-height: 18px; margin-top: 8px; font-size: 12.5px; }
.caret { display: inline-block; width: 1.5px; height: 14px; margin-left: 1px; vertical-align: -2px; background: var(--a-blue); animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.nt-todo { display: grid; gap: 8px; margin-top: 12px; }
.nt-todo li { display: flex; align-items: center; gap: 9px; font-size: 12.5px; }
.nt-todo i { display: grid; place-items: center; flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid #c9cfd9; color: transparent; transition: background-color .25s ease, border-color .25s ease, color .25s ease, transform .25s ease; }
.nt-todo i .g { width: 12px; height: 12px; stroke-width: 2.6; }
.nt-todo li.on i, .sim-still .nt-todo li[data-s] i, html:not(.sim) .nt-todo li[data-s] i { border-color: var(--a-blue); background: var(--a-blue); color: #fff; transform: scale(1.08); }
.nt-todo li.on span, .sim-still .nt-todo li[data-s] span, html:not(.sim) .nt-todo li[data-s] span { color: var(--a-muted); text-decoration: line-through; }
.nt-tags { display: flex; gap: 6px; margin-top: 12px; }
.nt-tags span { padding: 2px 9px; border-radius: 999px; background: #f4ecd0; color: #7a5b12; font-size: 10.5px; font-weight: 650; }
.nt-ai { display: flex; align-items: center; justify-content: center; gap: 7px; align-self: flex-start; padding: 8px 14px; border-radius: 999px; background: var(--a-card); border: 1px solid var(--a-line); color: #6a3bd8; font-size: 12px; font-weight: 700; transition: transform .2s ease, box-shadow .3s ease, background-color .3s ease, color .3s ease; }
.nt-ai.on { transform: scale(.96); background: #6a3bd8; color: #fff; box-shadow: 0 0 0 6px rgb(106 59 216 / 18%); }
.nt-sum { display: flex; gap: 9px; padding: 11px 12px; border-radius: 14px; background: linear-gradient(120deg, #f1eaff, #e6f0ff); color: #2c1f5c; font-size: 12px; }
.nt-sum .g { flex: none; color: #6a3bd8; }

.nt-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nt-mini { padding: 11px 12px; border-radius: 14px; background: #eef6ff; }
.nt-mini-b { background: #f1f7ec; }
.nt-mini b { display: block; font-size: 12px; } .nt-mini small { display: block; margin-top: 2px; line-height: 1.3; }

/* Mukabele */
.qr-card { padding: 14px; border-radius: 18px; background: radial-gradient(120% 140% at 100% 0%, #2a8a69 0%, #14503f 45%, #0c342b 100%); color: #fff; }
.qr-card small { color: #f1d9a0; font-weight: 650; } .qr-card b { display: block; margin-top: 2px; font-size: 15px; }
.qr-bar { height: 5px; margin-top: 11px; overflow: hidden; border-radius: 999px; background: rgb(255 255 255 / 20%); }
.qr-bar i { display: block; width: 4%; height: 100%; border-radius: 999px; background: #f1d9a0; transition: width 1.4s cubic-bezier(.2, .8, .2, 1); }
.qr-bar i.on, .sim-still .qr-bar i, html:not(.sim) .qr-bar i { width: 34%; }
.qr-list { border-radius: 16px; background: var(--a-card); box-shadow: 0 1px 2px rgb(15 23 34 / 7%); }
.qr-list li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; }
.qr-list li + li { border-top: 1px solid var(--a-line); }
.qr-list b { flex: 1; }
.qr-no { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: #e9f3ee; color: #14503f; font-size: 11px; font-weight: 700; }
.qr-opts { display: flex; gap: 6px; order: 3; }
.qr-opts span { padding: 5px 11px; border-radius: 999px; background: #e9f3ee; color: #14503f; font-size: 11px; font-weight: 650; }
.qr-listen { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; background: #fff8e6; color: #7a5b12; box-shadow: inset 0 0 0 1px #f1e2b4; }
.qr-listen > i { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: #f1d9a0; color: #5c4208; }
.qr-listen div { flex: 1; min-width: 0; } .qr-listen b { display: block; color: #4a3606; } .qr-listen small { color: #8a6a1c; }
.sim:not(.sim-still) .qr-listen .wave i, .sim:not(.sim-still) .qr-player .wave i { animation: wave 1s ease-in-out infinite alternate; }
.wave i:nth-child(2n) { animation-delay: .2s !important; } .wave i:nth-child(3n) { animation-delay: .45s !important; }
@keyframes wave { from { transform: scaleY(.45); } to { transform: scaleY(1.1); } }
.qr-player { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 9px 12px; border-radius: 16px; background: #0f3d32; color: #fff; order: 9; }
.qr-player div { flex: 1; min-width: 0; } .qr-player b { display: block; font-size: 12px; } .qr-player small { color: #bfd9cd; }
.qr-player .voice-play { background: #f1d9a0; color: #0f3d32; }

/* DijitalApp AI */
.ai-orb { flex: none; width: 34px; height: 34px; border-radius: 50%; background: conic-gradient(from 0deg, #ff5c8a, #ffb03b, #4c8dff, #8c6bff, #ff5c8a); box-shadow: inset 0 0 0 9px rgb(255 255 255 / 85%); animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sc-ai .msg.in { max-width: 90%; }
.ai-hello { display: grid; justify-items: center; gap: 12px; margin: auto 0; color: var(--a-muted); font-size: 15px; text-align: center; }
.ph .ai-orb-xl { width: 72px; height: 72px; box-shadow: inset 0 0 0 20px rgb(255 255 255 / 85%), 0 14px 30px -10px rgb(140 107 255 / 55%); }
.ai-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.ai-chips span { padding: 5px 11px; border-radius: 999px; background: var(--a-card); border: 1px solid var(--a-line); color: #6a3bd8; font-size: 11px; font-weight: 650; }

/* ---------- the hero's stage ---------- */
.stage { position: relative; display: grid; place-items: center; margin: 0; }
.stage-hero { margin-top: 48px; padding: 26px 0 56px; }
.stage-glow { position: absolute; inset: -6% -18%; width: 136%; height: 112%; opacity: 0; transition: opacity 1.2s ease; pointer-events: none; }
.stage-glow.on { opacity: .9; }
.stage-hero::before { content: ''; position: absolute; inset: 4% -6%; border-radius: 50%; background: radial-gradient(45% 45% at 35% 40%, color-mix(in srgb, var(--accent) 36%, transparent), transparent 70%), radial-gradient(45% 45% at 68% 60%, color-mix(in srgb, var(--glow-2) 30%, transparent), transparent 70%); filter: blur(30px); pointer-events: none; }
.stage-hero .ph { z-index: 1; }
.chip { position: absolute; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: color-mix(in srgb, var(--card) 86%, transparent); border: 1px solid var(--rule); box-shadow: 0 14px 34px -14px rgb(8 15 40 / 35%); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--ink); font-size: 13.5px; white-space: nowrap; }
.chip .g { width: 16px; height: 16px; color: var(--accent); }
.chip .dot { width: 9px; height: 9px; border-radius: 50%; background: #f0314f; animation: pulse 1.6s ease-in-out infinite; }
.chip-a { left: calc(50% - 250px); top: 17%; } .chip-b { right: calc(50% - 246px); top: 40%; } .chip-c { left: calc(50% - 236px); bottom: 21%; }
.chip-c .g { color: #f06a1f; }
@media (prefers-reduced-motion: no-preference) {
  .chip { animation: float 7s ease-in-out infinite alternate; }
  .chip-b { animation-duration: 8.5s; animation-delay: -3s; } .chip-c { animation-duration: 6.2s; animation-delay: -1.5s; }
}
@keyframes float { from { transform: translateY(-7px); } to { transform: translateY(8px); } }
.stage-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; }
.stage-dots i { width: 6px; height: 6px; border-radius: 999px; background: var(--rule-2); transition: width .3s ease, background-color .3s ease; }
.stage-dots i.on { width: 20px; background: var(--accent); }
html:not(.sim) .stage-dots { display: none; }

/* The "desktop" hero: the web app's panes, with the live phone standing in front of them. */
.hero-desk { position: relative; margin-top: 56px; }
.hero-desk .frame { margin-top: 0; }
@media (min-width: 1081px) {
  body.hero-split .stage-hero, body.hero-split .hero-desk { grid-area: visual; align-self: center; margin-top: 0; }
  body.hero-split .hero { padding-bottom: 56px; }
  .hero-desk { padding: 0 0 28px; }
  .hero-desk .frame { width: calc(100% - 110px); border-bottom: 1px solid var(--rule-2); border-radius: 14px; box-shadow: 0 30px 60px -30px rgb(8 15 40 / 30%); }
  body.hero-split .hero .hero-desk .frame { margin-top: 0; }
  .hero-desk .stage-hero { position: absolute; right: -6px; bottom: -6px; margin: 0; padding: 0; }
  .hero-desk .stage-hero .ph { zoom: .84; }
  .hero-desk .app-conv > * { visibility: hidden; }
  .hero-desk .stage-hero::before, .hero-desk .stage-dots, .hero-desk .chip-a, .hero-desk .chip-b { display: none; }
  .hero-desk .chip-c { left: auto; right: 232px; bottom: 9%; }
  .hero-desk .stage-glow { inset: -30% -60% -10% -160%; width: 320%; height: 140%; z-index: -1; }
  body.hero-center .hero-desk { width: min(1040px, 100%); margin-inline: auto; }
  body.hero-center .hero-desk .frame { width: calc(100% - 150px); }
}
@media (max-width: 1080px) { .hero-desk .frame { display: none; } .hero-desk { margin-top: 0; } }
/* On a phone the notes would sit on the screen they describe: one stays, above the corner. */
@media (max-width: 560px) { .chip-a, .chip-c { display: none; } .chip-b { right: 4px; top: 2px; } .chip { padding: 7px 11px; font-size: 12px; } }
body.hero-center .stage-hero { margin-inline: auto; }

/* the hero's words */
.hero { position: relative; overflow: clip; }
.rise .hero .eyebrow, .rise .hero h1, .rise .hero .hero-sub, .rise .hero .notes { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
.rise .hero h1 { animation-delay: .08s; } .rise .hero .hero-sub { animation-delay: .18s; } .rise .hero .notes { animation-delay: .28s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.rise .rv { transition: opacity .7s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.rise .rv:not(.in) { opacity: 0; transform: translateY(26px); }
.rise .local-grid .rv:nth-child(2) { transition-delay: .08s; } .rise .local-grid .rv:nth-child(3) { transition-delay: .16s; } .rise .local-grid .rv:nth-child(4) { transition-delay: .24s; }

/* ---------- "see it live" ---------- */
.showcase { position: relative; overflow: clip; background: var(--dark); color: var(--dark-text); border-bottom: 0; }
.showcase::before { content: ''; position: absolute; inset: 0; background: radial-gradient(50% 60% at 78% 55%, color-mix(in srgb, var(--accent) 34%, transparent), transparent 70%), radial-gradient(40% 50% at 12% 10%, color-mix(in srgb, var(--glow-2) 22%, transparent), transparent 70%); pointer-events: none; }
.showcase .wrap { position: relative; }
.showcase .head .kicker, .showcase .head .lead { color: var(--dark-muted); }
.showcase .head .kicker::before { background: var(--accent); border-color: var(--accent); }
.showcase .head h2 { color: var(--dark-text); }
.showcase .head { margin-bottom: 36px; }
.show-tabs { display: flex; gap: 8px; margin: 0 -24px; padding: 4px 24px 14px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.show-tabs::-webkit-scrollbar { display: none; }
.show-tabs::before, .show-tabs::after { content: ''; margin: auto; }
.show-tab { position: relative; display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; padding: 0 16px; overflow: hidden; border: 1px solid var(--dark-rule); border-radius: 999px; background: rgb(255 255 255 / 4%); color: var(--dark-muted); font: 600 14.5px/1 var(--font); cursor: pointer; transition: background-color .2s ease, color .2s ease, border-color .2s ease; -webkit-tap-highlight-color: transparent; }
.show-tab:hover { color: var(--dark-text); border-color: rgb(255 255 255 / 30%); }
.show-tab.on { background: #fff; border-color: #fff; color: #0e1116; }
.show-prog { position: absolute; left: 0; bottom: 0; width: 0; height: 3px; background: var(--accent); }
.show-tab.on.run .show-prog { animation: prog var(--dur, 9s) linear both; }
@keyframes prog { to { width: 100%; } }
.show-main { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 48px; margin-top: 22px; }
.show-texts { display: grid; min-width: 0; }
.show-text { grid-area: 1 / 1; max-width: 560px; visibility: hidden; opacity: 0; transform: translateY(14px); transition: opacity .45s ease, transform .55s cubic-bezier(.2, .7, .2, 1), visibility 0s .45s; }
.show-text.on { visibility: visible; opacity: 1; transform: none; transition-delay: .08s, .08s, 0s; }
.show-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: rgb(255 255 255 / 8%); border: 1px solid var(--dark-rule); color: #fff; }
.show-ico .g { width: 24px; height: 24px; }
.show-text h3 { margin-top: 22px; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
.show-text > p { margin-top: 16px; color: var(--dark-muted); font-size: 18px; line-height: 1.55; }
.show-text .ticks { display: grid; gap: 10px; margin-top: 22px; color: var(--dark-text); }
.show-text .ticks li { display: flex; align-items: center; gap: 10px; }
.showcase .show-text .ticks li { color: var(--dark-text); }
.showcase .show-text .ticks .g { color: var(--accent); stroke-width: 2.4; }
.stage-show { padding: 10px clamp(0px, 5vw, 70px) 10px 0; }
.stage-show::before { content: ''; position: absolute; inset: 8% 6%; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 55%, transparent), transparent); filter: blur(40px); opacity: .6; pointer-events: none; }
.stage-show .ph { width: min(320px, 80vw); }
@media (max-width: 900px) {
  .show-main { grid-template-columns: minmax(0, 1fr); gap: 28px; justify-items: center; }
  .stage-show { order: -1; padding: 0; }
  .show-texts { width: 100%; }
  .show-text { max-width: none; }
  .show-text > p { font-size: 16.5px; }
}
@media (max-width: 720px) { .show-tabs { margin: 0 -24px; } }

/* ---------- "made here" ---------- */
.local { position: relative; overflow: clip; }
.local-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.local-grid li { padding: 26px 24px 28px; border: 1px solid var(--rule); border-radius: calc(var(--radius) + 8px); background: var(--card); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.local-grid li:hover { transform: translateY(-4px); border-color: var(--rule-2); box-shadow: 0 22px 40px -26px rgb(8 15 40 / 35%); }
.local-ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: color-mix(in srgb, #e30a17 10%, transparent); color: #e30a17; }
:root[data-theme='dark'] .local-ico { color: #ff6b74; }
.local-ico .g { width: 22px; height: 22px; }
.local-grid h3 { margin-top: 18px; font-size: 19px; letter-spacing: -.015em; }
.local-grid p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
@media (max-width: 1080px) { .local-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .local-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .ph *, .chip, .lv-badge { animation: none !important; transition: none !important; }
}
