/* ALTA demo: a private women's club for psychology and coaching. Same native-app recipe as the other demos; warm beige and lavender, serif headings for a quiet premium tone. */
:root {
  --bg: #f1eae1; --card: #fbf8f4; --card2: #ebe3da; --ink: #2e2632; --muted: #8a7f8d; --line: #e4dbd0;
  --acc: #7d67b5; --acc-ink: #fff; --lav: #e7e0f6;
  --serif: "New York", ui-serif, "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
* { box-sizing: border-box; margin: 0; -webkit-tap-highlight-color: transparent; }
html { background: #ddd4c8; }
body { font: 400 16px/1.4 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", system-ui, sans-serif; color: var(--ink); -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; text-align: left; padding: 0; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
.app { position: relative; max-width: 430px; min-height: 100dvh; margin: 0 auto; background: var(--bg); overflow-x: hidden; }
.sb { display: flex; justify-content: space-between; align-items: center; height: 44px; padding: 8px 26px 0; font-weight: 600; font-size: 15px; }
.sb i { display: flex; gap: 6px; align-items: center; }
.sb svg { height: 12px; width: auto; fill: currentColor; }
svg.ic { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.screen { padding: 8px 20px 112px; animation: in .5s var(--ease) both; }
@keyframes in { from { opacity: 0; transform: translateY(14px); } }
.top { display: flex; align-items: center; gap: 10px; padding: 8px 0 14px; }
.logo { font-family: var(--serif); font-size: 22px; letter-spacing: .28em; margin-right: auto; }
.pill { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--acc); color: var(--acc); font-size: 13px; font-weight: 600; letter-spacing: .04em; }
.ava { width: 36px; height: 36px; border-radius: 50%; overflow: hidden; flex: none; background: var(--card2); display: grid; place-items: center; font-family: var(--serif); font-size: 17px; color: var(--acc); }
h1 { font-family: var(--serif); font-weight: 500; font-size: 32px; line-height: 1.12; letter-spacing: -.01em; padding: 4px 0 16px; }
h2 { font-family: var(--serif); font-weight: 500; font-size: 22px; margin: 28px 0 12px; display: flex; justify-content: space-between; align-items: baseline; }
h2 small { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 14px; color: var(--muted); }
.muted { color: var(--muted); }
.cap { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--acc); }
.card { background: var(--card); border-radius: 24px; padding: 18px; box-shadow: 0 1px 2px rgba(74,58,90,.05), 0 10px 26px -20px rgba(74,58,90,.35); }
.press { transition: transform .3s var(--ease), opacity .3s var(--ease); }
.press:active { transform: scale(.97); }
.btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 52px; border-radius: 99px; background: var(--acc); color: var(--acc-ink); font-weight: 600; font-size: 16px; letter-spacing: .01em; }
.btn.line { background: none; border: 1px solid var(--acc); color: var(--acc); }
.btn.soft { background: var(--card2); color: var(--ink); }
.btn.sm { width: auto; height: 38px; padding: 0 16px; font-size: 14px; flex: none; }
.btn.on { background: var(--lav); color: var(--acc); }
button:focus-visible { outline: 2px solid var(--acc); outline-offset: 2px; }

/* today */
.hero { position: relative; border-radius: 28px; overflow: hidden; padding: 20px; min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff; }
.hero > * { position: relative; z-index: 1; }
.hero > img { position: absolute; inset: 0; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(58,44,78,.2) 0%, rgba(58,44,78,.72) 52%, rgba(46,34,62,.94) 100%); }
.hero .cap { margin-bottom: auto; color: #e3d8fb; }
.hero p { font-family: var(--serif); font-size: 23px; line-height: 1.25; margin-bottom: 14px; }
.picks { display: grid; gap: 8px; }
.pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; height: 46px; padding: 0 16px; border-radius: 99px; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 15px; }
.pick.on { background: #fff; color: #4b3a78; font-weight: 600; }
.pick svg.ic { width: 18px; height: 18px; stroke-width: 2.4; }
.rit { display: flex; align-items: center; gap: 16px; margin-bottom: 6px; }
.ring { position: relative; width: 64px; height: 64px; flex: none; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 5; stroke: var(--card2); }
.ring circle.f { stroke: var(--acc); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.rit b.t { font-family: var(--serif); font-weight: 500; font-size: 20px; display: block; }
.rows > * { display: flex; align-items: center; gap: 12px; padding: 13px 0; width: 100%; font-size: 15px; line-height: 1.35; }
.rows > * + * { border-top: 1px solid var(--line); }
.rows .txt { flex: 1; min-width: 0; }
.rows small { display: block; color: var(--muted); font-size: 13px; }
.ck { width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #c9bdb1; display: grid; place-items: center; flex: none; color: transparent; transition: background .3s var(--ease), border-color .3s var(--ease); }
.ck svg.ic { width: 15px; height: 15px; stroke-width: 2.8; }
.on > .ck { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
[role="checkbox"].on > .txt { color: var(--muted); }

/* events, mentors, feed */
.ev { padding: 0; overflow: hidden; }
.ev .ph { display: block; height: 136px; position: relative; }
.ev .ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(251,248,244,0) 45%, rgba(251,248,244,1) 100%); }
.ev .when { position: absolute; z-index: 1; left: 14px; top: 14px; padding: 6px 12px; border-radius: 99px; color: #fff; background: rgba(46,34,62,.72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 600; }
.ev .in { padding: 4px 18px 18px; }
.ev b { font-family: var(--serif); font-weight: 500; font-size: 21px; line-height: 1.2; display: block; }
.ev p { color: var(--muted); font-size: 14px; margin: 6px 0 14px; }
.ev .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ev .row small { color: var(--muted); font-size: 13px; }
.list { display: grid; gap: 12px; }
.person { display: flex; align-items: center; gap: 14px; }
.person .ph { width: 60px; height: 60px; border-radius: 50%; overflow: hidden; flex: none; }
.person .txt { flex: 1; min-width: 0; }
.person b { font-family: var(--serif); font-weight: 500; font-size: 18px; display: block; }
.person small { color: var(--muted); font-size: 13px; display: block; }
.post .hd { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.post .hd .ava { width: 36px; height: 36px; }
.post .hd b { font-size: 15px; display: block; }
.post .hd small { color: var(--muted); font-size: 12px; }
.post p { font-size: 15px; line-height: 1.5; }
.like { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; height: 34px; padding: 0 12px; border-radius: 99px; background: var(--card2); font-size: 14px; font-weight: 600; color: var(--muted); }
.like.on { color: var(--acc); }
.like.on svg.ic { fill: currentColor; }
.like svg.ic { width: 17px; height: 17px; }
.cover { display: block; position: relative; height: 190px; border-radius: 28px; overflow: hidden; margin-bottom: 4px; color: #fff; }
.cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(46,34,62,0) 30%, rgba(46,34,62,.88) 100%); }
.cover span { position: absolute; z-index: 1; left: 18px; right: 18px; bottom: 16px; }
.cover b { font-family: var(--serif); font-weight: 500; font-size: 26px; display: block; }
.cover small { color: rgba(255,255,255,.8); font-size: 14px; }

/* program */
.bar { height: 5px; border-radius: 99px; background: var(--card2); overflow: hidden; margin-top: 12px; }
.bar i { display: block; height: 100%; border-radius: 99px; background: var(--acc); transform-origin: left; transition: transform .8s var(--ease); }
.wk { display: flex; align-items: center; gap: 14px; width: 100%; padding: 10px; border-radius: 22px; background: var(--card); box-shadow: 0 1px 2px rgba(74,58,90,.05); }
.wk .ph { width: 64px; height: 64px; border-radius: 16px; overflow: hidden; flex: none; display: block; }
.wk .txt { flex: 1; min-width: 0; }
.wk small { color: var(--muted); font-size: 13px; display: block; }
.wk b { font-family: var(--serif); font-weight: 500; font-size: 19px; display: block; }
.wk .st { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex: none; color: var(--muted); margin-right: 4px; }
.wk .st svg.ic { width: 17px; height: 17px; }
.wk.ok .st { background: var(--lav); color: var(--acc); }
.wk.now { box-shadow: inset 0 0 0 1px var(--acc); }
.wk.now .st { background: var(--acc); color: var(--acc-ink); }
.wk.lock { opacity: .5; }
.wk.lock .ph img { filter: grayscale(1); }
.back { display: inline-flex; align-items: center; gap: 4px; height: 40px; padding: 0 14px 0 8px; margin: 4px 0 10px -4px; border-radius: 99px; background: var(--card); font-size: 15px; font-weight: 600; }
.lead { font-size: 16px; line-height: 1.55; color: #4d4352; margin-bottom: 16px; }
.pl { width: 40px; height: 40px; border-radius: 50%; background: var(--card2); display: grid; place-items: center; flex: none; color: var(--acc); }
.pl svg.ic { width: 18px; height: 18px; }
.eq { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.eq i { width: 3px; border-radius: 2px; background: var(--acc); animation: eq 1s var(--ease) infinite alternate; }
.eq i:nth-child(1) { height: 60%; } .eq i:nth-child(2) { height: 100%; animation-delay: .2s; } .eq i:nth-child(3) { height: 40%; animation-delay: .4s; }
@keyframes eq { to { transform: scaleY(.35); } }
.eq i { transform-origin: bottom; }

/* diary */
.moods { display: flex; flex-wrap: wrap; gap: 8px; }
.mood { height: 40px; padding: 0 16px; border-radius: 99px; background: var(--card); font-size: 15px; box-shadow: 0 1px 2px rgba(74,58,90,.06); }
.mood.on { background: var(--acc); color: var(--acc-ink); font-weight: 600; }
.say { margin-top: 12px; font-family: var(--serif); font-size: 18px; line-height: 1.4; }
.say small { display: block; margin-top: 8px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif; font-size: 13px; color: var(--muted); }
.wheel { display: block; width: 100%; max-width: 280px; margin: 0 auto 6px; }
.wheel .g { fill: none; stroke: var(--line); }
.wheel .a { stroke: var(--line); }
.wheel .v { fill: rgba(125,103,181,.22); stroke: var(--acc); stroke-width: 2; stroke-linejoin: round; transition: all .5s var(--ease); }
.wheel text { fill: var(--muted); font-size: 10px; font-weight: 600; letter-spacing: .04em; }
.avg { display: flex; justify-content: space-between; align-items: baseline; margin: 6px 0 4px; }
.avg b { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.sp { display: flex; align-items: center; gap: 10px; padding: 10px 0; }
.sp + .sp { border-top: 1px solid var(--line); }
.sp .txt { flex: 1; font-size: 15px; }
.sp b { width: 26px; text-align: center; font-family: var(--serif); font-size: 19px; font-variant-numeric: tabular-nums; }
.sp button { width: 36px; height: 36px; border-radius: 50%; background: var(--card2); display: grid; place-items: center; flex: none; }
.sp button[disabled] { opacity: .3; pointer-events: none; }
.sp svg.ic { width: 16px; height: 16px; stroke-width: 2.2; }
.note b { font-family: var(--serif); font-weight: 500; font-size: 18px; display: block; margin: 6px 0 4px; }
.note p { color: #5a4f5e; font-size: 15px; line-height: 1.5; }

/* profile */
.mcard { position: relative; border-radius: 24px; padding: 20px; border: 1px solid var(--acc); background: linear-gradient(135deg, #e9e1f7 0%, #f7f1e9 100%); overflow: hidden; }
.mcard .logo { font-size: 26px; display: block; margin: 0 0 34px; color: var(--acc); }
.mcard b { font-family: var(--serif); font-weight: 500; font-size: 22px; display: block; }
.mcard .row { display: flex; justify-content: space-between; margin-top: 14px; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.mcard .row span b { font-family: inherit; font-size: 15px; color: var(--ink); letter-spacing: 0; font-weight: 600; }
.tier b { font-family: var(--serif); font-weight: 500; font-size: 22px; display: block; }
.tier p { color: var(--muted); font-size: 15px; margin: 6px 0 14px; }
.sw i { width: 50px; height: 30px; border-radius: 99px; background: #d3c9bd; position: relative; flex: none; transition: background .3s var(--ease); }
.sw i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .3s var(--ease); }
.sw.on i { background: var(--acc); }
.sw.on i::after { transform: translateX(20px); }

/* bottom sheet */
.dim { position: fixed; z-index: 8; inset: 0; background: rgba(46,34,62,.45); animation: fade .3s var(--ease) both; }
@keyframes fade { from { opacity: 0; } }
.sheet { position: fixed; z-index: 9; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 430px); background: var(--card); border-radius: 28px 28px 0 0; padding: 10px 20px 30px; animation: sh .5s var(--ease) both; }
@keyframes sh { from { transform: translate(-50%, 100%); } }
.sheet::before { content: ""; display: block; width: 40px; height: 5px; border-radius: 99px; background: #d6ccc0; margin: 0 auto 16px; }
.sheet h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.15; }
.sheet .sub { color: var(--muted); font-size: 15px; margin: 6px 0 16px; }
.sheet ul { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.sheet li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.sheet li svg.ic { width: 18px; height: 18px; margin-top: 2px; color: var(--acc); stroke-width: 2.4; }
.slots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 16px; }
.slot { height: 60px; border-radius: 18px; background: var(--card2); text-align: center; font-size: 13px; color: var(--muted); display: grid; place-content: center; }
.slot b { display: block; font-size: 17px; color: var(--ink); }
.slot.on { background: var(--acc); color: var(--acc-ink); }
.slot.on b { color: var(--acc-ink); }
.sheet .price { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.sheet .price b { font-family: var(--serif); font-weight: 500; font-size: 30px; }
.sheet .fine { text-align: center; color: var(--muted); font-size: 13px; margin-top: 10px; }

.tabs { position: fixed; z-index: 5; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 430px); display: flex; padding: 8px 6px calc(10px + env(safe-area-inset-bottom)); background: rgba(248, 243, 236, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border-top: 1px solid var(--line); }
.tabs button { flex: 1; display: grid; justify-items: center; gap: 3px; padding: 6px 0 12px; color: #a99fa8; font-size: 11px; font-weight: 600; transition: color .3s var(--ease); }
.tabs button.on { color: var(--acc); }
.tabs svg.ic { width: 24px; height: 24px; }
.home-ind { position: fixed; z-index: 10; left: 50%; bottom: 6px; transform: translateX(-50%); width: 128px; height: 5px; border-radius: 99px; background: var(--ink); opacity: .85; pointer-events: none; }
.toast { position: fixed; z-index: 11; left: 50%; bottom: 104px; transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 99px; font-size: 14px; font-weight: 600; white-space: nowrap; animation: in .4s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .screen, .toast, .sheet, .dim, .eq i { animation: none; } .press, .bar i, .sw i, .sw i::after, .ring circle.f, .wheel .v { transition: none; } }
