/* Go2Invoice website - "Ledger & Ink" design system (matches the dashboard) */
:root {
  --ink: #0f1b2d;
  --ink-2: #17273e;
  --ink-3: #243650;
  --ink-deep: #09111d;
  --paper: #f7f5f0;
  --paper-2: #efebe2;
  --white: #ffffff;
  --text: #16202e;
  --text-2: #3b4656;
  --muted: #5f6b7a;
  --border: #e4dfd4;
  --border-strong: #d2cbbb;
  --emerald: #0d6b5f;
  --emerald-dark: #0a574d;
  --emerald-soft: #e5f1ee;
  --gold: #b8923a;
  --gold-light: #d8b766;
  --gold-soft: #f6eedb;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .06);
  --shadow: 0 2px 4px rgba(15, 27, 45, .04), 0 12px 32px -12px rgba(15, 27, 45, .16);
  --shadow-lg: 0 30px 60px -20px rgba(9, 17, 29, .35), 0 4px 12px rgba(9, 17, 29, .08);
  --font: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --display: 'Plus Jakarta Sans', 'IBM Plex Sans', 'Segoe UI', system-ui, sans-serif;
  --mono: ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --header-h: 72px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  font-feature-settings: 'tnum' 1, 'lnum' 1;
}
img, svg { max-width: 100%; }
a { color: var(--emerald); text-decoration: none; }
a:hover { color: var(--emerald-dark); text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); color: var(--ink); letter-spacing: -0.022em; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--gold-soft); color: var(--ink); }
.i { width: 20px; height: 20px; flex: none; vertical-align: middle; }
.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; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 600; }
.skip-link:focus { top: 12px; color: #fff; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 840px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--text-2); line-height: 1.6; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: .78rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--emerald);
}
.eyebrow .i { width: 16px; height: 16px; }
.eyebrow-gold { color: var(--gold-light); }

