@font-face { font-family: Archivo; src: url(/f/Archivo-sub.woff2) format('woff2'); font-weight: 700 900; font-stretch: 75% 90%; font-display: swap; }

/* Humona's palette, from the reels' rig */
:root {
  --ink: #111; --white: #fff; --blue: #2F6BFF; --blue-d: #1F4FCC; --red: #FF3B4E; --red-d: #C92236; --yellow: #FFD23F; --yellow-d: #C9A227;
  --g1: #F2F2F2; --g2: #E4E4E4; --g3: #C8C8C8; --g5: #6E6E6E; --g7: #222;
  --t-blue: #E6EEFF; --t-red: #FFE6E9; --t-yellow: #FFF3C4; --t-grey: #EEEEEE;
  --display: Archivo, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
body { margin: 0; background: var(--ink); color: var(--ink); font: 17px/1.45 system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; }
.wrap { position: relative; max-width: 480px; margin: 0 auto; background: var(--white); min-height: 100vh; min-height: 100dvh; }
h1, h2, h3 { font-family: var(--display); margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
[hidden] { display: none !important; }
.kick { font: 800 13px/1 var(--display); letter-spacing: .6px; text-transform: uppercase; color: var(--g5); }
.kick.y { color: var(--yellow); } .kick.b { color: var(--blue-d); } .kick.g { color: var(--g3); }

/* one full screen, like an app's step */
.app { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--white); }
.bar { display: flex; align-items: center; gap: 8px; min-height: 58px; padding: max(10px, env(safe-area-inset-top)) 16px 6px; }
.bar.step { gap: 14px; }
.logo { display: flex; }
.dot { display: block; width: 14px; height: 14px; border-radius: 50%; }
.dot.r { background: var(--red); } .dot.b { background: var(--blue); margin-left: -4px; }
.brand { font: 900 19px/1 var(--display); font-stretch: 82%; }

/* round close and back buttons */
.close { position: relative; flex: none; display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--g1); color: var(--ink); transition: transform .08s; }
.close:active { transform: scale(.92); }
.close i { position: absolute; left: 11px; top: 18.5px; width: 18px; height: 3px; border-radius: 2px; background: currentColor; transform: rotate(45deg); }
.close i + i { transform: rotate(-45deg); }
.close .arrow { position: absolute; left: 16px; top: 15px; width: 10px; height: 10px; border-left: 3px solid currentColor; border-bottom: 3px solid currentColor; transform: rotate(45deg); }
.dark .close { background: var(--g7); color: var(--white); }
.dark .bar { justify-content: space-between; }

/* progress */
.prog { flex: 1; height: 16px; border-radius: 8px; background: var(--g1); overflow: hidden; }
.prog i { display: block; height: 100%; width: 4%; border-radius: 8px; background: var(--blue); transition: width .5s var(--ease); }
.prog i.s1of2 { width: 50%; } .prog i.s2of2 { width: 100%; }
.prog i.s1of3 { width: 33.3%; } .prog i.s2of3 { width: 66.6%; } .prog i.s3of3 { width: 100%; }
.prog i[class] { animation: grow .6s var(--ease) both; }
@keyframes grow { from { transform: translateX(-20%); opacity: .6; } to { transform: none; opacity: 1; } }

/* welcome */
.hi { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 0 26px 10px; text-align: center; }
#duo.big { display: block; width: 100%; max-width: 290px; height: auto; margin: 0 auto 14px; }
#duo { overflow: visible; }
.hi { overflow: hidden; }
.hi h1 { font-size: 36px; line-height: 1.02; font-weight: 900; font-stretch: 78%; animation: rise .5s var(--ease) 1.2s both; }
.hi p { margin: 12px auto 0; max-width: 300px; color: var(--g5); font-size: 17px; animation: rise .5s var(--ease) 1.35s both; }
.hello .dock .cta { animation: rise .5s var(--ease) 1.5s both; }

/* a question: the figures ask it in a bubble */
.ask { display: flex; align-items: flex-start; gap: 8px; padding: 4px 16px 16px; }
#duo { flex: none; width: 116px; height: auto; }
.bubble { position: relative; flex: 1; margin-top: 14px; padding: 13px 15px; border: 2px solid var(--g2); border-radius: 18px; background: var(--white); animation: pop .4s var(--ease) .1s both; }
/* the tail: a triangle made of two borders, pointing left at his head */
.bubble::before, .bubble::after { content: ''; position: absolute; top: 18px; width: 0; height: 0; border-style: solid; }
.bubble::before { left: -13px; border-width: 9px 13px 9px 0; border-color: transparent var(--g2) transparent transparent; }
.bubble::after { left: -10px; top: 20px; border-width: 7px 10px 7px 0; border-color: transparent var(--white) transparent transparent; }
.bubble h1 { font-size: 24px; line-height: 1.08; font-weight: 900; font-stretch: 82%; }
@keyframes pop { 0% { opacity: 0; transform: scale(.85); } 70% { opacity: 1; transform: scale(1.02); } 100% { opacity: 1; transform: none; } }

