/* QuicklyLoan — "speed & receipt" fintech theme.
   Violet + amber-gold on lavender-white, matched to the Play Store app icon.
   Monospace numerals, ticket-style results, directory-style calculator index.
   Intentionally distinct in layout from sibling sites. */

:root {
  /* palette — matched to the QuicklyLoan Play Store app (violet + amber-gold) */
  --brand: #7c3aed;          /* violet — primary, principal segment */
  --brand-600: #6d28d9;
  --brand-700: #5b21b6;
  --ink: #1c1233;            /* deep plum-indigo — text + surfaces */
  --ink-2: #423763;
  --muted: #746b8a;
  --accent: #f6a723;         /* amber-gold — interest segment / "=" highlight */
  --invest: #0ea5a0;         /* teal — investment calcs */
  --tax: #5b21b6;            /* deep violet — tax calcs */
  --brand-tint: #f2ebff;
  --brand-tint-2: #dcccfb;

  --bg: #faf7ff;             /* soft lavender-white */
  --bg-panel: #ffffff;
  --bg-dark: #1c1233;
  --line: #ece6f7;
  --line-2: #ddd3ee;

  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --shadow: 0 1px 0 rgba(28,18,51,.04), 0 10px 30px rgba(60,30,120,.09);
  --shadow-lg: 0 24px 60px rgba(60,30,120,.18);
  --mono: "SF Mono", "JetBrains Mono", "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-700); text-decoration: none; }
a:hover { color: var(--brand); }

h1, h2, h3, h4 {
  line-height: 1.08;
  margin: 0 0 .5em;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -.03em;
}
h1 { font-size: clamp(2.1rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.15rem); }
.num, .value, .v.num, .result-hero .value { font-family: var(--mono); font-feature-settings: "tnum" 1; letter-spacing: -.01em; }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }

