/* DaWatt waitlist. Colours, sizes and motion come from the approved design canvas. */

/* ---------- fonts, served by DaWatt itself ---------- */
@font-face{font-family:'Geist';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/geist-sans-latin-400-normal.woff2) format('woff2')}
@font-face{font-family:'Geist';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/geist-sans-latin-500-normal.woff2) format('woff2')}
@font-face{font-family:'Geist';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/geist-sans-latin-600-normal.woff2) format('woff2')}
@font-face{font-family:'Geist';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/geist-sans-latin-700-normal.woff2) format('woff2')}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-400-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-500-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-600-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-arabic-700-normal.woff2) format('woff2');unicode-range:U+0600-06FF,U+0750-077F,U+0870-088E,U+0890-0891,U+0897-08E1,U+08E3-08FF,U+200C-200E,U+2010-2011,U+204F,U+2E41,U+FB50-FDFF,U+FE70-FE74,U+FE76-FEFC}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-400-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-500-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-600-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'IBM Plex Sans Arabic';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/ibm-plex-sans-arabic-latin-700-normal.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212,U+2215,U+FEFF,U+FFFD}

/* ---------- tokens ---------- */
:root{
  --green:#306439;--green-hover:#27512E;--green-50:#EAF3EC;--green-glow:#5A9C69;
  --bg:#FAFAF7;--ink:#1A1714;--ink-500:#4A443D;--muted:#6A6359;
  --line:#E6E3DD;--line-2:#D3CFC7;--dark:#0E1A14;--negative:#C2362B;
  --tint:127,180,139;
  --tint-strong:#306439;
  --ease:cubic-bezier(.2,.8,.2,1);
  --logo-top:clamp(28px,calc(30dvh - 100px),152px);
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none!important}
html,body{margin:0;height:100%}
body{background:var(--dark);color:var(--ink);font-size:16px;line-height:24px;font-family:'Geist',ui-sans-serif,system-ui,sans-serif;-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent;transition:background-color 700ms ease}
body.lit{background:var(--bg)}
html[lang=ar] body{font-family:'IBM Plex Sans Arabic','Geist',sans-serif;line-height:26px}
button,input{font:inherit;color:inherit}
button{cursor:pointer}
a{color:var(--green)}a:hover{color:var(--green-hover)}
:focus-visible{outline:2px solid var(--green-glow);outline-offset:2px}
::placeholder{color:var(--muted);opacity:1}
.latin{font-family:'Geist',sans-serif}
.glass{-webkit-backdrop-filter:blur(18px) saturate(180%);backdrop-filter:blur(18px) saturate(180%)}

