/* WhoKnowsNan: the site's own rules, on the look's kit (look.css). */
:root { --t-size: 1.0625rem; --gold: #b8323c; }
::selection { background: var(--accent); color: #fff; }
html { scrollbar-color: #000 #f0f0f0; }
body { caret-color: var(--accent); font-variant-numeric: tabular-nums; }
.num { font-family: var(--text); }
a { text-decoration-thickness: 1px; }
.i-box { border-radius: 0; background: transparent; color: var(--ink); width: auto; height: auto; justify-content: start; }
.i-box .i { width: 2rem; height: 2rem; }

/* the bar */
.top { position: sticky; top: 0; z-index: 20; background: #fff; }
.top .brand img { width: 36px; height: 36px; border-radius: 50%; }
.top .acts { display: flex; align-items: center; gap: .4rem; }
.top .acts a.plain { color: var(--ink); text-decoration: none; font-weight: 600; padding: .7rem .8rem; }
.top .acts a.plain:hover { color: var(--accent); }
.top .btn { min-height: 44px; padding: 0 1.1em; }
@media (max-width: 420px) { .top .brand span { display: none; } .top .btn { padding: 0 .9em; } }

/* the first screen */
.hero { padding-block: clamp(1.5rem, 4vw, 3rem) 0; text-align: center; }
.hero h1 { font-size: clamp(1.9rem, 5.4vw, 5rem); max-width: 22ch; margin-inline: auto; margin-bottom: .3em; }
.hero .sub { font-size: clamp(1.05rem, 1.6vw, 1.3rem); max-width: 54ch; margin: 0 auto 1.4rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1.2rem; margin-bottom: clamp(1.5rem, 3vw, 2.4rem); }
.cta .note { color: var(--ink-2); font-weight: 500; display: inline-flex; align-items: center; gap: .4em; }
.stage { position: relative; }
.stage .tvwrap { max-height: 600px; overflow: hidden; }

/* the quiz screen as it looks on the TV */
.tv { text-align: left; border: 2px solid #000; border-radius: 0; }
.tv > .bar { background: #000; color: #fff; border-bottom: 0; justify-content: space-between; font-family: var(--text); font-size: .85rem; letter-spacing: 0; padding: .75em 1.1em; }
.tv > .bar b { color: #fff; }
.tv .grid12 { display: grid; grid-template-columns: 1fr; }
.tv .qpane { padding: clamp(1rem, 2.5vw, 2rem); }
.tv .qhead { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.tv .qtext { font-size: clamp(1.35rem, 2.6vw, 2.3rem); font-weight: 700; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 .5rem; max-width: 22ch; }
.tv .clock { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 800; line-height: .8; letter-spacing: -0.06em; color: var(--accent); }
.tv .credit { font-size: .8rem; color: var(--ink-2); margin: .2rem 0 1rem; }
.opts { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.opts li { display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; background: var(--bg-2); font-weight: 600; line-height: 1.25; min-height: 3.2rem; }
.opts li .l { flex: none; width: 2rem; height: 2rem; display: grid; place-items: center; background: #000; color: #fff; font-weight: 800; }
.opts li.right { background: var(--accent); color: #fff; }
.opts li.right .l { background: #fff; color: var(--accent); }
.opts li .n { margin-left: auto; font-weight: 800; }
.board { padding: clamp(1rem, 2.5vw, 2rem); background: var(--bg-2); }
.board h3 { font-size: 1rem; letter-spacing: 0; margin-bottom: .8rem; }
.board ol { list-style: none; margin: 0; padding: 0; }
.board li { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: .2rem 1rem; padding: .55rem 0; border-top: 2px solid #000; }
.board li .who { font-weight: 700; }
.board li .pts { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; letter-spacing: -0.05em; line-height: .9; }
.board li svg { grid-column: 1 / -1; width: 100%; height: 18px; }
.board li:first-child .pts { color: var(--accent); }
.board .tag { font-size: .8rem; color: var(--ink-2); margin-top: .8rem; }
@media (min-width: 860px) {
  .tv .grid12 { grid-template-columns: 8fr 4fr; }
  .opts { grid-template-columns: 1fr 1fr; }
}

/* sections */
.sec-head { display: grid; gap: .6rem 2rem; margin-bottom: clamp(1.6rem, 4vw, 3rem); }
.sec-head h2 { margin: 0; max-width: 16ch; }
.sec-head p { margin: 0; font-size: 1.1rem; max-width: 46ch; }
@media (min-width: 860px) { .sec-head { grid-template-columns: 7fr 5fr; align-items: end; } }

/* what sets it apart: a memory becomes a question */
#what { background: var(--bg-2); }
.turn { display: grid; gap: 1rem; background: #fff; padding: clamp(1rem, 2.5vw, 1.8rem); height: 100%; }
.turn .said { display: grid; gap: .3rem; }
.turn .said small { color: var(--ink-2); font-weight: 600; display: flex; align-items: center; gap: .4em; }
.turn .said q { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; quotes: "“" "”"; }
.turn .arrow { display: flex; align-items: center; gap: .5rem; color: var(--accent); font-weight: 700; font-size: .95rem; }
.turn .ask { font-size: 1.15rem; font-weight: 700; line-height: 1.2; margin: 0; }
.turn .opts li { min-height: 2.6rem; padding: .45rem .6rem; font-size: .95rem; }
.turn .opts li .l { width: 1.6rem; height: 1.6rem; font-size: .85rem; }
#what .carousel { --slide: min(88%, 420px); }
.what-grid { display: grid; gap: var(--gap); }
.what-grid > * { min-width: 0; }
.carousel-dots { gap: 0; }
.carousel-dots button { width: 44px; height: 44px; background: transparent; display: grid; place-items: center; border-radius: 0; }
.carousel-dots button::after { content: ""; width: 8px; height: 8px; background: #b5b5b5; transition: width .3s cubic-bezier(.22, 1, .36, 1), background .3s; }
.carousel-dots button[aria-current="true"] { width: 44px; background: transparent; }
.carousel-dots button[aria-current="true"]::after { width: 24px; background: var(--accent); }
p, li, summary { text-wrap: pretty; }
.top .brand { min-height: 44px; }
.foot .links a, .more, .alt a, #show-forgot { display: inline-block; padding-block: .7rem; }
.board .h { font-size: 1rem; font-weight: 700; margin: 0 0 .8rem; }
.doc-head { display: grid; gap: clamp(1.5rem, 4vw, 3rem); margin-bottom: 1rem; }
@media (min-width: 960px) { .doc-head { grid-template-columns: 7fr 5fr; align-items: end; } }
.doc-body { max-width: 760px; }
.what-fig { display: grid; gap: 1.2rem; align-content: start; }
.what-fig .big-num { color: var(--accent); }
.what-fig p { margin: 0; font-size: 1.1rem; }
@media (min-width: 960px) { .what-grid { grid-template-columns: 4fr 8fr; align-items: start; } #what .carousel { --slide: calc(50% - var(--gap) / 2); } }

/* how it works */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(1.6rem, 4vw, 2.4rem); }
.steps li { border-top: 3px solid #000; padding-top: 1.1rem; display: grid; gap: .5rem; align-content: start; }
.steps .fig { font-size: clamp(3.4rem, 7vw, 5.6rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; }
.steps .fig small { font-size: .32em; letter-spacing: -0.01em; font-weight: 700; margin-left: .15em; }
.steps h3 { margin: .4rem 0 0; display: flex; align-items: center; gap: .5rem; }
.steps p { margin: 0; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* price and questions */
#price { padding-top: 0; }
.price-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.plan { border-top: 3px solid #000; padding-top: 1.2rem; }
.plan .amount { display: flex; align-items: baseline; gap: .4rem; }
.plan .amount .big-num { font-size: clamp(5rem, 13vw, 9rem); }
.plan .amount span { font-size: 1.2rem; font-weight: 700; }
.plan ul { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: .55rem; }
.plan li { display: flex; gap: .6rem; align-items: start; }
.plan li .i { color: var(--accent); margin-top: .15em; }
.plan .small { color: var(--ink-2); font-size: .95rem; margin-top: .8rem; }
#faq h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
details { border-top: 2px solid #000; }
details:last-of-type { border-bottom: 2px solid #000; }
summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; font-weight: 700; font-size: 1.1rem; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 0; top: .7rem; font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
details p { margin: 0 0 1.1rem; }
.more { display: inline-flex; align-items: center; gap: .4em; margin-top: 1.2rem; font-weight: 700; }
@media (min-width: 960px) { .price-grid { grid-template-columns: 5fr 7fr; } }

/* the band */
.band { background: #000; color: #fff; }
.band .wrap { display: grid; gap: 1.4rem; align-items: center; }
.band h2 { margin: 0; color: #fff; max-width: 18ch; }
@media (min-width: 860px) { .band .wrap { grid-template-columns: 1fr auto; } }

/* the footer */
footer { border-top: 0; background: #fff; color: var(--ink); padding-block: 2.5rem 3rem; }
.foot { display: grid; gap: 1rem; }
.foot .name { font-size: clamp(2.6rem, 9vw, 7rem); font-weight: 800; letter-spacing: -0.06em; line-height: .85; }
.foot .links { display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; align-items: center; }
.foot a { color: var(--ink); }
.syng-legal-links a { color: var(--ink); }

/* plain pages: questions, accounts */
.doc { padding-block: clamp(2rem, 6vw, 5rem); }
.doc h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.doc h2 { margin-top: 2.5rem; }
.doc .lead { font-size: 1.2rem; max-width: 56ch; }
.qa-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 960px) { .qa-grid { grid-template-columns: 7fr 5fr; } }
.aside { background: var(--bg-2); padding: var(--pad); align-self: start; }
.aside h2 { margin-top: 0; font-size: 1.5rem; }
.aside ul { padding-left: 1.1rem; }

.auth { padding-block: clamp(2rem, 7vw, 5rem); }
.auth h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.auth form { margin-top: 1.4rem; }
.auth .btn { width: 100%; }
.auth .alt { margin-top: 1.2rem; }
.msg { min-height: 1.5em; margin: .6rem 0; }
.check { display: flex; gap: .6rem; align-items: start; font-weight: 400; }
.check input { width: auto; min-height: 0; margin-top: .3rem; }

/* the app */
.app-top .acts a.plain[aria-current="page"] { color: var(--accent); }
.app-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 1rem; margin-bottom: 1.5rem; }
.app-head h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); margin: 0; }
.panelish { background: var(--bg-2); padding: var(--pad); }
.form-grid { display: grid; gap: 0 1rem; }
@media (min-width: 720px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-grid .full { grid-column: 1 / -1; } }
.hint { color: var(--ink-2); font-size: .92rem; font-weight: 400; }
.games { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.games li a { display: grid; grid-template-columns: 1fr auto; gap: .2rem 1rem; padding: 1.1rem 0; border-top: 2px solid #000; color: var(--ink); text-decoration: none; }
.games li a:hover .gname { color: var(--accent); }
.games .gname { font-size: 1.4rem; font-weight: 800; letter-spacing: -0.03em; }
.games .gcount { font-size: 2rem; font-weight: 800; letter-spacing: -0.05em; text-align: right; line-height: 1; }
.games .gmeta { color: var(--ink-2); }
.rels { list-style: none; margin: 0; padding: 0; }
.rels li { display: grid; grid-template-columns: 1fr auto; gap: .4rem 1rem; align-items: center; padding: .8rem 0; border-top: 2px solid #000; }
.rels .rn { font-weight: 700; font-size: 1.1rem; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.rels .rbtns { display: flex; gap: .4rem; }
.rels .rlink { grid-column: 1 / -1; font-size: .85rem; color: var(--ink-2); word-break: break-all; }
.btn.sm { min-height: 40px; padding: 0 .9em; font-size: .92rem; }
.badge { border-radius: 0; border-color: #000; background: #fff; }
.badge.yes { background: #000; color: #fff; border-color: #000; }
.badge.on { background: var(--accent); }
.cols-2 { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 960px) { .cols-2 { grid-template-columns: 7fr 5fr; } }
.stat { display: flex; align-items: baseline; gap: .5rem; }
.stat .big-num { font-size: clamp(3.5rem, 8vw, 6rem); color: var(--accent); }
.round { margin-top: 1.6rem; }
.round h3 { display: flex; align-items: center; gap: .5rem; border-top: 3px solid #000; padding-top: .8rem; }
.round .link { color: var(--ink-2); font-style: italic; }
.qitem { padding: .9rem 0; border-top: 1px solid #cfcfcf; }
.qitem .qq { font-weight: 700; margin: 0 0 .5rem; }
.qitem .opts li { min-height: 2.4rem; padding: .4rem .6rem; font-size: .95rem; font-weight: 500; }
.qitem .opts li .l { width: 1.5rem; height: 1.5rem; font-size: .8rem; }
.hide-answers .opts li.right { background: var(--bg-2); color: var(--ink); }
.hide-answers .opts li.right .l { background: #000; color: #fff; }
.hide-answers .byline { visibility: hidden; }
.byline { font-size: .85rem; color: var(--ink-2); margin-top: .4rem; }
.wabox { background: #fff; padding: 1rem; border-left: 0; white-space: pre-wrap; font-size: .95rem; }
.row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.empty { padding: 2rem 0; display: grid; gap: .8rem; justify-items: start; }
.trialbox { background: #000; color: #fff; padding: var(--pad); display: grid; gap: .8rem; }
.trialbox h3 { margin: 0; color: #fff; }
.trialbox p { margin: 0; }
.danger { color: var(--bad); }
.btn.dark { background: #000; color: #fff; }
.toast { position: fixed; left: 50%; bottom: 1.2rem; transform: translateX(-50%); background: #000; color: #fff; padding: .7rem 1.1rem; font-weight: 600; z-index: 60; }

/* relatives' answers page and the phone player */
.phone-page { padding-block: 1.5rem 3rem; }
.phone-page h1 { font-size: clamp(2rem, 8vw, 3rem); }
.big-opts { list-style: none; padding: 0; margin: 1rem 0; display: grid; gap: .6rem; }
.big-opts button { width: 100%; display: flex; align-items: center; gap: .8rem; text-align: left; min-height: 4rem; padding: .7rem .9rem; background: var(--bg-2); border: 2px solid transparent; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.big-opts button .l { flex: none; width: 2.2rem; height: 2.2rem; display: grid; place-items: center; background: #000; color: #fff; font-weight: 800; }
.big-opts button[aria-pressed="true"] { border-color: var(--accent); background: #fff; }
.big-opts button[aria-pressed="true"] .l { background: var(--accent); }
.big-opts button:disabled { cursor: default; }
.big-opts button.right { background: var(--accent); color: #fff; }
.me-score { display: flex; justify-content: space-between; align-items: end; border-top: 3px solid #000; padding-top: .8rem; margin-top: 1rem; }
.me-score .big-num { font-size: 3.4rem; }
.wait { display: grid; gap: .8rem; padding: 2rem 0; }
.code-input { font-size: 2rem; font-weight: 800; letter-spacing: .3em; text-transform: uppercase; text-align: center; }

/* the show on the TV */
.show { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; background: #fff; }
.show-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--gutter); background: #000; color: #fff; font-weight: 600; }
.show-top img { width: 32px; height: 32px; border-radius: 50%; }
.show-top .brand { color: #fff; display: flex; gap: .5rem; align-items: center; text-decoration: none; font-weight: 800; }
.show-main { padding: clamp(1rem, 3vw, 3rem) var(--gutter); display: grid; align-content: center; }
.show-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem var(--gutter); border-top: 2px solid #000; }
.show h1 { font-size: clamp(2.4rem, 6vw, 6rem); max-width: 20ch; }
.show .qtext { font-size: clamp(1.8rem, 4vw, 4rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.035em; max-width: 26ch; margin: 0 0 1rem; }
.show .quote { font-size: clamp(1.2rem, 2.2vw, 2rem); font-weight: 500; max-width: 50ch; margin: 0 0 1.4rem; }
.show .opts { gap: .8rem; }
.show .opts li { font-size: clamp(1.1rem, 2vw, 1.8rem); min-height: 5rem; padding: 1rem 1.2rem; }
.show .opts li .l { width: 3rem; height: 3rem; font-size: 1.4rem; }
.show .opts li.dim { opacity: .45; }
.show .clock { font-size: clamp(4rem, 9vw, 9rem); font-weight: 800; line-height: .8; letter-spacing: -0.06em; color: var(--accent); }
.timebar { height: 8px; background: var(--bg-2); margin: 1rem 0 1.4rem; }
.timebar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; }
.lobby { display: grid; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
@media (min-width: 900px) { .lobby { grid-template-columns: auto 1fr; } }
.qr { background: #fff; padding: 12px; border: 2px solid #000; width: min(60vw, 340px); }
.qr svg { width: 100%; height: auto; }
.joincode { font-size: clamp(3rem, 8vw, 7rem); font-weight: 800; letter-spacing: .06em; line-height: .9; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: 1rem 0 0; }
.chips li { padding: .45rem .8rem; background: #000; color: #fff; font-weight: 700; font-size: 1.1rem; }
.chips li.off { background: var(--bg-2); color: var(--ink-2); }
.leader { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; max-width: 900px; }
.leader li { display: grid; grid-template-columns: 3rem 1fr auto; gap: 1rem; align-items: center; padding: .6rem 0; border-top: 2px solid #000; font-size: clamp(1.2rem, 2.4vw, 2rem); font-weight: 700; }
.leader li .rk { font-weight: 800; color: var(--ink-2); }
.leader li .sc { font-weight: 800; letter-spacing: -0.04em; }
.leader li:first-child .sc, .leader li:first-child .rk { color: var(--accent); }
.leader .barline { grid-column: 2 / -1; height: 8px; background: var(--bg-2); }
.leader .barline i { display: block; height: 100%; background: #000; }
.leader li:first-child .barline i { background: var(--accent); }
.crown { color: var(--accent); }
.crown .i { width: 4rem; height: 4rem; }
.cert canvas { width: 100%; max-width: 640px; height: auto; border: 2px solid #000; display: block; }
.judge { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.voided { font-weight: 800; color: var(--accent); font-size: 1.3rem; }
.kbd { font-size: .9rem; color: var(--ink-2); }

/* the demo */
.demo-start { display: grid; gap: 1rem; }
@media (min-width: 720px) { .demo-start .form-grid { grid-template-columns: 2fr 1fr; } }
.demo-play .qtext { font-size: clamp(1.5rem, 4vw, 2.6rem); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 .8rem; max-width: 26ch; }
.demo-play .quote { font-size: 1.15rem; margin: 0 0 .6rem; max-width: 60ch; }
.progress-dots { display: flex; gap: .3rem; margin-bottom: 1rem; }
.progress-dots i { width: 2rem; height: 6px; background: var(--bg-2); }
.progress-dots i.done { background: #000; }
.progress-dots i.now { background: var(--accent); }