/* speed strip at very top */
body::before {
  content: ""; position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 60;
  background: linear-gradient(90deg, var(--brand), var(--accent) 60%, var(--invest));
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 700; font-size: .95rem; cursor: pointer;
  border: 2px solid transparent; border-radius: 999px;
  padding: .7em 1.4em; transition: transform .12s ease, box-shadow .12s ease, background .12s;
  font-family: var(--sans);
}
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(124,58,237,.32); }
.btn-primary:hover { background: var(--brand-600); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #2c1a52; color: #fff; transform: translateY(-2px); }

/* ---------------- Header ---------------- */
header {
  position: sticky; top: 4px; z-index: 50;
  background: rgba(250,247,255,.85);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding: .7rem clamp(18px, 4vw, 40px);
  display: flex; align-items: center; gap: 1.2rem;
}
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; font-size: 1.2rem; }
.logo:hover { color: var(--ink); }
.logo img { width: 34px; height: 34px; border-radius: 9px; }
.logo b { color: var(--brand); }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: .3rem; }
.site-nav a {
  color: var(--ink-2); font-weight: 600; font-size: .93rem;
  padding: .5rem .8rem; border-radius: 8px; position: relative;
}
.site-nav a:not(.app-link):hover { color: var(--ink); background: #fff; }
.site-nav a:not(.app-link)::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .28rem; height: 2px;
  background: var(--brand); transform: scaleX(0); transform-origin: left; transition: transform .18s;
}
.site-nav a:not(.app-link):hover::after { transform: scaleX(1); }
.app-link {
  margin-left: .4rem; background: var(--ink); color: #fff !important;
  border-radius: 999px; padding: .5rem 1rem; font-weight: 700;
}
.app-link:hover { background: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

@media (max-width: 860px) {
  .nav-toggle { display: block; margin-left: auto; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .6rem clamp(18px,4vw,40px) 1rem;
    gap: .1rem; display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: .8rem .4rem; }
  .app-link { margin: .5rem 0 0; text-align: center; }
}

/* ---------------- Hero ---------------- */
.hero { padding: clamp(2.6rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3.4rem); position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: radial-gradient(var(--line-2) 1.3px, transparent 1.3px);
  background-size: 26px 26px; opacity: .5;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 20%, #000, transparent 75%);
  mask-image: radial-gradient(80% 70% at 70% 20%, #000, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.home-hero .hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.kicker {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand-700); background: var(--brand-tint); border: 1px solid var(--brand-tint-2);
  padding: .35em .8em; border-radius: 999px; margin-bottom: 1.1rem;
}
.hero h1 { margin-bottom: .5rem; }
.hero h1 .accent { color: var(--brand); }
.lede { font-size: clamp(1.02rem, 1.8vw, 1.22rem); color: var(--ink-2); max-width: 34ch; }
.home-hero .lede { max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }
.hero-stats { display: flex; gap: 2rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-stats .stat { display: flex; flex-direction: column; }
.hero-stats .stat strong { font-family: var(--mono); font-size: 1.7rem; color: var(--ink); letter-spacing: -.02em; }
.hero-stats .stat span { font-size: .82rem; color: var(--muted); font-weight: 600; }

/* hero receipt mock */
.hero-receipt {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  border: 1px solid var(--line); position: relative; padding: 1.4rem 1.5rem 1.6rem;
  transform: rotate(1.4deg);
}
.hero-receipt::before, .hero-receipt::after {
  content: ""; position: absolute; width: 20px; height: 20px; background: var(--bg); border-radius: 50%;
  top: 46%; border: 1px solid var(--line);
}
.hero-receipt::before { left: -11px; }
.hero-receipt::after { right: -11px; }
.hr-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .74rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding-bottom: .8rem; border-bottom: 2px dashed var(--line-2); }
.hr-big { text-align: center; padding: 1.2rem 0 .6rem; }
.hr-big .lbl { font-size: .8rem; color: var(--muted); font-weight: 600; }
.hr-big .amt { font-family: var(--mono); font-size: 2.5rem; font-weight: 800; color: var(--ink); letter-spacing: -.03em; }
.hr-big .amt small { color: var(--brand); font-size: 1rem; }
.hr-line { display: flex; justify-content: space-between; font-size: .9rem; padding: .45rem 0; border-bottom: 1px dashed var(--line); }
.hr-line span:last-child { font-family: var(--mono); font-weight: 700; }
.hr-bar { height: 10px; border-radius: 999px; margin-top: 1rem; background: var(--accent); overflow: hidden; display: flex; }
.hr-bar i { display: block; height: 100%; background: var(--brand); }

@media (max-width: 880px) {
  .home-hero .hero-inner { grid-template-columns: 1fr; }
  .hero-receipt { display: none; }
}

/* ---------------- Page hero (interior) ---------------- */
.page-hero { padding: clamp(2.2rem, 5vw, 3.4rem) 0 clamp(1.4rem, 3vw, 2rem); border-bottom: 1px solid var(--line); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1rem; font-size: .8rem; font-family: var(--mono); color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .4rem; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }

/* ---------------- Sections ---------------- */
.section { padding: clamp(2.4rem, 5vw, 4rem) 0; }
.section > .wrap, .section > .section-head, .section > .cat, .section .prose, .section .featured-strip, .section .app-banner, .section .calc-grid, .section .cat-list { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 4vw, 40px); }
.section-head { margin-bottom: 1.8rem; }
.section-head h2 { margin-bottom: .3rem; }
.section-head .sub { color: var(--muted); margin: 0; }

/* ---------------- Featured strip (home) ---------------- */
.featured { padding-top: 0; }
.featured-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  width: 100%; max-width: var(--maxw); margin: -2.2rem auto 0; position: relative; z-index: 2;
  padding-inline: clamp(18px, 4vw, 40px);
}
.featured-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.3rem; box-shadow: var(--shadow); position: relative; overflow: hidden;
  transition: transform .14s ease, box-shadow .14s ease; display: flex; flex-direction: column;
}
.featured-card::before { content: ""; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--brand); }
.featured-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.featured-card .badge { align-self: flex-start; font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--brand-700); background: var(--brand-tint); padding: .25em .6em; border-radius: 6px; margin-bottom: .7rem; font-weight: 600; }
.featured-card h3 { font-size: 1.08rem; margin-bottom: .35rem; }
.featured-card p { color: var(--muted); font-size: .86rem; margin: 0 0 1rem; flex: 1; }
.featured-card .cta { font-weight: 700; font-size: .85rem; color: var(--brand); }
@media (max-width: 900px) { .featured-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .featured-strip { grid-template-columns: 1fr; } }

