/* LoanIQ — "corporate SaaS dashboard" theme.
   Royal cobalt-blue + white on cool light-grey, matched to the Play Store app icon.
   Blue banner hero with a KPI mock, icon-tile list cards, KPI-tile results.
   A fourth distinct layout across the sibling sites. */

:root {
  --brand: #2e36cf;          /* royal cobalt-blue */
  --brand-600: #2831bd;
  --brand-700: #1f279e;
  --accent: #f59e0b;         /* amber — interest segment */
  --invest: #0ea5e9;         /* sky — investment calcs */
  --tax: #4f46e5;            /* indigo — tax calcs */
  --ink: #0f172a;            /* slate-900 */
  --ink-2: #334155;
  --muted: #64748b;
  --brand-tint: #eaecfb;
  --brand-tint-2: #ccd2f7;

  --bg: #f4f6fc;             /* cool light grey */
  --bg-panel: #ffffff;
  --bg-dark: #10143a;        /* deep navy-indigo */
  --line: #e6eaf4;
  --line-2: #d5dcee;

  --radius: 14px;
  --radius-lg: 20px;
  --radius-sm: 9px;
  --maxw: 1180px;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow: 0 2px 6px rgba(30,39,158,.06), 0 12px 28px rgba(30,39,158,.08);
  --shadow-lg: 0 24px 60px rgba(30,39,158,.18);
  --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); text-decoration: none; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.num, .value { font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1; }

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

/* ---------------- Buttons ---------------- */
.btn { display: inline-flex; align-items: center; gap: .5em; font-weight: 700; font-size: .95rem; cursor: pointer; border: 1.5px solid transparent; border-radius: 10px; padding: .72em 1.4em; transition: transform .12s, box-shadow .12s, background .12s; font-family: var(--sans); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(46,54,207,.28); }
.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(--brand); color: var(--brand-700); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #1e293b; color: #fff; transform: translateY(-2px); }

/* ---------------- Header (solid top app-bar) ---------------- */
header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.header-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: .7rem clamp(18px, 4vw, 40px); display: flex; align-items: center; gap: 1.4rem; }
.logo { display: flex; align-items: center; gap: .55rem; font-weight: 800; color: var(--ink); font-size: 1.25rem; letter-spacing: -.02em; }
.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: .2rem; }
.site-nav a { color: var(--ink-2); font-weight: 600; font-size: .92rem; padding: .5rem .85rem; border-radius: 8px; }
.site-nav a:not(.app-link):hover { color: var(--brand-700); background: var(--brand-tint); }
.app-link { margin-left: .5rem; background: var(--brand); color: #fff !important; border-radius: 10px; padding: .55rem 1.1rem; font-weight: 700; }
.app-link:hover { background: var(--brand-600); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); margin-left: auto; }
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; background: #fff; 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; justify-content: center; }
}