/* answer rows: picture tile, label, chunky bottom shadow */
.opts { display: grid; gap: 10px; padding: 0 16px; }
.opt { display: flex; align-items: center; gap: 14px; min-height: 66px; padding: 6px 14px 6px 6px; border: 2px solid var(--g2); border-radius: 16px; width: 100%; text-align: left;
  background: var(--white); color: var(--ink); text-decoration: none; box-shadow: 0 4px 0 var(--g2);
  transition: transform .08s, box-shadow .08s, background .15s, border-color .15s, opacity .25s; animation: rise .45s var(--ease) both; }
.opt:nth-child(2) { animation-delay: .06s; } .opt:nth-child(3) { animation-delay: .12s; } .opt:nth-child(4) { animation-delay: .18s; } .opt:nth-child(5) { animation-delay: .24s; }
.opt:active { transform: translateY(4px); box-shadow: 0 0 0 var(--g2); }
.opt.plain { padding-left: 18px; min-height: 60px; }
.pic { flex: none; display: block; width: 52px; height: 52px; border-radius: 12px; overflow: hidden; background: var(--t-grey); transition: background .15s; }
.pic img { display: block; width: 100%; height: 100%; }
.t-blue .pic, .pic.t-blue { background: var(--t-blue); } .t-red .pic, .pic.t-red { background: var(--t-red); }
.t-yellow .pic, .pic.t-yellow { background: var(--t-yellow); } .t-grey .pic, .pic.t-grey { background: var(--t-grey); }
.lbl { flex: 1; font: 800 19px/1.15 var(--display); font-stretch: 88%; }
.opt[aria-pressed="true"], .opt.on { border-color: var(--blue); background: var(--t-blue); box-shadow: 0 4px 0 var(--blue); }
.opt[aria-pressed="true"] .lbl, .opt.on .lbl { color: var(--blue-d); }
.opt[aria-pressed="true"] .pic { background: var(--white); }
.opt:focus-visible, .cta:focus-visible, .close:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the bottom bar with the big button */
.dock { position: sticky; bottom: 0; z-index: 3; margin-top: auto; padding: 16px 16px max(12px, env(safe-area-inset-bottom)); background: var(--white); }
.dock.dark { background: var(--ink); }
.cta { display: flex; align-items: center; justify-content: center; width: 100%; height: 54px; border-radius: 16px; background: var(--blue); color: var(--white);
  box-shadow: 0 4px 0 var(--blue-d); text-decoration: none; text-transform: uppercase; letter-spacing: .8px; font: 900 18px/1 var(--display); font-stretch: 88%;
  transition: transform .08s, box-shadow .08s, background .2s, color .2s; }