/* ------------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px;
  border: 1px solid transparent; border-radius: 10px; font: 600 .95rem/1 var(--font); cursor: pointer; white-space: nowrap;
  transition: background .15s, color .15s, border-color .15s, box-shadow .15s, transform .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: none; }
.btn .i { width: 18px; height: 18px; }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 1rem; border-radius: 12px; }
.btn-block { width: 100%; }
.btn-primary { background: var(--emerald); color: #fff; box-shadow: 0 6px 18px -8px rgba(13, 107, 95, .7); }
.btn-primary:hover { background: var(--emerald-dark); color: #fff; }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--border-strong); }
.btn-secondary:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper); color: var(--ink); }
.btn-gold { background: linear-gradient(180deg, var(--gold-light), var(--gold)); color: var(--ink-deep); }
.btn-gold:hover { color: var(--ink-deep); filter: brightness(1.05); }
.btn-outline-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-outline-light:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .06); }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
/* the blur sits on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font: 800 1.28rem/1 var(--display); letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; color: var(--ink); }
.brand b { color: var(--gold); font-weight: 800; margin: 0 .5px; }
.brand .logo-mark { flex: none; filter: drop-shadow(0 4px 10px rgba(184, 146, 58, .35)); }
.brand-light b { color: #e3c77f; }
.brand-light, .brand-light:hover { color: #fff; }
.main-nav { display: flex; align-items: center; flex: 1; gap: 12px; }
.main-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0 auto; }
.main-nav ul a { display: block; padding: 8px 14px; border-radius: 8px; color: var(--text-2); font-weight: 500; font-size: .95rem; }
.main-nav ul a:hover { color: var(--ink); background: var(--paper); text-decoration: none; }
.main-nav ul a[aria-current="page"] { color: var(--ink); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.nav-cta { display: flex; gap: 8px; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--ink); cursor: pointer; }
.nav-toggle .i { width: 22px; height: 22px; }
.nav-toggle .when-open { display: none; }
.nav-toggle[aria-expanded="true"] .when-open { display: inline; }
.nav-toggle[aria-expanded="true"] .when-closed { display: none; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(56px, 7vw, 104px);
  background:
    radial-gradient(700px 360px at 85% 10%, rgba(184, 146, 58, .14), transparent 70%),
    radial-gradient(640px 420px at 0% 100%, rgba(13, 107, 95, .10), transparent 70%),
    linear-gradient(180deg, #fff, var(--paper));
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 65%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: .45em; }
.hl { color: var(--emerald); background: linear-gradient(transparent 62%, var(--gold-soft) 62%); padding: 0 .08em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; color: var(--text-2); font-size: .93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 6px; }
.hero-points .i { width: 18px; height: 18px; color: var(--emerald); }
.hero-login { margin: 18px 0 0; font-size: .93rem; color: var(--muted); }

/* product mock-up */
.mock { position: relative; padding: 18px 0 30px; }
.mock-window { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; transform: perspective(1600px) rotateY(-6deg) rotateX(2deg); }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; background: var(--paper); border-bottom: 1px solid var(--border); }
.mock-bar > span { width: 10px; height: 10px; border-radius: 50%; background: #d8d2c4; }
.mock-url { margin-left: 10px; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 4px 10px; border-radius: 6px; background: #fff; color: var(--muted); font: .74rem/1.4 var(--mono); }
.mock-body { padding: 20px 22px 22px; font-size: .8rem; }
.mock-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.mock-title { font: 800 1.2rem/1.2 var(--display); color: var(--ink); }
.mock-sub { color: var(--muted); }
.mock-badge { padding: 3px 10px; border-radius: 999px; background: #e8eff9; color: #1d4f91; font-weight: 600; font-size: .72rem; }
.mock-parties { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 14px; }
.mock-parties div { padding: 10px 12px; border-radius: 10px; background: var(--paper); display: flex; flex-direction: column; line-height: 1.4; }
.mock-parties small { color: var(--muted); text-transform: uppercase; letter-spacing: .08em; font-size: .64rem; }
.mock-parties span { color: var(--muted); font-size: .72rem; }
.mock-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.mock-table th { padding: 7px 8px; background: var(--ink); color: #fff; font-weight: 600; text-align: left; font-size: .7rem; }
.mock-table th:last-child, .mock-table td:last-child { text-align: right; }
.mock-table td { padding: 8px; border-bottom: 1px solid var(--border); }
.mock-totals { margin: 12px 0 0 auto; width: 62%; }
.mock-totals div { display: flex; justify-content: space-between; padding: 3px 0; color: var(--text-2); }
.mock-total { margin-top: 4px; padding-top: 8px !important; border-top: 1px solid var(--ink); font-weight: 700; color: var(--ink) !important; font-size: .92rem; }
.mock-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.mock-btn { padding: 7px 12px; border-radius: 8px; border: 1px solid var(--border-strong); font-weight: 600; }
.mock-btn-primary { background: var(--emerald); border-color: var(--emerald); color: #fff; }
.mock-float {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 14px; background: #fff;
  border: 1px solid var(--border); box-shadow: var(--shadow); font-size: .78rem; line-height: 1.35; animation: float 6s ease-in-out infinite;
}
.mock-float div { display: flex; flex-direction: column; }
.mock-float span { color: var(--muted); }
.mock-float .i { width: 34px; height: 34px; padding: 8px; border-radius: 10px; }
.mock-float-pay { left: -28px; bottom: 6px; }
.mock-float-pay .i { background: var(--emerald-soft); color: var(--emerald); }
.mock-float-gst { right: -18px; top: -4px; animation-delay: -3s; }
.mock-float-gst .i { background: var(--gold-soft); color: var(--gold); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* ------------------------------------------------------------------ strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: #fff; }
.strip-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.strip-grid > div { display: flex; align-items: center; gap: 12px; padding: 22px 18px; font-size: .93rem; color: var(--text-2); }
.strip-grid > div + div { border-left: 1px solid var(--border); }
.strip-grid .i { width: 26px; height: 26px; color: var(--gold); }
.strip-grid b { color: var(--ink); }

/* ------------------------------------------------------------------ sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding-top: clamp(32px, 4vw, 48px); }
.section-tint { background: var(--paper); }
.section-ink { position: relative; background: var(--ink); color: #c9d1dc; overflow: hidden; }
.section-ink::after { content: ""; position: absolute; right: -200px; top: -200px; width: 560px; height: 560px; border-radius: 50%; background: radial-gradient(circle, rgba(184, 146, 58, .16), transparent 65%); pointer-events: none; }
.section-ink h2 { color: #fff; }
.section-head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section-head .lead { margin-bottom: 0; }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.split-reverse > :first-child { order: 2; }

.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.feature-card {
  display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: #fff; color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s;
}
a.feature-card:hover { text-decoration: none; color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateY(-3px); }
.feature-card p { color: var(--muted); font-size: .95rem; flex: 1; }
.feature-card .more { display: inline-flex; align-items: center; gap: 6px; color: var(--emerald); font-weight: 600; font-size: .9rem; }
.feature-card .more .i { width: 16px; height: 16px; transition: transform .2s; }
a.feature-card:hover .more .i { transform: translateX(3px); }
.feature-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 16px; border-radius: 12px; background: var(--emerald-soft); color: var(--emerald); }
.feature-icon .i { width: 24px; height: 24px; }
.feature-icon-lg { width: 56px; height: 56px; }

.ticks { list-style: none; display: grid; gap: 10px; margin: 20px 0 28px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .i { width: 20px; height: 20px; margin-top: 3px; color: var(--emerald); }
.ticks-light li { color: #dfe5ee; }
.ticks-light .i { color: var(--gold-light); }

.gst-card { padding: 28px; border-radius: var(--radius-lg); background: var(--ink-2); border: 1px solid var(--ink-3); box-shadow: var(--shadow-lg); font-size: .95rem; }
.gst-row { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--ink-3); }
.gst-row span { color: #9aa7b8; }
.gst-row b { color: #fff; font-weight: 600; }
.gst-result { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0 4px; padding: 14px 16px; border-radius: 12px; background: rgba(13, 107, 95, .22); border: 1px solid rgba(13, 107, 95, .5); }
.gst-result span { color: #b7d8d1; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.gst-result b { color: #fff; font-family: var(--display); font-size: 1.1rem; }
.gst-result-alt { background: rgba(184, 146, 58, .16); border-color: rgba(184, 146, 58, .45); }
.gst-result-alt span { color: #ecd9ab; }
.gst-divider { height: 18px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { position: relative; padding: 26px; border-radius: var(--radius-lg); background: var(--paper); }
.steps li p { color: var(--muted); font-size: .95rem; margin: 0; }
.step-no { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-bottom: 14px; border-radius: 50%; background: var(--ink); color: var(--gold-light); font: 800 1rem/1 var(--display); }
.steps-vertical { grid-template-columns: minmax(0, 1fr); gap: 14px; margin-bottom: 36px; }
.steps-vertical li { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--border); }
.steps-vertical .step-no { flex: none; margin: 0; }
.steps-vertical h3 { margin-bottom: 4px; }

.pay-card { max-width: 380px; margin: 0 auto; padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-lg); }
.pay-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: .9rem; }
.pay-amount { margin: 16px 0 18px; font: 800 2.3rem/1 var(--display); color: var(--ink); letter-spacing: -0.03em; }
.pay-methods { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.pay-methods span { padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); font-size: .82rem; font-weight: 500; }
.pay-btn { padding: 14px; border-radius: 12px; background: var(--emerald); color: #fff; font-weight: 600; text-align: center; }
.pay-note { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; color: var(--muted); font-size: .8rem; }
.pay-note .i { width: 14px; height: 14px; }

/* ------------------------------------------------------------------ pricing */
.mini-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-bottom: 32px; }
.mini-plan { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: #fff; }
.mini-plan.is-popular { border-color: var(--emerald); box-shadow: 0 0 0 3px var(--emerald-soft); }
.mini-plan p.muted { font-size: .92rem; }
.mini-price { font: 800 2rem/1.1 var(--display); color: var(--ink); letter-spacing: -0.03em; margin: 8px 0 0; }
.mini-price small { font: 500 .9rem var(--font); color: var(--muted); letter-spacing: 0; }
.mini-plan .ticks { margin: 16px 0 0; font-size: .93rem; }

.cycle { display: flex; width: max-content; max-width: 100%; margin: 0 auto 36px; padding: 5px; border-radius: 999px; background: var(--paper); border: 1px solid var(--border); }
.cycle button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--text-2); font: 600 .95rem var(--font); cursor: pointer; }
.cycle button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.save-chip { padding: 2px 8px; border-radius: 999px; background: var(--gold-soft); color: #8a6a1f; font-size: .72rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; align-items: start; margin-bottom: 24px; }
.plan-card { position: relative; display: flex; flex-direction: column; padding: 30px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.plan-card.is-popular { border: 2px solid var(--emerald); box-shadow: var(--shadow); }
.plan-card h2 { font-size: 1.4rem; margin-bottom: 4px; }
.plan-card > p.muted { font-size: .93rem; }
.plan-flag { position: absolute; top: -13px; left: 28px; padding: 4px 12px; border-radius: 999px; background: var(--emerald); color: #fff; font-size: .74rem; font-weight: 600; letter-spacing: .04em; }
.plan-price { display: flex; align-items: baseline; gap: 8px; margin: 10px 0 2px; }
.plan-price .amount { font: 800 2.5rem/1 var(--display); color: var(--ink); letter-spacing: -0.035em; }
.plan-price .per { color: var(--muted); font-size: .95rem; }
.plan-note { color: var(--muted); font-size: .86rem; min-height: 1.5em; margin-bottom: 20px; }
.plan-card .ticks { margin: 24px 0 0; font-size: .93rem; }
.table-scroll { position: relative; overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .95rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--border); text-align: center; }
.compare thead th { position: sticky; top: 0; background: var(--ink); color: #fff; font-family: var(--display); font-size: 1rem; }
.compare tbody th { text-align: left; font-weight: 500; color: var(--text-2); }
.compare th:first-child { position: sticky; left: 0; z-index: 1; background: inherit; }
.compare tbody tr > th:first-child { background: #fff; }
.compare tr.group th { background: var(--paper) !important; color: var(--ink); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; text-align: left; }
.compare .yes { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--emerald-soft); color: var(--emerald); }
.compare .yes .i { width: 16px; height: 16px; }
.compare .no { color: var(--border-strong); }
.compare tbody tr:last-child > * { border-bottom: 0; }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; gap: 12px; margin-bottom: 28px; }
.faq details { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.02rem; }
.faq-icon { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper); color: var(--emerald); transition: transform .2s; }
.faq-icon .i { width: 16px; height: 16px; transform: rotate(90deg); }
.faq details[open] .faq-icon { transform: rotate(180deg); }
.faq-a { padding: 0 22px 18px; color: var(--text-2); }
.faq-a p { margin: 0; }
.faq-group-title { margin: 40px 0 16px; font-size: 1.35rem; }
.faq-group-title:first-child { margin-top: 0; }

/* ------------------------------------------------------------------ CTA band & footer */
.cta-band { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 80px) 0; background: linear-gradient(120deg, var(--ink-deep), var(--ink) 55%, var(--ink-2)); color: #c9d1dc; }
.cta-band::before { content: ""; position: absolute; left: -120px; bottom: -220px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(13, 107, 95, .35), transparent 65%); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { margin: 0; max-width: 560px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }

.site-footer { background: var(--ink-deep); color: #9aa7b8; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand p { margin: 16px 0 0; max-width: 360px; }
.footer-contact { display: flex; align-items: center; gap: 8px; }
.footer-contact .i { width: 18px; height: 18px; color: var(--gold-light); }
.site-footer a { color: #c9d1dc; }
.site-footer a:hover { color: #fff; }
.footer-col h2 { margin: 6px 0 16px; color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font); font-weight: 600; }
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-top: 22px; padding-bottom: 28px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .84rem; }
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------------ inner pages */
.page-hero { padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px); background: radial-gradient(640px 260px at 90% 0%, rgba(184, 146, 58, .12), transparent 70%), var(--paper); border-bottom: 1px solid var(--border); text-align: center; }
.page-hero h1 { font-size: clamp(1.9rem, 1.3rem + 2.6vw, 3rem); }
.page-hero .lead { max-width: 680px; margin: 0 auto; }
.breadcrumbs { margin-bottom: 18px; font-size: .86rem; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; list-style: none; color: var(--muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--border-strong); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs [aria-current] { color: var(--ink); font-weight: 500; }

.feature-nav { position: sticky; top: var(--header-h); z-index: 20; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--border); }
.feature-nav ul { display: flex; gap: 6px; list-style: none; padding: 12px 0; overflow-x: auto; scrollbar-width: none; }
.feature-nav ul::-webkit-scrollbar { display: none; }
.feature-nav a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--border); color: var(--text-2); font-size: .88rem; font-weight: 500; white-space: nowrap; }
.feature-nav a:hover { border-color: var(--emerald); color: var(--emerald); text-decoration: none; }
.feature-nav .i { width: 16px; height: 16px; }
.feature-section { padding: clamp(48px, 6vw, 80px) 0; scroll-margin-top: calc(var(--header-h) + 60px); }
.feature-section.is-alt { background: var(--paper); }
.feature-section-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: clamp(28px, 5vw, 64px); }
.feature-section-head p { color: var(--muted); }
.feature-section-head { position: sticky; top: calc(var(--header-h) + 80px); align-self: start; }
.feature-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feature-item { padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--border); }
.feature-item h3 { display: flex; gap: 10px; align-items: flex-start; font-size: 1.02rem; margin-bottom: 6px; }
.feature-item h3 .i { width: 20px; height: 20px; margin-top: 1px; color: var(--emerald); }
.feature-item p { margin: 0; color: var(--muted); font-size: .94rem; }
.feature-card.static { cursor: default; }

.prose { color: var(--text-2); }
.prose h2 { margin: 1.6em 0 .6em; font-size: clamp(1.35rem, 1.15rem + .8vw, 1.7rem); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: var(--ink); }

.value-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 8px auto 48px; }
.value-card { padding: 24px; border-radius: var(--radius-lg); background: var(--paper); }
.value-card > .i { width: 28px; height: 28px; margin-bottom: 12px; color: var(--gold); }
.value-card p { margin: 0; color: var(--muted); font-size: .94rem; }

