/* Balance Due site.css v1 — Saturday 19 September 2026 — initial design system (light, Bricolage Grotesque, green #0E7A67 / amber #C9891E, everything centred, burger nav, explicit grid breakpoints, accordion FAQ) */

:root {
  --accent: #0E7A67;
  --accent-dark: #0B5F51;
  --amber: #C9891E;
  --ink: #1A1A1A;
  --muted: #5C5C5C;
  --line: #E4E2DC;
  --bg: #F7F6F2;
  --card: #FFFFFF;
  --radius: 14px;
  --max: 1080px;
  --font: "Bricolage Grotesque", -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 0.5em; letter-spacing: -0.01em; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; margin: 0 auto; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }

/* header + burger nav (the burger SVG is the only SVG on the site) */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(247,246,242,0.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.wordmark { font-weight: 800; font-size: 1.25rem; text-decoration: none; color: var(--ink); letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 10px; }
.wordmark img { width: 32px; height: 32px; border-radius: 8px; }
.wordmark span { color: var(--accent); }
.header-right { display: flex; align-items: center; gap: 12px; }
.burger { width: 44px; height: 44px; border: 1px solid var(--line); background: var(--card); border-radius: 10px; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.burger svg { width: 22px; height: 22px; }
.burger .bar { stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; transition: transform .25s ease, opacity .2s ease; transform-origin: center; }
body.nav-open .burger .bar-top { transform: translateY(6px) rotate(45deg); }
body.nav-open .burger .bar-mid { opacity: 0; }
body.nav-open .burger .bar-bot { transform: translateY(-6px) rotate(-45deg); }
.nav-sidebar { position: fixed; top: 0; right: 0; height: 100vh; width: min(340px, 88vw); background: var(--card); border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .28s ease; z-index: 100; display: flex; flex-direction: column; padding: 18px 22px 30px; overflow-y: auto; }
body.nav-open .nav-sidebar { transform: translateX(0); }
.nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.nav-header .brand { font-weight: 700; }
@media (max-width: 520px) { .header-right .btn { display: none; } }
.nav-close { width: 40px; height: 40px; border: 1px solid var(--line); background: var(--bg); border-radius: 10px; font-size: 22px; line-height: 1; cursor: pointer; }
.nav-sidebar a.nav-link { display: block; padding: 12px 6px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; }
.nav-sidebar .nav-group { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); margin: 18px 6px 4px; }
.nav-sidebar .btn { margin-top: 22px; text-align: center; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.35); opacity: 0; pointer-events: none; transition: opacity .25s ease; z-index: 90; }
body.nav-open .nav-backdrop { opacity: 1; pointer-events: auto; }