/* ---------------- Category directory (listing) ---------------- */
.cat { margin-bottom: 2.6rem; }
.cat-head { display: flex; align-items: baseline; gap: .8rem; padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 2px solid var(--ink); }
.cat-head h3 { font-size: 1.3rem; margin: 0; }
.cat-head .count { font-family: var(--mono); font-size: .8rem; font-weight: 700; color: #fff; background: var(--ink); border-radius: 999px; padding: .15em .7em; }
.cat-head .count.c-invest { background: var(--invest); }
.cat-head .count.c-tax { background: var(--tax); }

/* directory rows */
.cat-list { display: grid; grid-template-columns: 1fr 1fr; gap: .1rem 2.4rem; }
.calc-row {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .9rem;
  padding: .95rem .4rem; border-bottom: 1px solid var(--line); position: relative;
  transition: padding-left .14s ease, background .14s;
}
.calc-row .idx { font-family: var(--mono); font-size: .78rem; color: var(--muted); width: 2.2ch; }
.calc-row .rc-body h4 { font-size: 1rem; margin: 0 0 .1rem; color: var(--ink); }
.calc-row .rc-body p { margin: 0; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.calc-row .arrow { font-family: var(--mono); color: var(--brand); font-weight: 700; opacity: 0; transform: translateX(-4px); transition: .14s; }
.calc-row:hover { background: #fff; padding-left: 1rem; }
.calc-row:hover::before { content: ""; position: absolute; left: 0; top: 12%; bottom: 12%; width: 3px; background: var(--brand); border-radius: 3px; }
.calc-row:hover .arrow { opacity: 1; transform: translateX(0); }
.calc-row:hover .rc-body h4 { color: var(--brand-700); }
.cat--invest .calc-row:hover::before { background: var(--invest); }
.cat--tax .calc-row:hover::before { background: var(--tax); }
@media (max-width: 720px) { .cat-list { grid-template-columns: 1fr; } }

/* generic card grid (related / blog / featured fallbacks) */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.calc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem 1.2rem;
  display: flex; flex-direction: column; transition: transform .14s, box-shadow .14s, border-color .14s; box-shadow: var(--shadow);
}
.calc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--brand-tint-2); color: var(--ink); }
.calc-card-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .5rem; }
.calc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand); flex: none; }
.calc-card--invest .calc-dot { background: var(--invest); }
.calc-card--tax .calc-dot { background: var(--tax); }
.calc-card-head h4 { margin: 0; font-size: 1rem; flex: 1; }
.calc-arrow { font-family: var(--mono); color: var(--muted); font-weight: 700; }
.calc-card:hover .calc-arrow { color: var(--brand); }
.calc-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.calc-card .post-meta { margin-top: .8rem; }

