/* bianeo.app: one-page site. Brand tokens match the app (navy 7a brand, off-white pages). */
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-400.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-500.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Geist'; src: url('/fonts/Geist-600.ttf') format('truetype'); font-weight: 600 700; font-display: swap; }
@font-face { font-family: 'Geist Mono'; src: url('/fonts/GeistMono-500.ttf') format('truetype'); font-weight: 400 600; font-display: swap; }
@font-face { font-family: 'Instrument Serif'; src: url('/fonts/InstrumentSerif-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Fredoka'; src: url('/fonts/Fredoka-600.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --navy-top: #0c1d52; --navy-bottom: #060d2b; --card-dark: #0b1a4a;
  --ink: #0b1640; --body: #3c4770; --muted: #5b6690; --faint: #8590b3;
  --bg: #f4f6fc; --card: #ffffff; --border: #e2e7f3; --chip: #e9edf8;
  --soft: #dbe4ff; --on-dark-body: #b9c6ee; --on-dark-muted: #8ea0d6;
  --cyan: #22d3ee; --blue: #3b82f6; --violet: #6d5bf6; --glow: #38bdf8; --indigo: #6366f1;
  --good: #236436;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Instrument Serif', Georgia, serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
  --display: 'Fredoka', 'Geist', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--glow); outline-offset: 3px; border-radius: 6px; }

/* wordmark (same construction as the app) */
.wordmark { display: inline-flex; align-items: flex-end; font: 600 30px/1 var(--display); letter-spacing: -.01em; color: #fff; }
.wordmark.small { font-size: 24px; color: var(--ink); }
.wordmark .i { position: relative; }
.wordmark .i::after { content: ''; position: absolute; left: 50%; top: .02em; width: .17em; height: .17em; transform: translateX(-50%); border-radius: 50%; background: var(--cyan); }
.wordmark .an, .grad { background: linear-gradient(90deg, var(--cyan), var(--blue) 55%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wordmark .ring { width: .56em; height: .56em; margin: 0 0 .15em .02em; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--glow), var(--indigo)); }
.wordmark .hole { width: 58%; height: 58%; border-radius: 50%; background: var(--navy-top); display: flex; align-items: center; justify-content: center; }
.wordmark.small .hole { background: var(--bg); }
.wordmark .dot { width: 44%; height: 44%; border-radius: 50%; background: var(--blue); }

/* header */
.top { position: absolute; inset: 0 0 auto 0; z-index: 3; }
.top-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.brand { text-decoration: none; }
.top nav { display: flex; align-items: center; gap: 22px; }
.top nav a { color: var(--soft); text-decoration: none; font: 500 15px var(--sans); }
.top nav a:hover { color: #fff; }
.top nav .nav-cta { border: 1.5px solid rgba(255,255,255,.55); padding: 8px 16px; border-radius: 999px; color: #fff; }
@media (max-width: 760px) { .top nav a:not(.nav-cta) { display: none; } .top nav .nav-cta { padding: 7px 12px; font-size: 14px; } }

/* hero */
.hero { position: relative; overflow: hidden; color: #fff; background: linear-gradient(180deg, var(--navy-top) 0%, var(--navy-bottom) 70%); padding: 108px 0 170px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: center; position: relative; z-index: 1; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 14px; }
.eyebrow.dark { color: var(--muted); }
h1 { font: 600 clamp(40px, 6vw, 68px)/1.04 var(--display); letter-spacing: -.01em; }
.lede { margin-top: 18px; font-size: 18px; color: var(--on-dark-body); max-width: 560px; }
.download .lede { margin-left: auto; margin-right: auto; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.center .stores { justify-content: center; }
.store { display: inline-flex; align-items: center; gap: 12px; min-width: 200px; padding: 10px 18px; border-radius: 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.35); }
.store svg { width: 26px; height: 26px; flex: none; }
.store span { display: flex; flex-direction: column; font: 600 19px/1.1 var(--sans); }
.store small { font: 500 11px var(--sans); color: #c9d3f5; letter-spacing: .02em; margin-bottom: 2px; }
.store[aria-disabled='true'] { cursor: default; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 500 13px var(--sans); color: var(--soft); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 7px 12px; border-radius: 14px; }
.hero-phone { display: flex; justify-content: center; }
.phone { width: min(320px, 80vw); border-radius: 40px; border: 9px solid #16150f; box-shadow: 0 40px 80px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.06); }
.phone.sm { width: min(280px, 72vw); }
.keys { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 150px; }
@media (max-width: 860px) {
  .hero { padding: 92px 0 130px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .keys { height: 104px; }
}

/* sections */
.section { padding: 84px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font: 400 clamp(34px, 4.6vw, 52px)/1.05 var(--serif); margin-bottom: 36px; max-width: 760px; }
h3 { font: 600 18px/1.3 var(--sans); margin-bottom: 6px; }
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card { background: var(--card); border: 1px solid var(--border); border-radius: 22px; padding: 22px; }
.card p, .steps p, .body { color: var(--body); }
.ico { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 12px; background: var(--chip); color: var(--blue); font-size: 18px; margin-bottom: 14px; }
@media (max-width: 900px) { .grid3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .grid3 { grid-template-columns: 1fr; } .section { padding: 64px 0; } }

.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.steps li { display: flex; flex-direction: column; gap: 14px; padding: 22px; border-radius: 22px; background: var(--bg); border: 1px solid var(--border); }
.n { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 15px var(--mono); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .steps { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.split h2 { margin-bottom: 18px; }
.split-img { display: flex; justify-content: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; color: var(--body); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 24px; border-radius: 999px; font: 600 16px var(--sans); text-decoration: none; }
.btn.ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }

.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.plan { background: var(--bg); border: 1px solid var(--border); border-radius: 22px; padding: 24px; }
.plan .ticks { margin-bottom: 0; }
.plan.pro { background: linear-gradient(180deg, var(--navy-top), var(--navy-bottom)); color: #fff; border-color: transparent; }
.plan.pro .ticks li { color: var(--soft); }
.price { font: 400 46px/1 var(--serif); margin-top: 8px; }
.price span { font: 500 15px var(--sans); color: var(--on-dark-muted); margin-left: 4px; }
.price.small { font: 500 15px var(--sans); color: var(--muted); margin-top: 6px; }
.trial { display: inline-block; margin-top: 10px; font: 500 12px var(--mono); color: var(--navy-top); background: var(--soft); padding: 3px 8px; border-radius: 6px; }
.packs { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 8px; }
.packs li { display: flex; justify-content: space-between; background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; }
.note { font-size: 14px; color: var(--muted); }
.fine { margin-top: 22px; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }

.download { background: linear-gradient(180deg, var(--navy-top), var(--navy-bottom)); color: #fff; padding: 84px 0; }
.download h2 { margin: 0 auto; }

.foot { padding: 34px 0 28px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot nav a { color: var(--body); font-size: 14px; }