.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 40px; }
.contact-card { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; }
.contact-card h2 { font-size: 1.2rem; margin-bottom: 4px; }
.contact-card p { color: var(--muted); font-size: .93rem; }
.contact-card address { font-style: normal; color: var(--text); line-height: 1.6; }
.contact-value { display: inline-block; font-weight: 600; font-size: 1.05rem; color: var(--ink); overflow-wrap: anywhere; }
.info-panels { display: grid; gap: 20px; }
.info-panel { padding: 28px; border-radius: var(--radius-lg); background: var(--paper); }
.info-panel h2 { font-size: 1.25rem; }

.legal-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); max-width: 1100px; }
.legal-toc { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding: 20px; border-radius: var(--radius); background: var(--paper); font-size: .88rem; }
.toc-title { margin: 0 0 10px; font-weight: 600; color: var(--ink); }
.legal-toc ol { list-style: none; display: grid; gap: 6px; }
.legal-toc a { color: var(--text-2); }
.legal-toc a:hover { color: var(--emerald); }
.legal .prose section { scroll-margin-top: calc(var(--header-h) + 20px); }
.legal .prose p, .legal .prose li { font-size: .98rem; }
.legal-updated { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--gold-soft); color: #7a5d1a; font-size: .84rem; font-weight: 500; }

