:root { --t: #12a594; --t2: #0b8578; --k: #07110f; --b: #f6f0e0; --r: #d3102a; --fat: 'Chango', 'Arial Black', sans-serif; --s: 'Sofia Sans Extra Condensed', 'Arial Narrow', sans-serif; --mw: min(860px, 62vw); --mh: clamp(300px, 42vh, 400px); --pad: clamp(16px, 3vw, 44px); --o: 8px; }
* { box-sizing: border-box; margin: 0; }
html { background: var(--t); color: var(--k); -webkit-text-size-adjust: 100%; }
body { font: 500 20px/1.3 var(--s); overflow-x: hidden; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 4px solid var(--k); outline-offset: 4px; }
h1, h2 { font-weight: 400; font-family: var(--fat); letter-spacing: -.02em; }

/* the face is the first screen */
.face { position: relative; min-height: max(760px, 100svh); overflow: hidden; display: flex; flex-direction: column; align-items: center; }
header { position: absolute; inset: 26px var(--pad) auto; display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
h1 { font-size: clamp(38px, 5.2vw, 78px); line-height: .9; } .hook { font: 400 clamp(19px, 2.1vw, 31px)/1.08 var(--fat); letter-spacing: -.01em; width: min-content; min-width: 9.2em; text-align: right; }
.eyes { display: flex; gap: clamp(90px, 18.6vw, 268px); margin-top: clamp(46px, 7.6vh, 76px); }
.eye { position: relative; width: clamp(96px, 11.2vw, 162px); aspect-ratio: 1; border-radius: 50%; background: var(--b); border: var(--o) solid var(--k); overflow: hidden; }
.eyes .eye { overflow: visible; } .pupil { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; border-radius: 50%; background: var(--k); transition: transform .12s ease-out; }
.pupil::after { content: ''; position: absolute; left: 16%; top: 14%; width: 30%; aspect-ratio: 1; border-radius: 50%; background: var(--b); }
.lid { position: absolute; inset: calc(var(--o) * -1); border-radius: 50%; background: var(--t2); border: var(--o) solid var(--k); clip-path: inset(0 0 72% 0); transition: clip-path .1s; } .face[data-blink='1'] .lid { clip-path: inset(0); } .face[data-mood=sure] .lid { clip-path: inset(0 0 62% 0); } .face[data-mood=wrong] .lid { clip-path: inset(0 0 48% 0); } .face[data-mood=right] .lid { clip-path: inset(0 0 100% 0); }
.brow { position: absolute; left: -6%; right: -6%; top: -27%; height: 15%; border-radius: 99px; background: var(--k); transform: rotate(9deg); transition: transform .18s; } .r .brow { transform: rotate(-9deg); } .face[data-mood=right] .brow { transform: translateY(-60%) rotate(-7deg); } .face[data-mood=right] .r .brow { transform: translateY(-60%) rotate(7deg); } .face[data-mood=wrong] .brow { transform: rotate(-13deg); } .face[data-mood=wrong] .r .brow { transform: rotate(13deg); } .face[data-mood=sure] .brow { transform: translateY(26%) rotate(13deg); } .face[data-mood=sure] .r .brow { transform: translateY(26%) rotate(-13deg); }
.cheek { position: absolute; top: calc(50% + 46px); width: clamp(150px, 15.4vw, 226px); aspect-ratio: 1; border-radius: 50%; background: var(--r); color: var(--b); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transform: translateY(-50%); } .cheek.l { left: calc((100vw - var(--mw)) / 4 - clamp(150px, 15.4vw, 226px) / 2); } .cheek.r { right: calc((100vw - var(--mw)) / 4 - clamp(150px, 15.4vw, 226px) / 2); }
.cheek b { font: 400 clamp(34px, 3.5vw, 52px)/1 var(--fat); white-space: nowrap; letter-spacing: -.03em; } .cheek span { font-size: clamp(16px, 1.3vw, 19px); line-height: 1.08; max-width: 7.6em; margin-top: 7px; font-weight: 600; }

.maw { position: relative; width: var(--mw); height: var(--mh); margin-top: clamp(34px, 5vh, 52px); --close: 0; touch-action: pan-y; }
.throat { position: absolute; inset: 14px 0 -18px; background: var(--k); color: var(--b); overflow: hidden; }
.lip { position: absolute; left: -24px; width: calc(100% + 48px); height: clamp(40px, 6.6vh, 62px); overflow: visible; } .lip path { fill: var(--r); stroke: var(--k); stroke-width: var(--o); vector-effect: non-scaling-stroke; stroke-linejoin: round; } .lip.up { top: -34px; z-index: 3; }
.jaw { position: absolute; z-index: 2; left: 0; right: 0; top: 100%; height: 900px; background: linear-gradient(var(--k) 0 14px, var(--t) 14px); border: solid var(--k); border-width: 0 var(--o); transform: translateY(calc(var(--close) * var(--mh) * -1)); transition: transform var(--jt, .17s) cubic-bezier(.4, 0, .9, .5); will-change: transform; }
.lip.dn { top: -8px; left: -32px; width: calc(100% + 64px); }
.teeth { display: flex; gap: 5px; padding: 0 16px; position: absolute; left: 0; right: 0; z-index: 1; } .teeth.top { top: -4px; } .teeth.bot { bottom: 100%; margin-bottom: -14px; padding: 0 24px; z-index: -1; }
.tooth { flex: 1; height: clamp(26px, 4.6vh, 42px); background: transparent; border: 3px solid #4c5a56; border-radius: 0 0 12px 12px; } .bot .tooth { border-radius: 12px 12px 0 0; border-bottom: 0; } .top .tooth { border-top: 0; }
.tooth.ok { background: var(--b); border-color: var(--b); } .tooth.no { border-color: transparent; background: linear-gradient(var(--r), var(--r)) 50% 0 / 60% 5px no-repeat; } .bot .tooth.no { background-position: 50% 100%; } 
.coin { position: absolute; inset: clamp(30px, 5.4vh, 48px) clamp(14px, 2.2vw, 34px) clamp(46px, 7.4vh, 66px); display: flex; flex-direction: column; justify-content: center; min-width: 0; } .coin[hidden], .speak[hidden], .wait[hidden] { display: none; }
.coin h2 { font-size: clamp(34px, 4.2vw, 64px); line-height: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-bottom: .06em; } .nm { font-size: 20px; color: #c9c2b1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .nm a { color: var(--b); margin-left: 8px; text-underline-offset: 3px; display: inline-block; padding: 3px 4px; }
dl { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(4px, .9vh, 10px) 10px; margin-top: clamp(6px, 1.2vh, 14px); } dl div { min-width: 0; } dt { font-size: 16px; line-height: 1.1; color: #b4ad9c; } dd { margin: 0; font-size: clamp(21px, 2vw, 30px); font-weight: 800; line-height: 1.08; white-space: nowrap; font-variant-numeric: tabular-nums; }
.speak { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: clamp(30px, 4.6vh, 46px); text-align: center; } .speak b { font: 400 clamp(46px, 6vw, 92px)/.95 var(--fat); letter-spacing: -.03em; } .speak span { font-size: clamp(22px, 2vw, 30px); font-weight: 700; margin-top: 4px; }
.wait { position: absolute; inset: 0 0 18px; display: flex; flex-direction: column; gap: 14px; align-items: center; justify-content: center; text-align: center; padding: 40px 20px; font-size: 24px; font-weight: 600; } .wait button { border: 3px solid var(--b); color: var(--b); background: none; border-radius: 99px; padding: 6px 20px; margin: 0 4px 6px; min-height: 44px; cursor: pointer; font-weight: 700; } .wait button:hover { background: var(--b); color: var(--k); } .throat :focus-visible { outline-color: var(--b); }
.ask { position: relative; z-index: 4; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; width: calc(var(--mw) - 90px); margin-top: clamp(50px, 7.4vh, 70px); }
.ask button { font: 400 clamp(30px, 3vw, 46px)/1 var(--fat); padding: .42em .4em .5em; border: var(--o) solid var(--k); border-radius: 26px; background: var(--b); cursor: pointer; transition: transform .08s; } .ask #yes { background: var(--k); color: var(--b); } .ask button:hover { background: var(--r); color: var(--b); } .ask button:active { transform: scale(.97); } .ask button:disabled { opacity: .55; cursor: default; }
.fine { position: relative; z-index: 4; margin: 14px 0 22px; font-size: 18px; font-weight: 600; text-align: center; } .fine button { background: none; border: 2px solid var(--k); border-radius: 99px; padding: 2px 14px; min-height: 36px; margin-left: 8px; cursor: pointer; font-weight: 700; } .fine button[aria-pressed=true] { background: var(--k); color: var(--b); }

section:not(.face) { padding: clamp(70px, 9vw, 130px) var(--pad) 0; } section:not(.face) h2 { font-size: clamp(36px, 5.1vw, 84px); line-height: .95; }
.cap { font-size: clamp(20px, 1.7vw, 25px); margin-top: 14px; font-weight: 600; }
.cap button { border: 3px solid var(--k); background: var(--r); color: var(--b); border-radius: 99px; padding: 2px 18px; min-height: 42px; font-weight: 800; cursor: pointer; margin-left: 8px; } .cap button:hover { background: var(--k); }
.likes { background: var(--b); margin-top: 0; padding-bottom: clamp(60px, 7vw, 100px) !important; border-top: var(--o) solid var(--k); }
.mouths { display: grid; grid-template-columns: repeat(7, 1fr); gap: clamp(14px, 2.2vw, 34px) clamp(8px, 1.6vw, 26px); margin-top: 34px; } .mth { min-width: 0; text-align: center; } .mth svg { width: 100%; height: auto; display: block; } .mth b { font: 400 clamp(24px, 2.2vw, 36px)/1 var(--fat); display: block; letter-spacing: -.03em; } .mth span { font-size: clamp(18px, 1.35vw, 21px); line-height: 1.1; display: block; margin-top: 4px; font-weight: 600; }
.lab { background: var(--k); color: var(--b); padding-bottom: clamp(70px, 8vw, 110px) !important; } .lab :focus-visible { outline-color: var(--b); }
.labgrid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(20px, 4vw, 70px); align-items: center; margin-top: 30px; } .big svg { width: 100%; height: auto; display: block; } .big p { font-size: clamp(24px, 2.4vw, 36px); text-align: center; font-weight: 700; margin-top: 8px; min-height: 2.4em; } .big b { display: block; font: 400 clamp(44px, 5.4vw, 84px)/1 var(--fat); letter-spacing: -.03em; }
.dials { display: grid; gap: 4px; } .dial { display: grid; grid-template-columns: 6.4em 1fr 5.2em; gap: 14px; align-items: center; font-size: 20px; min-height: 42px; } .dial output { text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; } .togs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; } .togs button { border: 3px solid var(--b); background: none; border-radius: 99px; padding: 4px 16px; min-height: 44px; cursor: pointer; font-weight: 700; } .togs button[aria-pressed=true] { background: var(--b); color: var(--k); }
input[type=range] { appearance: none; -webkit-appearance: none; width: 100%; min-width: 0; height: 40px; background: transparent; cursor: ew-resize; touch-action: pan-y; } input[type=range]::-webkit-slider-runnable-track { height: 6px; background: var(--r); border-radius: 3px; } input[type=range]::-moz-range-track { height: 6px; background: var(--r); border-radius: 3px; } input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 30px; margin-top: -12px; background: var(--b); border: 0; border-radius: 4px 4px 12px 12px; } input[type=range]::-moz-range-thumb { width: 24px; height: 30px; background: var(--b); border: 0; border-radius: 4px 4px 12px 12px; }
.log { list-style: none; padding: 0; margin-top: 30px; border-top: 4px solid var(--k); } .log li { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr .8fr; gap: 12px; padding: 9px 0; border-bottom: 2px solid var(--k); font-size: clamp(20px, 1.7vw, 25px); align-items: baseline; } .log b { font: 400 .95em/1.2 var(--fat); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .log em { font-style: normal; font-weight: 800; } .log em.no { color: var(--b); background: var(--r); padding: 0 10px; border-radius: 99px; justify-self: start; } .log em.ok { background: var(--k); color: var(--b); padding: 0 10px; border-radius: 99px; justify-self: start; }
.memb { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; } .memb button { border: 4px solid var(--k); background: none; border-radius: 99px; padding: 6px 20px; min-height: 48px; font-weight: 800; cursor: pointer; } .memb button:hover { background: var(--k); color: var(--b); }
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 50px); padding-bottom: clamp(70px, 8vw, 120px) !important; } .how svg { width: 100%; height: auto; display: block; } .how figcaption { font: 400 clamp(22px, 2.1vw, 33px)/1.08 var(--fat); letter-spacing: -.01em; margin-top: 14px; }
footer { background: var(--k); color: var(--b); padding: 44px var(--pad) 50px; display: grid; gap: 12px; } footer p { max-width: 78ch; font-size: 20px; } footer nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; } footer nav > * { border: 3px solid var(--b); border-radius: 99px; background: none; color: inherit; text-decoration: none; padding: 6px 20px; min-height: 48px; display: inline-flex; align-items: center; font-weight: 800; cursor: pointer; } footer nav [hidden] { display: none; } footer nav > *:hover { background: var(--r); border-color: var(--r); } footer :focus-visible { outline-color: var(--b); }