.cta:active { transform: translateY(4px); box-shadow: 0 0 0 var(--blue-d); }
.cta[aria-disabled], .cta:disabled { background: var(--g2); color: #A8A8A8; box-shadow: 0 4px 0 #CDCDCD; pointer-events: none; }
.ghost { display: block; width: 100%; padding: 6px; color: var(--blue-d); font: 900 16px/1 var(--display); font-stretch: 88%; text-transform: uppercase; letter-spacing: .6px; }
.legal { margin: 12px 0 0; text-align: center; color: var(--g5); font-size: 13px; }
.legal a { color: var(--g5); }

/* the game: dark intro, light moments */
.game { position: relative; min-height: 100vh; min-height: 100dvh; }
.screen { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; background: var(--white); animation: fade .3s ease both; }
.screen.dark { background: var(--ink); color: var(--white); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
svg.scene { display: block; width: 100%; height: auto; aspect-ratio: 430 / 243; background: var(--ink); }
svg.scene.tall { height: 330px; aspect-ratio: auto; flex: none; }
svg.scene.end-scene { aspect-ratio: 430 / 250; }
.card-scene { position: relative; }

/* the bubble in the scene: what your partner says, then what you think or say */
.say { position: absolute; top: 8px; max-width: 47%; transition: opacity .4s; padding: 7px 11px; border: 3px solid var(--ink); border-radius: 14px; background: var(--white);
  font: 800 14px/1.2 var(--display); font-stretch: 90%; color: var(--ink); }
.say.her { left: 8px; }
.say.him { right: 8px; max-width: 58%; }
.say.say::before, .say.say::after { content: ''; position: absolute; bottom: -13px; width: 0; height: 0; border-style: solid; }
.say.say::before { border-width: 13px 9px 0 9px; border-color: var(--ink) transparent transparent transparent; }
.say.say::after { bottom: -8px; border-width: 9px 6px 0 6px; border-color: var(--white) transparent transparent transparent; }
.say.her.say::before { left: 92px; } .say.her.say::after { left: 95px; }
.say.him.say::before { right: 110px; } .say.him.say::after { right: 113px; }
.say.think { border-radius: 18px; font-style: italic; }
.say.think::before, .say.think::after { content: ''; position: absolute; border: 3px solid var(--ink); border-radius: 50%; background: var(--white); }
.say.think::before { left: 88px; bottom: -14px; width: 12px; height: 12px; }
.say.think::after { left: 98px; bottom: -26px; width: 8px; height: 8px; }
.say.gone { opacity: 0; }

/* points */
.xp { position: relative; flex: none; display: flex; align-items: center; gap: 4px; font: 900 17px/1 var(--display); color: var(--ink); }
.star { display: block; width: 22px; height: 22px; fill: var(--yellow); stroke: var(--yellow-d); stroke-width: 1.5; stroke-linejoin: round; }
.plus { position: absolute; right: -2px; top: -14px; color: var(--blue-d); font: 900 15px/1 var(--display); opacity: 0; pointer-events: none; }
.score { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 18px; background: var(--ink); color: var(--white); }
.stars { display: flex; gap: 6px; }
.stars .star { width: 38px; height: 38px; fill: #333; stroke: #333; }
.stars .star.on { fill: var(--yellow); stroke: var(--yellow-d); animation: starpop .5s cubic-bezier(.2, .8, .2, 1.4) both; }
@keyframes starpop { 0% { transform: scale(0) rotate(-40deg); } 70% { transform: scale(1.25) rotate(8deg); } 100% { transform: none; } }
.pts { font: 800 16px/1 var(--display); color: var(--g3); }
.pts b { font-size: 26px; font-weight: 900; color: var(--yellow); }
.intro { display: flex; flex-direction: column; gap: 10px; padding: 18px 22px 0; }
.intro h1 { font-size: 44px; line-height: .98; font-weight: 900; font-stretch: 78%; animation: rise .45s var(--ease) .22s both; }
.intro p { margin: 0; color: var(--g3); animation: rise .45s var(--ease) .3s both; }
.intro .kick { animation: rise .45s var(--ease) .15s both; }
.card-scene { border-radius: 22px; overflow: hidden; background: var(--ink); }
.card-scene.pop { animation: pop .5s var(--ease) both; }
.mom { display: flex; flex-direction: column; padding: 2px 16px 0; }
.mtext { display: flex; flex-direction: column; gap: 4px; padding: 12px 4px 0; }
.mtext p { margin: 2px 0 0; }
.mtext h2 { margin: 6px 0 10px; font-size: 25px; line-height: 1.06; font-weight: 900; font-stretch: 82%; }
.mom .opts { padding: 0; gap: 9px; }
.opt.mo { min-height: 56px; padding: 7px 14px 7px 10px; gap: 12px; }
.opt.mo .lbl { font-size: 18px; line-height: 1.2; }
.num { flex: none; display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 9px; border: 2px solid var(--g2); color: var(--g5); font: 800 15px/1 var(--display); transition: background .15s, color .15s, border-color .15s; }
.opt.on .num { background: var(--blue); border-color: var(--blue); color: var(--white); }
.opt.dim { opacity: .4; }
.opt.best { border-color: var(--blue); background: var(--t-blue); box-shadow: 0 4px 0 var(--blue); }
.opt.warm { border-color: var(--yellow); background: var(--t-yellow); box-shadow: 0 4px 0 var(--yellow-d); }
.opt.cold { border-color: var(--red); background: var(--t-red); box-shadow: 0 4px 0 var(--red); }
.opt.best .num { background: var(--blue); border-color: var(--blue); color: var(--white); }
.opt.warm .num { background: var(--yellow); border-color: var(--yellow); color: var(--ink); }
.opt.cold .num { background: var(--red); border-color: var(--red); color: var(--white); }
.opt:disabled { cursor: default; }

/* the answer sheet that slides up */
.fb { position: fixed; left: 0; right: 0; bottom: 0; z-index: 5; max-width: 480px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px;
  padding: 20px 16px max(18px, env(safe-area-inset-bottom)); border-top: 2px solid; border-radius: 24px 24px 0 0; animation: sheet .36s var(--ease) both; }
@keyframes sheet { from { transform: translateY(100%); } to { transform: none; } }
.fb.best { background: var(--t-blue); border-color: var(--blue); }
.fb.warm { background: var(--t-yellow); border-color: var(--yellow); }
.fb.cold { background: var(--t-red); border-color: var(--red); }
.fb-head { display: flex; align-items: center; gap: 12px; }
.fb-head > div { display: flex; flex-direction: column; gap: 3px; }
.fb-badge { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; animation: pop .4s var(--ease) .15s both; }
.fb-badge i { position: absolute; display: block; }
.fb.best .fb-badge { background: var(--blue); }
.fb.best .fb-badge i:first-child { left: 14px; top: 8px; width: 10px; height: 18px; border-right: 4px solid var(--white); border-bottom: 4px solid var(--white); transform: rotate(45deg); }
.fb.warm .fb-badge { background: var(--yellow); }
.fb.warm .fb-badge i:first-child { left: 12px; top: 18px; width: 16px; height: 4px; border-radius: 2px; background: var(--ink); }
.fb.cold .fb-badge { background: var(--red); }
.fb.cold .fb-badge i { left: 11px; top: 18px; width: 18px; height: 4px; border-radius: 2px; background: var(--white); transform: rotate(45deg); }
.fb.cold .fb-badge i + i { transform: rotate(-45deg); }
.fb-label { font: 800 12px/1 var(--display); letter-spacing: .6px; text-transform: uppercase; }
.fb.best .fb-label, .fb.best .fb-title { color: var(--blue-d); }
.fb.cold .fb-label, .fb.cold .fb-title { color: var(--red-d); }
.fb-title { font: 900 23px/1.05 var(--display); font-stretch: 82%; }
.fb p { margin: 0; font-size: 16px; }
.fb.warm .cta { background: var(--yellow); color: var(--ink); box-shadow: 0 4px 0 var(--yellow-d); }
.fb.cold .cta { background: var(--red); box-shadow: 0 4px 0 var(--red-d); }
.retry { align-self: center; padding: 2px 8px; font: 800 15px/1 var(--display); font-stretch: 88%; text-transform: uppercase; letter-spacing: .6px; }

/* the end */
.end { display: flex; flex-direction: column; gap: 14px; padding: 0 16px 8px; }
.end-title { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; animation: rise .45s var(--ease) .15s both; }
.end-title h1 { font-size: 34px; line-height: 1; font-weight: 900; font-stretch: 78%; }
.recap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tile { display: flex; flex-direction: column; gap: 6px; padding: 12px 10px; border-radius: 16px; background: var(--g1); animation: pop .4s var(--ease) both; }
.tile:nth-child(2) { animation-delay: .1s; } .tile:nth-child(3) { animation-delay: .2s; }
.tile .dot { width: 14px; height: 14px; background: var(--g3); }
.tile .kick { font-size: 12px; }
.tile .tl { font: 900 18px/1.05 var(--display); font-stretch: 82%; }
.tile.best { background: var(--t-blue); } .tile.best .dot { background: var(--blue); } .tile.best .tl { color: var(--blue-d); }
.tile.warm { background: var(--t-yellow); } .tile.warm .dot { background: var(--yellow); }
.tile.cold { background: var(--t-red); } .tile.cold .dot { background: var(--red); } .tile.cold .tl { color: var(--red-d); }
.take { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 18px; background: var(--yellow); box-shadow: 0 4px 0 var(--yellow-d); font: 700 19px/1.25 var(--display); font-stretch: 90%; animation: rise .45s var(--ease) .4s both; }
.take .kick { color: var(--ink); font-size: 12px; }

/* what's next, and the email form */
.next { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; padding: 16px; border: 2px solid var(--g2); border-radius: 18px; box-shadow: 0 4px 0 var(--g2); animation: rise .45s var(--ease) .5s both; }
.next h2 { font-size: 23px; line-height: 1.08; font-weight: 900; font-stretch: 82%; }
.next p { margin: 0; color: var(--g5); font-size: 16px; }
.chips { display: flex; flex-direction: column; gap: 6px; }
.chip { display: flex; align-items: center; gap: 10px; font: 800 16px/1.15 var(--display); font-stretch: 88%; }
.chip .pic { width: 36px; height: 36px; border-radius: 10px; }
.field { width: 100%; height: 52px; padding: 0 14px; border: 2px solid var(--g2); border-radius: 14px; background: var(--g1); color: var(--ink); font: 17px system-ui, -apple-system, sans-serif; }
.field:focus { outline: none; border-color: var(--blue); background: var(--white); }
.tick { display: flex; gap: 10px; align-items: flex-start; color: var(--g5); font-size: 14px; line-height: 1.35; }
.tick input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--blue); }
.small { font-size: 13px !important; }
.small a { color: var(--g5); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reelcard { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border: 2px solid var(--g2); border-radius: 18px; box-shadow: 0 4px 0 var(--g2); color: var(--ink); text-decoration: none; transition: transform .08s, box-shadow .08s; }
.reelcard:active { transform: translateY(4px); box-shadow: none; }
.reelcard > span:last-child { display: flex; flex-direction: column; gap: 4px; }
.thumb { position: relative; flex: none; width: 62px; height: 110px; border-radius: 12px; overflow: hidden; background: var(--ink); }
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.thumb .play { left: 16px; top: 40px; right: auto; bottom: auto; width: 30px; height: 30px; }
.thumb .play::after { left: 11px; top: 8px; border-left-width: 10px; }
.rt { font: 800 18px/1.15 var(--display); font-stretch: 88%; }

/* reel pages */
.top { padding: max(14px, env(safe-area-inset-top)) 20px 10px; }
.back { display: flex; width: fit-content; align-items: center; gap: 8px; margin-bottom: 16px; color: var(--g5); text-decoration: none; font-size: 15px; }
.arrow { width: 9px; height: 9px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: rotate(45deg); }
.top h1 { font-size: 31px; line-height: 1.05; font-weight: 900; font-stretch: 80%; }
.sheet { padding: 8px 16px 8px; }
.vid { margin: 6px 0 16px; }
video { display: block; width: 100%; max-height: 74vh; max-height: 74dvh; border-radius: 18px; background: var(--ink); }
.reels { margin-top: 18px; }
.reels h3 { padding: 0 4px; margin-bottom: 10px; font-size: 20px; font-weight: 800; font-stretch: 86%; }
.strip { display: flex; gap: 10px; margin: 0 -16px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.strip::-webkit-scrollbar { display: none; }
.reel { position: relative; flex: none; width: 136px; aspect-ratio: 9 / 16; border-radius: 14px; overflow: hidden; background: var(--ink); scroll-snap-align: start; }
.reel img { display: block; width: 100%; height: 100%; object-fit: cover; }
.play { position: absolute; right: 9px; bottom: 9px; width: 34px; height: 34px; border-radius: 50%; background: var(--white); box-shadow: 0 2px 8px rgba(0, 0, 0, .25); }
.play::after { content: ''; position: absolute; left: 13px; top: 10px; border-left: 11px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.foot { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 22px 20px max(28px, env(safe-area-inset-bottom)); color: var(--g5); font-size: 14px; }
.foot a { color: var(--g5); }
.foot span { margin-left: auto; }

/* text pages */
.contact { display: flex; flex-direction: column; gap: 12px; margin-top: 10px; }
.field.area { height: auto; padding: 12px 14px; resize: vertical; font: 17px/1.4 system-ui, -apple-system, sans-serif; }
.text { padding: max(14px, env(safe-area-inset-top)) 20px 28px; font-size: 16px; }
.text h1 { font-size: 30px; font-weight: 900; font-stretch: 80%; margin-bottom: 10px; }
.text h2 { margin-top: 22px; font-size: 21px; }
.text a { color: var(--blue-d); }
table { border-collapse: collapse; width: 100%; margin: 0 0 18px; font-size: 15px; }
th, td { padding: 5px 8px; border-bottom: 1px solid var(--g2); text-align: right; }
th:first-child, td:first-child { text-align: left; }

/* on a laptop: the page sits like a phone screen in the middle */
@media (min-width: 600px) {
  body { padding: 32px 0; background: #1b1b1b; }
  .app, .game, .screen { min-height: 820px; }
  .wrap { min-height: 0; border-radius: 32px; overflow: hidden; box-shadow: 0 24px 70px rgba(0, 0, 0, .5); }
  .fb { position: absolute; }
  .dock { position: sticky; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
