/*
 * "Clock in": the page's own sheet. Colors come from shared/base.css only. Start and end, never left and right.
 *
 * The page is a stack of colored bands. Each band says one loud thing and holds one toy the visitor can use.
 * Parts every toy may use: .phone and .window (frames), the .ui-* atoms inside them (Siby's own rows, buttons and
 * badges, as design/looks/ draws them), .stamp, .team, .tags, .sticker, .nudge.
 */

html { scroll-behavior: smooth; scroll-padding-top: 84px; }
[hidden] { display: none !important; }
body { background: var(--navy); overflow-x: hidden; }
.skip { position: absolute; inset-inline-start: 12px; top: -80px; z-index: 100; padding: 10px 14px; border-radius: 10px; background: #fff; color: var(--navy); font-weight: 600; }
.skip:focus { top: 76px; }
.wrap { width: min(100% - 2 * var(--pad), 1180px); margin-inline: auto; }
:root { --pad: clamp(24px, 6vw, 96px); --band-r: clamp(28px, 4vw, 56px); }

/* ---------- The bands and their grounds ---------- */
.band { position: relative; padding-block: clamp(104px, 18vh, 220px) clamp(120px, 20vh, 240px); margin-top: calc(-1 * var(--band-r)); border-radius: var(--band-r) var(--band-r) 0 0; background: var(--bg); color: var(--fg); overflow: hidden; }
.bg-navy { --bg: var(--navy); --fg: #FFFFFF; --fg-2: var(--on-navy-2); --mark: var(--cyan); --chip: rgba(255, 255, 255, 0.1); --chip-fg: #FFFFFF; }
.bg-night { --bg: var(--night-ground); --fg: #FFFFFF; --fg-2: #B3B9C4; --mark: var(--cyan); --chip: rgba(255, 255, 255, 0.08); --chip-fg: #EAEDF2; }
.bg-white { --bg: var(--surface); --fg: var(--navy); --fg-2: #3D4672; --mark: var(--ink); --chip: var(--canvas); --chip-fg: var(--navy); }
.bg-soft { --bg: var(--canvas); --fg: var(--navy); --fg-2: #3D4672; --mark: var(--ink); --chip: var(--surface); --chip-fg: var(--navy); }

/* A part: its words, then the toy with the whole width and air around it, then what else is in there. */
.two { display: grid; gap: clamp(48px, 7vw, 104px); grid-template-columns: minmax(0, 1fr); }
.say-a { display: flex; flex-direction: column; gap: clamp(22px, 2.6vw, 34px); align-items: flex-start; }
.say-b { display: flex; flex-direction: column; gap: 30px; align-items: flex-start; }
.toy { position: relative; min-width: 0; }
@media (min-width: 900px) {
  /* Wide: the headline at the start, its paragraph beside it at the end, level with the headline's last line. */
  .say-a { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(48px, 7vw, 120px); row-gap: 30px; align-items: end; }
  .say-a > .stamp, .say-a > .kicker { grid-column: 1 / -1; justify-self: start; }
  .say-a > .h2, .say-a > .answer { grid-column: 1; }
  .say-a > .lead { grid-column: 2; grid-row: 2; padding-bottom: 0.35em; }
  #proof-clock .say-a > .lead { grid-row: 2 / span 2; }
  .pain .say-a > .place-list, .pain .say-a > .place-hint { grid-column: 2; }
  .say-b { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(48px, 7vw, 120px); row-gap: 28px; align-items: start; }
  .say-b > .more, .say-b > .team { grid-column: 1; }
  .say-b > .tags { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(3, minmax(0, max-content)); }
  .say-b > .price-act { grid-column: 2; grid-row: 1; }
  .say-b > .lead.strong { grid-column: 1 / -1; max-width: 34em; }
}
.toy-wait { font-size: 17px; line-height: 1.6; color: var(--fg-2); max-width: 34em; margin-inline: auto; padding: 24px; border-radius: 20px; background: var(--chip); }
.js .toy.ready > .toy-wait { display: none; }

/* ---------- Type ---------- */
.h2 { font-weight: 700; font-size: clamp(36px, 4.4vw, 66px); line-height: 1.02; letter-spacing: -0.03em; text-wrap: balance; }
.lead { font-size: clamp(17px, 1.3vw, 20px); line-height: 1.6; color: var(--fg-2); max-width: 27em; text-wrap: pretty; }
.lead.strong { color: var(--fg); font-weight: 600; }
.more { font-size: 16px; line-height: 1.55; color: var(--fg); font-weight: 600; max-width: 27em; }
.kicker { font-size: 13px; line-height: 16px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mark); }

/* The proof stamp: a dashed box that turns solid when the visitor has tried the toy. */
.stamp { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding-inline: 9px 14px; border-radius: 17px; border: 1.5px dashed currentColor; font: 500 12px/1 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mark); transition: background 240ms var(--ease-out), color 240ms var(--ease-out), border-color 240ms; }
.stamp i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid currentColor; display: grid; place-items: center; }
.stamp i::after { content: ''; width: 9px; height: 5px; border: solid currentColor; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform 260ms var(--ease-spring); }
.stamp.done { border-style: solid; background: var(--mark); border-color: var(--mark); color: var(--bg); animation: stamp-in 420ms var(--ease-spring); }
.stamp.done i::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
@keyframes stamp-in { 0% { transform: scale(1.5) rotate(-8deg); } 100% { transform: none; } }

/* "For your team": the same thing, said to the person who works the shift. */
.team { display: block; font-size: 16px; line-height: 1.55; color: var(--fg-2); max-width: 26em; padding-inline-start: 18px; border-inline-start: 2px solid var(--mark); }
.team b { display: block; font: 500 11px/16px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--mark); margin-bottom: 6px; }

/* Everything else that is in there. */
.tags { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: 12px 36px; }
.tags li { display: flex; align-items: baseline; gap: 10px; font: 500 15px/1.4 var(--sans); color: var(--fg-2); }
.tags li::before { content: ''; flex: none; width: 9px; height: 5px; border: solid var(--mark); border-width: 0 0 2px 2px; transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 420px) { .tags { grid-template-columns: minmax(0, 1fr); } }

.sticker { display: inline-block; padding: 12px 16px 13px; border-radius: 16px; background: var(--cyan); color: var(--on-cyan); font: 700 15px/1.2 var(--sans); letter-spacing: -0.01em; transform: rotate(-5deg); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, 0.45); }

