/* IncomeSync — www.incomesync.com.au
   Brand: IncomeSync-Logo-Pack (Navy #17335C, Gold #C29A3D, Paper #FAF8F3).
   No third-party requests of any kind: no font CDN, no analytics, no embeds.
   Font stacks fall back to system faces; self-hosted Lora / IBM Plex Sans
   can be dropped into assets/fonts/ later without touching any markup. */

:root {
  --navy: #17335c;
  --navy-deep: #0f2340;
  --gold: #c29a3d;
  --gold-light: #dcb663;
  --paper: #faf8f3;
  --paper-edge: #eee9dd;
  --ink: #1d2733;
  --ink-soft: #55606e;
  --rule: #dcd6c7;
  --measure: 68ch;
  --wrap: 1080px;
  --serif: Lora, "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.22; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.05rem); }
h3 { font-size: 1.2rem; }
p, li { max-width: var(--measure); }
p { margin: 0 0 1.1em; }

a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--gold); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: .9em; background: rgba(23, 51, 92, .07);
  padding: .1em .35em; border-radius: 2px;
}
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--navy);
  color: #fff; padding: .7rem 1rem; z-index: 100;
}
.skip:focus { left: 0; }

/* ---------- header ---------- */
.site-head {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
}
.site-head .wrap {
  display: flex; align-items: center; gap: 1.5rem;
  justify-content: space-between; padding: .9rem 0; flex-wrap: wrap;
}
.brand { display: inline-flex; align-items: center; }
.brand img { height: 96px; width: auto; display: block; }
.nav { display: flex; gap: 1.35rem; flex-wrap: wrap; align-items: center; }
.nav a {
  color: #e8eef7; text-decoration: none; font-size: .95rem;
  font-weight: 500; padding: .25rem 0; border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { color: #fff; border-bottom-color: var(--gold); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600;
  font-size: 1rem; padding: .8rem 1.6rem; border-radius: 3px;
  text-decoration: none; border: 2px solid var(--navy);
  background: var(--navy); color: #fff; cursor: pointer;
}
.btn:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1a1408; }
.btn-gold:hover { background: var(--gold-light); border-color: var(--gold-light); color: #1a1408; }
.btn-quiet { background: transparent; color: var(--navy); }
.btn-quiet:hover { background: rgba(23, 51, 92, .07); color: var(--navy); }
.btn-row { display: flex; gap: .9rem; flex-wrap: wrap; margin: 1.6rem 0 .6rem; }

/* ---------- sections ---------- */
section { padding: 3.4rem 0; }
section.tight { padding: 2.4rem 0; }
.band-navy { background: var(--navy); color: #dfe7f1; }
.band-navy h2, .band-navy h3 { color: #fff; }
.band-navy a { color: var(--gold-light); }
.band-paper { background: #fff; border-block: 1px solid var(--paper-edge); }

.hero { padding: 4.2rem 0 3.4rem; }
.hero .lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 60ch; }
.eyebrow {
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  font-weight: 600; color: var(--gold); margin: 0 0 .8rem;
}
.band-navy .eyebrow { color: var(--gold-light); }

/* ---------- grid + cards ---------- */
.grid { display: grid; gap: 1.5rem; margin-top: 2rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(265px, 1fr)); }
.card {
  background: #fff; border: 1px solid var(--rule); border-radius: 4px;
  padding: 1.5rem 1.6rem; border-top: 3px solid var(--gold);
}
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card p, .card li { max-width: none; }
.band-navy .card { background: rgba(255, 255, 255, .05); border-color: rgba(220, 182, 99, .35); }
.band-navy .card p { color: #dfe7f1; }

/* ---------- pricing ---------- */
.price-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 2rem; }
.price {
  background: #fff; border: 1px solid var(--rule); border-radius: 4px;
  padding: 1.9rem; display: flex; flex-direction: column;
}
.price.featured { border: 2px solid var(--navy); }
.price h3 { margin-bottom: .2rem; }
.price .who { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.2rem; }
.price .amount { font-family: var(--serif); font-size: 2.5rem; color: var(--navy); line-height: 1; }
.price .amount span { font-size: 1rem; font-family: var(--sans); color: var(--ink-soft); }
.price .renew { margin: .55rem 0 1.2rem; font-size: .95rem; color: var(--ink-soft); }
.price ul { margin: 0 0 1.5rem; padding-left: 1.15rem; }
.price li { margin-bottom: .45rem; max-width: none; }
.price .btn { margin-top: auto; text-align: center; }
/* With the card button removed, the invoice link is the last thing in the card;
   it takes over pinning the call to action to the bottom so the tiers line up. */
.price .pay-alt { margin-top: auto; padding-top: .75rem; }
.pay-alt {
  display: block; text-align: center; margin-top: .75rem;
  font-size: .9rem; color: var(--ink-soft);
}

/* ---------- screen illustrations (tour) ---------- */
.shot {
  border: 1px solid var(--rule); border-radius: 5px; overflow: hidden;
  background: #fff; margin: 1.6rem 0 .6rem; box-shadow: 0 2px 14px rgba(23, 51, 92, .09);
}
.shot-bar {
  background: var(--navy); color: #cfdaea; padding: .5rem .9rem;
  font-size: .82rem; display: flex; align-items: center; gap: .6rem;
}
.shot-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--gold); flex: none; }
.shot-body { display: flex; min-height: 240px; }
.shot-side {
  background: #f2f0e9; border-right: 1px solid var(--rule);
  padding: .8rem 0; width: 148px; flex: none; font-size: .82rem;
}
.shot-side span { display: block; padding: .38rem .95rem; color: var(--ink-soft); }
.shot-side span.on { background: var(--navy); color: #fff; font-weight: 600; }
.shot-main { padding: 1.1rem 1.2rem; flex: 1; min-width: 0; overflow-x: auto; }
.shot-main h4 {
  font-family: var(--sans); font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-soft); margin: 0 0 .8rem;
}
.shot table { margin: 0; font-size: .84rem; }
.shot th, .shot td { padding: .42rem .6rem; }
.shot td.num, .shot th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.kpis { display: flex; gap: .8rem; flex-wrap: wrap; margin-bottom: 1rem; }
.kpi { background: var(--paper); border: 1px solid var(--rule); border-radius: 3px; padding: .6rem .9rem; }
.kpi b { display: block; font-family: var(--serif); font-size: 1.3rem; color: var(--navy); line-height: 1.1; }
.kpi span { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); }
.bars { display: grid; gap: .45rem; }
.bar { display: grid; grid-template-columns: 8.5rem 1fr 5rem; align-items: center; gap: .6rem; font-size: .83rem; }
.bar i { display: block; height: 15px; background: var(--navy); border-radius: 2px; }
.bar i.alt { background: var(--gold); }
.bar b { text-align: right; font-weight: 500; font-variant-numeric: tabular-nums; }
.pill {
  display: inline-block; font-size: .72rem; padding: .12rem .5rem; border-radius: 10px;
  background: rgba(23, 51, 92, .1); color: var(--navy); font-weight: 600;
}
.pill.warn { background: #fbeadf; color: #8c4218; }
.pill.ok { background: #e4eee2; color: #33613a; }
.caption { font-size: .87rem; color: var(--ink-soft); font-style: italic; margin: 0 0 2.4rem; }
@media (max-width: 700px) { .shot-side { display: none; } }

/* ---------- tables ---------- */
table { border-collapse: collapse; width: 100%; margin: 1.5rem 0; font-size: .96rem; }
th, td { text-align: left; padding: .7rem .8rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--sans); font-weight: 600; color: var(--navy); background: rgba(23, 51, 92, .05); }
td:not(:first-child) { white-space: normal; }

/* ---------- steps ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1.2rem; }
.steps li { counter-increment: step; padding-left: 3.2rem; position: relative; max-width: var(--measure); }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: -.1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: var(--gold-light);
  font-family: var(--serif); font-size: 1.05rem;
  display: grid; place-items: center;
}
.steps b { display: block; color: var(--navy); font-family: var(--serif); font-size: 1.08rem; }

/* ---------- notes ---------- */
.note {
  border-left: 4px solid var(--gold); background: rgba(194, 154, 61, .09);
  padding: 1rem 1.2rem; margin: 1.6rem 0; border-radius: 0 3px 3px 0;
}
.note p:last-child { margin-bottom: 0; }
.note strong { color: var(--navy); }
.draft {
  border: 2px dashed #a8422f; background: #fdf1ee; color: #6d2a1d;
  padding: 1rem 1.2rem; margin: 0 0 2rem; border-radius: 3px;
  font-weight: 600; max-width: var(--measure);
}

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--rule); margin-top: 2rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  cursor: pointer; padding: 1.05rem .2rem; font-weight: 600;
  color: var(--navy); font-size: 1.03rem; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--gold); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2212"; }
.faq .answer { padding: 0 .2rem 1.2rem; }
.faq .answer p:last-child { margin-bottom: 0; }

/* ---------- legal ---------- */
.legal h2 { margin-top: 2.4rem; }
.legal ol, .legal ul { max-width: var(--measure); }
.legal li { margin-bottom: .5rem; }

/* ---------- footer ---------- */
.site-foot {
  background: var(--navy-deep); color: #b9c6d8;
  padding: 2.8rem 0 2rem; font-size: .92rem; border-top: 3px solid var(--gold);
}
.site-foot .cols { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-foot h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--sans); }
.site-foot a { color: #dbe4f0; }
.site-foot a:hover { color: var(--gold-light); }
.site-foot ul { list-style: none; padding: 0; margin: 0; }
.site-foot li { margin-bottom: .4rem; }
.site-foot .fine {
  margin-top: 2.2rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .16);
  color: #8fa0b8; font-size: .85rem; max-width: none;
}
.site-foot img { height: 80px; width: auto; margin-bottom: 1.1rem; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 2.6rem 0; }
  .nav { gap: 1rem; }
  .nav a { font-size: .88rem; }
  .brand img { height: 64px; }
  .site-foot img { height: 60px; }
}
