/*
 * ERPisy's search landing pages (gst-billing-software.html and its siblings): one topic each, the landing page's tokens,
 * a reading column with a hero, feature cards, a FAQ and a closing call to action. Light only, like index.html.
 */
:root {
  color-scheme: light;
  --paper: #f4f6fa;
  --surface: #ffffff;
  --ink: #151e2f;
  --muted: #56607a;
  --line: #dfe4ec;
  --accent: #0b6ad4;
  --accent-hover: #0a58b0;
  --accent-ink: #ffffff;
  --accent-text: #0a56ad;
  --accent-soft: #e8f3fe;
  --brand-green: #057f81;
  --band: #151e2f;
  --band-ink: #eef2fa;
  --band-muted: #a5afc6;
  --font-display: 'Bricolage Grotesque', 'IBM Plex Sans', system-ui, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 72rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1rem/1.65 var(--font-body);
  -webkit-text-size-adjust: 100%;
}

a { color: var(--accent-text); }
a:hover { color: var(--accent); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar ---------- */
.bar { background: var(--band); color: var(--band-ink); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; flex-wrap: wrap; }
.bar a { color: var(--band-ink); text-decoration: none; }
.bar a:hover { color: #ffffff; text-decoration: underline; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem/1 var(--font-display); }
.brand img { width: 28px; height: 28px; }
.bar nav { display: flex; gap: 16px; flex-wrap: wrap; font-size: 0.9rem; align-items: center; }
.bar nav a[aria-current="page"] { text-decoration: underline; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font: 600 1rem/1 var(--font-body); text-decoration: none;
  border: 1px solid transparent;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); color: var(--accent-ink); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-text); }
.bar .btn-primary { min-height: 36px; padding: 0 14px; font-size: 0.9rem; color: var(--accent-ink); }

/* ---------- Breadcrumb and hero ---------- */
.crumbs { font-size: 0.85rem; color: var(--muted); padding-top: 24px; }
.crumbs a { color: var(--muted); }
.hero { padding: 24px 0 40px; }
.hero h1 { font: 800 clamp(2rem, 4.6vw, 3.2rem)/1.1 var(--font-display); margin: 0 0 16px; max-width: 22ch; }
.hero .lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; margin: 0 0 24px; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero .note { font-size: 0.9rem; color: var(--muted); margin-top: 12px; }

/* ---------- Sections ---------- */
section { padding: 40px 0; border-top: 1px solid var(--line); }
section h2 { font: 800 clamp(1.5rem, 3vw, 2.1rem)/1.2 var(--font-display); margin: 0 0 12px; }
section > .wrap > p { max-width: 70ch; }

.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 16px; margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
.card h3 { font: 700 1.1rem/1.3 var(--font-display); margin: 0 0 8px; }
.card p { margin: 0; color: var(--muted); }

.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 10px; max-width: 70ch; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--brand-green); font-weight: 700; }

.prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 12px; margin-top: 16px; }
.price { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.price strong { display: block; font: 800 1.4rem/1.2 var(--font-display); }
.price span { color: var(--muted); font-size: 0.9rem; }

/* ---------- FAQ ---------- */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; margin-top: 10px; max-width: 70ch; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- Closing and footer ---------- */
.closing { background: var(--band); color: var(--band-ink); border-top: 0; text-align: center; padding: 56px 0; }
.closing h2 { color: #ffffff; }
.closing p { color: var(--band-muted); margin: 0 auto 24px; max-width: 56ch; }

.foot { background: var(--band); color: var(--band-muted); font-size: 0.9rem; padding: 24px 0 40px; border-top: 1px solid #2c3852; }
.foot a { color: var(--band-ink); }
.foot nav { display: flex; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 12px; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