/* ---------------- App banner ---------------- */
.app-banner {
  margin-top: 1rem; background: var(--ink); color: #fff; border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  flex-wrap: wrap; position: relative; overflow: hidden;
}
.app-banner::after { content: ""; position: absolute; right: -40px; top: -40px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(var(--brand), transparent 70%); opacity: .35; }
.app-banner h3 { color: #fff; margin: 0 0 .3rem; font-size: 1.3rem; }
.app-banner p { margin: 0; color: #c7d0e0; }
.app-banner .btn { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(124,58,237,.4); }
.app-banner .btn:hover { background: var(--brand-600); transform: translateY(-2px); }

/* ---------------- Calculator app ---------------- */
.calc-section { padding: clamp(1.6rem, 4vw, 2.6rem) 0; }
.calc-wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(18px,4vw,40px); display: grid; grid-template-columns: 1.05fr .95fr; gap: 1.4rem; align-items: start; }
@media (max-width: 900px) { .calc-wrap { grid-template-columns: 1fr; } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 1.3rem; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 1.12rem; margin: 0; }
.head-meta { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--invest); display: flex; align-items: center; gap: .4em; }
.head-meta::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--invest); }
.card-body { padding: 1.3rem; }

/* fields */
.field { margin-bottom: 1.5rem; }
.field:last-child { margin-bottom: 0; }
.field-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .6rem; }
.field-head label { font-weight: 600; font-size: .92rem; color: var(--ink-2); }
.field-value { display: inline-flex; align-items: center; gap: .2ch; background: var(--brand-tint); border: 1px solid var(--brand-tint-2); border-radius: 8px; padding: .25em .6em; font-family: var(--mono); font-weight: 700; color: var(--brand-700); }
.field-value input { border: 0; background: transparent; font: inherit; color: inherit; width: 8ch; text-align: right; padding: 0; }
.field-value input:focus { outline: none; }
.field-value .unit { color: var(--muted); }

input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(var(--brand-tint-2), var(--brand-tint-2)); outline: none; margin: .2rem 0; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); cursor: pointer; box-shadow: 0 2px 6px rgba(124,58,237,.4); }
input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 5px solid var(--brand); cursor: pointer; }
.range-bounds { display: flex; justify-content: space-between; font-size: .72rem; color: var(--muted); font-family: var(--mono); margin-top: .3rem; }
.in-words { font-size: .76rem; color: var(--invest); font-weight: 600; margin-top: .5rem; font-style: italic; }

