/* =========================================================
   Homepage sections: ticker, live demo, steps, stats, FAQ
   ========================================================= */
.mtv-section__head--center { flex-direction: column; align-items: center; text-align: center; margin-bottom: 36px; }
.mtv-section__sub { max-width: 600px; margin: 12px auto 0; color: var(--muted); font-size: 1.05rem; }

/* reveal on scroll */
.mtv-reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.mtv-reveal.is-in { opacity: 1; transform: none; }

/* ticker */
.mtv-ticker { position: relative; overflow: hidden; padding: 16px 0; border-block: 1px solid var(--line-2); background: var(--paper); -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.mtv-ticker__track { display: flex; width: max-content; gap: 40px; animation: mtv-marquee 40s linear infinite; }
.mtv-ticker:hover .mtv-ticker__track { animation-play-state: paused; }
.mtv-ticker span { display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; font-family: var(--font-display); font-size: 1.25rem; font-weight: 500; color: var(--ink-2); }
.mtv-ticker i { font-style: normal; color: var(--orange); font-size: .9rem; }
@keyframes mtv-marquee { to { transform: translateX(calc(-50% - 20px)); } }

/* ---------- live demo app window ---------- */
.mtv-demo { position: relative; }
.mtv-demo::before { content: ""; position: absolute; left: 50%; top: 52%; width: min(1000px, 90%); height: 60%; translate: -50% -50%; z-index: -1; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--orange) 26%, transparent), transparent); filter: blur(30px); }
.mtv-app { max-width: 1060px; margin: 0 auto; border-radius: 26px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 50px 100px -40px rgba(120, 60, 20, .45), 0 0 0 8px color-mix(in srgb, var(--paper) 55%, transparent); }
[data-scheme="dark"] .mtv-app { box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .8), 0 0 0 8px rgba(255, 255, 255, .03); }
.mtv-app__chrome { display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.mtv-app__dots { display: flex; gap: 7px; }
.mtv-app__dots i { width: 12px; height: 12px; border-radius: 50%; background: #f0a487; }
.mtv-app__dots i:nth-child(2) { background: #f3cd78; }
.mtv-app__dots i:nth-child(3) { background: #9cc79a; }
.mtv-app__url { flex: 1; max-width: 460px; margin-inline: auto; display: flex; align-items: center; justify-content: center; gap: 6px; padding: 6px 14px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); font-size: .82rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mtv-app__url .mtv-icon { color: var(--green); }
.mtv-app__live { display: inline-flex; align-items: center; gap: 7px; font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--green); }
.mtv-app__live b { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: mtv-pulse-g 2s infinite; }
@keyframes mtv-pulse-g { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 50%, transparent); } 70% { box-shadow: 0 0 0 8px transparent; } }
.mtv-app__body { display: grid; grid-template-columns: 300px 1fr; min-height: 420px; }
.mtv-app__tabs { display: flex; flex-direction: column; gap: 6px; padding: 18px; background: color-mix(in srgb, var(--bg-2) 60%, var(--paper)); border-right: 1px solid var(--line); }
.mtv-app__tab { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border: 1px solid transparent; border-radius: 15px; background: none; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: background .2s, border-color .2s, transform .3s var(--spring); }
.mtv-app__tab strong { display: block; font-size: .93rem; }
.mtv-app__tab small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.35; }
.mtv-app__tab:hover { background: var(--paper); }
.mtv-app__tab[aria-selected="true"] { background: var(--paper); border-color: color-mix(in srgb, var(--c) 40%, var(--line)); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.mtv-app__tabicon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: var(--c); background: color-mix(in srgb, var(--c) 13%, transparent); transition: background .25s, color .25s; }
.mtv-app__tab[aria-selected="true"] .mtv-app__tabicon { background: var(--c); color: var(--paper); }
.mtv-app__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; padding: 12px; font-weight: 700; font-size: .88rem; text-decoration: none; }
.mtv-app__panels { position: relative; display: flex; flex-direction: column; padding: 32px 36px 20px; }
.mtv-app__panel { flex: 1; animation: mtv-panel .45s var(--spring); }
@keyframes mtv-panel { from { opacity: 0; transform: translateY(10px); } }
.mtv-app__row { display: flex; gap: 36px; align-items: center; }
.mtv-app__grow { flex: 1; min-width: 0; }
.mtv-app__kicker { margin: 0 0 4px; font-size: .74rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.mtv-app__kicker--mt { margin-top: 26px; }
.mtv-app__h { margin: 0 0 16px; font-family: var(--font-display); font-size: 1.6rem; font-weight: 650; }
.mtv-app__p { color: var(--muted); margin: -6px 0 18px; }
.mtv-app__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 24px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .85rem; }
.mtv-app__foot > span { display: inline-flex; align-items: center; gap: 6px; }

