/* Billvo website - one stylesheet (owner's approved demo, 22 Oct: dark, one lime accent, bold type, purposeful motion).
   Fonts: Inter (headings and text), IBM Plex Mono (numbers) - all SIL Open Font Licence. */
:root {
  --bg: #0A0D0C; --panel: #0E1311; --surface: #141B17; --line: #222D27; --line-soft: #1C2521;
  --text: #EDEFEA; --muted: #B9C0BA; --faint: #7E8781;
  --lime: #C8F45A; --lime-hover: #DBFF7E; --ink: #0A0D0C; --amber: #FFB84D; --amber-bg: #2A2112; --amber-ink: #FFCF85;
  --paper: #F2F3EE; --paper-text: #0A0D0C; --paper-muted: #4A524E; --paper-line: #CDD1C8;
  --display: "Inter", "Segoe UI", sans-serif;
  --body: "Inter", "Noto Sans Telugu", "Noto Sans Devanagari", "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", Consolas, monospace;
  --max: 1240px; --radius: 28px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 17px/1.6 var(--body); overflow-x: hidden; }
a { color: var(--lime); }
a:hover { color: var(--lime-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
img { max-width: 100%; }
[hidden] { display: none !important; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.mono { font-family: var(--mono); }

/* ── Header ── */
header.top { position: sticky; top: 0; z-index: 5; background: rgba(10, 13, 12, .92); border-bottom: 1px solid var(--line-soft); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: wrap; }
.logo { display: inline-flex; align-items: center; gap: 12px; color: #FFFFFF; text-decoration: none; font-family: var(--display);
  font-weight: 800; font-size: 23px; letter-spacing: -.02em; }
.logo:hover { color: #FFFFFF; }
.logo img { width: 38px; height: 29px; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 28px; font-size: 15px; }
nav a { color: var(--muted); text-decoration: none; }
nav a:hover { color: #FFFFFF; }
nav a.btn { color: var(--ink); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border: 0;
  border-radius: 999px; background: var(--lime); color: var(--ink); font: 600 16px/1 var(--body); text-decoration: none; cursor: pointer;
  transition: background .2s ease, transform .2s ease; }
.btn:hover { background: var(--lime-hover); color: var(--ink); transform: translateY(-2px); }
.btn.lg { min-height: 58px; padding: 0 30px; font-size: 18px; }
.btn.ghost { background: transparent; color: #FFFFFF; border: 1px solid #3B4842; }
.btn.ghost:hover { border-color: var(--lime); color: #FFFFFF; }

/* ── Type ── */
h1, h2, h3 { font-family: var(--display); color: #FFFFFF; margin: 0; }
h1 { font-weight: 800; font-size: clamp(54px, 9vw, 96px); line-height: .95; letter-spacing: -.04em; }
h2 { font-weight: 800; font-size: clamp(38px, 5.5vw, 64px); line-height: .98; letter-spacing: -.03em; }
h3 { font-weight: 700; font-size: 24px; letter-spacing: -.01em; }
.lead { font-size: 20px; color: var(--muted); max-width: 520px; margin: 0 0 40px; }
.sub { color: var(--muted); margin: 14px 0 0; max-width: 60ch; }
.note { font-size: 14px; color: var(--faint); margin: 20px 0 0; }
.lime { color: var(--lime); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px; border: 1px solid #2A3530; border-radius: 999px; color: var(--muted); font-size: 14px; margin: 0 0 28px; }
.chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); }

/* ── Motion (switched off for "reduce motion") ── */
@keyframes word-up { from { opacity: 0; transform: translateY(40px) rotate(2deg); } to { opacity: 1; transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes scan { 0% { top: 6%; opacity: 0; } 8% { opacity: 1; } 45% { top: 92%; opacity: 1; } 55%, 100% { top: 92%; opacity: 0; } }
@keyframes row-in { 0%, 4% { opacity: 0; transform: translateX(-10px); } 12%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes toast-in { 0%, 40% { opacity: 0; transform: translateY(14px) scale(.96); } 48%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
@keyframes bill-in { 0% { opacity: 0; transform: translate(-60px, -30px) rotate(-14deg); } 14%, 86% { opacity: 1; transform: none; } 100% { opacity: 0; transform: translate(40px, 0) rotate(3deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-8deg); } 50% { transform: translateY(-14px) rotate(-6deg); } }
@keyframes floaty2 { 0%, 100% { transform: translateY(0) rotate(7deg); } 50% { transform: translateY(-10px) rotate(9deg); } }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes grow { 0%, 10% { width: 0; } 60%, 100% { width: 100%; } }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 184, 77, .55); } 50% { box-shadow: 0 0 0 10px rgba(255, 184, 77, 0); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes ring { 0% { stroke-dashoffset: 415; } 60%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes cell { 0%, 100% { background: #1E2823; } 12%, 70% { background: var(--lime); } }
@keyframes draw { 0%, 15% { stroke-dashoffset: 140; } 45%, 100% { stroke-dashoffset: 0; } }
.w { display: inline-block; opacity: 0; animation: word-up .8s cubic-bezier(.2, .8, .2, 1) forwards; }
.fu { opacity: 0; animation: fade-up .8s ease forwards; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .w, .fu { opacity: 1; } }

/* ── Home: hero ── */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; padding-top: 64px; padding-bottom: 96px; }
.hero > div { flex: 1 1 480px; min-width: 0; }
.hero h1 { margin-bottom: 28px; }
.ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ctas a:not(.btn) { color: #FFFFFF; font-weight: 500; text-underline-offset: 6px; }
.scene { position: relative; height: 520px; }
.scene .float { position: absolute; border-radius: 10px; background: #1A221E; border: 1px solid #2A3530; }
.scene .f1 { left: 4%; top: 30px; width: 150px; height: 190px; animation: floaty 7s ease-in-out infinite; }
.scene .f2 { right: 2%; bottom: 10px; width: 130px; height: 170px; animation: floaty2 8s ease-in-out infinite; }
.app { position: absolute; inset: 40px 6% 40px 10%; display: flex; gap: 20px; padding: 22px; border-radius: 22px; background: #111714;
  border: 1px solid #26322C; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8); }
.paper { position: relative; flex: 0 0 46%; display: flex; flex-direction: column; gap: 9px; padding: 18px; border-radius: 10px; overflow: hidden;
  background: #FFFFFF; color: #1B1F1D; animation: bill-in 6s ease infinite; }
.paper b { font-family: var(--display); font-weight: 800; font-size: 15px; }
.paper small { font-size: 10px; color: #6A726E; }
.paper .ln { display: flex; justify-content: space-between; font-size: 11px; }
.paper .bar { height: 6px; border-radius: 3px; background: #EEF0EC; }
.paper .tot { font-size: 13px; font-weight: 700; }
.paper .scan { position: absolute; left: 0; right: 0; height: 3px; background: var(--lime); box-shadow: 0 0 18px 4px rgba(200, 244, 90, .55); animation: scan 6s ease-in-out infinite; }
.checks { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.checks .head { font-family: var(--mono); font-size: 11px; color: var(--faint); letter-spacing: 1px; }
.checks .head span { animation: blink 1s steps(1) infinite; }
.checks .row { display: flex; justify-content: space-between; gap: 8px; padding: 9px 12px; border-radius: 8px; background: #18201C; color: var(--muted);
  opacity: 0; animation: row-in 6s ease infinite; }
.checks .row i { font-style: normal; color: var(--lime); }
.checks .row:nth-child(2) { animation-delay: .6s; } .checks .row:nth-child(3) { animation-delay: 1s; } .checks .row:nth-child(4) { animation-delay: 1.4s; }
.checks .row:nth-child(5) { animation-delay: 1.8s; } .checks .row:nth-child(6) { animation-delay: 2.2s; }
.checks .row:nth-child(6) i { color: #FFFFFF; }
.checks .prog { margin-top: auto; height: 6px; border-radius: 3px; background: #1E2823; overflow: hidden; }
.checks .prog::after { content: ""; display: block; height: 6px; background: var(--lime); animation: grow 6s ease infinite; }
.toast { position: absolute; left: 22%; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px;
  background: var(--lime); color: var(--ink); font-weight: 600; opacity: 0; animation: toast-in 6s ease infinite;
  box-shadow: 0 20px 40px -16px rgba(200, 244, 90, .5); }

/* ── Home: the moving strip ── */
.strip { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 22px 0; overflow: hidden; white-space: nowrap; }
.strip div { display: inline-flex; gap: 56px; animation: marquee 28s linear infinite; font-family: var(--display); font-weight: 700; font-size: 30px; color: #3B4842; }
.strip i { font-style: normal; color: var(--lime); }

/* ── Home: the three numbers ── */
.speed { padding-top: 120px; padding-bottom: 120px; }
.speed-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.speed-head p { margin: 0; max-width: 340px; color: var(--faint); font-size: 15px; }
.nums { display: flex; flex-wrap: wrap; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); }
.num { flex: 1 1 320px; display: flex; flex-direction: column; gap: 28px; padding: 40px 36px 44px; border-right: 1px solid var(--line); }
.num:last-child { border-right: 0; }
.num .tag { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; color: var(--faint); letter-spacing: 1px; }
.num .pic { height: 170px; display: flex; align-items: center; justify-content: center; }
.num .big { display: flex; align-items: baseline; gap: 10px; }
.num .big b { font-family: var(--display); font-weight: 800; font-size: 112px; line-height: .85; letter-spacing: -.045em; color: #FFFFFF; }
.num .big span { font-family: var(--mono); font-size: 20px; color: var(--lime); }
.num p { margin: 16px 0 0; color: var(--muted); }
.cells { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 5px; width: 160px; }
.cells span { display: block; height: 11px; border-radius: 2px; background: #1E2823; animation: cell 3s ease-in-out infinite; }

/* ── Light section (how a day goes) ── */
.light { background: var(--paper); color: var(--paper-text); }
.light h2, .light h3 { color: var(--paper-text); }
.day { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 56px; }
.day-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.day-head h2 { max-width: 700px; }
.day-head p { margin: 0; max-width: 360px; color: var(--paper-muted); }
.timeline { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--paper-text); }
.timeline li { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: baseline; padding: 32px 0; border-bottom: 1px solid var(--paper-line); }
.timeline .t { flex: 0 0 160px; font-family: var(--mono); font-size: 15px; color: var(--paper-muted); }
.timeline h3 { flex: 1 1 280px; font-size: 34px; letter-spacing: -.03em; }
.timeline p { flex: 1 1 360px; margin: 0; color: var(--paper-muted); }

/* ── Home: the ₹1 mistake ── */
.catch { padding-top: 120px; padding-bottom: 120px; display: flex; flex-wrap: wrap; gap: 64px; align-items: center; }
.catch > div { flex: 1 1 440px; }
.catch h2 { margin-bottom: 24px; }
.catch .lead { max-width: 460px; margin-bottom: 32px; font-size: 17px; }
.rows { font-size: 16px; }
.rows div { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line); transition: background .25s ease, padding-left .25s ease; }
.rows div:last-child { border-bottom: 1px solid var(--line); }
.rows div:hover { background: #121816; padding-left: 16px; }
.rows span { color: var(--faint); }
.sample { flex: 1 1 440px; position: relative; margin: 0; padding: 36px; border-radius: 24px; background: #FFFFFF; color: #1B1F1D;
  display: flex; flex-direction: column; gap: 14px; transform: rotate(-1.5deg); }
.sample .tag { font-family: var(--mono); font-size: 12px; color: #6A726E; letter-spacing: 1px; }
.sample .ln { display: flex; justify-content: space-between; padding-bottom: 12px; border-bottom: 1px solid #ECEDE8; }
.sample .ln span:first-child { color: #6A726E; }
.sample .tot { display: flex; justify-content: space-between; font-weight: 700; font-size: 20px; }
.sample s { text-decoration-color: #E0611A; text-decoration-thickness: 3px; }
.sample .flag { padding: 14px 18px; border-radius: 12px; background: #FFF1DC; color: #6B3A00; font-weight: 500; animation: pulse 2.2s ease-in-out infinite; }
.sample figcaption { position: absolute; top: -18px; right: 28px; padding: 8px 14px; border-radius: 999px; background: var(--ink); color: var(--lime); font-size: 13px; font-weight: 600; }

/* ── Price band ── */
.price-band { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; justify-content: space-between; padding: 64px 56px;
  border-radius: 32px; background: var(--surface); border: 1px solid var(--line); margin-bottom: 120px; }
.price-band .big { font-family: var(--display); font-weight: 800; font-size: clamp(72px, 10vw, 110px); line-height: .9; letter-spacing: -.04em; color: #FFFFFF; }
.price-band .side { flex: 0 1 340px; display: flex; flex-direction: column; gap: 14px; text-align: center; }
.price-band .side p { margin: 0; font-size: 14px; color: var(--faint); }

/* ── Inner pages (pricing, help, download, account, legal) ── */
main.page { padding-top: 72px; padding-bottom: 96px; }
main.page > section + section { margin-top: 72px; }
.grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 32px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.card h3 { margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }
.card.hi { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.card.hi h3, .card.hi .price { color: var(--ink); }
.card.hi p { color: #2B3A1A; }
.price { font-family: var(--display); font-weight: 800; font-size: 48px; letter-spacing: -.03em; color: #FFFFFF; margin: 8px 0 12px; }
.price small { font-family: var(--body); font-size: 15px; font-weight: 400; letter-spacing: 0; }
.steps { counter-reset: s; display: grid; gap: 14px; margin-top: 32px; }
.steps .card { position: relative; padding-left: 84px; }
.steps .card::before { counter-increment: s; content: counter(s, decimal-leading-zero); position: absolute; left: 28px; top: 28px;
  font-family: var(--mono); font-size: 15px; color: var(--lime); }
.band { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.draft { background: var(--amber-bg); color: var(--amber-ink); border: 1px solid #4A3A1A; border-radius: 14px; padding: 14px 18px; margin: 20px 0; font-size: 15px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; color: #FFFFFF; }
details[open] summary { margin-bottom: 8px; }
.prose { max-width: 75ch; }
.prose h2 { font-size: 30px; margin-top: 40px; }
.prose p, .prose li { color: var(--muted); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); }
.form input { font: inherit; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); }
.form input:focus { outline: none; border-color: var(--lime); }
code.key { display: inline-block; word-break: break-all; background: var(--panel); border: 1px solid var(--line); padding: 8px 12px; border-radius: 10px;
  font-family: var(--mono); font-size: 13px; color: var(--lime); }

/* ── Footer: links, then the giant wordmark ── */
footer { border-top: 1px solid var(--line-soft); color: var(--faint); font-size: 14px; overflow: hidden; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; padding-top: 48px; }
footer p { margin: 0; }
footer a { color: var(--faint); margin-right: 24px; }
footer a:hover { color: #FFFFFF; }
footer .giant { font-family: var(--display); font-weight: 800; font-size: 23vw; line-height: .8; letter-spacing: -.05em; color: var(--surface);
  text-align: center; padding-top: 32px; margin-bottom: -2vw; user-select: none; }

@media (max-width: 720px) {
  header.top { position: static; }
  header.top .wrap { padding-top: 12px; padding-bottom: 12px; }
  nav { gap: 8px 18px; font-size: 14px; }
  nav a.btn { min-height: 40px; padding: 0 18px; }
  .scene { height: 460px; }
  .app { inset: 30px 0 50px 0; padding: 14px; gap: 12px; }
  .toast { left: 4%; font-size: 14px; }
  .num { border-right: 0; border-bottom: 1px solid var(--line); }
  .price-band { padding: 40px 24px; }
  .timeline .t { flex-basis: 100%; }
}

/* the real app (audit, 25 Oct: the site showed no app at all) */
.see { padding: 90px 0 40px; }
.see-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 28px; }
.see-head h2 { margin: 0; max-width: 18ch; }
.see-head p { color: var(--muted, #9aa39d); max-width: 44ch; margin: 0; }
.shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.shots figure { margin: 0; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; overflow: hidden; background: #0f1412; }
.shots img { width: 100%; display: block; aspect-ratio: 17 / 10; object-fit: cover; object-position: top left; }
.shots figcaption { padding: 14px 16px; font-size: 14px; color: var(--muted, #9aa39d); }
.shots figcaption b { color: #fff; }
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 28px; }
.proof div { border-top: 1px solid rgba(255,255,255,.12); padding-top: 14px; }
.proof b { display: block; font-size: 40px; line-height: 1; color: #C8F45A; }
.proof span { color: var(--muted, #9aa39d); font-size: 14px; }

.card .btn { margin-top: 14px; }
