/* Visitor page. Tokens mirror the app (styles.css, brand.css) so both feel like one product. */
/* Nunito, served from this site (OFL, assets/nunito-LICENSE.txt). A browser fetches only the scripts a page uses. */
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(./assets/nunito-cyrillic-ext.woff2) format('woff2');unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(./assets/nunito-cyrillic.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(./assets/nunito-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:'Nunito';font-style:normal;font-weight:200 1000;font-display:swap;src:url(./assets/nunito-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root {
 --blue:#2563eb;
 --blue-dark:#1d4ed8;
 --blue-soft:#edf3ff;
 --navy:#182541;
 --muted:#5f6b82;
 --line:#e9edf4;
 --bg:#f7f9fc;
 --surface:#fff;
 --brand-yellow:#ffbf4a;
 --brand-yellow-hover:#f5b238;
 --brand-yellow-soft:#fff4d9;
 --brand-yellow-border:#efca7c;
 --brand-yellow-edge:#aa7110;
 --brand-yellow-ink:#785016;
 --radius-panel:17px;
 --radius-control:11px;
 --wrap:1160px;
 --gutter:24px;
 font-family:'Nunito',system-ui,-apple-system,'Segoe UI',sans-serif;
 font-size:17px;
 font-synthesis:none;
 color:var(--navy);
 background:var(--bg);
}
*{box-sizing:border-box}
body{margin:0;background:var(--bg);line-height:1.6;overflow-wrap:break-word}
h1,h2,h3,p,ul,ol{margin:0}
ul,ol{padding:0;list-style:none}
a{color:inherit;text-decoration:none}
a,select{-webkit-tap-highlight-color:transparent;touch-action:manipulation}
a:focus-visible,select:focus-visible{outline:3px solid #94b5ff;outline-offset:4px}
svg{flex-shrink:0}
[hidden]{display:none!important}
.i18n-pending body{visibility:hidden}
.icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.wrap{max-width:var(--wrap);margin-inline:auto;padding-inline:var(--gutter)}
.skip-link{position:fixed;top:-100px;inset-inline-start:15px;z-index:200;background:var(--surface);padding:14px;border-radius:var(--radius-control);font-weight:800}
.skip-link:focus{top:10px}

/* Header */
.site-header{background:#ffffffed;border-bottom:1px solid var(--line)}
.header-row{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.brand{display:inline-flex;align-items:center;gap:10px;font-weight:900;font-size:25px;letter-spacing:-.8px;line-height:1}
.brand .stay{color:var(--blue)}
.header-tools{display:flex;align-items:center;gap:12px;min-width:0}
.language-picker{position:relative;display:inline-flex;align-items:center;min-width:0}
.language-picker .icon{position:absolute;inset-inline-start:13px;width:17px;height:17px;color:#7a859b;pointer-events:none}
.language-picker select{appearance:none;font:inherit;font-size:14px;font-weight:800;color:var(--navy);min-height:46px;max-width:100%;padding-block:0;padding-inline:38px 34px;border:1px solid var(--line);border-radius:10px;cursor:pointer;background:var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a859b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 11px center/15px;transition:border-color .2s}
[dir="rtl"] .language-picker select{background-position:left 11px center}
.language-picker select:hover{border-color:#bacfff}

/* Buttons, as in the app */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:46px;padding:12px 20px;border-radius:var(--radius-control);font-size:14px;font-weight:800;line-height:1.4;text-align:center;transition:background .2s,border-color .2s,transform .2s}
.btn:active{transform:translateY(1px)}
.btn-primary{background:var(--brand-yellow);color:var(--navy)}
.btn-primary:hover{background:var(--brand-yellow-hover)}
.btn-outline{border:1px solid #dde4ee;background:var(--surface)}
.btn-outline:hover{border-color:#a8bceb;background:#f8faff}
.btn-large{min-height:58px;padding:16px 28px;font-size:17px;border-radius:14px}
.btn .icon{width:19px;height:19px}
[dir="rtl"] .btn .icon{transform:scaleX(-1)}

/* Hero */
/* Soft light from both sides, as on the first public page. */
.hero{background:radial-gradient(55vmax 45vmax at -10% 30%,#2563eb21,transparent 62%),radial-gradient(50vmax 42vmax at 110% 40%,#ffbf4a2e,transparent 60%),var(--surface);border-bottom:1px solid var(--line);overflow:hidden}
h1 .w{display:inline-block;animation:word-rise .55s cubic-bezier(.2,.7,.2,1) calc(.08s + var(--i) * .07s) both}
@keyframes word-rise{from{opacity:0;transform:translateY(.35em)}}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:center;gap:48px;padding-block:84px 96px}
.eyebrow{margin-bottom:18px;color:var(--blue);font-size:14px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
:lang(ar) .eyebrow,:lang(ja) .eyebrow,:lang(ko) .eyebrow,:lang(zh) .eyebrow{letter-spacing:.02em}
h1{font-size:clamp(38px,5.6vw,66px);line-height:1.08;font-weight:900;letter-spacing:-.03em;text-wrap:balance}
:lang(ar) h1,:lang(ja) h1,:lang(ko) h1,:lang(zh) h1{letter-spacing:0;line-height:1.25}
.lede{margin-top:22px;max-width:34em;font-size:clamp(17px,1.5vw,20px);color:var(--muted)}
.hero-actions{margin-top:34px;display:flex;flex-wrap:wrap;gap:12px}
.hero-note{margin-top:18px;max-width:36em;font-size:14px;color:var(--muted)}

.demo{position:relative;justify-self:center;width:min(480px,100%);padding-top:clamp(92px,24vw,132px)}
.demo-art{position:absolute;top:0;inset-inline-end:0;width:84%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:22px;border:5px solid var(--surface);background:#dbeafe;box-shadow:0 22px 44px #5376aa38;transform:rotate(3deg)}
.demo-stack{position:relative;width:min(360px,100%)}
.demo-back{position:absolute;inset:14px -10px 62px 10px;border-radius:26px;background:var(--brand-yellow);border:1px solid #e6ad3e;transform:rotate(-5deg)}
.demo-card{position:relative;padding:22px 22px 24px;border-radius:26px;background:var(--surface);border:1px solid #d7e4f9;box-shadow:0 22px 44px #5376aa1f}
.demo-top{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:800;color:#7287a8}
.demo-top .flag{width:30px;height:22px;border-radius:5px}
.demo-progress{margin-inline-start:auto;font-variant-numeric:tabular-nums;color:var(--muted)}
.demo-word{margin-top:22px;font-size:clamp(30px,4vw,40px);font-weight:900;line-height:1.15;text-align:center;overflow-wrap:anywhere}
.demo-prompt{margin-top:6px;font-size:14px;color:var(--muted);text-align:center}
.demo-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:20px}
.demo-option{font:inherit;font-size:15px;font-weight:800;line-height:1.3;color:var(--navy);min-height:54px;padding:10px 8px;border:1.5px solid #e1e8f3;border-radius:12px;background:var(--surface);cursor:pointer;overflow-wrap:anywhere;transition:background .2s,border-color .2s}
.demo-option:hover:not(:disabled){background:#f0f5ff;border-color:#91b1ef}
.demo-option:focus-visible,.demo-next:focus-visible,.demo-again:focus-visible{outline:3px solid #94b5ff;outline-offset:3px}
.demo-option:disabled{cursor:default;color:#9aa6ba}
.demo-option.is-correct{background:#e3f6ec;border-color:#3fa678;color:#1b6f4d}
.demo-option.is-wrong{background:#ffe9e5;border-color:#d9634f;color:#a23a2a}
.demo-feedback{min-height:24px;margin-top:12px;font-size:14px;font-weight:800;text-align:center}
.demo-feedback.is-correct{color:#1b6f4d}
.demo-feedback.is-wrong{color:#a23a2a}
.demo-next{width:100%;margin-top:8px;font:inherit;font-size:14px;font-weight:800;cursor:pointer;color:var(--navy)}
.demo-result{display:flex;flex-direction:column;align-items:center;gap:6px;padding-block:26px 6px;text-align:center}
.demo-score{font-size:46px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
.demo-done{margin-bottom:16px;color:var(--muted);font-size:16px}
.demo-again{margin-top:6px;min-height:44px;padding:8px 14px;border:0;background:none;font:inherit;font-size:14px;font-weight:800;color:var(--blue);cursor:pointer;border-radius:10px}
.demo-again:hover{background:var(--blue-soft)}

/* Flags, same drawing rules as the app */
.flag{display:inline-flex;width:23px;height:17px;border-radius:3px;box-shadow:inset 0 0 0 1px #00000008;overflow:hidden;flex-shrink:0;position:relative;background:#fff}
.flag svg{width:100%;height:100%}
.flag-large{width:37px;height:28px;border-radius:5px}

/* Sections */
.section{padding-block:88px}
.section-tint{background:var(--surface);border-block:1px solid var(--line)}
.section-warm{background:linear-gradient(180deg,#fff7e8 0%,var(--bg) 70%)}
/* Slide-in, added by the script only when motion is welcome. */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease-out calc(var(--stagger,0) * 70ms),transform .6s cubic-bezier(.2,.7,.2,1) calc(var(--stagger,0) * 70ms)}
.reveal.is-visible{opacity:1;transform:none}
.mobile-cta{display:none}
#waitlist{scroll-margin-block:120px}
.section-head{max-width:40em;margin-bottom:40px}
h2{font-size:clamp(27px,3.2vw,38px);line-height:1.18;font-weight:900;letter-spacing:-.02em;text-wrap:balance}
:lang(ar) h2,:lang(ja) h2,:lang(ko) h2,:lang(zh) h2{letter-spacing:0;line-height:1.35}
.section-head p{margin-top:12px;color:var(--muted);font-size:18px}
h3{font-size:18px;line-height:1.3;font-weight:800}

.language-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(168px,1fr));gap:12px}
.language-grid li{display:flex}
.language-tile{flex:1;min-height:60px;transition:border-color .2s,background .2s;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:13px;align-items:center;padding:15px 16px;border-radius:14px;background:var(--surface);border:1px solid var(--line)}
a.language-tile:hover{border-color:#bacfff;background:#f8faff}
.language-tile .flag{grid-row:span 2}
.language-tile strong{font-size:15.5px;font-weight:800;line-height:1.3}
.language-tile span:not(.flag){font-size:13.5px;color:var(--muted);line-height:1.35}

.steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:28px;counter-reset:step}
.steps li{position:relative}
.steps li:not(:last-child)::after{content:'';position:absolute;top:21px;inset-inline:56px -16px;height:1px;background:#d5deec}
.step-number{width:44px;height:44px;border-radius:50%;border:1px solid #d5deec;background:var(--surface);display:flex;align-items:center;justify-content:center;font-weight:900;font-size:16px;margin-bottom:18px}
.steps li.current .step-number{background:var(--brand-yellow);border-color:var(--brand-yellow-edge)}
/* The summit: where the four steps lead. */
.steps li.goal .step-number{width:64px;height:64px;margin:-10px 0 8px;background:var(--blue);border-color:var(--blue-dark);box-shadow:0 10px 22px #2563eb47;overflow:hidden}
.summit{width:48px;height:48px;margin-top:6px}
.summit-far{fill:#9dbcff}
.summit-near{fill:#fff}
.summit-shade{fill:#d6e3ff}
.summit-pole{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round}
.summit-flag{fill:var(--brand-yellow)}
.steps li.goal h3{color:var(--blue-dark)}
.steps p,.features p{margin-top:7px;color:var(--muted);font-size:15.5px}
.intro{position:relative;max-width:860px;margin:64px auto 0}
.intro::before{content:'';position:absolute;inset:0;border-radius:26px;background:var(--brand-yellow);border:1px solid #e6ad3e;transform:rotate(-2deg) translate(-8px,10px)}
.intro video{position:relative;display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border:5px solid var(--surface);border-radius:26px;background:#dbeafe;box-shadow:0 22px 44px #5376aa33}

.features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius-panel);padding:26px 24px}
.feature-icon{--ink:var(--blue);--tint:#e6eeff;width:64px;height:64px;border-radius:19px;background:var(--tint);color:var(--ink);display:flex;align-items:center;justify-content:center;margin-bottom:20px;box-shadow:inset 0 0 0 1px #0000000a}
.feature-icon .art{width:46px;height:46px}
/* One colour per feature, the same family as the app's own feature tiles. */
.features li:nth-child(2) .feature-icon{--ink:#c97a06;--tint:#fff1d6}
.features li:nth-child(3) .feature-icon{--ink:#ea580c;--tint:#ffe9db}
.features li:nth-child(4) .feature-icon{--ink:#db2756;--tint:#ffe5ec}
.features li:nth-child(5) .feature-icon{--ink:#15934a;--tint:#dcf6e6}
.features li:nth-child(6) .feature-icon{--ink:#7c3aed;--tint:#efe7ff}

.section.section-android{padding-block:0 56px}
.android-band{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);align-items:center;gap:40px;padding:48px 56px 0;border-radius:26px;background:var(--navy);color:#fff;overflow:hidden}
.android-copy{padding-bottom:48px}
.android-band h2{color:#fff}
.android-band p{margin-top:14px;color:#c3cde0;font-size:18px;max-width:30em}
.android-band .store-badge{display:inline-flex;align-items:center;gap:13px;margin-top:28px;padding:10px 20px 10px 15px;border-radius:13px;background:#fff;color:var(--navy);max-width:none}
.store-badge svg{width:32px;height:32px}
.waitlist{max-width:440px;margin-top:30px}
.waitlist label{display:block;margin-bottom:9px;font-size:15.5px;font-weight:800;color:#fff}
.waitlist-row{display:flex;gap:8px;padding:6px;border-radius:16px;background:var(--surface);border:1.5px solid transparent;transition:border-color .2s,box-shadow .2s}
.waitlist-row:focus-within{border-color:#94b5ff;box-shadow:0 0 0 4px #94b5ff59}
.waitlist-row.is-invalid{border-color:#ffb4a8}
.waitlist input[type="email"]{flex:1;min-width:0;height:46px;padding:0 12px;border:0;border-radius:11px;background:transparent;font:inherit;font-size:16px;color:var(--navy)}
.waitlist input[type="email"]::placeholder{color:#6b7790}
.waitlist input[type="email"]:focus{outline:none}
.waitlist button{flex:none;border:0;font-family:inherit;cursor:pointer}
.waitlist button:focus-visible{outline:3px solid #94b5ff;outline-offset:3px}
.waitlist button:disabled{opacity:.65;cursor:progress}
.waitlist-trap{position:absolute;inset-inline-start:-9999px;width:1px;height:1px;overflow:hidden}
.android-band .waitlist p,.android-band .waitlist-done{margin-top:9px;font-size:14px;max-width:none}
.waitlist-hint a{color:#fff;text-decoration:underline;text-underline-offset:.15em}
.android-band .waitlist-error{color:#ffc9bf;font-weight:800}
.waitlist-error:empty,.waitlist-done:empty{display:none}
.android-band .waitlist-done{max-width:440px;margin-top:30px;padding:14px 16px;border-radius:16px;border:1.5px solid #6fd3a4;background:#6fd3a41f;color:#b9f0d5;font-size:16px;font-weight:800}
.waitlist-done:focus-visible{outline:3px solid #94b5ff;outline-offset:3px}
.store-badge span{display:flex;flex-direction:column;line-height:1.15;text-align:start}
.store-badge small{font-size:11.5px;font-weight:800;letter-spacing:.07em;text-transform:uppercase;color:var(--muted)}
.store-badge strong{font-size:21px;font-weight:900;letter-spacing:-.01em}
.phone{justify-self:center;align-self:end;width:min(250px,100%);height:420px;padding:10px 10px 0;border-radius:36px 36px 0 0;background:#0b1326;border:1px solid #34425f;border-bottom:0;box-shadow:0 -10px 40px #0006}
.phone img{display:block;width:100%;height:100%;object-fit:cover;object-position:top;border-radius:27px 27px 0 0}
.section.section-cta{padding-top:0}
.cta-band{display:flex;align-items:center;justify-content:space-between;gap:28px 40px;flex-wrap:wrap;padding:44px 48px;border-radius:26px;background:#eaf1ff;border:1px solid #cfdefb}
.cta-band>div{flex:1 1 320px;min-width:0}
.cta-band p{margin-top:10px;color:#4a5b7c;font-size:18px}
.cta-band .cta-note{font-size:14px}

/* Footer */
.site-footer{background:var(--surface);border-top:1px solid var(--line);padding-block:36px}
.footer-row{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.footer-brand .brand{font-size:21px}
.footer-brand p{margin-top:8px;font-size:14px;color:var(--muted)}
.social{display:flex;flex-wrap:wrap;gap:8px}
.social a{position:relative;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);display:flex;align-items:center;justify-content:center;color:#52607a;transition:color .2s,border-color .2s,background .2s}
.social a:hover{color:var(--blue);border-color:#bacfff;background:#f8faff}
.social svg{width:19px;height:19px;fill:currentColor}
.social .mark{position:absolute;inset-inline-end:-5px;bottom:-5px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:2px solid var(--surface);background:var(--brand-yellow);color:var(--navy)}
.social .mark svg{width:12px;height:12px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.copyright{font-size:13px;color:var(--muted)}
.copyright a{text-decoration:underline;text-underline-offset:.15em}
.copyright a:hover{color:var(--blue)}

/* Back to top, in the shape of the logo tile */
.to-top{position:fixed;inset-inline-end:max(20px,env(safe-area-inset-right));bottom:max(20px,env(safe-area-inset-bottom));z-index:40;display:flex;align-items:center;justify-content:center;width:50px;height:50px;border-radius:15px;background:var(--blue);color:#fff;box-shadow:0 10px 24px #2563eb40;opacity:0;visibility:hidden;transform:translateY(10px);transition:opacity .25s ease-out,transform .25s ease-out,visibility .25s,background .2s}
.to-top.show{opacity:1;visibility:visible;transform:none}
.to-top:hover{background:var(--blue-dark)}
.to-top .icon{width:22px;height:22px;stroke-width:2.4}

@media (max-width:960px){
 .android-band{grid-template-columns:minmax(0,1fr);padding:40px 36px 0}
 .android-copy{padding-bottom:20px}
 .hero-grid{grid-template-columns:minmax(0,1fr);gap:40px;padding-block:56px 64px}
 .features{grid-template-columns:repeat(2,minmax(0,1fr))}
 .steps{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:36px}
 .steps li:nth-child(2)::after,.steps li:nth-child(4)::after{display:none}
 .section{padding-block:64px}
}
@media (max-width:600px){
 :root{--gutter:18px;font-size:16px}
 .header-row{min-height:66px}
 .header-cta{display:none}
 .brand{font-size:22px}
 .brand img{width:34px;height:34px}
 .hero-actions .btn{width:100%}
 .language-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .language-tile{padding:13px 12px;column-gap:10px}
 .language-tile .flag{width:30px;height:22px}
 .features{grid-template-columns:1fr}
 .steps{grid-template-columns:1fr;row-gap:22px}
 .steps li{display:grid;grid-template-columns:44px minmax(0,1fr);column-gap:16px}
 .steps li::after{display:none}
 .step-number{grid-row:span 2;margin-bottom:0}
 .steps li.goal .step-number{width:44px;height:44px;margin:0}
 .summit{width:34px;height:34px;margin-top:4px}
 .steps h3{align-self:end}
 .android-band{padding:30px 22px 0;border-radius:20px;gap:8px}
 .android-copy{padding-bottom:28px}
 .phone{height:340px;width:min(230px,100%)}
 .waitlist-row{flex-direction:column}
 .waitlist input[type="email"]{flex:none}
 .intro{margin-top:44px}
 .intro video,.intro::before{border-radius:20px}
 .cta-band{padding:30px 22px;border-radius:20px}
 .cta-band .btn{width:100%}
 .mobile-cta{position:fixed;inset-inline:12px;bottom:max(12px,env(safe-area-inset-bottom));z-index:45;display:flex}
 .mobile-cta .btn{flex:1;min-height:54px;font-size:16px;border-radius:14px;box-shadow:0 12px 28px #18254147}
 .has-mobile-cta .to-top{bottom:calc(max(12px,env(safe-area-inset-bottom)) + 70px)}
 .demo-art{border-width:4px;border-radius:18px}
 .section{padding-block:52px}
 .section-head{margin-bottom:28px}
 .footer-row{flex-direction:column;align-items:flex-start}
}
@media (prefers-reduced-motion:reduce){
 *{transition:none!important}
 h1 .w{animation:none}
}

.demo-modes{position:relative;display:flex;width:max-content;max-width:100%;margin:18px auto 0;gap:6px;padding:6px;border-radius:16px;background:var(--surface);border:1px solid var(--line);box-shadow:0 10px 26px #21385b12}
.demo-mode{font:inherit;font-size:13px;font-weight:800;color:var(--navy);min-height:44px;padding:8px 14px;border:0;border-radius:11px;background:#edf1f7;cursor:pointer;transition:background .2s}
.demo-mode:hover{background:#e0e8f5}
.demo-mode.is-active{background:var(--brand-yellow);box-shadow:inset 0 0 0 1px var(--brand-yellow-edge)}
.demo-mode:focus-visible{outline:3px solid #94b5ff;outline-offset:2px}
.demo-built{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;min-height:50px;margin-top:16px;padding:6px;border-radius:12px;border:1.5px dashed #c5d2e6}
.demo-built.is-correct{border-color:#3fa678;background:#e3f6ec}
.demo-built.is-wrong{border-color:#d9634f;background:#ffe9e5}
.demo-letter{font:inherit;font-size:18px;font-weight:900;color:var(--navy);min-width:40px;min-height:40px;border:1.5px solid #e1e8f3;border-radius:10px;background:var(--surface);cursor:pointer}
.demo-letter:disabled{cursor:default}
.demo-tile{min-height:46px;font-size:18px;text-transform:none}
.demo-options:has(.demo-tile){grid-template-columns:repeat(auto-fit,minmax(46px,1fr))}
.demo-tile:disabled{opacity:.35}
@media (max-width:420px){.demo-mode{padding:8px 10px;font-size:12.5px}}

/* The card keeps one height in every game and before and after an answer, so nothing below it jumps. */
.demo-next.is-idle{visibility:hidden}
.demo-feedback{min-height:1.6em}
.demo-card{--demo-card-min:510px;min-height:var(--demo-card-min)}

/* The header stays on screen while the page scrolls. */
.site-header{position:sticky;top:0;z-index:50;backdrop-filter:saturate(1.4) blur(10px)}
/* The demo card: centred in its column, only as tall as its tallest game, the question centred in it. */
.demo-stack{margin-inline:auto}
.demo-card{--demo-card-min:452px;display:flex;flex-direction:column}
#demo-question{flex:1;display:flex;flex-direction:column;justify-content:center}
/* "Next word" stays visible, faded until an answer is picked, so the card has no empty bottom. */
.demo-next.is-idle{visibility:visible;opacity:.4;cursor:default}
html{scroll-padding-top:90px}

/* Cookie consent banner (consent.js): bottom of the screen, above the phone navigation; reject and accept equally easy. */
.consent-banner{position:fixed;inset-inline:16px;bottom:16px;z-index:200;display:flex;justify-content:center;pointer-events:none}
.consent-inner{pointer-events:auto;width:min(720px,100%);background:#fff;border:1px solid #dbe5f4;border-radius:18px;box-shadow:0 18px 50px #21385b33;padding:18px 20px;display:flex;flex-direction:column;gap:10px}
.consent-inner>strong{font-size:16px;color:var(--navy)}
.consent-inner p{font-size:13px;line-height:1.55;color:#5e7393;margin:0}
.consent-inner p a{color:var(--blue);font-weight:800}
.consent-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 0;border-top:1px solid #edf1f7;cursor:pointer}
.consent-row span{display:flex;flex-direction:column;gap:2px}.consent-row strong{font-size:13px}.consent-row small{font-size:12px;color:#6b7f9c}
.consent-row input{width:20px;height:20px;flex-shrink:0;accent-color:var(--blue)}
.consent-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}
.consent-actions .btn{min-height:42px;padding:9px 16px;font-size:13px;flex:1 1 140px}
.page-footer [data-consent="open"]{background:none;border:0;font:inherit;font-size:12px;color:#7184a2;cursor:pointer;text-decoration:underline}
.video-consent-note{display:block;font-size:11px;color:#7184a2;margin-bottom:8px}
@media(max-width:760px){.consent-banner{bottom:84px;inset-inline:10px}}
.consent-banner [hidden]{display:none!important}
