/* Artix Bookkeeping — site styles
   Palette and fonts taken from the Artix business cards. */

@font-face { font-family: "Marcellus"; src: url("fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Jost"; src: url("fonts/jost-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
/* Headings: Marcellus for letters, Jost for digits (Marcellus digits look like letters, e.g. 0 reads as O) */
@font-face { font-family: "Artix Heading"; src: url("fonts/marcellus-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0000-002F, U+003A-FFFF; }
@font-face { font-family: "Artix Heading"; src: url("fonts/jost-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; unicode-range: U+0030-0039; }

:root {
  --navy: #0F2A52;
  --blue-dark: #1B3F72;
  --blue-mid: #1F4E86;
  --blue: #5C8CC0;
  --blue-light: #8DB4DA;
  --blue-pale: #CFE1F1;
  --mint: #BFE0D2;
  --mint-soft: #E6F1EC;
  --leaf: #2F7059;
  --leaf-light: #7DBBA3;
  --gold: #C9A24B;
  --bg: #F8F8F6;
  --card: #FFFFFF;
  --ink: #0F2A52;
  --muted: #4A5B78;
  --line: #DDE3EA;
  --radius: 18px;
  --max: 1120px;
  --font-head: "Artix Heading", "Marcellus", Georgia, serif;
  --font-body: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-accent: var(--font-body);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--blue-mid); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 400; line-height: 1.2; margin: 0 0 .6em; letter-spacing: .005em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.45rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .4em; }
.muted { color: var(--muted); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { width: min(100% - 2.5rem, 760px); margin-inline: auto; }
.container.narrow-card { width: min(100% - 2.5rem, 820px); }
.card ul { margin-bottom: 0; }
.section { padding: clamp(2rem, 4.5vw, 3.25rem) 0; }
.section.alt { background: #fff; border-block: 1px solid var(--line); }
.section.tint { background: var(--mint-soft); }
.section-head { max-width: 42rem; margin-bottom: 1.5rem; }
.rule { display: block; width: 46px; height: 2px; background: var(--gold); border: 0; margin: 0 0 1.1rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .7rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(248,248,246,.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 62px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 500; font-size: 1rem; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--leaf-light); }
.nav a.btn { border-bottom: 0; padding: .7rem 1.25rem; }
.nav a.btn-wa { color: #fff; }
.nav a.btn-wa:hover { color: #fff; }
.menu-toggle { display: none; background: none; border: 1.5px solid var(--navy); color: var(--navy); border-radius: 10px; padding: .45rem .8rem; font: 500 1rem var(--font-body); cursor: pointer; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; font-weight: 500; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-size: 1rem; line-height: 1.2; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-wa { background: var(--leaf); color: #fff; }
.btn-wa:hover { background: #245a47; color: #fff; }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--mint); color: var(--navy); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

/* Pills */
.pill { display: inline-block; background: var(--mint); color: var(--navy); font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; padding: .38rem .95rem; border-radius: 999px; margin-bottom: 1.1rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2rem, 4.5vw, 3.25rem); }
.hero-deco { position: absolute; right: 0; top: 0; height: 100%; width: auto; max-width: 46%; object-fit: cover; object-position: left center; pointer-events: none; }
.hero .container { position: relative; }
.hero-copy { max-width: 600px; }
.hero h1 { margin-bottom: .5em; }
.hero-points { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: .55rem; }
.hero-points li { display: flex; gap: .7rem; align-items: baseline; margin: 0; color: var(--muted); }
.hero-points li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--leaf-light); transform: translateY(-1px); }

.page-hero { position: relative; overflow: hidden; padding: clamp(1.75rem, 4vw, 2.75rem) 0 clamp(1.5rem, 3vw, 2rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.page-hero .deco { position: absolute; right: -3%; top: -40%; height: 300%; width: auto; opacity: .6; pointer-events: none; }
.page-hero .container { position: relative; }

/* Trust strip */
.trust { background: var(--navy); color: #fff; }
.trust ul { list-style: none; margin: 0; padding: 1.15rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem 1.5rem; }
.trust li { margin: 0; font-size: .95rem; display: flex; gap: .6rem; align-items: center; }
.trust li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); flex: none; }

/* Cards */
.grid { display: grid; gap: 1.4rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; }
.card h3 { margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card .icon { width: 46px; height: 46px; border-radius: 14px; background: var(--mint-soft); display: grid; place-items: center; margin-bottom: 1.1rem; color: var(--leaf); }
.card .icon svg { width: 26px; height: 26px; }
.price { font-family: var(--font-head); font-size: 1.15rem; color: var(--leaf); margin-top: .9rem; }
.card-link { display: block; text-decoration: none; color: inherit; height: 100%; transition: transform .15s, border-color .15s; }
.card-link:hover { transform: translateY(-3px); border-color: var(--blue-light); color: inherit; }
.card-link .more { color: var(--blue-mid); font-weight: 500; margin-top: 1rem; display: inline-block; }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.2rem; }
.steps li { counter-increment: step; position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.7rem; margin: 0; }
.steps li::before { content: counter(step); font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); display: block; margin-bottom: .4rem; }
.steps h3 { margin-bottom: .35em; }

.callout { background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: 12px; padding: 1.3rem 1.5rem; margin: 1.8rem 0; }
.callout.mint { background: var(--mint-soft); border-left-color: var(--leaf-light); }
.callout h3, .callout h4 { font-size: 1.15rem; margin-bottom: .4em; }
.callout > :last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { position: relative; overflow: hidden; background: var(--navy); color: #fff; border-radius: 26px; padding: clamp(1.75rem, 4vw, 2.75rem); }
.cta-band .deco { position: absolute; right: -3%; top: -5%; height: 115%; width: auto; opacity: .35; pointer-events: none; }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; max-width: 22ch; }
.cta-band p { color: #D6E2F2; max-width: 38em; }

/* Table */
.fee-table { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.fee-table th, .fee-table td { text-align: left; padding: 1.05rem 1.3rem; vertical-align: top; border-bottom: 1px solid var(--line); }
.fee-table thead th { background: var(--navy); color: #fff; font-weight: 500; letter-spacing: .04em; font-size: .95rem; }
.fee-table tbody tr:last-child td { border-bottom: 0; }
.fee-table td.fee { white-space: nowrap; font-family: var(--font-body); font-weight: 600; font-size: 1.05rem; color: var(--leaf); font-variant-numeric: tabular-nums; }
.fee-table .sub { display: block; color: var(--muted); font-size: .95rem; margin-top: .15rem; }

/* FAQ */
details.faq { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 0 1.4rem; margin-bottom: .8rem; }
details.faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 500; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); }
details.faq[open] summary::after { content: "–"; }
details.faq p { color: var(--muted); }

/* Guides / article */
.crumbs { font-size: .92rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs a { color: var(--muted); }
.meta { color: var(--muted); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin-top: 1.1rem; }
.article { padding: clamp(1.5rem, 3vw, 2.25rem) 0 clamp(2rem, 4vw, 3rem); }
.article h2 { margin-top: 1.7rem; font-size: clamp(1.45rem, 2.6vw, 1.9rem); }
.article h3 { margin-top: 1.6rem; }
.article table { width: 100%; border-collapse: collapse; margin: 1.2rem 0 1.6rem; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.article th, .article td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
.article thead th { background: var(--blue-pale); font-weight: 500; }
.sources { font-size: .95rem; color: var(--muted); border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.2rem; }
.sources h2 { font-size: 1.1rem; margin: 0 0 .5rem; font-family: var(--font-body); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.disclaimer { font-family: var(--font-body); font-style: normal; font-size: 1rem; color: var(--muted); }

/* Contact */
.contact-card { display: flex; gap: 1rem; align-items: flex-start; }
.contact-card .icon { flex: none; margin: 0; }
.contact-card h3 { margin-bottom: .2em; font-size: 1.15rem; }
.contact-card a { word-break: break-word; }

/* Footer */
.site-footer { background: var(--navy); color: #D6E2F2; padding: 2.5rem 0 1.5rem; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid img { height: 58px; width: auto; margin-bottom: 1rem; }
.site-footer h2 { font-family: var(--font-body); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mint); margin-bottom: .9rem; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.legal { border-top: 1px solid rgba(255,255,255,.18); margin-top: 2.5rem; padding-top: 1.4rem; font-size: .9rem; color: #B8C8E0; }
.legal p { margin-bottom: .5em; }

/* Responsive */
@media (max-width: 940px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust ul { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-deco { max-width: 40%; opacity: .55; }
}
@media (max-width: 760px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .9rem; justify-content: center; border-bottom: 0; }
  .brand img { height: 52px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero-deco { max-width: 55%; opacity: .28; }
  .footer-grid { grid-template-columns: 1fr; }
  .fee-table thead { position: absolute; left: -9999px; }
  .fee-table, .fee-table tbody, .fee-table tr, .fee-table td { display: block; width: 100%; }
  .fee-table tr { border-bottom: 1px solid var(--line); padding: .6rem 0; }
  .fee-table tbody tr:last-child { border-bottom: 0; }
  .fee-table td { border: 0; padding: .35rem 1.1rem; }
  .fee-table td.fee { padding-bottom: .7rem; }
  .article table, .article thead, .article tbody, .article tr, .article th, .article td { font-size: .98rem; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
@media print { .site-header, .site-footer, .cta-band, .menu-toggle { display: none; } body { background: #fff; } }

/* Client reviews */
.quote { margin: 0; display: flex; flex-direction: column; gap: 1rem; }
.quote blockquote { margin: 0; font-family: var(--font-body); font-size: 1.1rem; line-height: 1.55; font-style: normal; }
.quote figcaption { margin-top: auto; font-size: .95rem; font-weight: 500; }
.quote figcaption .muted { font-weight: 400; }
.stars { display: inline-flex; gap: 3px; }
.stars svg { width: 20px; height: 20px; fill: var(--gold); }

/* copy v2 additions */
.hero-note { margin: 1.1rem 0 0; font-size: .95rem; color: var(--muted); text-wrap: balance; }
.footer-note { margin: .8rem 0 0; font-size: .9rem; opacity: .8; }

/* v3: tighter hero text, no orphan words, wider first column, nav breakpoint with the Home link */
.lead { text-wrap: pretty; }
.page-hero h1 { margin-bottom: .35em; }
.page-hero .lead { max-width: 48em; margin-bottom: 0; }
@media (min-width: 761px) { .fee-table th:first-child, .fee-table td:first-child { width: 29%; } }
@media (max-width: 900px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 1.25rem 1.2rem; }
  .nav.open { display: flex; }
  .nav a { padding: .85rem 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: .9rem; justify-content: center; border-bottom: 0; }
}

@media (max-width: 760px) { .page-hero .deco { opacity: .35; } }

@media (min-width: 900px) { .page-hero h1 { max-width: 14em; } }

.meta span + span::before { content: "\00b7"; margin-right: 1.1rem; }

/* no italics anywhere: emphasis uses a heavier weight of the main font */
em, i, cite, address { font-style: normal; }
em, i { font-weight: 500; }

.page-hero-tool { padding-block: 1.6rem 1.4rem; }
.page-hero-tool h1 { margin-bottom: .5rem; }
.page-hero-tool .lead { margin-bottom: .6rem; }
