/* Binqo website */

:root {
  --bg: #08090B;
  --panel: #111216;
  --ink: #FFFFFF;
  --muted: rgba(255, 255, 255, .64);
  --faint: rgba(255, 255, 255, .45);
  --line: rgba(255, 255, 255, .07);
  --accent: #5CB2FF;
  --accent-ink: #04121F;
  --radius: 26px;
  --max: 1240px;
  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; overflow-x: clip; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Geist, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  /* clip, unlike hidden, also stops wide glows from widening the page on phones */
  overflow-x: clip;
}

a { color: var(--accent); }
a:hover { color: #A8D6FF; }
img, canvas { display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: 'Geist Mono', ui-monospace, monospace; }
.doto { font-family: Doto, 'Geist Mono', monospace; font-weight: 900; }
.eyebrow { font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h1, h2, h3 { margin: 0; }
h2 { font-size: clamp(32px, 4.4vw, 52px); letter-spacing: -1.2px; line-height: 1.05; }
p { margin: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 15px 24px;
  font: 600 16px Geist, system-ui, sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .25s cubic-bezier(.34, 1.56, .64, 1), background-color .2s ease, box-shadow .3s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(.96); }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 700; box-shadow: 0 10px 40px rgba(92, 178, 255, .35); }
.btn-primary:hover { color: var(--accent-ink); }
.btn-ghost { background: rgba(255, 255, 255, .08); color: var(--ink); }
.btn-ghost:hover { color: var(--ink); }
.btn-white { background: #FFFFFF; color: #000000; padding: 8px 15px; font-size: 14px; }
.btn-white:hover { color: #000000; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(8, 9, 11, .8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-header nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 12px; padding-bottom: 12px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--ink); }
.brand .doto { font-size: 24px; }
.app-icon { border-radius: 9px; background: #000000; display: grid; place-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); }
.nav-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; font-size: 14px; }
.nav-links a:not(.btn) { color: rgba(255, 255, 255, .7); text-decoration: none; }
.nav-links a:not(.btn):hover { color: #FFFFFF; }

/* Glow */
.glow { position: absolute; left: 50%; width: min(1100px, 240vw); height: 620px; border-radius: 50%; background: var(--accent); filter: blur(170px); opacity: .32; pointer-events: none; animation: glow 6s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .38; transform: translateX(-50%) scale(1); } 50% { opacity: .62; transform: translateX(-50%) scale(1.08); } }

.wall { background-color: #0E0F12; background-image: radial-gradient(rgba(255, 255, 255, .07) 1px, transparent 1.5px); background-size: 20px 20px; }

/* Hero */
.hero { position: relative; padding: 28px 24px 0; }
.hero .glow { top: 120px; }
.screen { position: relative; max-width: var(--max); margin: 0 auto; border-radius: 30px; overflow: hidden; box-shadow: 0 50px 140px rgba(0, 0, 0, .65), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.menubar { height: 30px; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; background: rgba(0, 0, 0, .35); font-size: 12px; color: rgba(255, 255, 255, .82); }
.menubar .left, .menubar .right { display: flex; gap: 16px; align-items: center; }
.menubar .right { gap: 14px; font-variant-numeric: tabular-nums; }

.notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  background: #000000; overflow: hidden; z-index: 3; cursor: pointer;
  width: 30%; height: 30px; border-radius: 0 0 12px 12px;
  transition: width .65s cubic-bezier(.34, 1.3, .5, 1), height .65s cubic-bezier(.34, 1.3, .5, 1), border-radius .5s ease, box-shadow .4s ease;
}
.notch[data-phase="peek"] { width: 62%; height: 92px; border-radius: 0 0 24px 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.notch[data-phase="open"] { width: 64%; height: 196px; border-radius: 0 0 30px 30px; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.notch .view { display: none; animation: up .5s cubic-bezier(.2, .9, .3, 1) both; }
.notch[data-phase="compact"] .view-compact,
.notch[data-phase="peek"] .view-peek,
.notch[data-phase="open"] .view-open { display: flex; }
.view-compact { height: 30px; align-items: center; justify-content: space-between; padding: 0 14px; }
.view-peek { padding: 36px 16px 0; align-items: center; gap: 12px; }
.view-open { padding: 38px 18px 16px; gap: 16px; align-items: flex-start; }
.tag { font-family: 'Geist Mono', monospace; font-size: 9px; letter-spacing: 1px; color: var(--accent); }
.pill { background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; padding: 7px 12px; border-radius: 999px; white-space: nowrap; }
.bubble { align-self: flex-end; background: rgba(255, 255, 255, .1); border-radius: 14px 14px 4px 14px; padding: 6px 11px; font-size: 12px; }
@keyframes up { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hero-copy { position: relative; padding: clamp(110px, 14vw, 170px) 24px clamp(70px, 9vw, 110px); display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
.hero-copy h1 { font-size: clamp(96px, 17vw, 220px); line-height: .82; letter-spacing: 2px; }
.hero-copy .lede { font-size: clamp(18px, 2.2vw, 24px); color: rgba(255, 255, 255, .78); max-width: 620px; line-height: 1.4; }
.hero-copy .actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.fine { font-size: 13px; color: rgba(255, 255, 255, .5); }

.float { position: absolute; background: rgba(16, 17, 21, .92); border-radius: 18px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; box-shadow: 0 18px 40px rgba(0, 0, 0, .5), inset 0 0 0 1px rgba(255, 255, 255, .08); animation: float 6s ease-in-out infinite; text-align: left; }
.float.keys { background: none; box-shadow: none; padding: 0; gap: 6px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
.key { background: #1A1B20; border-radius: 10px; padding: 9px 13px; font-size: 14px; font-weight: 600; box-shadow: 0 4px 0 #000000, inset 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .12s ease, box-shadow .12s ease; }
.key.wide { padding: 9px 30px; font-size: 13px; }
.key.down { transform: translateY(3px); box-shadow: 0 1px 0 #000000, inset 0 0 0 1px rgba(255, 255, 255, .1); }

/* Sections */
section.block { padding: 100px 0 30px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 30px; }
.section-head h2 { margin-top: 12px; }

.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.tile { background: var(--panel); border-radius: var(--radius); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); transition: transform .35s cubic-bezier(.34, 1.56, .64, 1), box-shadow .3s ease; overflow: hidden; }
.tile:hover { transform: translateY(-3px); box-shadow: inset 0 0 0 1px rgba(92, 178, 255, .35); }
.step-copy { padding: 24px 24px 0; display: flex; flex-direction: column; gap: 8px; }
.step-copy h3 { font-size: 20px; }
.step-copy p { font-size: 14px; color: var(--muted); line-height: 1.5; }
.step-art { height: 170px; display: flex; align-items: center; justify-content: center; flex-direction: column; gap: 18px; }
.grow-demo { position: relative; height: 170px; margin: 18px; border-radius: 18px; overflow: hidden; }
.grow-demo .mini-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); background: #000000; border-radius: 0 0 14px 14px; animation: grow 3.6s cubic-bezier(.34, 1.3, .5, 1) infinite; }
.grow-demo svg { position: absolute; left: 56%; top: 70px; }
@keyframes grow { 0%, 20% { width: 28%; height: 14px; } 45%, 80% { width: 70%; height: 54px; } 100% { width: 28%; height: 14px; } }

/* Tabs showcase */
.tabs { display: flex; flex-wrap: wrap; gap: 6px; padding: 5px; background: var(--panel); border-radius: 999px; width: fit-content; max-width: 100%; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.tabs button { border: 0; border-radius: 999px; padding: 10px 16px; background: transparent; color: rgba(255, 255, 255, .75); font: 600 14px Geist, system-ui, sans-serif; cursor: pointer; transition: background-color .25s ease, color .25s ease; }
.tabs button[aria-selected="true"] { background: #FFFFFF; color: #000000; }
.showcase { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.stage { flex: 1 1 640px; min-width: 0; position: relative; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .55); }
.stage .panel { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(86%, 760px); background: #000000; border-radius: 0 0 34px 34px; padding: 20px 22px 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .6); animation: drop .7s cubic-bezier(.34, 1.3, .5, 1) both; }
@keyframes drop { from { transform: translate(-50%, -40px); opacity: 0; } to { transform: translate(-50%, 0); opacity: 1; } }
.stage-caption { position: absolute; left: 22px; bottom: 18px; font-family: Doto, monospace; font-weight: 900; font-size: clamp(22px, 3vw, 34px); opacity: .9; }
.tab-copy { flex: 1 1 240px; display: flex; flex-direction: column; gap: 12px; padding-top: 8px; animation: up .5s ease both; }
.tab-copy h3 { font-size: 24px; letter-spacing: -.4px; }
.tab-copy p { font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
.tab-copy li { list-style: none; display: flex; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, .82); margin-bottom: 8px; }
.tab-copy li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 7px; flex-shrink: 0; }
.tab-copy ul { padding: 0; margin: 4px 0 0; }

.card { background: rgba(255, 255, 255, .06); border-radius: 18px; padding: 14px; }
.row { display: flex; gap: 14px; }
.col { display: flex; flex-direction: column; gap: 8px; }
.small { font-size: 12px; color: var(--muted); }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bento .tile { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.bento .span2 { grid-column: span 2; }
.bento h3 { font-size: 22px; }
.bento .span2 h3 { font-size: 26px; letter-spacing: -.5px; }
.bento p { font-size: 14px; color: var(--muted); line-height: 1.5; max-width: 480px; }
.label { font-family: 'Geist Mono', monospace; font-size: 11px; letter-spacing: 1.5px; color: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { background: rgba(255, 255, 255, .07); color: #FFFFFF; border-radius: 12px; padding: 7px 11px; font-size: 13px; font-weight: 600; border: 0; font-family: inherit; transition: background-color .3s ease, color .3s ease; }
.chip.on { background: #FFFFFF; color: #000000; }
.files { display: flex; gap: 8px; margin-top: auto; }
.file { flex: 1; background: rgba(255, 255, 255, .05); border-radius: 14px; padding: 10px; display: flex; flex-direction: column; gap: 8px; font-size: 11px; color: rgba(255, 255, 255, .7); min-width: 0; }
.file i { width: 26px; height: 32px; border-radius: 5px; display: block; }
.focus-tile { flex-direction: row !important; flex-wrap: wrap; align-items: center; gap: 26px !important; }
.ring { position: relative; width: 170px; height: 170px; flex-shrink: 0; }
.ring .doto { position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; }

/* Meet */
.meet { background: #000000; border-radius: 36px; padding: clamp(28px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px; align-items: center; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.meet .face-wrap { flex: 1 1 320px; display: flex; justify-content: center; }
.meet .copy { flex: 1 1 380px; display: flex; flex-direction: column; gap: 20px; }
.meet h2 { font-family: Doto, monospace; font-weight: 900; font-size: clamp(64px, 9vw, 112px); line-height: .85; letter-spacing: 0; }
.meet .copy > p { font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, .72); }
.mood-chips button { border: 0; border-radius: 999px; padding: 8px 14px; background: rgba(255, 255, 255, .08); color: #FFFFFF; font: 600 13px Geist, system-ui, sans-serif; cursor: pointer; transition: background-color .25s ease, color .25s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.mood-chips button:active { transform: scale(.94); }
.mood-chips button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; padding: 100px 24px 30px; }
.faq h2 { margin-bottom: 14px; font-size: clamp(30px, 4vw, 44px); }
.faq details { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 0; display: flex; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .3s cubic-bezier(.34, 1.56, .64, 1); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 18px; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .68); }

/* Download */
.download { position: relative; overflow: hidden; padding: 120px 24px 130px; }
.download .glow { bottom: -340px; opacity: .32; animation-duration: 7s; }
.download .inner { position: relative; max-width: 640px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 22px; text-align: center; }
.big-icon { width: 128px; height: 128px; border-radius: 32px; background: #000000; display: grid; place-items: center; box-shadow: 0 30px 70px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .12), 0 0 80px rgba(92, 178, 255, .25); }
.download h2 { font-size: clamp(36px, 5vw, 56px); }
.download p { font-size: 18px; color: rgba(255, 255, 255, .7); }

/* Launch film under the hero */
.film { padding-top: 64px; display: flex; flex-direction: column; gap: 22px; }
.film-head { margin-bottom: 8px; }
.new-badge { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; padding: 5px 14px 5px 5px; border-radius: 999px; background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .12); color: #FFFFFF; font-size: 13px; font-weight: 500; text-decoration: none; transition: background-color .2s ease; }
.new-badge:hover { background: rgba(255, 255, 255, .12); }
@media (max-width: 640px) and (orientation: portrait) {
  .film-frame.launch-film video { aspect-ratio: 9 / 16; max-height: 82vh; object-fit: cover; }
}
.film-frame { position: relative; border-radius: var(--radius); overflow: hidden; background: #000000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 100px rgba(0, 0, 0, .6), 0 0 120px rgba(92, 178, 255, .12); }
.film-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.film-sound { position: absolute; right: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 10px 16px; background: rgba(0, 0, 0, .6); color: #FFFFFF; font: 600 14px Geist, system-ui, sans-serif; cursor: pointer; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); transition: background-color .2s ease, transform .25s cubic-bezier(.34, 1.56, .64, 1); }
.film-sound:hover { background: rgba(0, 0, 0, .8); }
.film-sound:active { transform: scale(.95); }
.film-sound[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.desk-film { margin-bottom: 36px; }
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.why li { display: flex; flex-direction: column; gap: 6px; border-top: 2px solid var(--accent); padding-top: 12px; }
.why b { font-size: 17px; }
.why span { font-size: 14px; color: var(--muted); line-height: 1.5; }
/* The desk: the app window, drawn at 1300×820 and scaled to fit (see app.js) */
.dk-stage { position: relative; margin-top: 22px; width: 100%; height: calc(820px * var(--s, .5)); border-radius: 22px; overflow: hidden; box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 40px 100px rgba(0, 0, 0, .6); }
.dk-scaler { position: absolute; left: 0; top: 0; width: 1300px; height: 820px; transform-origin: 0 0; transform: scale(var(--s, .5)) translateX(var(--x, 0px)); }
.dk-win { position: absolute; inset: 0; overflow: hidden; color: #121316; font-family: Geist, system-ui, sans-serif; background-color: #F5F6F8; background-image: radial-gradient(rgba(17, 19, 22, .13) 1px, transparent 1.4px); background-size: 20px 20px; animation: up .45s ease both; }
.dk-win[hidden] { display: none; }
.dk-win p { margin: 0; }
.dk-lights { position: absolute; left: 18px; top: 17px; display: flex; gap: 8px; }
.dk-lights i { width: 12px; height: 12px; border-radius: 50%; background: #FF5F57; }
.dk-lights i + i { background: #FEBC2E; }
.dk-lights i + i + i { background: #28C840; }
.dk-nav { position: absolute; top: 0; left: 50%; transform: translateX(-50%); display: flex; align-items: flex-start; }
.dk-ear { width: 14px; height: 14px; }
.dk-ear.l { background: radial-gradient(circle at 0 100%, transparent 13.5px, #0B0C0F 14px); }
.dk-ear.r { background: radial-gradient(circle at 100% 100%, transparent 13.5px, #0B0C0F 14px); }
.dk-nav-in { height: 46px; padding: 0 16px; display: flex; align-items: center; gap: 4px; background: #0B0C0F; border-radius: 0 0 22px 22px; }
.dk-nav-in canvas { margin-right: 8px; }
.dk-nav-in b { position: relative; padding: 0 13px; font-size: 14px; font-weight: 500; color: rgba(255, 255, 255, .62); }
.dk-nav-in b.on { color: #FFFFFF; }
.dk-nav-in b.on::after { content: ""; position: absolute; left: 50%; bottom: -11px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #5CB2FF; }
.dk-word { font-family: Doto, monospace; font-weight: 900; font-size: 26px; line-height: 1; letter-spacing: .5px; margin-bottom: 6px; }
.dk-word.sm { font-size: 19px; color: #7A5AF8; margin-bottom: 8px; }
.dk-eyebrow { display: block; font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 500; letter-spacing: 1.5px; color: #5CB2FF; }
.dk-clock { display: block; font-family: Doto, monospace; font-weight: 900; font-size: 44px; line-height: 1; margin-top: 4px; }
.dk-btn { display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 18px; border-radius: 999px; font-size: 14px; font-weight: 700; white-space: nowrap; }
.dk-btn.sky { background: #5CB2FF; color: #04121F; }
.dk-btn.white { background: #FFFFFF; color: #121316; }
.dk-btn.line { align-self: flex-start; background: #FFFFFF; color: #121316; box-shadow: inset 0 0 0 1px #E6E8EB; }
.grow { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.grow b { font-size: 21px; }
.grow small { font-size: 13px; color: rgba(255, 255, 255, .65); }

/* Meetings list and page stacks */
.dk-list { position: absolute; left: 28px; top: 84px; width: 236px; display: flex; flex-direction: column; gap: 8px; }
.dk-row { display: flex; gap: 10px; padding: 9px 12px; border-radius: 11px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E6E8EB; }
.dk-row .t { width: 44px; padding-top: 1px; font-family: 'Geist Mono', monospace; font-size: 11px; color: #8A8E96; }
.dk-row span:last-child { display: flex; flex-direction: column; gap: 2px; }
.dk-row b { font-size: 13px; font-weight: 500; }
.dk-row small { font-size: 11px; color: #8A8E96; }
.dk-row small.has { color: #1F6FD1; }
.dk-row.on { background: #0B0C0F; box-shadow: none; color: #FFFFFF; }
.dk-row.on .t, .dk-row.on small { color: rgba(255, 255, 255, .6); }
.dk-row.on b { font-weight: 700; }
.dk-chip { padding: 10px 14px; border-radius: 11px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E6E8EB; font-size: 14px; }
.dk-chip.on { background: #0B0C0F; color: #FFFFFF; font-weight: 700; box-shadow: none; }

/* A meeting */
.dk-main { position: absolute; left: 290px; right: 40px; top: 84px; bottom: 28px; display: flex; flex-direction: column; gap: 14px; }
.dk-head { display: flex; align-items: center; gap: 22px; padding: 18px 24px; border-radius: 22px; background: #0B0C0F; color: #FFFFFF; }
.dk-pills { display: flex; gap: 4px; }
.dk-pills span { height: 32px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E6E8EB; font-size: 13px; font-weight: 600; }
.dk-pills span.on { background: #0B0C0F; color: #FFFFFF; box-shadow: none; }
.dk-notes { display: flex; flex-direction: column; gap: 18px; }
.dk-tldr { display: flex; gap: 16px; padding: 16px 18px; border-radius: 18px; background: #EEF4FC; font-size: 16px; font-weight: 500; line-height: 1.45; }
.dk-tldr canvas, .dk-a canvas { flex: none; padding: 6px; border-radius: 12px; background: #0B0C0F; align-self: flex-start; }
.dk-tldr span { display: block; margin-bottom: 4px; font-family: 'Geist Mono', monospace; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #1F6FD1; }
.dk-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; }
.dk-cols > div { display: flex; flex-direction: column; gap: 9px; }
.dk-check, .dk-todo { display: flex; align-items: baseline; gap: 10px; font-size: 14px; line-height: 1.4; }
.dk-check::before { content: "✓"; flex: none; width: 15px; height: 15px; border-radius: 50%; background: #1F6FD1; color: #FFFFFF; font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transform: translateY(2px); }
.dk-todo::before { content: "✓"; flex: none; width: 14px; height: 14px; border-radius: 4px; background: #1F6FD1; color: #FFFFFF; font-size: 9px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; transform: translateY(2px); }
.dk-todo i { font-style: normal; font-size: 11px; font-weight: 600; padding: 2px 7px; border-radius: 999px; background: rgba(95, 99, 107, .1); color: #5F636B; }
.dk-todo i.p { background: rgba(122, 90, 248, .1); color: #7A5AF8; }
.dk-mine { font-size: 14px; font-weight: 600; }
.dk-add { display: flex; gap: 8px; margin-bottom: 6px !important; font-size: 13px; line-height: 1.45; color: #5F636B; }
.dk-add::before { content: ""; flex: none; width: 5px; height: 5px; margin-top: 6px; border-radius: 50%; background: #5CB2FF; }

/* Recording */
.dk-rec { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); font-family: 'Geist Mono', monospace; font-size: 13px; font-weight: 600; }
.dk-rec .dot { width: 9px; height: 9px; border-radius: 50%; background: #FF5A5F; animation: dk-pulse 1.6s ease-in-out infinite; }
.dk-rec .lv { display: inline-flex; gap: 2px; }
.dk-rec .lv i { width: 4px; height: 4px; border-radius: 50%; background: #5CB2FF; opacity: .2; animation: dk-lv 1.1s ease-in-out infinite; }
.dk-rec .lv.them i { background: #B9A6FF; animation-duration: 1.5s; }
.dk-rec .lv i:nth-child(1) { opacity: 1; animation: none; }
.dk-rec .lv i:nth-child(3) { animation-delay: .15s; }
.dk-rec .lv i:nth-child(4) { animation-delay: .3s; }
.dk-rec .lv i:nth-child(5) { animation-delay: .45s; }
@keyframes dk-pulse { 50% { opacity: .35; } }
@keyframes dk-lv { 50% { opacity: 1; } }
.dk-split { flex: 1; min-height: 0; display: flex; gap: 18px; }
.dk-page, .dk-sheet { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 30px 40px; border-radius: 22px; background: #FFFFFF; box-shadow: 0 10px 30px rgba(17, 19, 22, .06), inset 0 0 0 1px #E6E8EB; }
.dk-title { font-family: ui-rounded, 'SF Pro Rounded', Geist, system-ui, sans-serif; font-size: 40px; font-weight: 800; letter-spacing: -.5px; }
.dk-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-size: 13px; color: #8A8E96; }
.dk-meta span { padding: 4px 10px; border-radius: 999px; background: #EEF0F3; color: #2A2D33; font-weight: 600; }
.dk-h { font-size: 22px; font-weight: 700; margin-top: 6px; }
.dk-bullet { display: flex; gap: 12px; font-size: 17px; line-height: 1.45; }
.dk-bullet::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; border-radius: 50%; background: #5CB2FF; }
.caret { display: inline-block; width: 2px; height: 20px; margin-left: 2px; vertical-align: -4px; background: #1F6FD1; animation: dk-caret 1s steps(1) infinite; }
@keyframes dk-caret { 50% { opacity: 0; } }
.dk-panel { width: 330px; flex: none; display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E6E8EB; }
.dk-panel-head { display: flex; justify-content: space-between; align-items: center; }
.dk-panel-head small { font-size: 11px; color: #8A8E96; font-weight: 500; }
.dk-said { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.45; }
.dk-said b { font-size: 10px; font-weight: 700; color: #7A5AF8; }
.dk-said.you b { color: #1F6FD1; }
.dk-said b i { font-style: normal; font-weight: 400; font-family: 'Geist Mono', monospace; color: #8A8E96; margin-left: 4px; }
.dk-said.live { opacity: .55; }

/* A page with Mielo's answer above the ask bar */
.dk-sheet { position: absolute; inset: 0 0 0 0; }
.dk-todo-line { display: flex; align-items: center; gap: 12px; font-size: 17px; }
.dk-todo-line::before { content: ""; width: 16px; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px #B9BDC5; }
.dk-todo-line.done { color: #8A8E96; text-decoration: line-through; }
.dk-todo-line.done::before { background: #1F6FD1; box-shadow: none; }
.dk-answer { position: absolute; left: 50%; bottom: 82px; width: 640px; margin-left: -320px; padding: 16px; border-radius: 24px; background: rgba(245, 246, 248, .97); box-shadow: 0 30px 60px rgba(17, 19, 22, .18); animation: up .5s .15s ease both; }
.dk-q { font-size: 21px; font-weight: 700; margin: 4px 4px 12px; }
.dk-a { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #FFFFFF; box-shadow: inset 0 0 0 1px #E6E8EB; }
.dk-a > div { display: flex; flex-direction: column; gap: 12px; }
.dk-a p { font-size: 15px; line-height: 1.55; }
.dk-a sup { display: inline-block; margin: 0 1px 0 4px; padding: 0 4px; border-radius: 3px; background: rgba(122, 90, 248, .12); color: #7A5AF8; font-size: 10px; font-weight: 700; line-height: 15px; vertical-align: 5px; }
.dk-cites { display: flex; flex-wrap: wrap; gap: 6px; }
.dk-cites span { display: inline-flex; align-items: center; gap: 6px; height: 27px; padding: 0 10px 0 5px; border-radius: 999px; background: #F5F6F8; box-shadow: inset 0 0 0 1px #E6E8EB; font-size: 12px; font-weight: 600; }
.dk-cites i { width: 17px; height: 17px; border-radius: 50%; background: #7A5AF8; color: #FFFFFF; font-style: normal; font-size: 10px; display: inline-flex; align-items: center; justify-content: center; }
.dk-cites small { font-weight: 400; font-size: 11px; color: #8A8E96; }
.dk-a .faint { font-size: 11px; color: #8A8E96; }
.dk-dock { position: absolute; left: 50%; bottom: 0; width: 590px; margin-left: -295px; height: 68px; display: flex; align-items: center; gap: 10px; padding: 0 27px 0 36px; background: #0B0C0F; border-radius: 22px 22px 0 0; color: #FFFFFF; font-size: 15px; }
.dk-dock::before, .dk-dock::after { content: ""; position: absolute; bottom: 0; width: 14px; height: 14px; }
.dk-dock::before { left: -14px; background: radial-gradient(circle at 0 0, transparent 13.5px, #0B0C0F 14px); }
.dk-dock::after { right: -14px; background: radial-gradient(circle at 100% 0, transparent 13.5px, #0B0C0F 14px); }
.dk-dock span { flex: 1; white-space: nowrap; overflow: hidden; }
.dk-dock span.ph { color: rgba(255, 255, 255, .5); }
.dk-dock small { font-family: 'Geist Mono', monospace; font-size: 11px; color: rgba(255, 255, 255, .55); }
.dk-dock i { width: 38px; height: 38px; border-radius: 12px; background: rgba(255, 255, 255, .12) center / 15px no-repeat; }
.dk-dock i.mic { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round'%3E%3Crect x='9' y='3' width='6' height='11' rx='3' fill='white'/%3E%3Cpath d='M5 11a7 7 0 0 0 14 0M12 18v3'/%3E%3C/svg%3E"); }
.dk-dock i.send { background-color: #5CB2FF; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2304121F' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 19V5M5 12l7-7 7 7'/%3E%3C/svg%3E"); }

/* Home */
.dk-rail { position: absolute; left: 28px; top: 96px; width: 190px; display: flex; flex-direction: column; gap: 22px; }
.dk-rail p { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.dk-rail p span { width: 38px; font-family: 'Geist Mono', monospace; font-size: 11px; color: #8A8E96; }
.dk-rail p i { width: 11px; height: 11px; border-radius: 50%; box-shadow: 0 0 0 3px #F5F6F8; }
.dk-home { position: absolute; left: 240px; right: 50px; top: 96px; display: flex; flex-direction: column; gap: 20px; }
.dk-date { font-family: Doto, monospace; font-weight: 900; font-size: 68px; line-height: .9; letter-spacing: 1px; }
.dk-greet { font-size: 17px; color: #4A4E55; }
.dk-next { display: flex; align-items: center; gap: 24px; padding: 22px 26px; border-radius: 24px; background: #0B0C0F; color: #FFFFFF; }
.dk-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dk-cards > div { display: flex; flex-direction: column; gap: 8px; height: 168px; padding: 16px; border-radius: 16px; background: #FFFFFF; box-shadow: 0 6px 16px rgba(17, 19, 22, .06), inset 0 0 0 1px #E6E8EB; transform: rotate(var(--r)); }
.dk-cards .k { display: flex; align-items: center; gap: 6px; font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 1.5px; color: #9A5B00; }
.dk-cards .k::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.dk-cards .k.m { color: #1F6FD1; }
.dk-cards b { font-size: 17px; }
.dk-cards p { flex: 1; font-size: 13px; line-height: 1.45; color: #5A5E66; }
.dk-cards small { font-size: 11px; color: #8A8E96; }
.dk-mielo { position: absolute; right: 24px; bottom: 24px; padding: 10px; border-radius: 20px; background: #0B0C0F; box-shadow: 0 14px 30px rgba(0, 0, 0, .3); animation: dk-bob 3s ease-in-out infinite; }
@keyframes dk-bob { 50% { transform: translateY(-4px); } }

/* Under the window */
.dk-copy { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 20px; min-height: 52px; animation: up .4s ease both; }
.dk-copy h3 { font-size: 20px; letter-spacing: -.3px; }
.dk-copy p { flex: 1 1 320px; margin: 0; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
.dk-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 26px; }
.dk-points > div { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius); background: var(--panel); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.dk-points h3 { font-size: 20px; }
.dk-points p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, .68); }
@media (max-width: 860px) { .dk-points { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .dk-stage { border-radius: 16px; } }

@media (max-width: 640px) {
  .film { padding-top: 40px; }
  .film-frame { border-radius: 18px; }
  .film-sound { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; padding-top: 48px; padding-bottom: 36px; }
.site-footer .cols { display: flex; gap: 56px; flex-wrap: wrap; font-size: 14px; }
.site-footer .cols div { display: flex; flex-direction: column; gap: 10px; }
.site-footer .cols span { color: var(--faint); font-size: 12px; font-family: 'Geist Mono', monospace; letter-spacing: 1px; }
.site-footer .cols a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.site-footer .cols a:hover { color: #FFFFFF; }
.site-footer .bottom { padding-bottom: 32px; font-size: 12px; color: rgba(255, 255, 255, .4); }

/* Simple pages (download, privacy) */
.page { max-width: 760px; margin: 0 auto; padding: 80px 24px 100px; }
.page h1 { font-size: clamp(36px, 5vw, 56px); letter-spacing: -1.2px; line-height: 1.05; margin-bottom: 18px; }
.page h2 { font-size: 22px; letter-spacing: -.3px; margin: 36px 0 10px; }
.page p, .page li { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, .74); }
.page ol, .page ul { padding-left: 22px; }
.notice { background: rgba(92, 178, 255, .1); border-radius: 18px; padding: 18px 20px; box-shadow: inset 0 0 0 1px rgba(92, 178, 255, .3); }

/* Cookie banner: a little notch-black card where Mielo meets a cookie */
.mielo-snack {
  position: fixed; z-index: 50; left: 50%; bottom: 20px; width: min(620px, calc(100vw - 32px));
  display: flex; gap: 22px; align-items: center; padding: 20px 22px 18px;
  background: #000000; border-radius: 30px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .1), 0 30px 80px rgba(0, 0, 0, .7), 0 0 90px rgba(92, 178, 255, .18);
  transform: translate(-50%, calc(100% + 40px)) scale(.94); opacity: 0;
  transition: transform .6s cubic-bezier(.34, 1.56, .64, 1), opacity .35s ease;
}
.mielo-snack.in { transform: translate(-50%, 0) scale(1); opacity: 1; }
.snack-art { flex: none; display: flex; align-items: center; gap: 10px; padding: 16px 14px; border-radius: 22px; background-color: #0E0F12; background-image: radial-gradient(rgba(255, 255, 255, .06) 1px, transparent 1.5px); background-size: 12px 12px; }
.snack-bite { margin-top: 10px; }
.snack-copy { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.snack-copy h2 { font-family: Doto, 'Geist Mono', monospace; font-weight: 900; font-size: 26px; letter-spacing: 0; line-height: 1; }
.snack-copy p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .68); }
.snack-actions { display: flex; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.snack-actions .btn { flex: 1 1 140px; justify-content: center; padding: 12px 18px; font-size: 15px; box-shadow: none; }
.snack-actions .btn:disabled { cursor: default; }
.snack-more { font-size: 12px; color: var(--faint); align-self: flex-start; }
.snack-more:hover { color: #FFFFFF; }
@media (max-width: 560px) {
  .mielo-snack { flex-direction: column; align-items: stretch; bottom: 12px; padding: 16px; gap: 14px; }
  .snack-art { justify-content: center; padding: 12px; }
  .snack-copy h2 { font-size: 22px; }
}

@media (max-width: 1100px) {
  .float { display: none !important; }
}

@media (max-width: 860px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento .span2 { grid-column: auto; }
  .hide-sm { display: none !important; }
  .stage { aspect-ratio: 16 / 11; }
}

/* Phones and small tablets */
.on-touch { display: none; }
@media (hover: none) {
  .on-hover { display: none; }
  .on-touch { display: inline; }
}

@media (max-width: 640px) {
  .site-header nav { flex-wrap: nowrap; padding-top: 10px; padding-bottom: 10px; }
  .nav-links { flex-wrap: nowrap; gap: 0; }
  .nav-links a:not(.btn) { display: none; }
  .wrap { padding: 0 16px; }
  .hero { padding: 16px 12px 0; }
  .screen { border-radius: 24px; }
  .menubar .left span:not(:first-child) { display: none; }
  .notch[data-phase="peek"] { width: 88%; }
  .notch[data-phase="open"] { width: 94%; height: 210px; }
  .view-open { padding: 36px 14px 14px; gap: 12px; }
  .hero-copy { padding: 96px 8px 56px; }
  .hero-copy h1 { font-size: clamp(64px, 22vw, 96px); }
  .hero-copy .actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; }
  .hero-copy .actions .btn { justify-content: center; }
  section.block { padding: 72px 0 20px; }
  .tabs { position: relative; flex-wrap: nowrap; overflow-x: auto; width: 100%; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .stage { aspect-ratio: 4 / 3; }
  /* The panel keeps its desktop size and is scaled with --pz (set in app.js). */
  .stage .panel { left: 0; right: 0; margin: 0 auto; transform: none; width: 500px; zoom: var(--pz, .6); animation-name: drop-sm; }
  .bento .tile { padding: 22px; }
  .meet { border-radius: 28px; gap: 28px; }
  .faq { padding: 72px 16px 20px; }
  .download { padding: 90px 16px 100px; }
  .site-footer .cols { gap: 36px; }
  .page { padding: 56px 16px 80px; }
}
@keyframes drop-sm { from { transform: translateY(-40px); opacity: 0; } to { transform: none; opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
