/* Brand, motion and section composition for the Bitter homepage. */
.wordmark { display:inline-flex; align-items:center; flex:none; line-height:1 }
.wordmark img { display:block; width:124px; height:auto }
.compact .wordmark img { width:88px }
.mast.compact .bar { width:min(100%,820px); padding-inline:16px 6px }
.mast.compact nav { flex:none }
.menu-lines,.menu-lines::after { display:block; height:2px; width:16px; background:currentColor; border-radius:2px }
.menu-lines { position:relative; transform:translateY(-2.5px) }
.menu-lines::after { content:''; position:absolute; top:5px }
.float { display:grid; place-items:center; background:#178958; width:53px;height:53px }
.brief-icon { display:block; width:17px; height:21px; border:1.8px solid white; border-radius:3px; position:relative; transform:rotate(-8deg) }
.brief-icon::after { content:''; position:absolute; top:5px; inset-inline:3px; height:1.6px; background:white; box-shadow:0 4px white }
@property --wash { syntax:"<color>"; inherits:true; initial-value:#dfedef }
:root { transition:--wash .9s ease }
.hero:before { background:radial-gradient(ellipse at 26% 39%,var(--wash),transparent 57%) }
.deck-card { border-radius:clamp(16px,2vw,30px); padding:clamp(7px,.76vw,12px); box-shadow:0 12px 32px #25244312,0 2px 5px #23203c08 }
.deck-card .face { aspect-ratio:1.6; border-radius:clamp(10px,1.4vw,20px) }
.deck-card .card-foot { padding:9px 8px 3px; min-height:42px }
.deck-card .card-foot strong { font-size:clamp(14px,1.18vw,20px); font-weight:560 }
.deck-card .mood-label { font-size:12px }
.eyetag { min-height:37px; padding-inline:17px }
.intro-note { font-weight:420 }
#indicators { gap:5px }
.story { background:#ffffffe6; box-shadow:0 8px 25px #2420390e; border:1px solid #ffffff }
.story .step-art { border:3px solid #fff; box-shadow:0 1px 5px #14213815 }
.sectors { margin-bottom:0 }
#why,#process,#pricing,#faq,#game { --surface:#ddeaff; background:var(--surface) }
#process { --surface:#eae5fb } #pricing { --surface:#ffc39c } #faq { --surface:#f1ffc9 } #game { --surface:#fff0bf }
#why::before,#process::before,#pricing::before,#faq::before,#game::before {
 content:''; position:absolute; inset:0 0 auto; height:clamp(19px,3.2vw,50px); background:var(--surface);
 border-radius:52% 70% 0 0 / 100% 100% 0 0; transform:translateY(calc(-100% + 1px)); pointer-events:none
}
#why .why { row-gap:clamp(32px,4.2vw,75px) }
.studio-profile { margin:clamp(48px,6vw,100px) auto 30px; padding:clamp(24px,3.4vw,56px); border-radius:32px;
 display:grid;grid-template-columns:1.55fr 1fr;gap:28px 8%;background:white;position:relative }
.studio-profile::after { content:''; width:clamp(36px,7vw,90px);aspect-ratio:1;border-radius:50%;position:absolute;bottom:-6%;left:0;transform:translateX(-18%);background:#fb814d;pointer-events:none }
.profile-lead { display:flex; gap:20px; align-items:flex-start }
.profile-lead img { padding:11px; background:#f3e9df; border-radius:50%; width:clamp(56px,6vw,85px); height:auto }
.studio-profile h3 { font-size:clamp(20px,2.1vw,34px);margin-bottom:8px }
.studio-profile p { line-height:1.95;color:var(--muted);max-width:53ch }
.mood-rail { grid-column:1/-1;display:grid;grid-template-columns:repeat(6,1fr);gap:8px }
.mood-rail a { background:var(--tone);text-align:center; padding:clamp(18px,2.5vw,36px) 4px;border-radius:14px;font-weight:680;font-size:clamp(17px,1.8vw,27px);transition:transform .28s }
.mood-rail a:hover {transform:rotate(-3deg) translateY(-4px)}
#process { padding:0 }
.process-pin { padding:clamp(76px,7vw,125px) max(var(--pad),calc((100% - 1680px)/2)); position:relative;overflow:clip }
.process-stage {position:relative}
#steps article small {display:block;color:var(--muted)}
#steps article p {line-height:1.9}
#steps::before {content:none}
#pricing .tiles { position:relative }
#pricing .tiles::before {content:'';position:absolute;inset:2% 1% auto auto;width:115px;aspect-ratio:1;border-radius:50%;background:#5377ed}
#pricing article { padding-bottom:24px; display:flex; flex-direction:column }
#pricing article>.plan-art { margin-bottom:18px }
#pricing article:nth-child(1) .plan-art {background:#975df2}
#pricing article:nth-child(2) .plan-art {background:#ff895c}
#pricing article:nth-child(3) .plan-art {background:#3ed2a2}
#pricing article h3 { font-size:clamp(28px,3vw,48px);line-height:1.4 }
.price-tag {display:block;width:fit-content; border-radius:40px; padding:4px 12px; background:#eee5ff;font-size:13px;margin-block:6px 16px}
#pricing article:nth-child(2) .price-tag {background:#ffe3d6}
#pricing article:nth-child(3) .price-tag {background:#dbf5ec}
.plan-link { display:block; width:fit-content; margin-top:auto; padding:9px 14px; background:#f0eff5; border-radius:40px; font-size:14px; font-weight:600 }
.plan-link:hover {background:#e5e4ec}
#faq .section-head {align-self:start;position:sticky;top:100px}
.faq-list details { padding:0; border-radius:17px }
.faq-list summary { padding:17px 20px;gap:20px; font-size:17px }
.faq-list details p {margin:0;padding:0 20px 21px}
.game-arena { position:relative; min-height:clamp(430px,72svh,710px);display:grid; align-content:center;justify-items:center;isolation:isolate;overflow:clip }
#game {padding-bottom:0} #game .section-head {margin-bottom:0}
.game-intro{text-align:center;padding:20px 18px 16px;z-index:1}
.game-intro h3 {font-weight:540;font-size:clamp(42px,5vw,78px);line-height:1.4;margin-bottom:8px}
.game-intro p {color:var(--muted)}
#game .playbox {z-index:1;width:min(100%,690px);padding:8px 12px;background:transparent;box-shadow:none}
.game-actions{justify-content:center;flex-wrap:wrap}.game-actions #result:empty{display:none}
.game-orbits {position:absolute;inset:0;z-index:-1;pointer-events:none}
.game-orbits i {width:clamp(48px,6.4vw,88px);aspect-ratio:1;border-radius:50%; background:#fa8750;display:grid;place-items:center;position:absolute;font-style:normal;font-size:14px;animation:float-token 4.7s ease-in-out alternate infinite}
.game-orbits i:nth-child(1){top:18%;right:13%}.game-orbits i:nth-child(2){top:43%;right:2%;animation-delay:-1s}.game-orbits i:nth-child(3){top:11%;left:17%;animation-delay:-3s}.game-orbits i:nth-child(4){top:39%;left:2%;animation-delay:-2s}
@keyframes float-token{to{transform:translate(4px,16px) rotate(5deg)}}
.game-arena:not([data-game-state=ready]) .game-intro,.game-arena:not([data-game-state=ready]) .game-orbits,#field-game[hidden],.playscore[hidden] {display:none}
#game .playbox #field-game {border:2px solid #f7d986;background:#fff7db;touch-action:none}
.site-foot { background:#fff0bf } .site-foot .wordmark img {width:112px}
@media(min-width:901px) and (min-height:580px) and (prefers-reduced-motion:no-preference) {
 #process {height:210svh}
 .process-pin {position:sticky;top:0;height:100svh;padding-block:clamp(78px,10svh,112px) 25px;display:flex;flex-direction:column}
 .process-pin .section-head {margin:0}
 .process-stage {flex:1;display:grid;place-items:center}
 .process-trail {position:absolute;inset:40% -9% auto;width:auto;height:22%;transform:rotate(-8deg);border-radius:50%;border-top:5px solid #9553ed;pointer-events:none}
 #steps {width:100%;position:relative;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.4vw,28px);padding:0 2%}
 #steps article {--fan:1; --offset:0px; --turn:0deg; --pile:0deg; --level:0px; z-index:var(--z,1);transform:translateX(calc(var(--offset)*(1 - var(--fan)))) translateY(calc(var(--level)*var(--fan))) rotate(calc(var(--pile) + (var(--turn) - var(--pile))*var(--fan)));transition:none;min-height:clamp(245px,46vh,490px)}
 #steps article h3{font-size:clamp(20px,1.65vw,27px)}#steps article p{font-size:clamp(14px,1.1vw,18px)}
}
@media(min-width:901px) {
 #pricing article:nth-child(n+2)::before {content:'یا';position:absolute;top:28%;inset-inline-start:clamp(-31px,-2.1vw,-18px);z-index:1;display:grid;place-items:center;background:#b3e5ff;border:2px solid var(--ink);border-radius:100px;min-width:29px;height:26px;font-size:12px;font-weight:700}
 #pricing article:nth-child(3)::before {content:'+';background:#ffdf71;font:bold 19px/1 sans-serif}
}
@media(max-width:900px) {
 .bar .wordmark img {width:104px}.compact .bar .wordmark img {width:82px}
}
@media(max-width:700px) {
 .mast.compact .bar {padding-inline:11px 5px}.mast:not(.compact) .wordmark img {width:106px}
 .hero:before {background:radial-gradient(ellipse at 53% 22%,var(--wash),transparent 47%)}
 .deck-card {border-radius:16px;padding:7px}.deck-card .face{aspect-ratio:1.48}
 .deck-card .card-foot{min-height:34px;padding:7px 3px 2px}.deck-card .mood-label{font-size:10px}
 .studio-profile {grid-template-columns:1fr;gap:22px;border-radius:20px}.mood-rail{grid-template-columns:repeat(3,1fr)}.profile-lead{gap:11px}
 #why .why {grid-template-columns:1fr;row-gap:38px}.why article {padding:0}
 .why .benefit-art {width:195px;max-width:100%;margin-inline-start:-12px}.why article h3{font-size:23px}.why article p{font-size:16px}
 #faq .section-head {position:static}
 .game-orbits i:nth-child(even){top:74%}.game-orbits i:nth-child(odd){top:8%}
 .float{width:44px;height:44px}
}


.journal-main,.reading{padding-block:108px clamp(76px,9vw,150px)}
.journal-main .back,.reading .back{font-size:14px;background:white;padding:9px 18px;min-height:42px}
.editorial-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,2vw,32px)}
.entry-card{display:flex;flex-direction:column;overflow:hidden;background:white;border-radius:24px;border:1px solid #1415240b;transition:transform .3s,box-shadow .3s}
.entry-card:hover{transform:translateY(-4px);box-shadow:0 15px 40px #1f1c3510}
.entry-card .entry-art,.reading .entry-art{display:grid;place-items:center;background:#e4ddfa;min-height:160px}
.entry-art canvas{width:min(100%,480px)}
.entry-card:nth-child(2) .entry-art{background:#ffdfc8}.entry-card:nth-child(3) .entry-art{background:#cbeee6}
.entry-card>div+div{padding:clamp(22px,3vw,48px);display:grid;align-content:center;gap:14px}
.entry-card h2{font-weight:540;font-size:clamp(23px,2.8vw,43px);line-height:1.5}
.entry-card p,.reading article p{color:var(--muted);line-height:2}
.entry-card span{font-size:14px;text-decoration:underline;text-underline-offset:5px}
.entry-card:first-child{grid-column:1/-1;display:grid;grid-template-columns:1.15fr 1fr;min-height:clamp(250px,33vw,510px)}
.reading{max-width:1140px}.reading article{max-width:730px;margin:40px auto 0}.reading h1{font-size:clamp(33px,4.6vw,66px);line-height:1.45;font-weight:540}.reading .entry-art{border-radius:24px;margin:25px 0}.reading h3{font-size:24px;margin-top:30px}.reading p{margin:12px 0;font-size:17px}.reading .pill{margin:12px 0}
@media(max-width:700px){.journal-main,.reading{padding-top:90px}.editorial-grid,.entry-card:first-child{grid-template-columns:1fr}.journal-main .section-head{margin-top:22px}}


.why .benefit-points{padding:0;margin-top:14px}.benefit-points li{font-size:14px;line-height:1.85;margin:4px 0}.benefit-points li:before{width:15px;height:15px;font-size:10px}