/* rings */
.mtv-demo-ring, .mtv-demo-timer { position: relative; flex: none; width: 190px; aspect-ratio: 1; }
.mtv-demo-ring svg, .mtv-demo-timer svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.mtv-demo-ring circle, .mtv-demo-timer circle { fill: none; stroke-width: 9; }
.mtv-demo-ring .t, .mtv-demo-timer .t { stroke: var(--line); }
.mtv-demo-ring .f, .mtv-demo-timer .f { stroke: var(--orange); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset .8s var(--spring); }
.mtv-demo-timer .f { transition: stroke-dashoffset .25s linear; }
.mtv-demo-timer.is-break .f { stroke: var(--green); }
.mtv-demo-ring > div, .mtv-demo-timer > div { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.mtv-demo-ring strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; }
.mtv-demo-ring small { color: var(--muted); font-size: .85rem; }
.mtv-demo-timer strong { font-family: var(--font-display); font-size: 2.5rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.mtv-demo-phase { padding: 3px 10px; border-radius: 99px; background: var(--peach); color: var(--orange-dark); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.mtv-demo-timer.is-break .mtv-demo-phase { background: color-mix(in srgb, var(--green) 15%, transparent); color: var(--green); }

/* habits */
.mtv-demo-habits { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mtv-demo-habits li { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 15px; border: 1px solid var(--line); background: var(--paper-2); transition: background .3s, border-color .3s; }
.mtv-demo-habits li:has(input:checked) { background: color-mix(in srgb, var(--green) 8%, var(--paper-2)); border-color: color-mix(in srgb, var(--green) 30%, var(--line)); }
.mtv-demo-habits label { flex: 1; min-width: 0; display: flex; align-items: center; gap: 12px; cursor: pointer; font-weight: 650; }
.mtv-demo-habits input { position: absolute; opacity: 0; }
.mtv-demo-check { flex: none; width: 26px; height: 26px; border-radius: 9px; border: 2px solid color-mix(in srgb, var(--orange) 45%, var(--line)); background: var(--paper); display: grid; place-items: center; transition: all .3s var(--spring); }
.mtv-demo-check::after { content: ""; width: 6px; height: 12px; margin-top: -3px; border: solid #fff; border-width: 0 2.6px 2.6px 0; transform: rotate(45deg) scale(0); transition: transform .35s var(--spring); }
.mtv-demo-habits input:checked + .mtv-demo-check { background: var(--orange); border-color: var(--orange); transform: scale(1.08); }
.mtv-demo-habits input:checked + .mtv-demo-check::after { transform: rotate(45deg) scale(1); }
.mtv-demo-habits input:focus-visible + .mtv-demo-check { box-shadow: var(--ring); }
.mtv-demo-habits input:checked ~ .mtv-demo-name { color: var(--muted); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.mtv-demo-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mtv-demo-streak { flex: none; font-size: .85rem; color: var(--muted); }
.mtv-demo-streak b { color: var(--ink); }
.mtv-demo-streak.bump b { display: inline-block; animation: mtv-bump .5s var(--spring); }
@keyframes mtv-bump { 50% { transform: scale(1.5); color: var(--orange); } }
.mtv-demo-dots { flex: none; display: flex; gap: 3px; }
.mtv-demo-dots i { width: 9px; height: 9px; border-radius: 3px; background: var(--line); }
.mtv-demo-dots i.on { background: color-mix(in srgb, var(--orange) 75%, transparent); }

/* timer buttons */
.mtv-demo-btns { display: flex; gap: 10px; }
.mtv-demo-btn { height: 44px; padding: 0 20px; border: 0; border-radius: 13px; background: var(--orange); color: #fff; font: 700 .95rem var(--font); cursor: pointer; transition: transform .3s var(--spring), background .2s; }
.mtv-demo-btn:hover { transform: translateY(-2px); background: var(--orange-dark); }
[data-scheme="dark"] .mtv-demo-btn { color: #1f140c; }
[data-scheme="dark"] .mtv-demo-btn:hover { background: var(--orange-2); }
.mtv-demo-btn--ghost { background: transparent; border: 1px solid var(--line); color: var(--ink-2); }
.mtv-demo-btn--ghost:hover { background: var(--cream); }
[data-scheme="dark"] .mtv-demo-btn--ghost { color: var(--ink-2); }
.mtv-demo-stats { display: flex; gap: 22px; margin-top: 20px; color: var(--muted); font-size: .9rem; }
.mtv-demo-stats b { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); margin-right: 3px; }

/* moods */
.mtv-demo-moods { display: flex; flex-wrap: wrap; gap: 10px; }
.mtv-demo-moods button { display: flex; flex-direction: column; align-items: center; gap: 3px; min-width: 84px; padding: 12px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--paper-2); color: var(--ink-2); font: 650 .84rem var(--font); cursor: pointer; transition: all .25s var(--ease); }
.mtv-demo-moods button span { font-size: 1.9rem; line-height: 1.15; transition: transform .4s var(--spring); }
.mtv-demo-moods button:hover span { transform: scale(1.15) rotate(-6deg); }
.mtv-demo-moods button[aria-checked="true"] { border-color: var(--orange); background: var(--peach); color: var(--orange-dark); box-shadow: var(--ring); }
.mtv-demo-moods button[aria-checked="true"] span { transform: scale(1.2); }
.mtv-demo-strip { display: grid; grid-template-columns: repeat(14, 1fr); gap: 6px; }
.mtv-demo-strip span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 12px; background: var(--paper-2); border: 1px solid var(--line-2); font-size: 1.15rem; }
.mtv-demo-strip .is-today { border: 2px solid var(--orange); background: var(--cream); }
.mtv-demo-strip .is-today.pop { animation: mtv-bump .5s var(--spring); }

@media (max-width: 860px) {
	.mtv-app__body { grid-template-columns: 1fr; }
	.mtv-app__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; border-right: 0; border-bottom: 1px solid var(--line); padding: 10px; }
	.mtv-app__tab { flex-direction: column; gap: 6px; padding: 10px 4px; text-align: center; }
	.mtv-app__tab strong { font-size: .78rem; line-height: 1.2; }
	.mtv-app__tabicon { width: 36px; height: 36px; }
	.mtv-app__tab small, .mtv-app__more { display: none; }
	.mtv-app__tab[aria-selected="true"] { transform: none; }
	.mtv-app__panels { padding: 24px 20px 16px; }
	.mtv-app__row { flex-direction: column; gap: 20px; align-items: stretch; }
	.mtv-demo-ring, .mtv-demo-timer { width: 160px; margin-inline: auto; }
	.mtv-app__live { display: none; }
	.mtv-demo-strip { grid-template-columns: repeat(7, 1fr); }
}
@media (max-width: 480px) {
	.mtv-demo-dots { display: none; }
	.mtv-demo-moods button { min-width: calc(33% - 7px); flex: 1; }
}

/* ---------- steps ---------- */
.mtv-steps__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: none; }
.mtv-steps__list::before { content: ""; position: absolute; top: 58px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, color-mix(in srgb, var(--orange) 50%, transparent) 0 8px, transparent 8px 16px); }
.mtv-step { position: relative; padding: 28px 26px; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); text-align: center; transition: transform .4s var(--spring), box-shadow .3s; }
.mtv-step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mtv-step__num { position: absolute; top: 16px; right: 20px; font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: color-mix(in srgb, var(--orange) 22%, transparent); font-weight: 650; }
.mtv-step__icon { position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 20px; color: #fff; background: linear-gradient(140deg, var(--orange-2), #c4591f); box-shadow: 0 14px 28px -12px rgba(196, 89, 31, .8), 0 0 0 8px var(--paper); }
.mtv-step h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.35rem; font-weight: 650; }
.mtv-step p { margin: 0; color: var(--muted); }
@media (max-width: 800px) { .mtv-steps__list { grid-template-columns: 1fr; } .mtv-steps__list::before { display: none; } }

