@font-face{font-family:Fredoka;src:url('assets/fredoka-500.ttf') format('truetype');font-weight:500;font-display:swap}
@font-face{font-family:Fredoka;src:url('assets/fredoka-600.ttf') format('truetype');font-weight:600;font-display:swap}
@font-face{font-family:Nunito;src:url('assets/nunito-400.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:Nunito;src:url('assets/nunito-700.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--paper:var(--color-mobile-bg);--canvas:#F0E3D1;--ink:var(--color-mobile-text);--muted:var(--color-mobile-text-muted);--red:var(--color-mobile-primary);--red-dark:var(--color-mobile-primary-hover);--line:var(--color-mobile-border);--gold:var(--color-mobile-gold);--green:#356247;--header-height:84px;--ease:cubic-bezier(.16,1,.3,1);--phone-height:min(76svh,700px,calc(100svh - 215px));--shadow-phone:0 24px 45px -22px #30251f66;--shadow-control:0 5px 8px -5px #30251f70;color-scheme:light}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:var(--header-height);scrollbar-color:var(--line) var(--paper)}body{margin:0;background:var(--paper);color:var(--ink);font-family:Nunito,sans-serif;font-size:18px;line-height:1.55}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit}a{color:inherit;text-underline-offset:.2em}button{cursor:pointer}button[aria-disabled=true]{cursor:not-allowed}button:disabled{cursor:default}button,a{touch-action:manipulation}::selection{background:var(--gold);color:var(--ink)}:focus-visible{outline:3px solid var(--green);outline-offset:6px}h1,h2,h3,p,figure{margin:0}h1,h2{font-family:Fredoka,sans-serif;font-weight:500;line-height:1.02;letter-spacing:-.025em;text-wrap:balance}img{max-width:100%;height:auto}button svg,a svg{flex-shrink:0}.icon{display:inline-block;width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;vertical-align:middle}.icon-definitions{position:absolute;width:0;height:0;overflow:hidden}.skip-link{position:fixed;top:12px;left:12px;z-index:30;background:var(--ink);color:var(--paper);padding:12px 20px;transform:translateY(-160%)}.skip-link:focus{transform:none}
.site-header{height:var(--header-height);padding:0 clamp(24px,4.2vw,80px);display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);position:relative;z-index:20;background:var(--paper)}.enhanced .site-header{position:sticky;top:0}.wordmark{font-family:Fredoka,sans-serif;font-size:37px;font-weight:600;letter-spacing:-.04em;display:inline-flex;align-items:center;text-decoration:none;line-height:1;gap:10px}.wordmark-dot{color:var(--red);margin-left:-9px}.wordmark img{border-radius:12px}.top-nav{display:flex;gap:32px;align-items:center;font-size:14px;font-weight:700}.top-nav a{text-decoration:none}.tour-link{display:flex;gap:9px;align-items:center;min-height:44px}.tour-link .icon{width:17px}.tour-link:hover{text-decoration:underline}.beta-button{border:1px solid var(--red);background:transparent;color:var(--red);display:inline-flex;align-items:center;justify-content:center;gap:18px;border-radius:14px;padding:12px 19px;font-size:15px;font-weight:700;min-height:48px}.beta-button .icon{width:19px}.beta-button[aria-disabled=true]{opacity:.85}
.stage{position:relative}.stage-art{display:none;pointer-events:none}.chapter{max-width:1220px;margin:0 auto;padding:80px 24px;display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center}.chapter h1{font-size:clamp(50px,6vw,88px)}.chapter h2{font-size:clamp(46px,5vw,74px)}.chapter h1 span,.chapter h2 span{color:var(--red)}.chapter-copy>p{max-width:31ch;color:var(--muted);font-size:20px;line-height:1.6;margin-top:25px}.primary-action{display:inline-flex;align-items:center;justify-content:center;gap:20px;min-height:54px;padding:14px 22px;margin-top:30px;background:var(--red);color:var(--paper);border-radius:16px;text-decoration:none;font-size:16px;font-weight:700;box-shadow:var(--shadow-control);transition:background .2s,transform .2s}.primary-action:hover{background:var(--red-dark);transform:translateY(-2px)}.primary-action:active{transform:translateY(1px)}.chapter-aside{max-width:270px;justify-self:end}.aside-title{font:500 32px/1.2 Fredoka,sans-serif;letter-spacing:-.015em}.aside-title span{color:var(--red)}.aside-note{font-size:17px;line-height:1.5;color:var(--muted);margin-top:24px;max-width:28ch}.aside-note .icon{width:19px;height:19px;margin-right:5px}.character-scene{position:relative;margin-top:20px;width:230px;text-align:center}.character-scene img{width:210px;height:210px;object-fit:contain;filter:drop-shadow(0 14px 8px #30251f15)}.character-caption{display:block;font-family:Fredoka,sans-serif;font-size:18px;transform:rotate(-6deg);color:var(--red);margin-top:-12px}.feature-mark{width:70px;height:70px;background:var(--gold);border-radius:22px;display:grid;place-items:center;margin-bottom:25px;transform:rotate(-7deg)}.feature-mark .icon{width:34px;height:34px}.feature-mark--green{background:#dfe9d8;color:var(--green)}.screen-options{display:flex;gap:7px;margin-top:25px;flex-wrap:wrap}.screen-options button{border:1px solid var(--line);border-radius:12px;padding:9px 13px;min-height:44px;background:transparent;color:var(--muted);font-size:14px;font-weight:700}.screen-options button[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}.screen-options button:hover{border-color:var(--ink)}.contribution{display:flex;align-items:center;gap:12px;margin-top:27px;color:var(--green);font-weight:700}.contribution .icon{background:#dfe9d8;padding:5px;width:34px;height:34px;border-radius:50%}.stone-scene{display:flex;align-items:center;gap:0;font:500 24px/1.25 Fredoka,sans-serif}.stone-scene img{width:95px;transform:rotate(-12deg);margin-left:-14px}.stone-scene strong{font-weight:500;color:var(--red)}.character-evolution{display:flex;align-items:center;margin-bottom:25px;width:290px;margin-left:-25px}.character-evolution img{width:130px;object-fit:contain}.character-evolution img:last-child{width:155px}.character-evolution .icon{width:24px;flex-shrink:0;color:var(--red)}.badge-aside>img{display:block;margin:0 auto 20px;width:170px}.fallback-screen{width:260px;border-radius:25px;grid-column:1/-1;justify-self:center;box-shadow:var(--shadow-phone)}.phone,.journey-controls{display:none}
.enhanced .journey{height:700svh}.enhanced .stage{height:calc(100svh - var(--header-height));min-height:580px;position:sticky;top:var(--header-height);overflow:clip}.enhanced .chapters{position:relative;height:100%;max-width:1300px;margin:auto}.enhanced .chapter{position:absolute;inset:0;max-width:none;margin:0;display:grid;grid-template-columns:minmax(0,1fr) 360px minmax(0,1fr);column-gap:50px;padding:0 40px 90px;visibility:hidden;opacity:0;pointer-events:none;transition:opacity .38s var(--ease),visibility .38s}.enhanced .chapter.is-active{visibility:visible;opacity:1;pointer-events:auto}.enhanced .chapter-copy{grid-column:1;transform:translateY(14px);transition:transform .6s var(--ease);align-self:center}.enhanced .chapter.is-active .chapter-copy{transform:translateY(0)}.enhanced .chapter-aside{grid-column:3;grid-row:1;transform:translateY(10px);transition:transform .7s var(--ease)}.enhanced .chapter.is-active .chapter-aside{transform:translateY(0)}.enhanced .fallback-screen{display:none}.enhanced .stage-art{display:block;position:absolute;inset:0}.enhanced .phone{display:block;position:absolute;left:50%;top:calc(50% - 40px);width:calc(var(--phone-height) * .4621 + 18px);transform:translate(-50%,-50%);z-index:3;pointer-events:none;transition:rotate .6s var(--ease);rotate:0deg}.phone-shell{padding:8px;background:#3b302a;border:1px solid #64574a;border-radius:41px;box-shadow:var(--shadow-phone);position:relative}.phone-shell:before,.phone-shell:after{content:'';position:absolute;width:3px;background:#64574a;left:-3px;top:110px;height:38px;border-radius:3px 0 0 3px}.phone-shell:after{top:157px;height:60px}.phone-screen{height:var(--phone-height);border-radius:32px;overflow:hidden;position:relative;background:var(--paper)}.phone-image{width:100%;height:100%;object-fit:fill;position:absolute;inset:0;opacity:0;transition:opacity .35s var(--ease),transform .65s var(--ease);transform:translateY(8px);visibility:hidden}.phone-image.is-visible{opacity:1;transform:none;visibility:visible}.enhanced .journey-controls{display:flex;position:absolute;bottom:0;left:0;right:0;min-height:87px;border-top:1px solid var(--line);padding:12px clamp(24px,4.2vw,80px);align-items:center;justify-content:space-between;gap:20px;background:var(--paper);z-index:5}.scroll-hint{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:8px;max-width:none;white-space:nowrap;flex-shrink:0}.scroll-hint .icon{width:19px;height:19px;flex-shrink:0}.chapter-nav{display:flex;gap:22px;align-items:center}.chapter-nav a{font-size:12px;text-decoration:none;min-width:44px;min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;font-weight:700;color:var(--muted)}.step-dot{display:block;width:7px;height:7px;background:var(--line);border-radius:100%;transition:background .2s,transform .2s}.chapter-nav a[aria-current=step]{color:var(--red)}.chapter-nav a[aria-current=step] .step-dot{background:var(--red);transform:scale(1.5)}.chapter-nav a:hover .step-dot{background:var(--red)}.step-controls{display:flex;align-items:center;gap:8px}.step-controls button{border:1px solid var(--line);border-radius:50%;width:40px;height:40px;background:transparent;color:var(--ink);display:grid;place-items:center}.step-controls button:first-child .icon{transform:rotate(180deg)}.step-controls button:disabled{opacity:.3}.step-controls button:hover:not(:disabled){background:var(--color-mobile-primary-subtle)}.step-count{font-size:12px;min-width:36px;text-align:center;font-variant-numeric:tabular-nums}
.closing{text-align:center;background:var(--red);color:var(--paper);padding:80px 24px 70px;position:relative;scroll-margin-top:var(--header-height)}.closing-characters{display:flex;align-items:flex-end;justify-content:center;height:175px;margin-bottom:30px;gap:8px}.closing-characters img{width:150px;height:150px;object-fit:contain;filter:drop-shadow(0 12px 8px #30251f20)}.closing-characters img:nth-child(2){width:185px;height:185px;position:relative;z-index:1;margin:0 -10px}.closing h2{font-size:clamp(38px,4.2vw,64px);max-width:950px;margin:auto}.closing h2 span{color:var(--gold)}.closing>p{margin:26px auto 0;font-size:18px;line-height:1.6;max-width:50ch}.closing-actions{display:flex;flex-direction:column;align-items:center;gap:14px;margin-top:30px}.beta-button--closing{border:0;background:var(--paper);color:var(--red);font-size:17px;min-height:58px;padding:16px 27px;box-shadow:0 7px 14px -10px #30251f60}.closing .beta-status{font-size:12px;margin-top:12px;color:var(--paper)}.restart-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;font-size:14px}.restart-link .icon{width:17px;transform:rotate(-90deg)}.site-footer{padding:32px clamp(24px,4.2vw,80px);display:flex;gap:25px;align-items:center;justify-content:space-between}.site-footer .wordmark{font-size:30px}.site-footer p{font-size:14px}
@media(min-width:1600px){.enhanced .chapters{max-width:1450px}.enhanced .chapter{column-gap:80px}.chapter-copy>p{font-size:21px}.chapter-aside{justify-self:center}}
@media(max-width:1150px) and (min-width:981px){.enhanced .chapter{grid-template-columns:minmax(0,1fr) 300px minmax(0,1fr);column-gap:22px;padding-inline:30px}.chapter h1{font-size:64px}.chapter h2{font-size:54px}.chapter-copy>p{font-size:18px}.aside-title{font-size:27px}.aside-note{font-size:15px}.character-scene{width:175px}.character-scene img{width:170px;height:170px}.character-evolution{width:210px;margin-left:0}.character-evolution img{width:90px}.character-evolution img:last-child{width:110px}.scroll-hint{display:none}.chapter-nav{gap:20px}.journey-controls{justify-content:center}.stone-scene{font-size:20px}.stone-scene img{width:70px}}
@media(max-width:980px){:root{--header-height:68px;--mobile-phone-base:min(55svh,465px,calc(100svh - 280px));--mobile-copy-height:260px;--phone-height:min(calc(var(--mobile-phone-base) + 100dvh - 100svh),calc(100dvh - var(--header-height) - var(--mobile-copy-height) - 92px))}.site-header{padding:0 20px}.wordmark{font-size:30px;gap:8px}.wordmark img{width:30px;height:30px;border-radius:9px}.wordmark-dot{margin-left:-7px}.top-nav{gap:10px}.tour-link{display:none}.beta-button--small{font-size:13px;gap:9px;padding:9px 11px;min-height:42px;border-radius:12px}.beta-button--small .icon{width:15px}.chapter{display:flex;flex-direction:column;gap:30px;text-align:center;padding:50px 24px}.chapter-copy>p{max-width:37ch;font-size:clamp(16px,4.36vw,17px);margin:11px auto 0;line-height:1.5}.chapter h1,.chapter h2{font-size:clamp(35px,10.77vw,42px);line-height:1.05}.chapter h1 br:first-of-type{display:none}.chapter h1 br:first-of-type:after{content:' '}.chapter-aside{align-self:center;justify-self:center}.primary-action{margin-top:14px;padding:10px 16px;font-size:clamp(14px,3.85vw,15px);min-height:43px;gap:15px;border-radius:13px}.enhanced .journey{height:620svh}.enhanced .stage{height:calc(100dvh - var(--header-height));min-height:0;overflow:visible}.enhanced .chapter{display:block;padding:0 22px;inset:0}.enhanced .chapter-copy{transform:translateY(8px);max-width:490px;margin:auto}.enhanced .chapter-aside{display:none}.enhanced .phone{top:55%;width:calc(var(--phone-height) * .4621 + 14px);transform:translate(-50%,-38%)}.phone-shell{padding:6px;border-radius:28px}.phone-screen{border-radius:22px}.phone-shell:before{top:65px;height:25px}.phone-shell:after{top:103px;height:36px}.screen-options{justify-content:center;margin-top:8px;gap:8px}.screen-options button{font-size:12px;padding:6px 12px;min-height:36px}.enhanced .journey-controls{padding:8px 14px 11px;min-height:72px;gap:0;justify-content:center}.scroll-hint,.step-controls{display:none}.chapter-nav{gap:0;justify-content:space-between;width:100%;max-width:480px}.chapter-nav a{font-size:9px;gap:9px;min-width:40px;min-height:44px}.chapter-nav a:nth-child(6){min-width:64px}.closing{padding:60px 22px 48px}.closing-characters{height:130px;margin-bottom:22px;gap:0}.closing-characters img{width:100px;height:100px}.closing-characters img:nth-child(2){width:135px;height:135px}.closing h2{font-size:40px;line-height:1.08}.closing>p{font-size:16px;max-width:33ch}.closing>p br{display:none}.site-footer{flex-direction:column;gap:15px;text-align:center;padding:30px 20px}.site-footer p{font-size:13px}}
@media(max-width:980px) and (max-height:740px){:root{--mobile-phone-base:min(47svh,calc(100svh - 295px))}.enhanced .stage{min-height:0}.chapter h1,.chapter h2{font-size:35px}.chapter-copy>p{font-size:16px;max-width:39ch;margin-top:9px}.enhanced .chapter{padding-top:0}.primary-action{min-height:36px;padding:7px 14px;margin-top:12px}.enhanced .phone{top:53%;transform:translate(-50%,-29%)}.screen-options{margin-top:4px}.enhanced .journey-controls{min-height:66px}.chapter-nav a{font-size:8px}.chapter-nav a:nth-child(6){min-width:58px}}
@media(min-width:981px) and (max-height:720px){:root{--phone-height:min(71svh,calc(100svh - 195px));--header-height:68px}.enhanced .stage{min-height:480px}.enhanced .chapter{padding-bottom:80px}.chapter h1{font-size:62px}.chapter h2{font-size:52px}.chapter-copy>p{font-size:18px;margin-top:18px}.character-scene img{width:140px;height:140px}.character-scene{margin-top:5px}.primary-action{margin-top:20px}.aside-title{font-size:27px}.enhanced .journey-controls{min-height:70px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.enhanced .chapter-copy,.enhanced .chapter-aside,.phone-image{transform:none!important}.primary-action:hover{transform:none}}
@media print{.site-header,.journey-controls,.phone,.stage-art,.primary-action,.screen-options{display:none!important}.enhanced .journey{height:auto}.enhanced .stage{position:static;height:auto;overflow:visible}.enhanced .chapter{position:static;visibility:visible!important;opacity:1!important;padding:25px;display:block;break-inside:avoid}.enhanced .chapter-aside{display:none}.enhanced .fallback-screen{display:block;width:140px;margin:20px auto}.closing{background:white;color:black}.closing h2 span{color:inherit}}

/* Keep the static document useful without JavaScript; the guided controls are enhancement-only. */
.screen-options{display:none}
.enhanced .screen-options{display:flex}
.phone-shell{border:0}
@media(max-width:980px){
  :root{--mobile-phone-base:min(55svh,465px,calc(100svh - 280px))}
  .enhanced .phone{top:auto;bottom:64px;transform:translateX(-50%)}

  .enhanced .journey-controls{position:fixed;bottom:0;min-height:58px;padding:0 4px 4px}
  .enhanced .journey:not(.is-current) .journey-controls{visibility:hidden;pointer-events:none}
  .chapter-nav{max-width:none}.chapter-nav a,.chapter-nav a:nth-child(6){position:relative;flex:1;min-width:0;min-height:48px;font-size:11px;justify-content:flex-start;padding-top:9px}
  .chapter-nav a span:last-child{position:absolute;top:26px;left:50%;transform:translateX(-50%);opacity:0;white-space:nowrap}
  .chapter-nav a[aria-current=step] span:last-child{opacity:1}
}
@media(max-width:980px) and (max-height:740px){
  :root{--mobile-phone-base:min(47svh,calc(100svh - 295px))}
  .enhanced .phone{bottom:64px}

  .enhanced .journey-controls{min-height:58px}
}

@media(max-width:980px) and (min-height:900px){:root{--mobile-phone-base:min(57svh,530px)}}

/* Quiet Roman street and architectural shadow behind the app. */
body,.site-header,.enhanced .journey-controls{background:var(--canvas)}
.road-shadow{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.road-shadow--mobile{display:none}
.road-shadow-pavement{fill:none;stroke:#D6CEC1;stroke-width:34;stroke-linecap:round;opacity:.68}
.road-shadow-marking{fill:none;stroke:#FFF8EE;stroke-width:2.5;stroke-dasharray:7 14;opacity:.9}
/* The street improves with the tour: issue, work site, repaired place. */
.stage-art{--street-paper:#F8F3EA;--street-ink:#67594C;--street-muted:#B0A393;--street-green:#A1B492;--street-red:#B97161;--street-gold:#D4A74E}
.road-shadow-pavement{transition:stroke .6s var(--ease)}
.stage[data-street-state=resolved] .road-shadow-pavement{stroke:#C6CEB9}
.road-issue{position:absolute;width:64px;height:64px;transform:translate(-50%,-50%);opacity:.85}
.road-issue--litter{left:20%;top:79%}
.road-issue--pothole{left:32%;top:16%}
.road-issue--sign{left:78.5%;top:8%}
.road-state{position:absolute;inset:0;width:100%;height:100%;fill:none;stroke:var(--street-ink);stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;opacity:0;transform:translateY(5px) scale(.88);transition:opacity .3s ease-out,transform .45s var(--ease),clip-path .45s var(--ease)}
.road-work{clip-path:inset(0 100% 0 0)}
.road-issue[data-state=problem] .road-problem,.road-issue[data-state=work] .road-work,.road-issue[data-state=resolved] .road-resolved{opacity:1;transform:none;clip-path:inset(0)}
@media(min-width:981px) and (max-width:1100px){.road-issue{width:50px;height:50px}}
@media(max-width:980px){.road-issue{width:42px;height:42px;opacity:.8}.road-issue--litter{left:9%;top:61.4%}.road-issue--pothole{left:8%;top:77%}.road-issue--sign{left:91%;top:70%}}
@media(prefers-reduced-motion:reduce){.road-state{transform:none;transition:none}.road-shadow-pavement{transition:none}}
.stage-art{--monument-width:calc(var(--phone-height) * .3);--phone-stage-bottom:calc(50% - var(--phone-height) * .5 + 32px)}
.monument-shadow{position:absolute;width:var(--monument-width);height:auto;object-fit:contain;transform:translateX(-50%);filter:grayscale(1) brightness(.62);mix-blend-mode:multiply;user-select:none}
.altare-shadow{left:calc(50% - var(--phone-height) * .23105 - 9px - var(--monument-width) * .1);bottom:var(--phone-stage-bottom);opacity:.2}
.trevi-shadow{left:calc(50% + var(--phone-height) * .23105 - 31px + var(--monument-width) * .5);bottom:calc(var(--phone-stage-bottom) + var(--phone-height) * .5);opacity:.2}
.colosseum-shadow{left:calc(50% + var(--phone-height) * .23105 - 31px + var(--monument-width) * .5);bottom:calc(var(--phone-stage-bottom) + var(--phone-height) * .22);opacity:.21}
@media(min-width:981px){.enhanced .chapter-copy{position:relative;z-index:1;isolation:isolate}.enhanced .chapter-copy:before{content:"";position:absolute;inset:-18px -18px -18px -22px;z-index:-1;border-radius:20px;background:rgba(240,227,209,.88)}}
@media(max-width:980px){.road-shadow--desktop{display:none}.road-shadow--mobile{display:block}.road-shadow-pavement{stroke-width:31}.altare-shadow,.trevi-shadow{display:none}.colosseum-shadow{width:clamp(108px,32vw,160px);left:min(calc(50% + var(--phone-height) * .23105 - 32px),calc(100% - 12px - clamp(108px,32vw,160px)));right:auto;bottom:calc(64px + var(--phone-height) - 32px);transform:none;opacity:.16}}
@media(max-width:980px) and (max-height:740px){.colosseum-shadow{bottom:calc(64px + var(--phone-height) - 32px)}}
.report-next-step{margin-top:15px;font:500 22px/1.25 Fredoka,sans-serif;color:var(--red)}
.follow-scene{margin-bottom:22px;max-width:270px}
.follow-scene img{display:block;width:100%;height:auto;object-fit:contain}
@media(min-width:981px) and (max-width:1150px){.report-next-step{font-size:20px}.follow-scene{max-width:210px}}

/* Beta invitation: one focused action, using the app's warm palette and rounded controls. */
.beta-button{transition:background .2s var(--ease),transform .2s var(--ease)}
.beta-button:hover{background:var(--color-mobile-primary-subtle);transform:translateY(-2px)}
.beta-button--closing:hover{background:var(--color-palette-neutral-0)}
.beta-open{overflow:hidden}
.beta-dialog{width:min(100% - 32px,480px);max-height:calc(100dvh - 32px);margin:auto;padding:37px 38px 32px;border:0;border-radius:28px;background:var(--paper);color:var(--ink);box-shadow:0 30px 70px -24px #231b17a6;overflow:auto}
.beta-dialog::backdrop{background:#231b17a8}
.beta-dialog [hidden]{display:none!important}
.beta-dialog-close{position:absolute;top:20px;right:20px;display:grid;place-items:center;width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:transparent;color:var(--ink)}
.beta-dialog-close:hover{background:var(--color-mobile-primary-subtle)}
.beta-dialog-close .icon{width:20px;height:20px}
.beta-dialog-mark{display:grid;place-items:center;width:58px;height:58px;margin-bottom:26px;border-radius:19px;background:var(--gold);color:var(--ink);transform:rotate(-7deg)}
.beta-dialog-mark .icon{width:29px;height:29px;transform:rotate(7deg)}
.beta-dialog h2{font-size:clamp(38px,7vw,52px);line-height:1.04}
.beta-dialog h2 span{color:var(--red)}
#beta-dialog-copy{margin-top:17px;max-width:34ch;color:var(--muted);font-size:17px;line-height:1.5}
#beta-form{display:grid;gap:10px;margin-top:28px}
#beta-form label{font-size:14px;font-weight:700}
#beta-email{width:100%;min-height:54px;border:1px solid var(--line);border-radius:13px;background:var(--color-palette-neutral-0);color:var(--ink);padding:12px 15px;font:inherit;font-size:16px}
#beta-email::placeholder{color:var(--muted)}
#beta-email:focus-visible{outline:3px solid var(--green);outline-offset:3px}
.beta-submit,.beta-success-close{display:inline-flex;align-items:center;justify-content:center;gap:17px;min-height:54px;margin-top:6px;padding:12px 20px;border:0;border-radius:14px;background:var(--red);color:var(--paper);font-weight:700;box-shadow:var(--shadow-control)}
.beta-submit:hover,.beta-success-close:hover{background:var(--red-dark)}
.beta-submit:disabled{opacity:.65;cursor:wait}
.beta-submit .icon{width:19px;height:19px}
.beta-form-status{font-size:14px;line-height:1.45;color:var(--red-dark)}
.beta-dialog-note{margin-top:20px;color:var(--muted);font-size:12px;line-height:1.4}
.beta-success{margin-top:28px}
.beta-success-icon{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:var(--color-mobile-primary-subtle);color:var(--green)}
.beta-success h3{margin-top:13px;font:500 31px/1.1 Fredoka,sans-serif}
.beta-success p{margin-top:10px;max-width:34ch;color:var(--muted);font-size:16px;line-height:1.5}
.beta-success-close{width:100%;margin-top:23px}
@media(max-width:520px){.beta-dialog{padding:29px 24px 26px;border-radius:22px}.beta-dialog-mark{margin-bottom:22px}.beta-dialog h2{font-size:38px}#beta-dialog-copy{font-size:15px}#beta-form{margin-top:23px}}
@media(prefers-reduced-motion:reduce){.beta-button{transition:none}.beta-button:hover{transform:none}}