/* A small cue beside a toy: "Hold to check in". */
.nudge { display: inline-flex; align-items: center; gap: 8px; font: 500 12px/16px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--mark); }
.nudge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: nudge 1.4s var(--ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.9); opacity: 0.35; } }

/* ---------- Frames ---------- */
.phone { display: block; flex: none; width: 318px; height: 652px; padding: 9px; border-radius: 46px; background: #0A1238; box-shadow: 0 40px 70px -30px rgba(10, 18, 56, 0.55), inset 0 0 0 1.5px rgba(255, 255, 255, 0.1); }
.phone > .screen { display: flex; flex-direction: column; gap: 10px; position: relative; width: 300px; height: 634px; border-radius: 37px; overflow: hidden; background: var(--canvas); padding: 14px 0 14px; }
.phone > .screen::before { content: ''; flex: none; align-self: center; width: 84px; height: 22px; border-radius: 11px; background: #0A1238; margin-bottom: 2px; }
.window { display: block; border-radius: 20px; overflow: hidden; background: var(--surface); color: var(--text); box-shadow: 0 40px 70px -34px rgba(10, 18, 56, 0.45), 0 0 0 1px rgba(10, 18, 56, 0.06); }
.window-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding-inline: 14px; background: var(--sunken); border-bottom: 1px solid var(--line); font: 500 12px/1 var(--mono); color: var(--text-3); }
.window-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line-strong); }
.window-bar span { margin-inline-start: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Siby's own parts, as the app draws them ---------- */
.ui { font: 400 14px/20px var(--sans); color: var(--text); text-align: start; }
.ui span, .ui b, .ui i { font-style: normal; }
.ui-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 16px 0; }
.ui-head > span:not(.ui-badge) { display: flex; flex-direction: column; min-width: 0; }
.ui-title { font: 700 23px/27px var(--sans); letter-spacing: -0.02em; color: var(--text); }
.ui-sub { display: block; font: 400 12px/16px var(--sans); color: var(--text-2); }
.ui-label { display: block; font: 600 12px/16px var(--sans); color: var(--text-3); padding: 4px 18px 0; margin-bottom: -4px; }
.ui-card { display: block; margin-inline: 12px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.ui-card.pad { padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; }
.ui-row { display: flex; align-items: center; gap: 11px; min-height: 54px; padding: 8px 12px; }
.ui-row.top { align-items: flex-start; }
.ui-row + .ui-row { border-top: 1px solid var(--line); }
.ui-row > span:not([class]) { display: flex; flex-direction: column; min-width: 0; flex: 1; align-items: flex-start; }
.ui-row b { font: 500 14px/19px var(--sans); color: var(--text); }
.ui-row span span { font: 400 12px/17px var(--sans); color: var(--text-2); }
.ui-end { margin-inline-start: auto; font: 500 13px/18px var(--mono); color: var(--text); white-space: nowrap; }
.ui-ico { flex: none; width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-tint); color: var(--accent-text); font: 600 15px/1 var(--sans); }
.ui-ico.ok { background: var(--ok-tint); color: var(--ok); } .ui-ico.warn { background: var(--warn-tint); color: var(--warn); } .ui-ico.bad { background: var(--bad-tint); color: var(--bad); }
.ui-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 44px; padding-inline: 16px; border-radius: 13px; background: var(--accent); color: var(--on-accent); font: 700 15px/1 var(--sans); white-space: nowrap; transition: transform 160ms var(--ease-spring), background 160ms linear, opacity 160ms linear; }
button.ui-btn:hover { transform: translateY(-1px); } button.ui-btn:active { transform: scale(0.97); }
.ui-btn.ghost { background: transparent; border: 1px solid var(--line-control); color: var(--text); font-weight: 600; }
.ui-btn.small { height: 32px; padding-inline: 12px; border-radius: 10px; font-size: 13px; }
.ui-btn.block { display: flex; margin-inline: 12px; }
.ui-btn[disabled] { opacity: 0.45; pointer-events: none; }
.ui-badge { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding-inline: 9px; border-radius: 12px; font: 600 12px/16px var(--sans); white-space: nowrap; flex: none; background: var(--ok-tint); color: var(--ok); }
.ui-badge i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ui-badge.warn { background: var(--warn-tint); color: var(--warn); } .ui-badge.bad { background: var(--bad-tint); color: var(--bad); }
.ui-badge.info { background: var(--accent-tint); color: var(--accent-text); } .ui-badge.quiet { background: var(--sunken); color: var(--text-2); }
.ui-check { flex: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-control); display: grid; place-items: center; transition: background 180ms, border-color 180ms; }
.ui-check.on { background: var(--ok-solid); border-color: var(--ok-solid); }
.ui-check.on::after { content: ''; width: 10px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.ui-step { display: flex; gap: 10px; font: 400 13px/18px var(--sans); color: var(--text); }
.ui-step i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-tint); color: var(--accent-text); display: grid; place-items: center; font: 600 11px/1 var(--mono); }
.ui-seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 3px; padding: 3px; margin-inline: 12px; border-radius: 12px; background: var(--sunken); }
.ui-seg button { height: 30px; border-radius: 9px; font: 500 13px/1 var(--sans); color: var(--text-2); }
.ui-seg button[aria-pressed='true'] { background: var(--surface); color: var(--text); font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1); }
.big-num { display: block; padding: 2px 16px 0; font: 400 15px/1.1 var(--sans); color: var(--text-2); }
.big-num b { font: 700 46px/1 var(--sans); letter-spacing: -0.04em; color: var(--text); }
.big-num .ui-sub { margin-top: 4px; }