/* ---------------- Hero (blue banner + dashboard mock) ---------------- */
.home-hero { background: linear-gradient(160deg, #2e36cf 0%, #232aba 60%, #1b2192 100%); color: #fff; border-radius: 0 0 32px 32px; padding: clamp(2.6rem, 5vw, 4.2rem) 0 clamp(3rem, 6vw, 4.6rem); position: relative; overflow: hidden; }
.home-hero::after { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.10), transparent 70%); }
.home-hero .hero-inner { position: relative; z-index: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 3.6rem); align-items: center; }
.home-hero h1 { color: #fff; }
.home-hero h1 .accent { color: #a9b0ff; }
.kicker { display: inline-flex; align-items: center; gap: .5em; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: #cdd2f7; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); padding: .38em .85em; border-radius: 999px; margin-bottom: 1.1rem; }
.home-hero .lede { color: #d5d9f5; font-size: clamp(1.02rem, 1.7vw, 1.2rem); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.7rem; }
.home-hero .btn-primary { background: #fff; color: var(--brand-700); box-shadow: 0 10px 24px rgba(0,0,0,.2); }
.home-hero .btn-primary:hover { background: #eef0ff; color: var(--brand-700); }
.home-hero .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.home-hero .btn-ghost:hover { border-color: #fff; color: #fff; }
.hero-trust { display: flex; gap: 1.6rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-trust .t { display: flex; flex-direction: column; }
.hero-trust .t strong { font-size: 1.5rem; color: #fff; }
.hero-trust .t span { font-size: .8rem; color: #b9bff0; font-weight: 600; }

/* dashboard mock */
.hero-dash { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); border-radius: var(--radius-lg); padding: 1.2rem; backdrop-filter: blur(6px); }
.dash-head { display: flex; justify-content: space-between; align-items: center; font-size: .78rem; color: #cdd2f7; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .9rem; }
.dash-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
.dtile { background: #fff; border-radius: 12px; padding: .8rem .9rem; }
.dtile .dl { font-size: .72rem; color: var(--muted); font-weight: 600; }
.dtile .dv { font-size: 1.25rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: .15rem; }
.dtile .dv.pos { color: #0ea5e9; }
.dtile .dv.warn { color: var(--accent); }
.dash-bars { display: flex; align-items: flex-end; gap: .5rem; height: 70px; margin-top: .8rem; background: #fff; border-radius: 12px; padding: .8rem; }
.dash-bars i { flex: 1; background: linear-gradient(var(--brand), #6b71e6); border-radius: 4px 4px 0 0; }
@media (max-width: 880px) { .home-hero .hero-inner { grid-template-columns: 1fr; } .hero-dash { 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); background: #fff; }
.page-hero .hero-inner { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: clamp(18px, 4vw, 40px); }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; padding: 0; margin: 0 0 1rem; font-size: .82rem; color: var(--muted); }
.breadcrumb li:not(:last-child)::after { content: "/"; margin-left: .45rem; color: var(--line-2); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.lede { font-size: clamp(1rem, 1.7vw, 1.15rem); color: var(--ink-2); max-width: 60ch; }

/* ---------------- Sections ---------------- */
.section { padding: clamp(2.4rem, 5vw, 4rem) 0; }
.section > .wrap, .section > .section-head, .section .prose, .section .feature-cards, .section .cat, .section .card-grid, .section .app-banner { 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 cards (icon-tile) ---------------- */
.featured { padding: 0; }
.feature-cards { width: 100%; max-width: var(--maxw); margin: -3.2rem auto 0; padding-inline: clamp(18px, 4vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; position: relative; z-index: 5; }
.fcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .14s, box-shadow .14s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.ficon { width: 42px; height: 42px; border-radius: 11px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: 1.2rem; font-weight: 800; margin-bottom: .8rem; }
.fcard .badge { font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--brand-700); margin-bottom: .3rem; }
.fcard h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.fcard p { color: var(--muted); font-size: .84rem; margin: 0 0 .9rem; flex: 1; }
.fcard .cta { font-weight: 700; font-size: .85rem; color: var(--brand); }
@media (max-width: 900px) { .feature-cards { grid-template-columns: repeat(2, 1fr); margin-top: -2.4rem; } }
@media (max-width: 520px) { .feature-cards { grid-template-columns: 1fr; } }

/* ---------------- Category index (icon-tile list cards) ---------------- */
.cat { margin-bottom: 2.6rem; }
.cat-head { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.1rem; }
.cat-chip { width: 40px; height: 40px; border-radius: 11px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-size: 1.15rem; flex: none; }
.cat--invest .cat-chip { background: #e0f2fe; color: var(--invest); }
.cat--tax .cat-chip { background: #e8e7fd; color: var(--tax); }
.cat-head h3 { font-size: 1.3rem; margin: 0; flex: 1; }
.cat-head .count { font-size: .78rem; font-weight: 700; color: var(--muted); background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: .25em .8em; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: .8rem; }
.lcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem; display: flex; align-items: center; gap: .9rem; transition: transform .14s, box-shadow .14s, border-color .14s; }
.lcard:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--brand-tint-2); color: var(--ink); }
.licon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-tint); color: var(--brand); display: grid; place-items: center; font-weight: 800; font-size: .95rem; flex: none; }
.cat--invest .licon { background: #e0f2fe; color: var(--invest); }
.cat--tax .licon { background: #e8e7fd; color: var(--tax); }
.lbody { flex: 1; min-width: 0; }
.lbody h4 { margin: 0 0 .1rem; font-size: .98rem; }
.lbody p { margin: 0; font-size: .82rem; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lcard .arrow { color: var(--muted); font-weight: 700; }
.lcard:hover .arrow { color: var(--brand); }
.lcard:hover h4 { color: var(--brand-700); }

/* generic card grid (related / blog) reuse .lcard-ish via .calc-card */
.calc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 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; }
.calc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--brand-tint-2); color: var(--ink); }
.calc-card-head { display: flex; align-items: center; gap: .55rem; margin-bottom: .45rem; }
.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: 1.02rem; flex: 1; }
.calc-arrow { color: var(--muted); font-weight: 700; }
.calc-card:hover .calc-arrow { color: var(--brand); }
.calc-card p { margin: 0; color: var(--muted); font-size: .86rem; }
.calc-card .post-meta { margin-top: .8rem; }

/* ---------------- App banner ---------------- */
.app-banner { margin-top: 1rem; background: var(--bg-dark); color: #d5d9f5; border-radius: var(--radius-lg); padding: clamp(1.6rem, 3.5vw, 2.4rem); 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: -50px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(var(--brand), transparent 70%); opacity: .5; }
.app-banner h3 { color: #fff; margin: 0 0 .3rem; font-size: 1.35rem; }
.app-banner p { margin: 0; color: #aab1e0; }
.app-banner .btn { background: #fff; color: var(--brand-700); position: relative; z-index: 1; }
.app-banner .btn:hover { background: #eef0ff; color: var(--brand-700); transform: translateY(-2px); }

/* ---------------- Calculator app (two-column) ---------------- */
.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: 1fr 1fr; gap: 1.3rem; 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.05rem 1.3rem; border-bottom: 1px solid var(--line); }
.card-head h2 { font-size: 1.1rem; margin: 0; }
.head-meta { font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--invest); font-weight: 700; 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: .55rem; }
.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: .28em .6em; font-weight: 700; color: var(--brand-700); font-variant-numeric: tabular-nums; }
.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: var(--brand-tint-2); outline: none; margin: .25rem 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(46,54,207,.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: .74rem; color: var(--muted); margin-top: .3rem; font-variant-numeric: tabular-nums; }
.in-words { font-size: .78rem; color: var(--invest); font-weight: 600; margin-top: .5rem; }
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-size: .8rem; font-weight: 600; cursor: pointer; border: 1px solid var(--line-2); background: #fff; color: var(--ink-2); border-radius: 8px; padding: .38em .8em; transition: .12s; font-variant-numeric: tabular-nums; }
.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 — blue summary band + KPI tiles */
.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 { background: linear-gradient(150deg, var(--brand), var(--brand-700)); color: #fff; border-radius: var(--radius); padding: 1.2rem 1.3rem; text-align: center; margin-bottom: 1.2rem; }
.result-hero .label { font-size: .78rem; color: #cdd2f7; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.result-hero .value { font-size: clamp(2rem, 5vw, 2.7rem); font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; margin-top: .1rem; }

.kpis { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: 1.1rem; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: .85rem .95rem; position: relative; }
.kpi::before { content: ""; position: absolute; left: 0; top: .95rem; bottom: .95rem; width: 4px; border-radius: 4px; background: var(--seg, var(--brand)); }
.kpi { padding-left: 1.2rem; }
.kpi .kl { font-size: .76rem; color: var(--muted); font-weight: 600; }
.kpi .kv { font-size: 1.2rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: .1rem; }
.prop-bar { display: flex; height: 8px; border-radius: 999px; overflow: hidden; background: var(--brand-tint); margin-bottom: 1.2rem; }
.prop-bar i { height: 100%; }

.result-rows { display: flex; flex-direction: column; }
.result-row { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .62rem 0; border-bottom: 1px solid var(--line); font-size: .93rem; }
.result-row .k { color: var(--ink-2); }
.result-row .v { font-weight: 700; color: var(--ink); font-variant-numeric: tabular-nums; }
.result-row.total { border-bottom: 0; margin-top: .3rem; padding-top: .9rem; border-top: 2px solid var(--ink); }
.result-row.total .v { color: var(--brand-700); font-size: 1.2rem; }
.result-note { font-size: .83rem; color: var(--muted); margin: 1.1rem 0 0; background: var(--bg); border-radius: 9px; 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: .85rem; }
table.sched th, table.sched td { padding: .56rem .6rem; text-align: right; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
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.45rem; }
.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: #fef6e7; 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-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(--bg-dark); color: #d5d9f5; border-radius: var(--radius-lg); padding: 1.7rem; margin: 2rem 0; }
.cta-box h3 { color: #fff; margin-top: 0; }
.cta-box p { color: #aab1e0; }
.cta-box .btn { margin-top: .5rem; background: #fff; color: var(--brand-700); }
.cta-box .btn:hover { background: #eef0ff; color: var(--brand-700); }
.post-meta { font-size: .8rem; color: var(--muted); }

/* ---------------- Footer ---------------- */
footer { background: var(--bg-dark); color: #aab1e0; 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.25rem; }
.footer-logo img { width: 32px; height: 32px; border-radius: 9px; }
.footer-links { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; }
.footer-links a { color: #aab1e0; font-size: .9rem; font-weight: 600; }
.footer-links a:hover { color: #fff; }
.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: #a9b0ff; }
.biz-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.biz-badge { font-size: .74rem; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .3em .8em; color: #d5d9f5; }
.footer-disc { font-size: .78rem; color: #7f87bd; margin: 1.4rem 0 0; line-height: 1.6; }
.footer-copy { font-size: .8rem; color: #7f87bd; margin-top: 1.2rem; }

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