/* buttons */
.btn { display: inline-block; padding: 13px 22px; border-radius: 10px; font-weight: 700; text-decoration: none; border: 1px solid transparent; cursor: pointer; font-family: var(--font); font-size: 1rem; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn-amber { background: var(--amber); color: #fff; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* sections */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-alt { background: var(--card); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hero { padding: 72px 0 48px; text-align: center; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 720px; margin: 0 auto 26px; }
.eyebrow { display: inline-block; font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); font-weight: 700; margin-bottom: 12px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-head p { color: var(--muted); }

/* cards and grids: explicit breakpoints only */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; text-align: center; }
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin: 0; }
.card a.card-link { display: block; text-decoration: none; color: inherit; }
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-6 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-6 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-6, .grid-2 { grid-template-columns: 1fr; } }
.steps { counter-reset: step; }
.step { position: relative; }
.step .num { display: inline-flex; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: #fff; align-items: center; justify-content: center; font-weight: 800; margin-bottom: 12px; }

/* product-page mock (CSS only, no images) */
.mock { max-width: 420px; margin: 32px auto 0; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 22px; text-align: left; box-shadow: 0 18px 40px rgba(0,0,0,0.06); }
.mock .mock-title { font-weight: 700; font-size: 1.1rem; margin-bottom: 2px; }
.mock .mock-price { color: var(--muted); margin-bottom: 14px; }
.mock .opt { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 8px; }
.mock .opt.selected { border-color: var(--accent); background: #EEF6F3; }
.mock .opt .lbl { font-weight: 600; }
.mock .opt .sub { display: block; color: var(--muted); font-size: 0.9rem; font-weight: 400; }
.mock .sched { margin-top: 12px; border-top: 1px dashed var(--line); padding-top: 12px; font-size: 0.92rem; color: var(--muted); }
.mock .sched div { display: flex; justify-content: space-between; padding: 3px 0; }
.mock .sched .pay { color: var(--ink); font-weight: 600; }
.mock .mock-btn { margin-top: 14px; background: var(--ink); color: #fff; text-align: center; border-radius: 10px; padding: 12px; font-weight: 700; }

/* app screenshot showcase: alternating image/text rows */
.showcase-row { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 56px; }
.showcase-row:last-child { margin-bottom: 0; }
.showcase-row:nth-child(even) .showcase-media { order: 2; }
.showcase-figure { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: 0 18px 40px rgba(0,0,0,0.06); background: var(--card); }
.showcase-media .showcase-figure + .showcase-figure { margin-top: 16px; }
.showcase-figure img { display: block; width: 100%; height: auto; }
.showcase-text { text-align: left; }
.showcase-text h3 { font-size: 1.4rem; margin-bottom: 10px; }
.showcase-text p { color: var(--muted); margin: 0 0 12px; }
.showcase-text ul { list-style: none; padding: 0; margin: 0; }
.showcase-text li { padding: 6px 0 6px 26px; position: relative; color: var(--muted); font-size: 0.95rem; }
.showcase-text li::before { content: ""; position: absolute; left: 0; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
@media (max-width: 780px) {
  .showcase-row { grid-template-columns: 1fr; gap: 22px; margin-bottom: 40px; }
  .showcase-row:nth-child(even) .showcase-media { order: 0; }
  .showcase-text { text-align: center; }
  .showcase-text li { text-align: left; }
}

/* pricing */
.plan { position: relative; display: flex; flex-direction: column; }
.plan.popular { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(14,122,103,0.12); }
.plan .badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--amber); color: #fff; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.plan .price { font-size: 2.2rem; font-weight: 800; margin: 6px 0 0; letter-spacing: -0.02em; }
.plan .period { color: var(--muted); margin-bottom: 4px; }
.plan .cap { font-weight: 600; margin-bottom: 14px; }
.plan ul { list-style: none; padding: 0; margin: 0 0 18px; text-align: left; flex: 1; }
.plan li { padding: 6px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
.plan li:last-child { border-bottom: 0; }

/* article pages */
.article { max-width: 760px; margin: 0 auto; }
.article h2 { margin-top: 2em; text-align: center; }
.article h3 { margin-top: 1.5em; }
.article ul, .article ol { padding-left: 1.3em; }
.article li { margin-bottom: 0.4em; }
.article .lead { font-size: 1.15rem; color: var(--muted); text-align: center; }
.callout { background: #EEF6F3; border: 1px solid #CFE6DF; border-radius: var(--radius); padding: 18px 22px; margin: 24px 0; }
.callout.amber { background: #FBF3E5; border-color: #EBD6AE; }
table.cmp { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 0.95rem; }
table.cmp th, table.cmp td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
table.cmp th { background: var(--bg); }
.table-scroll { overflow-x: auto; }
.breadcrumb { font-size: 0.9rem; color: var(--muted); text-align: center; margin-bottom: 14px; }
.breadcrumb a { color: var(--muted); }
.related { margin-top: 48px; }
.related h2 { text-align: center; }

/* FAQ accordion: details/summary with +/- toggle */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; padding: 16px 30px 16px 0; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-bottom: 16px; margin: 0; }

/* forms */
.form { max-width: 560px; margin: 0 auto; text-align: left; }
.form label { display: block; font-weight: 600; margin: 14px 0 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-family: var(--font); font-size: 1rem; background: var(--card); }
.form textarea { min-height: 120px; }
.form .hp { position: absolute; left: -9999px; opacity: 0; height: 0; }
.form .status { margin-top: 14px; font-weight: 600; text-align: center; }
.form .btn { width: 100%; margin-top: 18px; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 30px; text-align: center; color: var(--muted); font-size: 0.92rem; }
.site-footer .links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 14px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--ink); }
.site-footer .brand { font-weight: 700; color: var(--ink); }