.redirect { min-height: 50vh; display: grid; place-items: center; }
.spinner { width: 40px; height: 40px; margin: 0 auto 20px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--emerald); animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .strip-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip-grid > div:nth-child(3) { border-left: 0; }
  .strip-grid > div:nth-child(n+3) { border-top: 1px solid var(--border); }
}
@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .main-nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; align-items: stretch; gap: 20px;
    padding: 20px var(--gutter) 32px; background: #fff; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility 0s .2s;
  }
  .main-nav.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .2s, transform .2s; }
  .main-nav ul { flex-direction: column; align-items: stretch; margin: 0; gap: 2px; }
  .main-nav ul a { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--border); border-radius: 0; }
  .main-nav ul a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--gold); }
  .nav-cta { flex-direction: column; }
  .nav-cta .btn { min-height: 50px; }
  body.nav-open { overflow: hidden; }
  .hero-grid, .split { grid-template-columns: minmax(0, 1fr); }
  .split-reverse > :first-child { order: 0; }
  .mock { max-width: 560px; margin: 0 auto; width: 100%; }
  .mock-window { transform: none; }
  .mini-plans, .plan-grid { grid-template-columns: minmax(0, 1fr); max-width: 520px; margin-left: auto; margin-right: auto; }
  .plan-grid { gap: 28px; }
  .feature-section-grid { grid-template-columns: minmax(0, 1fr); }
  .feature-section-head { position: static; }
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-grid { grid-template-columns: minmax(0, 1fr); }
  .legal-toc { position: static; max-height: none; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .feature-grid, .feature-items, .steps, .value-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-grid { grid-template-columns: minmax(0, 1fr); }
  .strip-grid > div { border-left: 0 !important; padding: 14px 4px; }
  .strip-grid > div + div { border-top: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 48px; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
  .btn { white-space: normal; text-align: center; line-height: 1.3; padding-top: 10px; padding-bottom: 10px; }
  .cta-actions { width: 100%; }
  .mock-float { display: none; }
  .mock-body { padding: 16px; font-size: .74rem; }
  .mock-parties { grid-template-columns: minmax(0, 1fr); }
  .mock-totals { width: 100%; }
  .cycle button { padding: 0 14px; }
  .plan-card { padding: 26px 22px; }
  .faq summary { padding: 16px 18px; }
  .faq-a { padding: 0 18px 16px; }
  .gst-card, .pay-card, .contact-card, .info-panel { padding: 22px; }
  .steps-vertical li { padding: 20px; }
  .footer-bottom { flex-direction: column; }
}
@media (max-width: 380px) {
  .brand span { font-size: 1.12rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .site-footer, .cta-band, .legal-toc, .feature-nav, .skip-link { display: none !important; }
  .legal-grid { display: block; }
  body { color: #000; }
  a { color: #000; text-decoration: underline; }
}
