/* The home page, the sign-in page and the onboarding page. Colors and fonts come from app.css,
   the shared pieces (buttons, the email sheet, the option list) from games.css. Phone first. */

/* top line */
.nav { border-bottom: 1px solid var(--line); padding-bottom: 10px; }
.nav .kicker { margin: 0; }
.acct { font: 700 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--text);
        border: 1px solid var(--line); padding: 7px 12px; clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px); background: rgba(23,20,43,.9); }
.acct.in { color: #06231b; background: var(--teal); border-color: var(--teal); }
.acct[hidden] { display: none; }

/* hero */
.hero { padding: 26px 0 8px; }
.live { display: flex; align-items: center; gap: 8px; font: 700 12px var(--mono); letter-spacing: .06em; color: var(--teal); min-height: 2.6em; }
.live i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(255,92,92,.6); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(255,92,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,92,92,0); } }
.hero h1 { font-size: clamp(52px, 16vw, 84px); line-height: .9; margin: 6px 0 14px; }
.hero h1 em { font-style: normal; color: var(--amber); display: block; }
.hero .btn.big { clip-path: polygon(16px 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px) 100%, 0 100%, 0 16px); border-radius: 0; }
.facts { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); background: rgba(23,20,43,.7); }
.facts li { padding: 10px 6px; text-align: center; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--dim); }
.facts li + li { border-left: 1px solid var(--line); }
.facts b { display: block; font: 800 34px/1 var(--disp); color: var(--text); letter-spacing: 0; }

/* try one now */
.try { margin-top: 26px; }
.tag.small { font-size: 15px; color: var(--dim); margin-bottom: 14px; }
.try .card2 { margin: 8px 7px 0; }
.try .part { cursor: default; }
.calls.flat { position: static; margin: 20px 0 0; }
.try .btn { border-radius: 0; clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }

/* game cards: a small drawing on the right, made of plain shapes */
.home .game { border-radius: 0; padding: 16px 104px 14px 16px; min-height: 148px; overflow: hidden;
              clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 0 100%); }
.home .game .num { letter-spacing: .08em; }
.home .game .best { display: inline-block; margin: 10px 0 0 10px; font: 700 12px var(--mono); color: var(--teal); }
.home .game .best[hidden] { display: none; }
.art { position: absolute; right: 14px; top: 22px; width: 78px; height: 96px; }
.art i { position: absolute; display: block; }
/* War Room: a desk screen with log lines and one alarm line */
.a-room { border: 2px solid var(--amber); background: #0e0c1c; }
.a-room i { left: 8px; height: 4px; background: #4a4570; }
.a-room i:nth-child(1) { top: 14px; width: 46px; } .a-room i:nth-child(2) { top: 28px; width: 58px; }
.a-room i:nth-child(3) { top: 42px; width: 52px; background: var(--red); animation: blink 1.4s steps(2) infinite; }
.a-room i:nth-child(4) { top: 56px; width: 34px; }
/* Second Look: a pale email with one marked line */
.a-mail { background: #f5f3fb; box-shadow: 0 0 0 2px var(--teal); }
.a-mail i { left: 8px; height: 4px; background: #b9b3d8; }
.a-mail i:nth-child(1) { top: 12px; width: 40px; background: #17142b; } .a-mail i:nth-child(2) { top: 30px; width: 60px; }
.a-mail i:nth-child(3) { top: 44px; width: 60px; height: 10px; background: #ffd0c9; box-shadow: inset 3px 0 0 #e2483d; }
.a-mail i:nth-child(4) { top: 64px; width: 44px; }
/* Hidden Orders: a page with a line only the assistant can see */
.a-ai { background: #17142b; box-shadow: 0 0 0 2px #9f8cff; }
.a-ai i { left: 8px; height: 4px; background: #4a4570; }
.a-ai i:nth-child(1) { top: 14px; width: 56px; } .a-ai i:nth-child(2) { top: 28px; width: 48px; }
.a-ai i:nth-child(3) { top: 42px; width: 60px; background: none; border-top: 2px dashed #9f8cff; animation: blink 2s steps(2) infinite; }
.a-ai i:nth-child(4) { top: 56px; width: 40px; }
@keyframes blink { 50% { opacity: .25; } }

/* how a round works */
.how { list-style: none; padding: 0; margin: 8px 0 0; counter-reset: s; display: grid; gap: 8px; }
.how li { counter-increment: s; position: relative; padding: 12px 12px 12px 58px; border: 1px solid var(--line); background: rgba(23,20,43,.7); }
.how li::before { content: "0" counter(s); position: absolute; left: 12px; top: 10px; font: 800 30px/1 var(--disp); color: var(--amber); }
.how b { display: block; font: 800 20px var(--disp); letter-spacing: .04em; text-transform: uppercase; }
.how span { font-size: 15px; color: var(--dim); }
.real { list-style: none; padding: 0; margin: 8px 0 0; }
.real li { padding: 8px 0 8px 22px; position: relative; font-size: 15px; border-bottom: 1px solid var(--line); }
.real li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 9px; height: 9px; background: var(--teal); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

/* sign-in strip */
.join { margin-top: 24px; padding: 16px; border: 1px solid var(--teal); background: rgba(61,219,176,.07); }
.join[hidden] { display: none; }
.join b { display: block; font: 800 26px/1 var(--disp); text-transform: uppercase; margin-bottom: 4px; }
.join span { font-size: 15px; color: var(--dim); }

/* sign-in and onboarding forms */
.lab2 { display: block; font: 700 12px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); margin: 16px 0 6px; }
.field { display: block; width: 100%; font: 400 18px var(--body); color: var(--text); background: #0e0c1c; border: 1.5px solid var(--line); border-radius: 0; padding: 14px 12px; outline: none; }
.field:focus { border-color: var(--teal); }
.field.code { font: 700 26px var(--mono); letter-spacing: .2em; text-align: center; }
.or { text-align: center; font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--dim); margin: 16px 0 0; }
.or[hidden], form[hidden], section[hidden] { display: none; }
.gbtn { border-color: var(--text); font-size: 19px; }
.bar.ob { height: 5px; border-radius: 0; background: #1b1830; margin: 10px 0 14px; } .bar.ob i { background: var(--amber); }
.ob-step h1 { font-size: 44px; }
.brief2 { border: 1px solid var(--line); background: rgba(23,20,43,.8); padding: 6px 14px; margin: 6px 0 4px; }
.brief2 p { margin: 10px 0; font-size: 16px; }
.brief2 b { display: block; font: 700 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--amber); }
@media (prefers-reduced-motion: reduce) { .live i, .art i { animation: none !important; } }