select { width: 100%; padding: .7em .9em; border: 1px solid var(--line-2); border-radius: 9px; font: inherit; background: #fff; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.chip, .seg button {
  font-family: var(--mono); font-size: .78rem; font-weight: 600; cursor: pointer;
  border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 999px; padding: .35em .8em; transition: .12s;
}
.chip[aria-pressed=true] { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip:hover { border-color: var(--brand); }
.seg { display: flex; gap: .4rem; }
.seg button { flex: 1; border-radius: 8px; padding: .6em; }
.seg button[aria-pressed=true] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* result ticket */
.result-card { background: #fff; position: relative; }
.result-card .card-head .head-meta { color: var(--brand); }
.result-card .card-head .head-meta::before { background: var(--brand); }
#resultBody { padding: 1.3rem; }
.result-hero { text-align: center; padding: 1rem 0 1.4rem; border-bottom: 2px dashed var(--line-2); margin-bottom: 1.2rem; }
.result-hero .label { font-size: .82rem; color: var(--muted); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.result-hero .value { font-size: clamp(2.2rem, 5vw, 3rem); font-weight: 800; color: var(--ink); }

.chart-wrap { display: flex; align-items: center; gap: 1.4rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.donut { --p: 50; --c1: var(--brand); --c2: var(--accent); width: 118px; height: 118px; border-radius: 50%; flex: none; background: conic-gradient(var(--c1) calc(var(--p) * 1%), var(--c2) 0); position: relative; }
.donut::after { content: ""; position: absolute; inset: 22%; background: #fff; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
.legend { flex: 1; min-width: 160px; display: flex; flex-direction: column; gap: .5rem; }
.legend .li { font-size: .86rem; color: var(--ink-2); display: flex; align-items: center; gap: .5rem; }
.legend .sw { width: 12px; height: 12px; border-radius: 3px; flex: none; }

.result-rows { display: flex; flex-direction: column; }
.result-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .6rem 0; border-bottom: 1px dashed var(--line); font-size: .92rem; }
.result-row .k { color: var(--ink-2); }
.result-row .v { font-weight: 700; color: var(--ink); }
.result-row.total { border-bottom: 0; margin-top: .3rem; padding-top: .9rem; border-top: 2px solid var(--ink); }
.result-row.total .k { font-weight: 700; }
.result-row.total .v { color: var(--brand-700); font-size: 1.15rem; }
.result-note { font-size: .82rem; color: var(--muted); margin: 1rem 0 0; background: var(--bg); border-radius: 8px; padding: .7rem .9rem; }

.actions { display: flex; gap: .6rem; padding: 0 1.3rem 1.3rem; }
.actions .btn { flex: 1; justify-content: center; }

.schedule-wrap { margin: 1rem 1.3rem 0; }
.schedule-wrap summary { cursor: pointer; font-weight: 700; font-size: .9rem; color: var(--brand-700); padding: .6rem 0; }
.table-scroll { overflow-x: auto; margin-top: .6rem; }
table.sched { width: 100%; border-collapse: collapse; font-size: .84rem; }
table.sched th, table.sched td { padding: .55rem .6rem; text-align: right; border-bottom: 1px solid var(--line); font-family: var(--mono); }
table.sched th { background: var(--bg); color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: .05em; position: sticky; top: 0; }
table.sched th:first-child, table.sched td:first-child { text-align: left; }

/* ---------------- Prose ---------------- */
.prose { max-width: 760px; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose h2.faq-h { margin-top: 2.4rem; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .4rem; }
.callout { background: var(--brand-tint); border-left: 4px solid var(--brand); border-radius: 0 10px 10px 0; padding: 1rem 1.1rem; margin: 1.4rem 0; font-size: .9rem; color: var(--ink-2); }
.callout.warn { background: #fff6e6; border-left-color: var(--accent); }
.callout.warn p { margin: 0; }

.faq details { border: 1px solid var(--line); border-radius: 10px; margin-bottom: .7rem; background: #fff; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1rem 1.1rem; font-weight: 700; font-size: .95rem; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.1rem; color: var(--brand); font-family: var(--mono); font-size: 1.3rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { margin: 0; padding: .9rem 1.1rem 1.1rem; color: var(--ink-2); font-size: .9rem; }

.cta-box { background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 1.6rem; margin: 2rem 0; }
.cta-box h3 { color: #fff; margin-top: 0; }
.cta-box p { color: #c7d0e0; }
.cta-box .btn { margin-top: .5rem; }

.post-meta { font-family: var(--mono); font-size: .78rem; color: var(--muted); }

/* ---------------- Footer ---------------- */
footer { background: var(--ink); color: #c7d0e0; margin-top: 3rem; }
.footer-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: clamp(2.4rem,5vw,3.4rem) clamp(18px,4vw,40px) 2rem; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap; padding-bottom: 1.6rem; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; color: #fff; font-size: 1.2rem; }
.footer-logo img { width: 32px; height: 32px; border-radius: 8px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.footer-links a { color: #c7d0e0; font-size: .9rem; font-weight: 600; }
.footer-links a:hover { color: var(--brand); }
.footer-business { padding: 1.6rem 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.biz-name { color: #fff; font-weight: 700; margin-bottom: .7rem; }
.footer-business address { font-style: normal; display: flex; flex-direction: column; gap: .35rem; font-size: .86rem; }
.footer-business address a { color: var(--accent); }
.biz-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.biz-badge { font-family: var(--mono); font-size: .74rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .3em .8em; color: #e6ebf3; }
.footer-disc { font-size: .78rem; color: #8a96ab; margin: 1.4rem 0 0; line-height: 1.6; }
.footer-copy { font-family: var(--mono); font-size: .8rem; color: #8a96ab; margin-top: 1.2rem; }

/* print */
@media print {
  header, footer, .actions, .app-banner, .hero-cta, .nav-toggle, body::before { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ccc; }
}