/* ---------- stats ---------- */
.mtv-stats { display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 28px; overflow: hidden; background: #2a1f17; color: #f6e7d6; box-shadow: var(--shadow-lg); position: relative; isolation: isolate; }
.mtv-stats::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(500px 220px at 0% 0%, rgba(240, 138, 69, .3), transparent 70%), radial-gradient(500px 220px at 100% 100%, rgba(240, 138, 69, .18), transparent 70%); }
[data-scheme="dark"] .mtv-stats { background: #100c08; border: 1px solid var(--line); }
.mtv-stat { padding: 34px 28px; border-left: 1px solid rgba(255, 255, 255, .08); }
.mtv-stat:first-child { border-left: 0; }
.mtv-stat strong { display: block; font-family: var(--font-display); font-weight: 650; font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: #fff; letter-spacing: -.03em; }
.mtv-stat strong span { background: linear-gradient(120deg, #fff, #ffc799); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mtv-stat__label { display: block; margin-top: 12px; font-weight: 750; }
.mtv-stat small { display: block; margin-top: 2px; color: #c4ad96; font-size: .86rem; }
@media (max-width: 900px) { .mtv-stats { grid-template-columns: 1fr 1fr; } .mtv-stat:nth-child(3) { border-left: 0; } .mtv-stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); } }
@media (max-width: 480px) { .mtv-stat { padding: 24px 18px; } }

/* ---------- FAQ ---------- */
.mtv-faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.mtv-faq__intro { position: sticky; top: 110px; }
.mtv-faq__intro .mtv-section__sub { margin-left: 0; }
.mtv-faq__list { display: grid; gap: 12px; }
.mtv-faq__item { border-radius: 18px; background: var(--paper); border: 1px solid var(--line); transition: border-color .25s, box-shadow .25s; }
.mtv-faq__item[open] { border-color: color-mix(in srgb, var(--orange) 40%, var(--line)); box-shadow: var(--shadow-sm); }
.mtv-faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; font-weight: 700; font-size: 1.02rem; }
.mtv-faq__item summary::-webkit-details-marker { display: none; }
.mtv-faq__plus { position: relative; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--cream); transition: background .25s, transform .4s var(--spring); }
.mtv-faq__plus::before, .mtv-faq__plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; translate: -50% -50%; border-radius: 2px; background: var(--orange-dark); }
.mtv-faq__plus::after { rotate: 90deg; transition: rotate .3s var(--spring); }
.mtv-faq__item[open] .mtv-faq__plus { background: var(--orange); transform: rotate(180deg); }
.mtv-faq__item[open] .mtv-faq__plus::before, .mtv-faq__item[open] .mtv-faq__plus::after { background: #fff; }
.mtv-faq__item[open] .mtv-faq__plus::after { rotate: 0deg; }
.mtv-faq__a { padding: 0 22px 18px; color: var(--ink-2); }
.mtv-faq__a p { margin: 0; }
.mtv-faq__item[open] .mtv-faq__a { animation: mtv-panel .35s var(--ease); }
@media (max-width: 860px) { .mtv-faq__grid { grid-template-columns: 1fr; gap: 20px; } .mtv-faq__intro { position: static; text-align: center; } .mtv-faq__intro .mtv-section__sub { margin-inline: auto; } }

/* =========================================================
   "Bold Notebook" overrides for homepage sections
   ========================================================= */
.mtv-section__sub { color: var(--ink-2); }
.mtv-ticker { padding: 14px 0; border-block: 1px solid var(--line); background: var(--ink); transform: rotate(-1.2deg) scale(1.02); margin-block: 10px; -webkit-mask: none; mask: none; }
.mtv-ticker span { font: 800 1.5rem/1 var(--font-display); font-stretch: 78%; letter-spacing: -.03em; color: #f4efe4; text-transform: uppercase; }
.mtv-ticker span:nth-child(3n+2) { color: var(--lime); }
.mtv-ticker span:nth-child(3n) { font: italic 400 1.7rem/1 var(--font-serif); text-transform: none; color: var(--orange); }
.mtv-ticker i { color: var(--lime); }
[data-scheme="dark"] .mtv-ticker { border-color: var(--line); }

.mtv-demo::before { display: none; }
.mtv-app { border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--hard-lg); }
[data-scheme="dark"] .mtv-app { box-shadow: var(--hard-lg); }
.mtv-app__chrome { border-bottom: 1px solid var(--line); background: var(--lime); }
.mtv-app__dots i { border: 1px solid var(--line); background: var(--orange); }
.mtv-app__dots i:nth-child(2) { background: var(--sun); }
.mtv-app__dots i:nth-child(3) { background: #ffffff; }
.mtv-app__url { border: 1px solid var(--line); background: #ffffff; color: var(--ink); font: 700 .74rem var(--font-mono); }
.mtv-app__url .mtv-icon { color: var(--ink); }
.mtv-app__live { color: var(--ink); font-family: var(--font-mono); }
.mtv-app__live b { background: var(--orange); border: 1px solid var(--line); }
.mtv-app__tabs { border-right: 1px solid var(--line); background: var(--bg); }
.mtv-app__tab { border: 2px solid transparent; }
.mtv-app__tab:hover { background: var(--paper); border-color: var(--line); }
.mtv-app__tab[aria-selected="true"] { border-color: var(--line); background: var(--c); color: var(--ink); box-shadow: var(--hard); transform: translate(-2px, -2px); }
.mtv-app__tab[aria-selected="true"] small { color: var(--ink-2); }
.mtv-app__tabicon { border: 1px solid var(--line); background: var(--c); color: var(--ink); }
.mtv-app__tab[aria-selected="true"] .mtv-app__tabicon { background: #ffffff; color: var(--ink); }
.mtv-app__more { color: var(--ink); }
.mtv-app__h { font: 800 1.9rem/1 var(--font-display); font-stretch: 80%; letter-spacing: -.04em; }
.mtv-app__kicker { font-family: var(--font-mono); letter-spacing: .04em; }
.mtv-app__foot { border-top: 1px dashed var(--line); }
.mtv-demo-ring .t, .mtv-demo-timer .t { stroke: var(--bg-2); }
.mtv-demo-ring .f, .mtv-demo-timer .f { stroke: var(--orange); stroke-linecap: butt; }
.mtv-demo-ring svg, .mtv-demo-timer svg { filter: drop-shadow(0 0 0 var(--edge)); }
.mtv-demo-ring::before, .mtv-demo-timer::before { content: ""; position: absolute; inset: 9px; border: 1px solid var(--line); border-radius: 50%; }
.mtv-demo-ring::after, .mtv-demo-timer::after { content: ""; position: absolute; inset: 27px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); }
.mtv-demo-ring > div, .mtv-demo-timer > div { z-index: 1; }
.mtv-demo-ring strong, .mtv-demo-timer strong { font-family: var(--font-display); font-weight: 800; }
.mtv-demo-timer strong { font-family: var(--font-mono); font-size: 2.1rem; }
.mtv-demo-timer.is-break .f { stroke: var(--lilac); }
.mtv-demo-phase { border: 1px solid var(--line); background: var(--sun); color: var(--ink); font-family: var(--font-mono); }
.mtv-demo-timer.is-break .mtv-demo-phase { background: var(--lilac); color: var(--ink); }
.mtv-demo-habits li { border: 1px solid var(--line); background: var(--paper); }
.mtv-demo-habits li:has(input:checked) { background: var(--lime); border-color: var(--line); color: var(--ink); }
.mtv-demo-habits li:has(input:checked) .mtv-demo-name, .mtv-demo-habits li:has(input:checked) .mtv-demo-streak, .mtv-demo-habits li:has(input:checked) .mtv-demo-streak b { color: var(--ink); }
.mtv-demo-check { border: 1px solid var(--line); }
.mtv-demo-habits input:checked + .mtv-demo-check { background: var(--ink); border-color: var(--line); }
.mtv-demo-habits input:checked + .mtv-demo-check::after { border-color: var(--lime); }
.mtv-demo-dots i { border: 1px solid var(--line); background: transparent; width: 11px; height: 11px; }
.mtv-demo-dots i.on { background: var(--ink); }
li:has(input:checked) .mtv-demo-dots i { border-color: var(--line); }
li:has(input:checked) .mtv-demo-dots i.on { background: var(--ink); }
.mtv-demo-btn { border: 1px solid var(--line); background: var(--orange); color: var(--ink); box-shadow: var(--hard); }
.mtv-demo-btn:hover { background: var(--lime); transform: translate(-2px, -2px); box-shadow: var(--hard); }
[data-scheme="dark"] .mtv-demo-btn, [data-scheme="dark"] .mtv-demo-btn:hover { color: var(--ink); }
.mtv-demo-btn--ghost { background: var(--paper); border-color: var(--line); color: var(--ink); box-shadow: var(--hard); }
[data-scheme="dark"] .mtv-demo-btn--ghost { color: var(--ink); }
.mtv-demo-stats b { font-weight: 800; font-family: var(--font-display); }
.mtv-demo-moods button { border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.mtv-demo-moods button[aria-checked="true"] { background: var(--lilac); color: var(--ink); border-color: var(--line); box-shadow: var(--hard); transform: translate(-2px, -2px) rotate(-2deg); }
.mtv-demo-strip span { border: 1px solid var(--line); background: var(--paper); }
.mtv-demo-strip .is-today { border-color: var(--line); background: var(--lilac); }
@media (max-width: 860px) { .mtv-app__tabs { border-right: 0; border-bottom: 1px solid var(--line); } }

.mtv-steps__list::before { top: 64px; height: 0; border-top: 1px dashed var(--line); background: none; }
.mtv-step { border: 1px solid var(--line); background: var(--paper); text-align: left; padding: 30px 26px 28px; }
.mtv-step:nth-child(1) { transform: rotate(-1deg); }
.mtv-step:nth-child(3) { transform: rotate(1deg); }
.mtv-step:hover { transform: translate(-3px, -3px) rotate(0); box-shadow: var(--hard); }
.mtv-step__num { top: 22px; right: 22px; font: 700 1rem var(--font-mono); color: var(--muted); }
.mtv-step__icon { margin: 0 0 20px; border: 1px solid var(--line); border-radius: 18px; color: var(--ink); background: var(--orange); box-shadow: var(--hard); transform: rotate(-6deg); }
.mtv-step:nth-child(2) .mtv-step__icon { background: var(--sun); transform: rotate(5deg); }
.mtv-step:nth-child(3) .mtv-step__icon { background: var(--lilac); }
.mtv-step h3 { font: 800 1.6rem/1.05 var(--font-display); font-stretch: 80%; letter-spacing: -.035em; }

.mtv-stats { border: 1px solid var(--line); border-radius: 26px; background: var(--lime); color: var(--ink); box-shadow: var(--hard-lg); }
.mtv-stats::before { display: none; }
[data-scheme="dark"] .mtv-stats { background: var(--lime); border-color: var(--line); }
.mtv-stat { border-left: 1px solid var(--line); }
.mtv-stat strong { color: var(--ink); font-weight: 800; font-stretch: 75%; font-size: clamp(3rem, 6vw, 4.6rem); }
.mtv-stat strong span { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--ink); }
.mtv-stat__label { font-weight: 800; }
.mtv-stat small { color: var(--ink-2); }
@media (max-width: 900px) { .mtv-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }

.mtv-faq__item { border: 1px solid var(--line); border-radius: 18px; background: var(--paper); }
.mtv-faq__item[open] { box-shadow: var(--hard); border-color: var(--line); }
.mtv-faq__item summary { font-weight: 800; font-size: 1.08rem; }
.mtv-faq__plus { border: 1px solid var(--line); background: var(--paper); }
.mtv-faq__plus::before, .mtv-faq__plus::after { background: var(--ink); }
.mtv-faq__item[open] .mtv-faq__plus { background: var(--orange); border-color: var(--line); }
.mtv-faq__item[open] .mtv-faq__plus::before, .mtv-faq__item[open] .mtv-faq__plus::after { background: var(--ink); }
.mtv-faq__intro .mtv-section__title--lg em { font: italic 400 1em var(--font-serif); }

/* ---------- white & cream skin ---------- */
.mtv-ticker { transform: none; margin-block: 0; background: #fff; border-block: 1px solid var(--line); }
[data-scheme="dark"] .mtv-ticker { background: var(--paper); }
.mtv-ticker span { color: var(--ink); }
.mtv-ticker span:nth-child(3n+2) { color: var(--orange-dark); }
.mtv-ticker span:nth-child(3n) { color: var(--muted); }
.mtv-ticker i { color: var(--orange); }
.mtv-app { border: 1px solid var(--line); }
.mtv-app__chrome { background: var(--cream); border-bottom: 1px solid var(--line); }
.mtv-app__dots i { border: 0; background: #f0a487; }
.mtv-app__dots i:nth-child(2) { background: #f3cd78; }
.mtv-app__dots i:nth-child(3) { background: #b7cfa9; }
.mtv-app__url { border: 1px solid var(--line); background: #fff; color: var(--muted); }
[data-scheme="dark"] .mtv-app__url { background: var(--paper); }
.mtv-app__live { color: var(--green); }
.mtv-app__live b { border: 0; background: var(--green); }
.mtv-app__tabs { border-right: 1px solid var(--line); background: var(--paper-2); }
.mtv-app__tab:hover { border-color: var(--line); }
.mtv-app__tab[aria-selected="true"] { background: #fff; border-color: var(--line); box-shadow: var(--hard); transform: translateX(4px); color: var(--ink); }
[data-scheme="dark"] .mtv-app__tab[aria-selected="true"] { background: var(--paper); }
.mtv-app__tab[aria-selected="true"] .mtv-app__tabicon { background: var(--c); }
.mtv-app__foot { border-top: 1px dashed var(--line); }
.mtv-demo-ring::before, .mtv-demo-timer::before, .mtv-demo-ring::after, .mtv-demo-timer::after { border: 1px solid var(--line); }
.mtv-demo-ring .f, .mtv-demo-timer .f { stroke-linecap: round; }
.mtv-demo-phase { border: 0; background: var(--sun); }
.mtv-demo-habits li { border: 1px solid var(--line); background: #fff; }
[data-scheme="dark"] .mtv-demo-habits li { background: var(--paper); }
.mtv-demo-habits li:has(input:checked) { background: var(--cream); border-color: color-mix(in srgb, var(--orange) 30%, var(--line)); }
.mtv-demo-habits li:has(input:checked) .mtv-demo-name { color: var(--muted); }
.mtv-demo-check { border: 2px solid color-mix(in srgb, var(--orange) 45%, var(--line)); }
.mtv-demo-habits input:checked + .mtv-demo-check { background: var(--orange); border-color: var(--orange); }
.mtv-demo-habits input:checked + .mtv-demo-check::after { border-color: #fff; }
.mtv-demo-dots i { border: 0; background: var(--bg-2); }
.mtv-demo-dots i.on, li:has(input:checked) .mtv-demo-dots i.on { background: var(--orange-2); }
.mtv-demo-btn { border: 0; border-radius: 999px; background: var(--orange); color: #fff; box-shadow: 0 8px 18px -8px rgba(232, 118, 58, .7); }
.mtv-demo-btn:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 22px -8px rgba(232, 118, 58, .8); }
[data-scheme="dark"] .mtv-demo-btn, [data-scheme="dark"] .mtv-demo-btn:hover { color: #fff; }
.mtv-demo-btn--ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); box-shadow: none; }
.mtv-demo-btn--ghost:hover { background: var(--cream); color: var(--ink); box-shadow: none; }
[data-scheme="dark"] .mtv-demo-btn--ghost { background: var(--paper); }
.mtv-demo-moods button { border: 1px solid var(--line); background: #fff; }
[data-scheme="dark"] .mtv-demo-moods button { background: var(--paper); }
.mtv-demo-moods button[aria-checked="true"] { background: var(--peach); border-color: var(--orange); box-shadow: var(--ring); transform: none; color: var(--orange-dark); }
.mtv-demo-strip span { border: 1px solid var(--line); background: #fff; }
[data-scheme="dark"] .mtv-demo-strip span { background: var(--paper); }
.mtv-demo-strip .is-today { border: 2px solid var(--orange); background: var(--peach); }
.mtv-steps__list::before { border-top: 2px dashed color-mix(in srgb, var(--orange) 45%, var(--line)); }
.mtv-step { border: 1px solid var(--line); background: #fff; transform: none !important; }
[data-scheme="dark"] .mtv-step { background: var(--paper); }
.mtv-step:hover { transform: translateY(-4px) !important; box-shadow: var(--hard-lg); }
.mtv-step__icon { border: 0; background: var(--peach); color: var(--orange-dark); box-shadow: 0 0 0 8px #fff; transform: none; }
.mtv-step:nth-child(2) .mtv-step__icon { background: var(--sun); color: var(--cat-ink-focus); transform: none; }
.mtv-step:nth-child(3) .mtv-step__icon { background: var(--cat-reflection); color: var(--cat-ink-reflection); }
[data-scheme="dark"] .mtv-step__icon { box-shadow: 0 0 0 8px var(--paper); }
.mtv-stats { border: 1px solid var(--line); background: linear-gradient(120deg, #fff, var(--cream) 50%, var(--peach)); color: var(--ink); }
[data-scheme="dark"] .mtv-stats { background: var(--paper-2); border-color: var(--line); }
.mtv-stat { border-left: 1px solid var(--line); }
.mtv-stat strong, .mtv-stat strong span { color: var(--orange-dark); }
.mtv-stat small { color: var(--muted); }
@media (max-width: 900px) { .mtv-stat:nth-child(n+3) { border-top: 1px solid var(--line); } }
.mtv-faq__item { border: 1px solid var(--line); background: #fff; }
[data-scheme="dark"] .mtv-faq__item { background: var(--paper); }
.mtv-faq__item[open] { border-color: color-mix(in srgb, var(--orange) 35%, var(--line)); }
.mtv-faq__plus { border: 0; background: var(--cream); }
.mtv-faq__plus::before, .mtv-faq__plus::after { background: var(--orange-dark); }
.mtv-faq__item[open] .mtv-faq__plus { background: var(--orange); }
.mtv-faq__item[open] .mtv-faq__plus::before, .mtv-faq__item[open] .mtv-faq__plus::after { background: #fff; }
