/* 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; }

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;
}

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: 1100px; 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); }

/* 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); }

@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: 4 / 5; }
}

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