@media (max-width: 820px) {
  :root { --mw: calc(100vw - 48px); --mh: clamp(338px, 41svh, 390px); --o: 6px; }
  .face { min-height: 0; } header { inset: 14px 16px auto; } h1 { font-size: clamp(34px, 10vw, 54px); } .hook { font-size: clamp(15px, 4.2vw, 22px); min-width: 8.4em; }
  .eyes { margin-top: 98px; gap: 22vw; } .eye { width: 23vw; max-width: 130px; } .maw { margin-top: 40px; }
  .throat { top: 4px; } .teeth.top { top: 6px; } .lip.up { left: -18px; width: calc(100% + 36px); top: -26px; height: 42px; } .lip.dn { left: -20px; width: calc(100% + 40px); height: 42px; }
  .teeth { gap: 3px; padding: 0 10px; } .teeth.bot { padding: 0 14px; } .tooth { height: 27px; border-width: 2px; border-radius: 0 0 8px 8px; } .bot .tooth { border-radius: 8px 8px 0 0; }
  .coin { inset: 30px 16px 46px; } dl { grid-template-columns: repeat(3, 1fr); gap: 7px 8px; } dt { font-size: 15px; } dd { font-size: 23px; } .nm { font-size: 18px; }
  .ask { width: calc(100vw - 48px - 28px); gap: 10px; margin-top: 46px; } .ask button { font-size: 30px; padding: .5em .3em .6em; border-radius: 20px; }
  .fine { margin: 14px 126px 24px; font-size: 16px; line-height: 1.15; min-height: 100px; } .fine span { display: block; margin-bottom: 8px; } .fine button { margin: 0; }
  .cheek, .cheek.l, .cheek.r { position: absolute; z-index: 4; top: auto; bottom: 18px; transform: none; width: 112px; } .cheek.l { left: 10px; right: auto; } .cheek.r { right: 10px; left: auto; } .cheek b { font-size: 30px; } .cheek span { font-size: 15px; line-height: 1.02; max-width: 6em; margin-top: 4px; }
  .mouths { grid-template-columns: repeat(3, 1fr); } .labgrid { grid-template-columns: 1fr; gap: 10px; } .dial { grid-template-columns: 5.4em 1fr 4.4em; gap: 10px; } .how { grid-template-columns: 1fr; gap: 44px; } .how svg { max-width: 420px; margin: 0 auto; }
  .log li { grid-template-columns: minmax(0, 1fr) auto auto auto; font-size: 18px; gap: 10px; } footer nav > * { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
