/* quickbills.ai: one stylesheet, system fonts, no layout that moves while the page loads. */
:root {
  --blue: #2563EB; --blue-dark: #1D4ED8; --blue-deep: #0F2A6B; --blue-soft: #E8F0FE; --blue-line: #C9D9FB;
  --ink: #141A23; --dim: #4A5568; --faint: #718096; --bg: #FFFFFF; --alt: #F3F7FD; --line: #E2E8F0;
  --good: #15803D; --radius: 14px; --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", sans-serif; color: var(--ink); background: var(--bg); line-height: 1.55; font-size: 16px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: #fff; padding: 8px 12px; z-index: 10; }
.small { font-size: 14px; color: var(--faint); }
.center { text-align: center; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; border: 2px solid transparent; cursor: pointer; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: linear-gradient(180deg, #3B82F6, #2563EB); color: #fff; box-shadow: 0 8px 18px -10px rgba(37, 99, 235, .7); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { background: #fff; color: var(--blue-dark); border-color: var(--blue-line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-light { background: #fff; color: var(--blue-deep); }
.btn:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #93B4F8; outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: default; }

/* header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(255, 255, 255, .96); border-bottom: 1px solid var(--line); }
.top-row { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand img { width: 125px; height: 40px; object-fit: contain; }
.top nav { display: flex; gap: 22px; flex: 1; }
.top nav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--blue-dark); }
.top-cta { display: flex; align-items: center; gap: 14px; }
.link { font-weight: 700; color: var(--ink); text-decoration: none; font-size: 15px; }
@media (max-width: 760px) {
  .top-row { flex-wrap: wrap; gap: 6px 12px; padding: 10px 0; }
  .top nav { order: 3; flex-basis: 100%; gap: 18px; overflow-x: auto; padding-bottom: 2px; }
  .top-cta { margin-left: auto; }
  .brand img { width: 100px; height: 32px; }
}

/* hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, #DCE8FD 0, transparent 60%), linear-gradient(180deg, #F5F8FF, #fff); padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--blue-dark); font-weight: 800; font-size: 14px; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
.eyebrow a { text-decoration: none; }
.hero h1 { font-size: clamp(32px, 5vw, 50px); font-weight: 850; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--dim); margin: 0 0 24px; max-width: 640px; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 32px; } .hero { padding: 36px 0; } }

/* the bill picture (HTML, so it costs nothing to load) */
.mock { background: #fff; border: 1px solid var(--blue-line); border-radius: 18px; padding: 18px; box-shadow: 0 30px 60px -30px rgba(15, 42, 107, .35); font-size: 15px; max-width: 440px; width: 100%; justify-self: center; }
.mock-small { max-width: 380px; }
.mock-bar { display: flex; gap: 6px; margin-bottom: 14px; }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: #DCE5F3; }
.mock-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px dashed var(--line); margin-bottom: 6px; }
.mock-head span { color: var(--faint); font-size: 13px; }
.mock-line, .mock-tax, .mock-total { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.mock-tax { color: var(--faint); font-size: 13px; }
.mock-total { font-weight: 850; font-size: 19px; border-top: 1px solid var(--line); margin-top: 4px; padding-top: 10px; }
.mock-pay { display: flex; gap: 8px; margin: 12px 0; }
.pill { border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 13px; }
.pill-on { background: var(--blue); color: #fff; border-color: var(--blue); }
.mock-khata { background: var(--blue-soft); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.mock-khata span { display: block; color: var(--good); font-weight: 800; margin-top: 4px; font-size: 13px; }

/* bands and sections */
.band { background: var(--blue-deep); color: #fff; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 22px; padding-bottom: 22px; }
.facts b { display: block; font-size: 16px; }
.facts span { color: #C7D6F5; font-size: 14px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } }
.section { padding: 64px 0; }
.section-alt { background: var(--alt); }
.h2 { font-size: clamp(26px, 3.4vw, 36px); text-align: center; font-weight: 850; }
.sub { text-align: center; color: var(--dim); font-size: 18px; margin: 0 auto 32px; max-width: 640px; }
.sub.left, .two .h2 { text-align: left; margin-left: 0; }
.two { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .two { grid-template-columns: 1fr; } .section { padding: 44px 0; } }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { font-size: 18px; }
.card p { margin: 0; color: var(--dim); }
.card-link { text-decoration: none; color: inherit; transition: border-color .15s; }
.card-link:hover { border-color: var(--blue); }
.card-link h3 { color: var(--blue-dark); }

.ticks { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.tick { width: 20px; height: 20px; flex: none; fill: var(--good); margin-top: 2px; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step span { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--blue-soft); color: var(--blue-dark); font-weight: 850; align-items: center; justify-content: center; margin-bottom: 10px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--dim); }

/* plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; } }
.plan { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; display: flex; flex-direction: column; position: relative; }
.plan .ticks { flex: 1; }
.plan-best { border: 2px solid var(--blue); box-shadow: 0 24px 50px -30px rgba(37, 99, 235, .6); }
.plan-tag { position: absolute; top: -13px; left: 24px; background: var(--blue); color: #fff; font-size: 12px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; }
.plan-price { font-size: 38px; font-weight: 850; line-height: 1.1; }
.plan-price span { font-size: 15px; font-weight: 700; color: var(--faint); margin-left: 6px; }
.plan-note { color: var(--faint); font-size: 14px; margin: 4px 0 18px; }

.table-wrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.compare { width: 100%; border-collapse: collapse; min-width: 560px; }
.compare th, .compare td { padding: 13px 16px; border-bottom: 1px solid var(--line); text-align: center; font-size: 15px; }
.compare th[scope=row] { text-align: left; font-weight: 600; }
.compare thead th { font-size: 16px; background: var(--alt); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .tick { margin: 0 auto; }
.dash { color: #CBD5E0; }

/* faq */
.faq { display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; }
.faq summary { cursor: pointer; font-weight: 800; padding: 16px 0; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; float: right; color: var(--blue); font-weight: 850; }
.faq details[open] summary::after { content: '–'; }
.faq details div { padding: 0 0 16px; color: var(--dim); }

.final { background: linear-gradient(135deg, var(--blue-deep), #1E40AF); color: #fff; text-align: center; padding: 60px 0; }
.final h2 { font-size: clamp(26px, 3.4vw, 36px); }
.final p { color: #C7D6F5; margin: 0 0 24px; font-size: 18px; }

/* page heads, prose, forms */
.page-head { background: linear-gradient(180deg, #F5F8FF, #fff); padding: 48px 0 20px; }
.page-head h1 { font-size: clamp(30px, 4.4vw, 44px); font-weight: 850; }
.prose h2 { font-size: 22px; margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #2D3748; }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 6px; }
.help-more { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.help-more b { flex-basis: 100%; }
.form { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: 11px 12px; border: 1px solid #CBD5E0; border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 3px solid #BFD3FB; border-color: var(--blue); }
.form .hp { position: absolute; left: -9999px; }
.form-msg { margin: 0; min-height: 1.5em; color: var(--dim); }

/* footer */
.foot { background: #0B1733; color: #C7D6F5; padding: 48px 0 24px; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.foot img { width: 116px; height: 37px; object-fit: contain; margin-bottom: 12px; background: #fff; border-radius: 8px; padding: 4px 8px; box-sizing: content-box; }
.foot h2 { font-size: 14px; color: #fff; text-transform: uppercase; letter-spacing: .06em; }
.foot a { color: #C7D6F5; text-decoration: none; display: block; margin-bottom: 8px; }
.foot a:hover { color: #fff; }
.foot p { margin: 0 0 8px; }
.foot-base { border-top: 1px solid #1E2C4F; margin-top: 28px; padding-top: 18px; font-size: 13px; color: #8FA3C8; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