/* ---------- The bar ---------- */
.bar { position: fixed; z-index: 60; top: 10px; inset-inline: 10px; margin-inline: auto; max-width: 1240px; height: 56px; display: flex; align-items: center; gap: 12px; padding-inline: 18px 7px; border-radius: 28px; background: rgba(19, 28, 84, 0.88); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); color: #fff; box-shadow: 0 12px 34px -12px rgba(5, 9, 34, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.bar .wordmark { width: 52px; height: 30px; flex: none; }
.bar-nav { display: none; gap: 26px; margin-inline-start: auto; font: 600 15px/1 var(--sans); }
.bar-nav a { text-decoration: none; color: var(--on-navy-2); transition: color 140ms; } .bar-nav a:hover { color: #fff; }
.bar-cta { display: none; min-height: 42px; padding-inline: 20px; font-size: 15px; border-radius: 21px; }
.bar-signin { order: 3; flex: none; font: 600 14px/1 var(--sans); color: #FFFFFF; text-decoration: none; padding: 10px 10px 10px 4px; }
.bar-signin:hover { color: var(--cyan); }
@media (min-width: 900px) { .bar-signin { display: none; } }
/* The link to the page's other language: in the bar's row on a wide screen, under the bar's end on a phone, and in the foot. */
.hero-language { position: absolute; z-index: 2; top: 78px; inset-inline-end: 22px; padding: 8px 6px; font: 600 14px/1 var(--sans); color: var(--on-navy-2); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 4px; }
.hero-language:hover { color: #fff; }
@media (min-width: 900px) { .hero-language { display: none; } }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding-inline: 12px 14px; border-radius: 19px; background: rgba(255, 255, 255, 0.1); font: 600 13px/1 var(--sans); color: #fff; margin-inline-start: auto; transition: background 160ms; }
.pill:hover { background: rgba(255, 255, 255, 0.16); }
.pill-dot { width: 9px; height: 9px; border-radius: 50%; background: #969CA6; flex: none; }
.pill.on .pill-dot { background: #35B276; box-shadow: 0 0 0 0 rgba(53, 178, 118, 0.7); animation: beat 1.8s ease-out infinite; }
@keyframes beat { 0% { box-shadow: 0 0 0 0 rgba(53, 178, 118, 0.7); } 100% { box-shadow: 0 0 0 10px rgba(53, 178, 118, 0); } }
.pill-time { font-weight: 500; font-size: 13px; color: var(--cyan-soft); min-width: 5ch; }
.pill-count { color: var(--on-navy-2); font-weight: 500; white-space: nowrap; } .pill-count b { color: #fff; font-weight: 700; }
.pill.bump { animation: bump 420ms var(--ease-spring); }
@keyframes bump { 40% { transform: scale(1.12); } }
@media (min-width: 900px) { .bar-nav { display: flex; } .bar-cta { display: inline-flex; } .pill { margin-inline-start: 6px; } .bar { padding-inline: 22px 7px; gap: 18px; } }

.log { position: fixed; z-index: 59; top: 74px; inset-inline: 10px; margin-inline: auto; max-width: 420px; padding: 18px 18px 16px; border-radius: 22px; background: #FFFFFF; color: var(--navy); box-shadow: 0 30px 60px -20px rgba(5, 9, 34, 0.5); }
.log[hidden] { display: none; }
.log-title { font: 700 17px/22px var(--sans); margin-bottom: 10px; }
.log-list { display: flex; flex-direction: column; gap: 7px; max-height: 44vh; overflow: auto; }
.log-list li { display: flex; gap: 12px; font: 400 14px/20px var(--sans); }
.log-list time { font: 500 13px/20px var(--mono); color: var(--ink); flex: none; min-width: 9ch; }
.log-note { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 13px; line-height: 18px; color: var(--text-2); }

/* ---------- 1. The claim ---------- */
.hero { position: relative; padding-top: clamp(136px, 18vh, 170px); padding-bottom: var(--band-r); color: #fff; background: var(--navy); overflow: hidden; overflow: clip; }
.hero::before { content: ''; position: absolute; inset-inline-end: -22vmax; top: -30vmax; width: 80vmax; height: 80vmax; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 191, 243, 0.22), rgba(44, 77, 208, 0.16) 55%, rgba(19, 28, 84, 0) 100%); pointer-events: none; }
.hero-in { position: relative; display: grid; gap: clamp(28px, 3.4vw, 48px); }
.hero-claim { display: grid; gap: clamp(18px, 2.4vw, 30px); font-size: clamp(46px, 12.4vw, 60px); }
.br-l { display: none; }
.hero-title { font-size: 1em; line-height: 0.94; letter-spacing: -0.045em; max-width: 12em; }
.hero-title em { font-style: normal; color: var(--cyan); display: inline-block; animation: best 760ms 350ms var(--ease-spring) both; }
@keyframes best { 0% { transform: scale(0.6) rotate(-6deg); opacity: 0; } 60% { transform: scale(1.14) rotate(2deg); opacity: 1; } 100% { transform: none; } }
.hero-sticker { justify-self: start; margin-block: 2px 6px; animation: drop 620ms 900ms var(--ease-spring) both; }
@keyframes drop { from { opacity: 0; transform: translateY(-40px) rotate(14deg) scale(0.7); } }
.hero-side { display: grid; gap: 28px; max-width: 34em; }
.hero-sub { font-size: clamp(18px, 1.4vw, 21px); line-height: 1.55; color: var(--on-navy-2); text-wrap: pretty; }
.hero-act, .price-act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
/* The two stores and the web sign-in: three quiet buttons of one shape, on the dark grounds only. No store's own
   artwork is drawn here; the names are written. */
.stores { display: flex; flex-wrap: wrap; gap: 10px; }
.store { display: inline-flex; align-items: center; gap: 12px; min-height: 54px; padding: 8px 20px 8px 15px; border-radius: 16px; border: 1.5px solid rgba(255, 255, 255, 0.26); color: #FFFFFF; text-decoration: none; transition: border-color 140ms linear, background 140ms linear, transform 180ms var(--ease-spring); }
.store:hover { border-color: var(--cyan); background: rgba(255, 255, 255, 0.06); transform: translateY(-2px); }
.store svg { flex: none; color: var(--cyan-soft); }
.store span { display: grid; }
.store small { font: 500 11px/14px var(--sans); color: var(--on-navy-2); }
.store b { font: 700 17px/21px var(--sans); letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 520px) { .stores { display: grid; grid-template-columns: 1fr 1fr; } .store { padding-inline: 12px 12px; gap: 10px; } .store.web { grid-column: 1 / -1; } .store b { font-size: 16px; } }
.hero-note { font-size: 14px; line-height: 20px; color: var(--fg-2, var(--on-navy-2)); }
.hero .cta, .report .cta, .price .cta { min-height: 60px; padding-inline: 32px; font-size: 19px; border-radius: 18px; }
@media (min-width: 700px) {
  .hero { padding-top: clamp(104px, 13vh, 140px); }
  /* The headline keeps its three lines at every width, and the sticker sits in the space its last, short line leaves. */
  .hero-claim { --claim: clamp(60px, 8.1vw, 140px); position: relative; display: block; font-size: var(--claim); }
  .br-l { display: inline; }
  .hero-title { max-width: none; text-wrap: wrap; white-space: nowrap; }
  .hero-in { gap: clamp(26px, 2.6vw, 38px); }
  .hero-sticker { position: absolute; inset-inline-start: calc(var(--claim) * 5.5); bottom: calc(var(--claim) * -0.16); margin: 0; font-size: max(13px, calc(var(--claim) * 0.18)); padding: 0.75em 1em 0.8em; transform: rotate(5deg); }
  .hero-side { max-width: none; grid-template-columns: minmax(0, 30em) auto; align-items: center; justify-content: start; gap: clamp(36px, 6vw, 96px); }
  .hero-act { flex-direction: column; align-items: flex-start; gap: 10px; }
}

/* The seven screens: a row that drifts by itself, and stops under a finger or a pointer. */
.lineup { position: relative; margin-top: clamp(44px, 4.4vw, 68px); overflow: hidden; padding-block: 44px 0; }
.lineup::-webkit-scrollbar { display: none; }
.lineup-row { display: flex; gap: clamp(28px, 4vw, 64px); width: max-content; padding-inline: var(--pad); will-change: transform; }
.shot { position: relative; display: block; text-decoration: none; zoom: 0.72; transition: transform 320ms var(--ease-spring); }
.shot:nth-child(odd) { transform: rotate(-2.2deg) translateY(10px); } .shot:nth-child(even) { transform: rotate(1.8deg) translateY(34px); }
.shot:hover, .shot:focus-visible { transform: rotate(0) translateY(-10px); }
.shot .phone { margin-bottom: -150px; }
.shot-tag { position: absolute; z-index: 2; top: -30px; inset-inline-start: 22px; height: 44px; padding-inline: 18px; display: inline-flex; align-items: center; border-radius: 22px; background: #FFFFFF; color: var(--navy); font: 700 20px/1 var(--sans); letter-spacing: -0.01em; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.5); transform: rotate(-3deg); white-space: nowrap; }
.shot:nth-child(even) .shot-tag { background: var(--cyan); color: var(--on-cyan); transform: rotate(2.5deg); }
@media (min-width: 900px) { .shot { zoom: 0.9; } .shot .phone { margin-bottom: -210px; } }

.mini-grid { display: grid; grid-template-columns: 74px repeat(3, minmax(0, 1fr)); gap: 4px; padding-inline: 12px; font: 500 11px/14px var(--sans); }
.mg-h { display: flex; flex-direction: column; justify-content: center; height: 44px; padding-inline: 7px; font: 400 11px/14px var(--sans); color: var(--text-2); }
.mg-h b { font: 600 20px/22px var(--sans); letter-spacing: -0.5px; color: var(--text); } .mg-h.today, .mg-h.today b { color: var(--accent); }
.mg-sec { grid-column: 1 / -1; font: 600 12px/22px var(--sans); color: var(--text-2); }
.mg-r { display: flex; flex-direction: column; justify-content: center; font: 400 10px/13px var(--mono); color: var(--text-2); }
.mg-r b { font: 600 12px/15px var(--sans); color: var(--text); }
.mg-c { display: flex; flex-direction: column; justify-content: center; min-height: 50px; padding: 4px 7px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); color: var(--text); }
.mg-c.mine { background: var(--mine-bg); border-color: var(--mine-edge); color: var(--mine-text); }
.mg-c.open { background: none; border-style: dashed; border-color: var(--open-edge); color: var(--open-text); }
.mini-av { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; padding-inline: 14px; }
.ma-h { text-align: center; font: 500 11px/16px var(--sans); color: var(--text-2); }
.ma-l { grid-column: 1 / -1; margin-top: 6px; font: 600 13px/18px var(--sans); color: var(--text); }
.ma-c { display: grid; place-items: center; height: 46px; border-radius: 10px; font: 600 15px/1 var(--sans); }
.ma-c.ok { background: var(--ok-tint); color: var(--ok); } .ma-c.star { background: var(--warn-tint); color: var(--warn); } .ma-c.no { background: var(--bad-tint); color: var(--bad); }
.mini-av-note { padding-inline: 16px; }
.mini-say { align-self: flex-end; margin-inline: 12px; padding: 9px 13px; border-radius: 16px 16px 4px 16px; background: var(--cyan); color: var(--on-cyan); font: 600 14px/19px var(--sans); }
.mini-card { gap: 9px; }
.mini-nums { display: flex; gap: 20px; }
.mini-nums span { display: grid; font: 400 11px/15px var(--sans); color: var(--text-2); }
.mini-nums b { font: 700 24px/1 var(--sans); color: var(--text); }
.mini-line { font: 400 13px/18px var(--sans); color: var(--text); }
.mini-card .ui-btn { justify-self: start; align-self: flex-start; }
.mini-chips { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; padding-inline: 12px; }
.mini-chips span { padding: 8px 13px; border-radius: 18px; border: 1px solid var(--line-control); font: 600 13px/1.2 var(--sans); color: var(--text); }
.console { padding: 14px; display: flex; flex-direction: column; background: rgba(27, 35, 64, 0.82); border-color: rgba(255, 255, 255, 0.14); }
.console-top { display: flex; align-items: center; justify-content: space-between; }
.console-top b { display: block; font: 600 14px/20px var(--sans); color: #fff; }
.arc { display: block; width: 100%; height: auto; margin-top: 6px; overflow: visible; }
.console-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.glow.screen::before { background: #1B2340; }

/* The news ticker: straight, along the bottom of the first screen while that screen is in view, then at its end. */
.ticker { position: sticky; bottom: 0; z-index: 4; display: flex; align-items: stretch; height: 52px; background: var(--cyan); color: var(--on-cyan); }
.ticker-label { flex: none; display: flex; align-items: center; gap: 10px; padding-inline: clamp(14px, 2.2vw, 28px); background: var(--on-cyan); color: #FFFFFF; font: 700 14px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
.ticker-label i { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); animation: blink 1.4s steps(1, end) infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.ticker-run { flex: 1; min-width: 0; display: flex; align-items: center; overflow: hidden; }
.ticker-row { display: flex; align-items: center; gap: 24px; padding-inline-end: 24px; width: max-content; font: 600 16px/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; animation: slide 46s linear infinite; }
.ticker-row i { flex: none; width: 6px; height: 6px; background: currentColor; }
.ticker-time { flex: none; display: flex; align-items: center; padding-inline: clamp(12px, 1.8vw, 22px); background: var(--on-cyan); color: var(--cyan-soft); font-size: 14px; font-weight: 500; white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }
[dir='rtl'] .ticker-row { animation-direction: reverse; }
@media (max-width: 560px) { .ticker { height: 44px; } .ticker-label { font-size: 12px; } .ticker-row { font-size: 14px; gap: 18px; padding-inline-end: 18px; } .ticker-time { font-size: 12px; } }

/* ---------- 2. The night before ---------- */
.pain .h2 { max-width: 12em; text-wrap: wrap; }
.place-word { display: inline; font: inherit; font-weight: 700; color: var(--fg); border-radius: 10px; padding: 0 0.28em 0.04em; background: rgba(255, 255, 255, 0.7); box-shadow: inset 0 -2px 0 var(--mark); transition: background 160ms, transform 200ms var(--ease-spring); }
.place-word::after { content: ''; display: inline-block; width: 0.42em; height: 0.42em; margin-inline-start: 0.36em; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-0.18em) rotate(45deg); }
.place-word:hover { background: #fff; transform: rotate(-1.5deg) scale(1.03); }
.place-list { display: flex; flex-wrap: wrap; gap: 8px; }
.place-list[hidden] { display: none; }
.place-list li { height: 40px; padding-inline: 16px; display: inline-flex; align-items: center; border-radius: 20px; background: #fff; color: var(--navy); font: 600 16px/1 var(--sans); cursor: pointer; box-shadow: 0 6px 14px -8px rgba(19, 28, 84, 0.5); animation: pop 360ms var(--ease-spring) both; }
.place-list li:nth-child(2) { animation-delay: 40ms; } .place-list li:nth-child(3) { animation-delay: 80ms; } .place-list li:nth-child(4) { animation-delay: 120ms; } .place-list li:nth-child(5) { animation-delay: 160ms; }
.place-list li[aria-selected='true'] { background: var(--navy); color: #fff; }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } }
.place-hint { font-size: 12px; line-height: 16px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mark); }

/* ---------- Proof 2 wears the night ---------- */
#proof-clock .aura { top: -30vmax; inset-inline-end: -26vmax; }
.answer { font-size: clamp(36px, 4.4vw, 66px); line-height: 1.02; color: var(--cyan); margin-top: -10px; }
.price .h2 em { font-style: normal; color: var(--cyan); }

/* ---------- 11. The report ---------- */
.report { padding-bottom: clamp(130px, 20vh, 240px); }
.report .aura { bottom: -34vmax; inset-inline-start: -20vmax; }
.report .wrap { position: relative; display: grid; gap: 30px; }
.report-title { max-width: 11em; }
.report-grid { display: grid; gap: clamp(48px, 8vw, 120px); margin-top: clamp(24px, 3vw, 48px); align-items: start; }
@media (min-width: 900px) { .report-grid { grid-template-columns: minmax(0, 440px) minmax(0, 1fr); } }
.report-card { position: relative; border-radius: 24px; padding: 28px 14px 24px; background: rgba(27, 35, 64, 0.82); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6); display: flex; flex-direction: column; gap: 18px; }
.report-head { display: flex; flex-direction: column; gap: 2px; padding-inline: 14px; }
.report-head b { font: 700 22px/26px var(--sans); letter-spacing: -0.02em; color: #fff; } .report-head span { font-size: 13px; color: var(--text-2); }
.report-sec { padding-inline: 14px; display: grid; gap: 5px; }
.report-label { font: 600 12px/16px var(--sans); color: var(--text-3); }
.report-val { font: 500 16px/22px var(--sans); color: #fff; } .report-dim { color: var(--text-2); font-weight: 400; font-size: 14px; }
.report-tasks, .report-nums { display: grid; gap: 6px; font-size: 14px; line-height: 20px; color: var(--text); }
.report-tasks li { display: flex; align-items: center; gap: 9px; } .report-tasks li i { flex: none; width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--line-control); display: grid; place-items: center; }
.report-tasks li.done i { background: var(--ok-solid); border-color: var(--ok-solid); } .report-tasks li.done i::after { content: ''; width: 8px; height: 4px; border: solid #06122B; border-width: 0 0 2px 2px; transform: translateY(-1px) rotate(-45deg); }
.report-tasks li time { margin-inline-start: auto; font: 500 12px/18px var(--mono); color: var(--text-2); } .report-tasks li.todo { color: var(--text-3); }
.report-nums li { display: flex; justify-content: space-between; gap: 12px; } .report-nums li b { font: 500 14px/20px var(--mono); color: #fff; }
.follow { display: flex; align-items: center; gap: 9px; color: var(--cyan-soft); } .follow i { width: 18px; height: 18px; border-radius: 6px; border: 1.5px solid var(--cyan); animation: nudge 1.6s var(--ease-in-out) infinite; }
.report-sign { margin-top: 4px; height: 50px; font-size: 16px; }
.report-small { padding-inline: 14px; font-size: 12px; line-height: 17px; color: var(--text-3); }
.report-card.signed .report-sign { background: var(--ok-tint); color: var(--ok); pointer-events: none; }
.report-card.signed::after { content: 'Signed'; position: absolute; top: 18px; inset-inline-end: 16px; padding: 6px 12px; border: 2px solid var(--ok); border-radius: 10px; color: var(--ok); font: 700 14px/1 var(--mono); letter-spacing: 0.08em; text-transform: uppercase; transform: rotate(8deg); animation: stamp-in 420ms var(--ease-spring); }
.report-act { display: grid; gap: 30px; align-content: start; }
.report-line { font-size: clamp(52px, 7vw, 120px); line-height: 0.92; color: var(--cyan); }
.report-second { font-size: 16px; color: var(--fg-2); }

/* ---------- The foot ---------- */
.foot { position: relative; margin-top: calc(-1 * var(--band-r)); border-radius: var(--band-r) var(--band-r) 0 0; background: var(--navy); color: #fff; padding-block: clamp(90px, 12vw, 160px) 130px; overflow: hidden; }
.foot .wrap { position: relative; display: grid; gap: clamp(48px, 6vw, 88px); }
.retire { margin-bottom: clamp(64px, 9vw, 128px); overflow: hidden; }
.retire-label { padding-inline: var(--pad); margin-bottom: 14px; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--cyan-soft); }
.retire-row { display: flex; gap: clamp(36px, 5vw, 80px); padding-inline-end: clamp(36px, 5vw, 80px); width: max-content; white-space: nowrap; font: 700 clamp(24px, 3vw, 44px)/1.1 var(--sans); letter-spacing: -0.03em; color: var(--on-navy-2); animation: slide 44s linear infinite; }
.retire-row s { text-decoration-color: var(--cyan); text-decoration-thickness: 0.09em; }
[dir='rtl'] .retire-row { animation-direction: reverse; }
.foot-line { font-size: clamp(34px, 4.6vw, 72px); line-height: 1; max-width: 13em; }
.foot-row { display: grid; gap: 30px; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; font: 600 17px/1.2 var(--sans); } .foot-nav a { text-decoration: none; } .foot-nav a:hover { color: var(--cyan); }
.foot-small { font-size: 14px; line-height: 21px; color: var(--on-navy-2); max-width: 46em; }
.foot-panda { position: absolute; inset-inline-end: 0; bottom: -76px; width: clamp(110px, 14vw, 190px); }
.foot-off { position: absolute; inset-inline-end: clamp(120px, 15vw, 204px); bottom: -62px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--on-navy-2); }

/* ---------- The dock (phones) and the toasts ---------- */
.dock { position: fixed; z-index: 55; inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); transform: translateY(140%); transition: transform 380ms var(--ease-spring); }
.dock.show { transform: none; }
.dock .cta { display: flex; min-height: 56px; font-size: 18px; border-radius: 18px; box-shadow: 0 16px 34px -10px rgba(0, 120, 190, 0.7), 0 0 0 4px rgba(19, 28, 84, 0.35); }
@media (min-width: 900px) { .dock { display: none; } }
.toasts { position: fixed; z-index: 70; inset-inline: 0; top: 76px; display: grid; justify-items: center; gap: 8px; pointer-events: none; padding-inline: 12px; }
.toast { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 9px 16px 9px 12px; border-radius: 22px; background: #FFFFFF; color: var(--navy); font: 600 15px/20px var(--sans); box-shadow: 0 18px 40px -14px rgba(5, 9, 34, 0.55); animation: toast-in 420ms var(--ease-spring) both; max-width: 100%; }
.toast::before { content: ''; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ok-solid) radial-gradient(circle at 50% 50%, #fff 0 0) no-repeat; background-size: 0 0; }
.toast i { font-style: normal; font: 500 13px/20px var(--mono); color: var(--ink); }
.toast.out { animation: toast-out 260ms var(--ease-in-out) both; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-18px) scale(0.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(-12px) scale(0.96); } }

/* Confetti: the team's own avatar colors. */
.bit { position: fixed; z-index: 80; width: 12px; height: 12px; border-radius: 50%; pointer-events: none; }

/* What comes into view rises once. */
.js .rise { opacity: 0; transform: translateY(26px); transition: opacity 520ms var(--ease-out), transform 620ms var(--ease-out); }
.js .rise.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .ticker-row, .retire-row, .ticker-label i { animation: none; }
  .js .rise { opacity: 1; transform: none; }
}
