/* Sprout: bold, bright and friendly. Lime on soft white with ink, chunky rounded cards, a floating tab bar.
   Three designs (Original, Cute, Minimal) are set with body[data-style], like the app. */

.sprout {
  --bg: #f4f4f6; --surface: #ffffff; --ink: #151518; --soft: #5d5d66; --line: #e2e2e7;
  --primary: #d3f64a; --on-primary: #17180f; --accent-text: #4f6a00; --accent-fill: #7a9e0f;
  --c1: #ffe2d2; --c2: #eae5f2; --c3: #d9f0f1; --c4: #edff9c; --dark: #151518;
  --radius: 30px;
  background: var(--bg); color: var(--ink);
  font: 400 18px/1.55 "Google Sans", system-ui, sans-serif;
  transition: background-color .6s, color .6s;
}
.sprout[data-style="cute"] {
  --bg: #fff1f6; --surface: #ffffff; --ink: #4b1d3a; --soft: #7a5068; --line: #f7c9db;
  --primary: #ff8fb8; --on-primary: #4b1d3a; --accent-text: #b8326b; --accent-fill: #ff7faa;
  --c1: #ffe0ec; --c2: #e9e1ff; --c3: #d8f6ee; --c4: #ffe6ef; --dark: #4b1d3a; --radius: 38px;
}
.sprout[data-style="minimal"] {
  --bg: #fbfbfa; --surface: #ffffff; --ink: #111111; --soft: #5a5a5a; --line: #e4e4e2;
  --primary: #111111; --on-primary: #ffffff; --accent-text: #111111; --accent-fill: #111111;
  --c1: #f2f2f0; --c2: #f2f2f0; --c3: #f2f2f0; --c4: #f2f2f0; --dark: #111111; --radius: 18px;
}
.sprout * { transition-property: background-color, border-color, color, border-radius, fill, stroke; transition-duration: .5s; }
.sprout [data-reveal], .sprout button, .sprout .flash, .sprout .face { transition-property: all; }