/* ---------- the phone-width column ---------- */
.app{position:relative;overflow:hidden;margin:0 auto;max-width:480px;height:100vh;height:100dvh;display:flex;flex-direction:column;background:var(--dark);color:#F2EFE9;transition:background-color 700ms ease,color 700ms ease}
.app[data-stage=lit],.app[data-stage=chat]{background:var(--bg);color:var(--ink)}

.glow{position:absolute;z-index:0;left:50%;margin-left:-210px;top:-2px;width:420px;height:420px;border-radius:50%;pointer-events:none;opacity:0;background:radial-gradient(circle,rgba(var(--tint),.46) 0%,rgba(var(--tint),.16) 45%,rgba(var(--tint),0) 70%);transition:opacity 1200ms ease,top 900ms var(--ease)}
.app[data-stage=lit]>.glow{opacity:1}
.app[data-stage=chat]>.glow{opacity:1;top:-250px}
.glow-still{opacity:1;top:-250px}

/* ---------- logo: a dot, then the mark, then a small mark in the header ---------- */
.logo{position:absolute;z-index:3;pointer-events:none;left:calc(50% - 10px);top:calc(var(--logo-top) + 52px);width:20px;height:20px;transition:left 900ms var(--ease),top 900ms var(--ease),width 900ms var(--ease),height 900ms var(--ease)}
.app[data-stage=lit] .logo{left:calc(50% - 56px);top:var(--logo-top);width:112px;height:112px}
.app[data-stage=chat] .logo{left:16px;top:14px;width:28px;height:28px}
html[dir=rtl] .app[data-stage=chat] .logo{left:calc(100% - 44px)}
.logo-dot{position:absolute;inset:0;border-radius:999px;background:var(--green-glow);opacity:0;transition:opacity 350ms ease}
.app[data-stage=dark] .logo-dot{opacity:1;animation:dw-dot 1.8s ease-in-out infinite}
.logo-shadow{position:absolute;left:12%;top:106%;width:76%;height:9%;display:none}
.logo-shadow>div{width:100%;height:100%;border-radius:50%;background:rgba(26,23,20,.2);filter:blur(5px)}
.app[data-stage=lit] .logo-shadow{display:block;animation:dw-fade 700ms ease 1500ms both}
.app[data-stage=lit] .logo-shadow>div{animation:dw-shadow 6s ease-in-out 2200ms infinite}
.logo-art,.logo-pop{position:absolute;inset:0}
.logo-art{opacity:0;transition:opacity 300ms ease}
.app[data-stage=lit] .logo-art,.app[data-stage=chat] .logo-art{opacity:1}
.logo img{position:absolute;inset:0;display:block;width:100%;height:100%}
.logo-glint{opacity:0;filter:brightness(2.1) saturate(1.15)}
.app[data-stage=lit] .logo-art{animation:dw-sway 6s ease-in-out 2200ms infinite}
.app[data-stage=lit] .logo-pop{animation:dw-pop 500ms ease-out 1650ms both}
.app[data-stage=lit] .logo-bolt{animation:dw-bolt-in 800ms cubic-bezier(.3,.9,.3,1) 120ms both}
.app[data-stage=lit] .logo-d{animation:dw-d-in 1100ms var(--ease) 550ms both}
.app[data-stage=lit] .logo-glint{animation:dw-glint 5.5s ease-in-out 2000ms infinite}
.app[data-stage=chat] .logo-glint{animation:dw-glint 6s ease-in-out 1200ms infinite}

/* ---------- top bar ---------- */
.bar{position:relative;z-index:2;flex:0 0 auto;height:56px;padding:0 16px;display:flex;align-items:center;justify-content:space-between;background:transparent;border-bottom:1px solid transparent;transition:background-color 700ms ease,border-color 700ms ease,box-shadow 700ms ease}
.app[data-stage=chat]>.bar,.bar-still{background:rgba(255,255,255,.72);border-bottom-color:rgba(255,255,255,.95);box-shadow:0 6px 20px rgba(26,23,20,.06)}
.app:not([data-stage=chat])>.bar{-webkit-backdrop-filter:none;backdrop-filter:none}
.word{padding-inline-start:36px;min-height:28px;font-size:20px;line-height:28px;font-weight:700;visibility:hidden}
.app[data-stage=chat] .word{visibility:visible;animation:dw-rise 500ms ease 500ms both}
html[lang=en] .word,html[lang=en] .brand span{letter-spacing:-.03em}
.brand{display:flex;align-items:center;gap:8px;font-size:20px;line-height:28px;font-weight:700}
.brand img{display:block;width:28px;height:28px}
.lang-btn{height:44px;padding:0 12px;border-radius:999px;border:1px solid #4A443D;background:transparent;font-size:14px;font-weight:600;transition:border-color 700ms ease;font-family:'IBM Plex Sans Arabic',sans-serif}
html[lang=ar] .lang-btn{font-family:'Geist',sans-serif}
.app[data-stage=lit] .lang-btn,.app[data-stage=chat] .lang-btn,.privacy .lang-btn{border-color:var(--line-2)}

/* ---------- opening: dark, then lit ---------- */
.stage{position:relative;z-index:1;flex:1 1 auto;min-height:0;display:none;flex-direction:column;align-items:center;padding:0 16px 16px;overflow-y:auto}
.app[data-stage=dark] .stage-dark,.app[data-stage=lit] .stage-lit{display:flex}
.stage-dark{cursor:pointer}
.on-btn{flex:0 0 auto;margin-top:calc(var(--logo-top) + 64px);width:168px;height:168px;border-radius:999px;border:0;background:#2F7A45;color:#FFFFFF;font-size:22px;line-height:26px;font-weight:700;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;box-shadow:0 0 48px rgba(90,156,105,.45);animation:dw-pulse 1.8s ease-in-out infinite}
.on-btn:active{transform:scale(.97)}
html[lang=ar] .on-btn{font-size:26px;line-height:32px}
.on-hint{margin:28px 0 0;color:rgba(242,239,233,.72);font-size:16px;line-height:24px;font-weight:500;text-align:center;animation:dw-fade 500ms ease 1.2s both}
.hero{margin-top:calc(var(--logo-top) + 88px);display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center;animation:dw-rise 600ms ease 500ms both}
.hero .name{font-size:44px;line-height:52px;font-weight:700;letter-spacing:-.04em}
html[lang=ar] .hero{gap:8px}
html[lang=ar] .hero .name{line-height:60px;letter-spacing:0}
.hero .tag{font-size:16px;font-weight:500;color:var(--ink-500)}
.hero .tag-sub{margin-top:-4px;font-size:14px;line-height:22px;font-weight:500;color:var(--muted)}
.tints{margin-top:6px;display:flex;align-items:center;gap:2px;animation:dw-rise 600ms ease 900ms both}
.tints .label{font-size:13px;line-height:18px;font-weight:600;color:var(--muted);padding-inline-end:6px}
.tint{width:44px;height:44px;padding:0;border:0;background:transparent;display:flex;align-items:center;justify-content:center}
.tint span{display:block;width:22px;height:22px;border-radius:50%;background:var(--c);transition:box-shadow 250ms ease}
.tint[aria-pressed=true] span{box-shadow:0 0 0 3px var(--bg),0 0 0 5px var(--c)}
.tint-0{--c:#5A9C69}.tint-1{--c:#3F9E97}.tint-2{--c:#5B86CF}.tint-3{--c:#8A72C9}.tint-4{--c:#D2708A}
.ask{margin-top:14px;align-self:stretch;display:flex;flex-direction:column;align-items:center;gap:20px;animation:dw-rise 600ms ease 1200ms both}
.ask h1{margin:0;font-size:26px;line-height:34px;font-weight:700;letter-spacing:-.02em;text-align:center}
html[lang=ar] .ask h1{line-height:40px;letter-spacing:0}
.ask .sub{margin:-12px 0 0;font-size:17px;line-height:26px;color:var(--ink-500);text-align:center}
.ask .sub:empty{display:none}
.big-choices{align-self:stretch;display:flex;flex-direction:column;gap:10px}
.big-choice{min-height:64px;padding:8px 16px;border-radius:22px;border:1px solid rgba(255,255,255,.95);background:rgba(255,255,255,.74);box-shadow:0 6px 18px rgba(26,23,20,.07),inset 0 1px 0 rgba(255,255,255,.9);color:var(--ink);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px}
.big-choice b{font-size:18px;line-height:24px;font-weight:600}
.big-choice small{font-size:13px;line-height:18px;color:var(--muted)}
html[lang=ar] .big-choice b{line-height:26px}
html[lang=ar] .big-choice small{line-height:20px}

/* ---------- chat ---------- */
.chat{position:relative;z-index:1;flex:1 1 auto;min-height:0;display:none;flex-direction:column}
.app[data-stage=chat] .chat{display:flex}
.progress{flex:0 0 auto;padding:12px 16px 0;display:flex;gap:4px}
.progress i{flex:1 1 0;height:4px;border-radius:999px;background:var(--line);transition:background-color 400ms ease}
.progress i.on{background:var(--tint-strong)}
.log{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:16px;display:flex;flex-direction:column;gap:10px}
.bubble{max-width:min(292px,84%);padding:10px 16px;border-radius:22px;overflow-wrap:anywhere}
.bubble.bot{align-self:flex-start;border-end-start-radius:8px;background:#FFFFFF;border:1px solid var(--line);box-shadow:0 2px 8px rgba(26,23,20,.04);transform-origin:0% 100%}
.bubble.user{align-self:flex-end;border-end-end-radius:8px;background:var(--green-50);background:color-mix(in srgb,rgb(var(--tint)) 17%,#FFFFFF);font-weight:500;transform-origin:100% 100%}
html[dir=rtl] .bubble.bot{transform-origin:100% 100%}
html[dir=rtl] .bubble.user{transform-origin:0% 100%}
.bubble.in{animation:dw-bubble 420ms cubic-bezier(.2,1.2,.3,1) both}
.bubble .em{font-weight:600}
.typing{align-self:flex-start;display:flex;align-items:center;gap:5px;height:44px;padding:0 16px;border-radius:22px;border-end-start-radius:8px;background:#FFFFFF;border:1px solid var(--line);animation:dw-fade 200ms ease both}
.typing i{display:block;width:7px;height:7px;border-radius:50%;background:var(--muted);animation:dw-dots 900ms ease-in-out infinite}
.typing i:nth-child(2){animation-delay:150ms}
.typing i:nth-child(3){animation-delay:300ms}
.quote{align-self:flex-start;max-width:min(292px,84%);margin:0;padding:12px 14px;border-radius:10px;background:#F3F2EE;color:#2F2B28}
.chips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 0}
.chips.in{animation:dw-rise 400ms ease both}
.chip{min-height:44px;padding:6px 16px;border-radius:999px;border:1px solid rgba(26,23,20,.10);background:rgba(255,255,255,.74);box-shadow:0 4px 14px rgba(26,23,20,.08),inset 0 1px 0 rgba(255,255,255,.9);color:var(--ink);font-size:15px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;text-align:start}
.chip:hover{color:var(--ink)}
.chip:active,.big-choice:active,.btn:active{transform:scale(.97)}

.card{display:flex;flex-direction:column;gap:14px;padding:16px;border-radius:24px;background:rgba(255,255,255,.86);border:1px solid rgba(26,23,20,.08);box-shadow:0 8px 24px rgba(26,23,20,.07)}
.card.in{animation:dw-rise 400ms ease both}
.card[aria-busy=true]{opacity:.6;pointer-events:none}
.card-title{margin:0;font-size:22px;line-height:30px;font-weight:700;letter-spacing:-.02em}
html[lang=ar] .card-title{line-height:34px;letter-spacing:0}
.card p{margin:0}
.card .body{color:var(--ink-500)}
.field-group{display:flex;flex-direction:column;gap:6px}
.field{width:100%;height:48px;padding:0 14px;border-radius:16px;border:1px solid var(--line-2);background:#FFFFFF;color:var(--ink);font-size:16px}
.field.main{border:2px solid var(--green);font-size:17px}
.field[dir=ltr]{text-align:left;font-family:'Geist',sans-serif}
.label,.fine{font-size:13px;line-height:18px;color:var(--muted)}
html[lang=ar] .label,html[lang=ar] .fine{line-height:20px}
.label{font-weight:600}
.small-label{font-size:12px;line-height:16px;font-weight:600;color:var(--muted)}
.btn{min-height:52px;padding:6px 16px;border-radius:999px;border:0;background:var(--green);color:#FFFFFF;font-size:17px;font-weight:600;text-decoration:none;text-align:center;display:flex;align-items:center;justify-content:center;gap:10px}
.btn:hover{background:var(--green-hover);color:#FFFFFF}
.btn.ghost{border:1px solid var(--green);background:#FFFFFF;color:var(--green-hover)}
.btn.plain{min-height:48px;border:1px solid var(--line-2);background:#FFFFFF;color:var(--ink);font-size:16px}
.or{display:flex;align-items:center;gap:12px;font-size:13px;line-height:18px;color:var(--muted)}
.or::before,.or::after{content:'';flex:1 1 0;height:1px;background:var(--line)}
.link{align-self:center;display:inline-flex;align-items:center;min-height:44px;font-size:14px;font-weight:600;text-decoration:none}
.chip-link{border:0;background:none;color:var(--green);font-size:15px}
.chip-link:hover{color:var(--green-hover)}
.back-link{align-self:flex-start;min-height:40px;font-size:14px;color:var(--muted)}
.back-link:hover{color:var(--ink)}
.error{margin:0;font-size:14px;line-height:20px;font-weight:500;color:var(--negative)}
.foot{display:flex;flex-direction:column;gap:6px;padding:2px 0}
.foot.in{animation:dw-rise 400ms ease both}

/* ---------- bottom: town list and typing bar ---------- */
.dock{position:relative;z-index:1;flex:0 0 auto;display:flex;flex-direction:column}
.dock-error{margin:0 16px 8px;padding:8px 14px;border-radius:14px;background:#FFFFFF;border:1px solid var(--line)}
.robot{align-self:center}
.robot:not(:empty){margin-bottom:8px}
.towns{margin:0 12px 8px;max-height:42dvh;overflow-y:auto;border-radius:20px;background:rgba(255,255,255,.86);border:1px solid rgba(26,23,20,.08);box-shadow:0 8px 24px rgba(26,23,20,.10)}
.town-row{width:100%;min-height:48px;padding:8px 16px;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--ink);display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:start;font-weight:500}
.town-row small{flex:0 0 auto;font-size:13px;font-weight:400;color:var(--muted)}
.town-row:last-child{border-bottom:0}
.town-row.other{color:var(--green);font-size:15px;font-weight:600}
.town-note{margin:0;padding:12px 16px;font-size:14px;color:var(--muted);border-bottom:1px solid var(--line)}
.composer{margin:0 12px 14px;margin-bottom:max(14px,env(safe-area-inset-bottom));height:56px;padding-inline:18px 8px;border-radius:999px;display:flex;align-items:center;gap:8px;background:rgba(255,255,255,.78);border:1px solid rgba(26,23,20,.08);box-shadow:0 8px 24px rgba(26,23,20,.10),inset 0 1px 0 rgba(255,255,255,.9);animation:dw-rise 400ms ease both}
.composer input{flex:1 1 auto;min-width:0;height:44px;padding:0;border:0;outline:0;background:transparent;color:var(--ink);font-size:16px}
.composer input[dir=ltr]{font-family:'Geist',sans-serif}
html[dir=rtl] .composer input[dir=ltr]{text-align:right}
.send{flex:0 0 40px;width:40px;height:40px;border-radius:50%;border:0;background:var(--green);color:#FFFFFF;display:flex;align-items:center;justify-content:center}
.send:hover{background:var(--green-hover)}

/* ---------- privacy page ---------- */
.privacy{position:absolute;inset:0;z-index:10;display:flex;flex-direction:column;overflow-y:auto;background:var(--bg);color:var(--ink)}
.privacy-main{position:relative;z-index:1;flex:1 1 auto;padding:24px 20px 16px;display:flex;flex-direction:column;gap:18px}
.privacy-main h1{margin:0;font-size:30px;line-height:38px;font-weight:700;letter-spacing:-.03em}
html[lang=ar] .privacy-main h1{line-height:44px;letter-spacing:0}
.privacy-main section{display:flex;flex-direction:column;gap:4px}
.privacy-main h2{margin:0;font-size:18px;line-height:26px;font-weight:600}
html[lang=ar] .privacy-main h2{line-height:28px}
.privacy-main p{margin:0;color:var(--ink-500)}
.privacy-main #privacy-contact{text-align:start;unicode-bidi:plaintext}
.privacy-main .fine{color:var(--muted)}
.privacy-main .link{margin-top:auto;align-self:flex-start}
.noscript{position:relative;z-index:5;margin:40px 16px;text-align:center;color:#F2EFE9}

/* ---------- motion ---------- */
@keyframes dw-rise{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@keyframes dw-fade{from{opacity:0}to{opacity:1}}
@keyframes dw-pulse{0%,100%{box-shadow:0 0 48px rgba(90,156,105,.45),0 0 0 0 rgba(90,156,105,.6)}50%{box-shadow:0 0 48px rgba(90,156,105,.45),0 0 0 22px rgba(90,156,105,0)}}
@keyframes dw-dot{0%,100%{box-shadow:0 0 10px 2px rgba(90,156,105,.5)}50%{box-shadow:0 0 22px 8px rgba(90,156,105,.85)}}
@keyframes dw-bolt-in{0%{opacity:0;transform:translate(24%,-38%) scale(1.15);filter:brightness(3)}45%{opacity:1;transform:translate(0,0) scale(1);filter:brightness(3.2) drop-shadow(0 0 16px rgba(127,180,139,.95))}62%{opacity:1;transform:translate(-2%,3%) scale(.98);filter:brightness(1.6)}100%{opacity:1;transform:translate(0,0) scale(1);filter:brightness(1)}}
@keyframes dw-d-in{0%{opacity:0;transform:perspective(520px) rotateY(-82deg) rotate(-14deg) scale(.82)}60%{opacity:1;transform:perspective(520px) rotateY(10deg) rotate(2deg) scale(1.04)}100%{opacity:1;transform:perspective(520px) rotateY(0deg) rotate(0deg) scale(1)}}
@keyframes dw-pop{0%{transform:scale(1)}40%{transform:scale(1.09)}100%{transform:scale(1)}}
@keyframes dw-sway{0%,50%,100%{transform:perspective(520px) rotateY(0deg) translateY(0)}25%{transform:perspective(520px) rotateY(11deg) translateY(-5px)}75%{transform:perspective(520px) rotateY(-11deg) translateY(-5px)}}
@keyframes dw-shadow{0%,50%,100%{transform:scaleX(1)}25%,75%{transform:scaleX(.8)}}
@keyframes dw-glint{0%{opacity:1;clip-path:polygon(-45% 0,-20% 0,-50% 100%,-75% 100%)}18%{opacity:1;clip-path:polygon(150% 0,175% 0,145% 100%,120% 100%)}19%,100%{opacity:0;clip-path:polygon(150% 0,175% 0,145% 100%,120% 100%)}}
@keyframes dw-bubble{0%{opacity:0;transform:scale(.55) translateY(8px)}60%{opacity:1;transform:scale(1.04) translateY(0)}100%{opacity:1;transform:scale(1) translateY(0)}}
@keyframes dw-dots{0%,60%,100%{transform:translateY(0);opacity:.45}30%{transform:translateY(-4px);opacity:1}}

/* Very short phones: a smaller mark so both answers fit without scrolling. */
@media (max-height:620px){
  :root{--logo-top:28px}
  .app[data-stage=lit] .logo{left:calc(50% - 44px);width:88px;height:88px}
  .hero{margin-top:calc(var(--logo-top) + 56px)}
}

/* Coming back to a chat already under way: draw it in place, no replay. */
.app.boot,.app.boot *{transition:none!important}
.app.boot .word{animation:none}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}

/* The waitlist page after the email: the chat above it is hidden while it shows. */
.log.ending>:not(.onlist):not(.back-link){display:none}
.onlist{flex:1 0 auto;display:flex;flex-direction:column;align-items:center;gap:18px;padding:12px 4px 4px;text-align:center}
.onlist.in{animation:dw-rise 400ms ease both}
.onlist-tick{width:116px;height:116px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--tint-strong) 14%,#FFFFFF)}
.onlist-tick span{width:82px;height:82px;border-radius:999px;display:flex;align-items:center;justify-content:center;background:var(--tint-strong);color:#FFFFFF}
.onlist-title{margin:0;font-size:28px;line-height:34px;font-weight:700;letter-spacing:-.01em}
html[lang=ar] .onlist-title{line-height:42px;letter-spacing:0}
.onlist-body{margin:0;max-width:320px;color:var(--ink-500);font-size:16px;line-height:25px}
.onlist-rows{width:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:4px 18px;border-radius:20px;background:#FFFFFF;border:1px solid var(--line)}
.onlist-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);font-size:15px;line-height:22px}
.onlist-row:last-child{border-bottom:0}
.onlist-row .k{color:var(--muted);flex:0 0 auto}
.onlist-row .v{font-weight:600;min-width:0;overflow-wrap:anywhere;text-align:end}
.onlist-actions{width:100%;margin-top:auto;padding-top:8px;display:flex;flex-direction:column;gap:10px}
.btn.onlist-help{flex-direction:column;gap:0;min-height:60px;border-radius:18px;background:var(--tint-strong)}
.btn.onlist-help:hover{background:var(--tint-strong);filter:brightness(.94)}
.onlist-help small{font-size:13px;line-height:18px;font-weight:500;opacity:.88}
.onlist .btn.plain{border-radius:18px}
.onlist .chip-link{align-self:center}
.btn.plain.onlist-more{flex-direction:column;gap:0;min-height:60px}
.onlist-more small{font-size:13px;line-height:18px;font-weight:500;color:var(--muted)}