.mega { font-weight: 700; font-size: clamp(3rem, 8vw, 6.6rem); line-height: .95; letter-spacing: -.045em; }
.mega.center, .center { text-align: center; }
.big { font-weight: 700; font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.02; letter-spacing: -.04em; margin-top: .9rem; }
.big.light { color: #fff; }
.hl { background: linear-gradient(transparent 58%, var(--primary) 58%, var(--primary) 92%, transparent 92%); padding: 0 .1em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sprout[data-style="minimal"] .hl { background: none; text-decoration: underline; text-decoration-thickness: .08em; text-underline-offset: .12em; }
.lede { color: var(--soft); font-size: 1.15rem; max-width: 32rem; margin-top: 1.2rem; }
.lede.light { color: #b8b8c0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .45rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 500; font-size: 14px; }
.chip.dark { background: rgba(255, 255, 255, .1); color: var(--primary); border-color: rgba(255, 255, 255, .15); }
.sprout[data-style="minimal"] .chip.dark { color: #fff; }
.chip.muted { color: var(--soft); }
.store-btn { --bg: var(--dark); --fg: #fff; border-radius: 18px; }

/* ---------- Top + floating tab bar ---------- */
.top { position: absolute; top: 0; left: 0; right: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center; padding: 1.1rem clamp(1.2rem, 4vw, 2.6rem); }
.top a { text-decoration: none; font-weight: 500; }
.top-back { display: inline-flex; gap: .4rem; padding: .5rem .9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.top-brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700 !important; font-size: 1.3rem; letter-spacing: -.03em; }
.top-brand svg { width: 34px; height: 34px; }
.top-help { padding: .5rem .9rem; border-radius: 999px; background: var(--dark); color: #fff; }
.tabbar {
  position: fixed; left: 50%; bottom: 1.2rem; z-index: 40; display: flex; gap: .2rem; padding: .35rem; border-radius: 999px;
  background: var(--dark); box-shadow: 0 18px 40px -16px rgba(21, 21, 24, .55); transform: translateX(-50%) translateY(140%); opacity: 0;
  transition: transform .6s cubic-bezier(.3, 1.4, .5, 1), opacity .4s, background-color .5s;
}
.tabbar.show { transform: translateX(-50%); opacity: 1; }
.tabbar a { position: relative; z-index: 1; padding: .65rem 1.15rem; border-radius: 999px; color: #c9c9d1; text-decoration: none; font-weight: 500; font-size: 15px; transition: color .3s; }
.tabbar a.on { color: var(--on-primary); }
.sprout[data-style="minimal"] .tabbar a.on { color: #111; }
.tab-pill { position: absolute; top: .35rem; bottom: .35rem; left: 0; width: 0; border-radius: 999px; background: var(--primary); transition: left .45s cubic-bezier(.3, 1.3, .5, 1), width .45s cubic-bezier(.3, 1.3, .5, 1), background-color .5s; }
.sprout[data-style="minimal"] .tab-pill { background: #fff; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1280px; margin: 0 auto; min-height: 100svh; padding: 7rem clamp(1.2rem, 5vw, 3rem) 5rem; }
.mega { margin: 1.4rem 0 1.4rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.hero-stage { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.stage-blob { position: absolute; inset: 6%; border-radius: 42% 58% 55% 45% / 48% 42% 58% 52%; background: var(--primary); animation: morph 12s ease-in-out infinite alternate; }
@keyframes morph { 50% { border-radius: 56% 44% 42% 58% / 40% 58% 42% 60%; transform: rotate(8deg); } 100% { border-radius: 45% 55% 60% 40% / 55% 45% 55% 45%; transform: rotate(-4deg); } }
.sprout[data-style="minimal"] .stage-blob { background: none; border: 2px solid var(--ink); }
.buddy { position: relative; width: 74%; overflow: visible; }
.hero-stage .buddy { cursor: pointer; }
.buddy .b-all { transform-origin: 0 .4px; animation: sway 4s ease-in-out infinite; }
@keyframes sway { 50% { transform: rotate(1.5deg) translateY(-.008px); } }
.buddy .b-leaf { transform-box: fill-box; animation: leaf 3.4s ease-in-out infinite; }
.buddy .b-leaf.l { transform-origin: 100% 100%; }
.buddy .b-leaf.r { transform-origin: 0% 100%; animation-delay: -1.7s; }
@keyframes leaf { 50% { transform: rotate(-7deg); } }
.buddy .b-eyes { transform-box: fill-box; transform-origin: center; animation: blink 4s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.08); } }
.buddy.hop .b-all { animation: hop .7s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes hop { 0% { transform: scale(1.08, .9); } 40% { transform: translateY(-.1px) scale(.95, 1.06); } 75% { transform: scale(1.04, .96); } }
.say { position: absolute; top: 4%; left: 50%; transform: translateX(-10%); padding: .7rem 1rem; border-radius: 20px 20px 20px 6px; background: var(--dark); color: #fff; font-weight: 500; font-size: 15px; white-space: nowrap; box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .4); animation: float 3.4s ease-in-out infinite; }
.say.pop { animation: say-pop .45s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes say-pop { from { transform: translateX(-10%) scale(.6); opacity: 0; } }
@keyframes float { 50% { transform: translateX(-10%) translateY(-6px); } }
.float-card { position: absolute; padding: .7rem 1rem; border-radius: 18px; background: var(--surface); box-shadow: 0 16px 30px -18px rgba(21, 21, 24, .45); font-size: 14px; font-weight: 500; display: flex; align-items: center; gap: .5rem; }
.float-card b { font-size: 1.4rem; letter-spacing: -.03em; }
.float-card small { color: var(--soft); font-size: 12px; }
.fc-1 { left: -2%; top: 30%; flex-direction: column; align-items: flex-start; gap: 0; animation: float-y 5s ease-in-out infinite; }
.fc-2 { right: -4%; top: 58%; animation: float-y 6s ease-in-out -2s infinite; }
.fc-3 { left: 8%; bottom: 2%; flex-direction: column; align-items: flex-start; gap: 0; animation: float-y 5.5s ease-in-out -1s infinite; }
@keyframes float-y { 50% { transform: translateY(-10px); } }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.lime { background: var(--accent-fill); }

/* ---------- Focus ---------- */
.focus { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin: 0 clamp(.6rem, 2vw, 1.4rem); padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 4rem); border-radius: 44px; background: var(--dark); color: #fff; }
.sounds { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2rem; }
.sounds button { padding: .65rem 1.1rem; border-radius: 999px; background: rgba(255, 255, 255, .08); color: #e6e6ea; border: 1px solid rgba(255, 255, 255, .14); font-weight: 500; font-size: 15px; display: inline-flex; align-items: center; gap: .5rem; }
.sounds button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .35; }
.sounds button[aria-pressed="true"] { background: var(--primary); color: var(--on-primary); border-color: transparent; }
.sprout[data-style="minimal"] .sounds button[aria-pressed="true"] { background: #fff; color: #111; }
.sounds button[aria-pressed="true"]::before { opacity: 1; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.6); } }
.timer-card { justify-self: center; width: min(420px, 100%); padding: 1.6rem; border-radius: 36px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); display: grid; justify-items: center; gap: 1.4rem; }
.presets { display: flex; gap: .4rem; padding: .3rem; border-radius: 999px; background: rgba(255, 255, 255, .07); }
.presets button { padding: .5rem .9rem; border-radius: 999px; color: #c9c9d1; font-weight: 500; font-size: 14px; white-space: nowrap; }
.presets button.on { background: #fff; color: #151518; }
.ring-wrap { position: relative; width: min(300px, 70vw); aspect-ratio: 1; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-track { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 14; }
.ring-fill { fill: none; stroke: var(--primary); stroke-width: 14; stroke-linecap: round; stroke-dasharray: 603.2; stroke-dashoffset: 0; transition: stroke-dashoffset 1s linear, stroke .5s !important; }
.sprout[data-style="minimal"] .ring-fill { stroke: #fff; }
.ring-dot { fill: #fff; transform-origin: 110px 110px; transition: transform 1s linear !important; filter: drop-shadow(0 0 6px rgba(255, 255, 255, .8)); }
.ring-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.ring-time { font-weight: 700; font-size: clamp(3.4rem, 9vw, 4.6rem); letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; }
.ring-label { color: var(--primary); font-weight: 500; margin-top: .4rem; }
.sprout[data-style="minimal"] .ring-label { color: #bbb; }
.timer-actions { display: flex; gap: .6rem; }

/* The windowsill under the timer */
.sill { position: relative; width: 100%; padding: .2rem .4rem 0; }
.sill-label { display: flex; justify-content: space-between; font-size: 13px; font-weight: 500; color: #9d9da8; margin-bottom: .3rem; }
.pots { list-style: none; margin: 0; padding: 0 .3rem; display: flex; flex-wrap: wrap-reverse; gap: 0 .1rem; min-height: 64px; align-items: flex-end; position: relative; z-index: 1; }
.pot { width: 36px; }
.pot svg { width: 36px; height: 67px; overflow: visible; }
.pot .f-plant { transform-box: view-box; transform-origin: 50% 78%; }
.pot.new .f-stem { stroke-dasharray: 40; animation: f-stem .9s .2s ease-out backwards; }
.pot.new .f-leaf { transform-box: fill-box; transform-origin: 100% 100%; animation: f-leaf .6s .8s cubic-bezier(.3, 1.6, .5, 1) backwards; }
.pot.new .f-leaf.r { transform-origin: 0% 100%; }
.pot.new .f-head { animation: f-head .7s 1s cubic-bezier(.3, 1.8, .5, 1) backwards; }
.pot.new { animation: f-pot .5s cubic-bezier(.3, 1.6, .5, 1) backwards; }
@keyframes f-pot { from { transform: translateY(-18px) scale(.6); opacity: 0; } }
@keyframes f-stem { from { stroke-dashoffset: 40; } }
@keyframes f-leaf { from { transform: scale(0); } }
@keyframes f-head { from { transform: translate(0px, -40px) scale(0) rotate(-90deg); } }
.pot:not(.new) .f-head { animation: f-sway 4s ease-in-out infinite; transform-box: fill-box; transform-origin: 50% 100%; }
.pot:nth-child(even) .f-head { animation-delay: -2s; }
@keyframes f-sway { 50% { rotate: 6deg; } }
.sill-empty { position: absolute; left: .7rem; right: .7rem; bottom: 18px; font-size: 13px; color: #9d9da8; text-align: center; }
.sill-board { display: block; height: 10px; margin-top: -2px; border-radius: 4px; background: linear-gradient(#e8cfa8, #c9a27a); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .6); }
.btn-lime { padding: .95rem 1.6rem; border-radius: 999px; background: var(--primary); color: var(--on-primary); font-weight: 700; font-size: 1.05rem; transition: transform .25s cubic-bezier(.3, 1.6, .5, 1) !important; }
.sprout[data-style="minimal"] .btn-lime { background: #fff; color: #111; }
.btn-lime:hover { transform: scale(1.04); }
.btn-lime:active { transform: scale(.96); }
.btn-ghost { padding: .95rem 1.3rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-weight: 500; }

/* ---------- Plan ---------- */
.plan, .clocks { max-width: 1280px; margin: 0 auto; padding: clamp(5rem, 9vw, 8rem) clamp(1.2rem, 5vw, 3rem) clamp(2rem, 4vw, 3rem); }
.sec-head { margin-bottom: 3rem; }
.sec-head.center { display: grid; justify-items: center; }
.plan-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 1.2rem; }
.tasks-card, .exam-card, .stats-card { background: var(--surface); border-radius: var(--radius); padding: 1.8rem; box-shadow: 0 1px 0 var(--line); }
.tc-head { display: flex; justify-content: space-between; align-items: baseline; }
.tc-head b { font-size: 1.4rem; letter-spacing: -.02em; }
.tc-head span { color: var(--soft); font-size: 15px; font-variant-numeric: tabular-nums; }
.tc-bar { height: 10px; border-radius: 10px; background: var(--c2); margin: 1rem 0 1.2rem; overflow: hidden; }
.tc-bar span { display: block; height: 100%; border-radius: inherit; background: var(--accent-fill); transition: width .6s cubic-bezier(.3, 1.3, .5, 1) !important; }
.tasks li + li { border-top: 1px solid var(--line); }
.tasks label { display: flex; align-items: center; gap: .9rem; padding: .95rem .2rem; cursor: pointer; }
.tasks input { position: absolute; opacity: 0; pointer-events: none; }
.box { width: 26px; height: 26px; border-radius: 9px; border: 2px solid var(--line); flex: none; display: grid; place-items: center; transition: all .3s cubic-bezier(.3, 1.6, .5, 1) !important; }
.box::after { content: ""; width: 7px; height: 13px; border: solid var(--on-primary); border-width: 0 3px 3px 0; transform: rotate(45deg) scale(0); margin-top: -3px; transition: transform .3s cubic-bezier(.3, 1.6, .5, 1); }
.tasks input:checked + .box { background: var(--primary); border-color: var(--primary); transform: scale(1.08); }
.tasks input:checked + .box::after { transform: rotate(45deg) scale(1); }
.tasks input:focus-visible + .box { outline: 3px solid var(--accent-text); outline-offset: 2px; }
.t { flex: 0 1 auto; margin-right: auto; font-weight: 500; position: relative; }
.t::after { content: ""; position: absolute; left: 0; top: 52%; height: 2px; width: 100%; background: var(--soft); transform: scaleX(0); transform-origin: left; transition: transform .4s cubic-bezier(.6, 0, .2, 1); }
.tasks input:checked ~ .t { color: var(--soft); }
.tasks input:checked ~ .t::after { transform: scaleX(1); }
.sub { font-style: normal; font-size: 12.5px; font-weight: 500; padding: .25rem .6rem; border-radius: 999px; }
.sub.bio { background: var(--c3); } .sub.math { background: var(--c1); } .sub.eng { background: var(--c2); } .sub.lang { background: var(--c4); }
.plan-side { display: grid; gap: 1.2rem; }
.exam-card { background: var(--c1); }
.ec-label { font-weight: 500; font-size: 14px; color: var(--soft); }
.ec-days { font-size: 1.4rem; font-weight: 500; margin-top: .4rem; }
.ec-days b { font-size: 4rem; letter-spacing: -.05em; line-height: 1; }
.ec-name { font-weight: 700; font-size: 1.2rem; }
.ec-dots { display: flex; gap: 5px; margin: 1rem 0 .6rem; }
.ec-dots i { flex: 1; height: 8px; border-radius: 8px; background: rgba(21, 21, 24, .12); }
.ec-dots i.d { background: var(--ink); }
.ec-note { color: var(--soft); font-size: 14px; }
.stats-card { background: var(--c4); }
.mini-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin: 1rem 0 .8rem; }
.mini-bars i { flex: 1; height: calc(var(--h) * 100%); border-radius: 10px; background: rgba(21, 21, 24, .18); transform-origin: bottom; animation: grow 1s cubic-bezier(.3, 1.3, .5, 1) both; animation-play-state: paused; }
.stats-card.is-in .mini-bars i { animation-play-state: running; }
.mini-bars i:nth-child(2) { animation-delay: .06s; } .mini-bars i:nth-child(3) { animation-delay: .12s; } .mini-bars i:nth-child(4) { animation-delay: .18s; }
.mini-bars i:nth-child(5) { animation-delay: .24s; } .mini-bars i:nth-child(6) { animation-delay: .3s; } .mini-bars i:nth-child(7) { animation-delay: .36s; }
.mini-bars i.best { background: var(--ink); }
@keyframes grow { from { transform: scaleY(0); } }
.sc-sum { font-size: 15px; } .sc-sum b { font-size: 1.15rem; }

/* ---------- Review ---------- */
.review { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; max-width: 1280px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 3rem); }
.ticks { margin-top: 1.6rem; display: grid; gap: .6rem; }
.ticks li { display: flex; align-items: center; gap: .7rem; font-weight: 500; }
.ticks li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; flex: none; background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23151518' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.sprout[data-style="minimal"] .ticks li::before { filter: invert(1); }
.deck { justify-self: center; width: min(440px, 100%); display: grid; gap: 1rem; perspective: 1400px; }
.deck-count { text-align: center; color: var(--soft); font-size: 15px; font-weight: 500; }
.flash { position: relative; display: block; width: 100%; height: 290px; transform-style: preserve-3d; transition: transform .7s cubic-bezier(.3, 1.2, .4, 1) !important; }
.flash.flipped { transform: rotateY(180deg); }
.flash.leave { animation: leave .45s cubic-bezier(.6, 0, .4, 1) forwards; }
.flash.enter { animation: enter .55s cubic-bezier(.3, 1.4, .5, 1); }
@keyframes leave { to { transform: rotateY(180deg) translateX(-120%) rotate(-12deg); opacity: 0; } }
@keyframes enter { from { transform: translateY(40px) scale(.9); opacity: 0; } }
.face { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: .8rem; padding: 2rem; border-radius: var(--radius); backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center; box-shadow: 0 30px 50px -30px rgba(21, 21, 24, .45); }
.face.front { background: var(--surface); border: 1px solid var(--line); }
.face.back { background: var(--primary); color: var(--on-primary); transform: rotateY(180deg); }
.face small { font-weight: 500; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; opacity: .6; }
.face b { font-size: 1.7rem; line-height: 1.15; letter-spacing: -.03em; }
.face em { font-style: normal; font-size: 13px; color: var(--soft); }
.face.front { box-shadow: 12px 12px 0 -1px var(--c2), 24px 22px 0 -3px var(--c4), 0 30px 50px -30px rgba(21, 21, 24, .45); }
.grades { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.grades button { padding: .8rem; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); display: grid; gap: .1rem; }
.grades button:hover { transform: translateY(-2px); }
.grades button b { font-size: 1.05rem; }
.grades button small { color: var(--soft); font-size: 12.5px; }
.grades [data-grade="again"] { background: var(--c1); } .grades [data-grade="good"] { background: var(--c3); } .grades [data-grade="easy"] { background: var(--c4); }

/* ---------- Clocks ---------- */
.faces { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1rem; }
.face-card { display: grid; gap: .7rem; }
.fc-screen { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 0 0 6px #1b1b1f, 0 20px 40px -24px rgba(0, 0, 0, .6); font-variant-numeric: tabular-nums; }
.face-card figcaption { text-align: center; font-weight: 700; }
.face-card figcaption span { font-size: 11px; padding: .15rem .45rem; border-radius: 999px; background: var(--ink); color: var(--bg); margin-left: .3rem; vertical-align: 2px; }
.citrus .fc-screen { background: #d3f64a; color: #151518; }
.citrus b { font-size: clamp(1.8rem, 3.4vw, 2.8rem); letter-spacing: -.04em; }
.citrus small { position: absolute; bottom: 10%; font-size: 11px; font-weight: 500; }
.monument .fc-screen { background: #f2f0eb; color: #151518; grid-template-columns: 1fr 1fr; align-content: center; padding: 0 8%; }
.monument b { font-size: clamp(2.2rem, 4.4vw, 3.6rem); letter-spacing: -.07em; line-height: .8; font-weight: 700; }
.monument b + b { color: #b5b0a5; }
.orbit .fc-screen { background: #101626; color: #e8ecff; }
.orbit-ring { position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(232, 236, 255, .3); }
.orbit-ring i { position: absolute; left: 50%; top: -5px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #9db4ff; box-shadow: 0 0 12px #9db4ff; transform-origin: 5px calc(25cqw + 5px); }
.orbit .fc-screen { container-type: inline-size; }
.orbit b { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 500; }
.horizon .fc-screen { background: linear-gradient(#ffb48a, #ffd9b0 55%, #4a5d8a 55.5%, #2f3e66); color: #fff; }
.sun { position: absolute; left: 50%; width: 26%; aspect-ratio: 1; margin-left: -13%; border-radius: 50%; background: #fff3d6; box-shadow: 0 0 30px #fff3d6; transition: top 1s linear !important; }
.hz-line { position: absolute; left: 0; right: 0; top: 55%; height: 45%; background: linear-gradient(#4a5d8a, #2f3e66); }
.horizon b { position: absolute; bottom: 12%; font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; }
.cadence .fc-screen { background: #151518; color: #fff; }
.beats { position: absolute; inset: 18% 10% auto; display: flex; gap: 4%; align-items: flex-end; height: 38%; }
.beats i { flex: 1; height: 30%; border-radius: 4px; background: rgba(255, 255, 255, .15); transition: height .4s cubic-bezier(.3, 1.4, .5, 1), background-color .3s !important; }
.beats i.on { height: 100%; background: #d3f64a; }
.cadence b { position: absolute; bottom: 12%; font-size: clamp(1.2rem, 2.2vw, 1.7rem); font-weight: 700; }

/* ---------- Styles ---------- */
.styles { padding: clamp(4rem, 8vw, 7rem) clamp(1.2rem, 5vw, 3rem); }
.styles-inner { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; align-items: center; padding: clamp(2rem, 5vw, 4rem); border-radius: 44px; background: var(--c2); }
.style-pick { display: inline-flex; gap: .3rem; padding: .35rem; margin-top: 2rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.style-pick button { padding: .7rem 1.3rem; border-radius: 999px; font-weight: 500; }
.style-pick button[aria-checked="true"] { background: var(--dark); color: #fff; }
.style-stage { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--surface); }
.buddy.small { width: 70%; }

/* ---------- Private + Pro ---------- */
.private { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 1.2rem; max-width: 1280px; margin: 0 auto; padding: 0 clamp(1.2rem, 5vw, 3rem) clamp(4rem, 8vw, 6rem); }
.priv-card { padding: clamp(2rem, 5vw, 3.5rem); border-radius: 40px; background: var(--dark); color: #d4d4da; display: grid; align-content: end; gap: 1rem; min-height: 380px; }
.priv-card .big { margin: 0; }
.pro-card { padding: clamp(2rem, 4vw, 3rem); border-radius: 40px; background: var(--primary); color: var(--on-primary); }
.pro-card .chip.dark { background: rgba(21, 21, 24, .1); color: var(--on-primary); border-color: transparent; }
.pro-card h3 { font-size: 2rem; letter-spacing: -.04em; margin: 1rem 0; }
.pro-card ul { display: grid; gap: .5rem; padding-left: 1.2rem; font-weight: 500; }
.pro-note { margin-top: 1.4rem; font-size: 14px; opacity: .75; }

/* ---------- Final ---------- */
.final { display: grid; justify-items: center; gap: 1.6rem; padding: clamp(3rem, 8vw, 6rem) 1.2rem clamp(7rem, 10vw, 9rem); }
.final-buddy { width: 160px; }

/* ---------- Footer ---------- */
.foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; align-items: center; padding: 1.6rem clamp(1.2rem, 5vw, 3rem) 6.5rem; border-top: 1px solid var(--line); font-size: 15px; color: var(--soft); }
.foot a { color: var(--ink); }
.foot nav { display: flex; gap: 1.4rem; }
.foot nav a { text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero, .focus, .review, .plan-grid, .styles-inner, .private { grid-template-columns: minmax(0, 1fr); }
  .hero { min-height: auto; }
  .hero-stage { max-width: 460px; width: 100%; margin: 0 auto; }
  .faces { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .tb-label { display: none; }
  .faces { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tabbar a { padding: .6rem .8rem; font-size: 14px; }
  .presets button { padding: .5rem .7rem; }
  .say { white-space: normal; width: max-content; max-width: 48vw; line-height: 1.3; }
  .style-pick { display: flex; }
  .style-pick button { flex: 1; padding: .7rem .4rem; }
  .style-stage { width: 100%; max-width: 300px; margin: 0 auto; }
  .float-card { display: none; }
  .fc-2 { display: flex; right: 0; }
  .tasks label { flex-wrap: wrap; }
}

/* ============ Real screens from the app ============ */
.screens { max-width: 1320px; margin: 0 auto; padding: clamp(3rem, 7vw, 6rem) clamp(1.2rem, 5vw, 3rem); }
.phone-fan { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1rem, 2.6vw, 2.4rem); align-items: start; }
.phone-fan figure { display: grid; gap: 1.1rem; }
.phone-fan li:nth-child(even) { margin-top: 4rem; }
.phone {
  padding: 8px; border-radius: 48px; background: var(--dark);
  box-shadow: 0 0 0 3px var(--primary), 0 40px 60px -34px rgba(21, 21, 24, .55);
  transition: transform .6s cubic-bezier(.3, 1.6, .5, 1), box-shadow .5s;
}
.phone-fan li:nth-child(odd) .phone { rotate: -2deg; }
.phone-fan li:nth-child(even) .phone { rotate: 2deg; }
.phone img { display: block; width: 100%; height: auto; border-radius: 40px; }
.phone-fan li:hover .phone { transform: translateY(-.7rem) rotate(var(--un, 0deg)); box-shadow: 0 0 0 5px var(--primary), 0 56px 70px -36px rgba(21, 21, 24, .6); }
.phone-fan li:nth-child(odd):hover .phone { --un: 2deg; }
.phone-fan li:nth-child(even):hover .phone { --un: -2deg; }
.phone-fan figcaption { font-size: 15px; line-height: 1.45; color: var(--soft); padding: 0 .4rem; }
.phone-fan figcaption b { display: block; color: var(--ink); font-size: 18px; margin-bottom: .1rem; }

@media (max-width: 860px) {
  .phone-fan { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(-1 * clamp(1.2rem, 5vw, 3rem)); padding: .6rem clamp(1.2rem, 5vw, 3rem) 1.5rem; scrollbar-width: none; }
  .phone-fan::-webkit-scrollbar { display: none; }
  .phone-fan li { flex: 0 0 64vw; scroll-snap-align: center; }
  .phone-fan li:nth-child(even) { margin-top: 0; }
  .phone-fan li .phone { rotate: 0deg; }
  .phone { border-radius: 38px; padding: 6px; }
  .phone img { border-radius: 32px; }
}
@media (prefers-reduced-motion: reduce) { .phone { transition: none; } }

/* ============ Story and looks (shared styles in /assets/css/story.css) ============ */
.sprout { --st-ink: var(--ink); --st-soft: var(--soft); --st-accent: var(--accent-text); --st-bg: var(--bg); --st-frame: var(--dark); --st-hi: var(--primary); --st-hi-ink: var(--on-primary); }
.story-phone { box-shadow: 0 0 0 3px var(--primary), 0 50px 80px -40px rgba(21, 21, 24, .5); }

/* Three real phones under the design picker */
.looks { max-width: 1180px; margin: clamp(2rem, 5vw, 3.5rem) auto 0; display: grid; justify-items: center; gap: 2rem; }
.looks-tabs { display: inline-flex; gap: .3rem; padding: .35rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.looks-tabs button { padding: .6rem 1.4rem; border-radius: 999px; font-weight: 600; }
.looks-tabs button[aria-selected="true"] { background: var(--primary); color: var(--on-primary); }
.looks-row { display: grid; grid-template-columns: repeat(3, minmax(0, 290px)); justify-content: center; gap: clamp(1rem, 3vw, 2.6rem); width: 100%; }
.looks figure { display: grid; gap: 1rem; justify-items: center; cursor: pointer; transition: transform .6s cubic-bezier(.3, 1.6, .5, 1); }
.looks figure .phone { display: grid; width: 100%; box-shadow: 0 0 0 3px transparent, 0 40px 60px -34px rgba(21, 21, 24, .5); background: #151518; }
.looks figure .phone img { grid-area: 1 / 1; transition: opacity .5s ease, transform .6s cubic-bezier(.2, .8, .2, 1); }
.looks .v-focus { opacity: 0; transform: translateX(8%); }
.looks[data-view="focus"] .v-focus { opacity: 1; transform: none; }
.looks[data-view="focus"] .v-today { opacity: 0; transform: translateX(-8%); }
.looks figure.picked { transform: translateY(-1.2rem); }
.looks figure.picked .phone { box-shadow: 0 0 0 4px var(--primary), 0 56px 70px -34px rgba(21, 21, 24, .55); }
.looks figure:not(.picked) .phone { filter: saturate(.85); }
.looks figcaption { font-weight: 700; font-size: 1.1rem; padding: .3rem .9rem; border-radius: 99px; transition: background .3s, color .3s; }
.looks figure.picked figcaption { background: var(--dark); color: #fff; }

@media (max-width: 860px) {
  .looks-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; justify-content: flex-start; padding: 1.6rem clamp(1.2rem, 5vw, 3rem) 1rem; margin: 0 calc(-1 * clamp(1.2rem, 5vw, 3rem)); width: auto; scrollbar-width: none; }
  .looks-row::-webkit-scrollbar { display: none; }
  .looks figure { flex: 0 0 62vw; scroll-snap-align: center; }
}
