/* erp.com.au shared styles (18 Nov 2026 redesign). One file for all four pages, deployed from
   tools/domain-sites/assets/erp.com.au/. Andrew: the first version "just doesn't look serious".
   Contrast pairs are computed in the design log (brain/Business/erp-com-au-design-log.md). */
:root {
  --navy-950: #081428; --navy-900: #0b1a33; --navy-800: #12284d; --navy-700: #1c3a6b;
  --ink: #0f1d33; --muted: #4a5872; --line: #dfe5ee; --bg: #ffffff; --bg-soft: #f5f7fb;
  --brand: #2457e6; --brand-hover: #1b46c2; --brand-soft: #eaf0fe;
  --on-dark: #ffffff; --on-dark-muted: #b9c6dc; --sky: #7cc4ff;
  --radius: 14px; --shadow: 0 1px 2px rgba(15,29,51,.06), 0 8px 24px rgba(15,29,51,.08);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 6px; }
.wrap { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.inner { max-width: 1120px; margin: 0 auto; min-width: 0; }
.narrow { max-width: 760px; }

/* Header */
.site-header { background: var(--navy-950); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid rgba(255,255,255,.08); }
.site-header .inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); }
.brand svg { width: 30px; height: 30px; flex: none; }
.mark { font-weight: 700; font-size: 1.3rem; letter-spacing: -.02em; color: var(--on-dark); }
.mark .au { font-weight: 500; color: var(--sky); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--on-dark-muted); text-decoration: none; font-weight: 500; font-size: .95rem; padding: 6px 2px; }
.nav a:hover, .nav a[aria-current] { color: var(--on-dark); }
.nav .btn { color: #fff; padding: 10px 16px; }
@media (max-width: 720px) { .nav .hide-sm { display: none; } .nav { gap: 14px; } }

/* Buttons */
.btn { display: inline-block; background: var(--brand); color: #fff; text-decoration: none; font-weight: 600; font-size: 1rem; line-height: 1.15; padding: 14px 22px; border-radius: 10px; cursor: pointer; border: 0; }
.btn-lg { font-size: 1.05rem; padding: 16px 26px; }
.btn-ghost { background: transparent; color: var(--on-dark); box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
@media (hover: hover) { .btn:hover { background: var(--brand-hover); } .btn-ghost:hover { background: rgba(255,255,255,.08); } }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(36,87,230,.45), transparent 60%), linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: var(--on-dark); }
.hero .inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 72px 80px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 14px; }
.hero h1 { font-size: clamp(2.1rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.025em; }
.hero .lede { font-size: 1.18rem; color: var(--on-dark-muted); margin-top: 18px; max-width: 34em; }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 26px; list-style: none; font-size: .95rem; color: var(--on-dark-muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts svg { width: 18px; height: 18px; color: var(--sky); flex: none; }
.hero-art { width: 100%; height: auto; }
@media (max-width: 900px) { .hero .inner { grid-template-columns: 1fr; padding-block: 48px 56px; gap: 32px; } .hero-art { max-width: 460px; } }

/* Page hero (sub-pages) */
.page-hero { background: linear-gradient(180deg, var(--navy-950), var(--navy-900)); color: var(--on-dark); }
.page-hero .inner { padding-block: 52px 56px; }
.page-hero h1 { font-size: clamp(1.9rem, 4.5vw, 2.7rem); line-height: 1.12; letter-spacing: -.02em; }
.page-hero .lede { color: var(--on-dark-muted); font-size: 1.12rem; margin-top: 12px; max-width: 40em; }
.page-hero .updated { color: var(--on-dark-muted); margin-top: 8px; }

/* Sections */
.section .inner { padding-block: 80px; }
.section.soft { background: var(--bg-soft); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head h2 { font-size: clamp(1.6rem, 3.6vw, 2.25rem); line-height: 1.15; letter-spacing: -.02em; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-top: 12px; }
h3 { font-size: 1.12rem; line-height: 1.3; margin-bottom: 8px; }
p + p { margin-top: 12px; }
@media (max-width: 720px) { .section .inner { padding-block: 56px; } .section-head { margin-bottom: 28px; } }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; list-style: none; counter-reset: s; }
.steps li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.steps .num { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font-weight: 700; align-items: center; justify-content: center; margin-bottom: 14px; }
.steps p { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.module { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.module .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.module .icon svg { width: 24px; height: 24px; }
.module p { color: var(--muted); font-size: .98rem; }
@media (max-width: 900px) { .modules { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .modules { grid-template-columns: 1fr; } }

/* Split (signs) */
.split { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: start; }
.ticks { list-style: none; }
.ticks li { position: relative; padding: 14px 0 14px 40px; border-bottom: 1px solid var(--line); }
.ticks li:last-child { border-bottom: 0; }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-soft); }
.ticks li::after { content: ""; position: absolute; left: 10px; top: 24px; width: 8px; height: 5px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.callout { background: var(--navy-900); color: var(--on-dark); border-radius: var(--radius); padding: 30px; }
.callout p { color: var(--on-dark-muted); }
.callout h3 { color: var(--on-dark); }
.callout a { color: var(--sky); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Guide teaser cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card-link { display: block; text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--bg); transition: box-shadow .15s, border-color .15s; }
.card-link p { color: var(--muted); font-size: .98rem; }
.card-link .more { display: inline-block; margin-top: 12px; color: var(--brand); font-weight: 600; font-size: .95rem; }
@media (hover: hover) { .card-link:hover { border-color: #b9c8ea; box-shadow: var(--shadow); } }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr; } }

/* Enquiry */
.enquiry { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; }
.enquiry .points { list-style: none; margin-top: 22px; }
.enquiry .points li { display: flex; gap: 12px; padding: 10px 0; }
.enquiry .points svg { width: 22px; height: 22px; color: var(--brand); flex: none; margin-top: 2px; }
.form-card { background: var(--bg); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); overflow: hidden; }
.form-frame { display: block; width: 100%; height: 620px; border: 0; }
.small { font-size: .93rem; color: var(--muted); }
@media (max-width: 900px) { .enquiry { grid-template-columns: 1fr; gap: 28px; } .form-frame { height: 600px; } }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.5rem; font-weight: 400; color: var(--brand); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 66ch; }
@media (hover: hover) { .faq summary:hover { color: var(--brand); } }

/* Article (guide, about, privacy) */
.article .inner { padding-block: 56px 72px; }
.article h2 { font-size: clamp(1.3rem, 3vw, 1.6rem); line-height: 1.25; margin: 44px 0 12px; letter-spacing: -.01em; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { max-width: 68ch; }
.article ul, .article ol { margin: 12px 0 0 1.3em; }
.article li + li { margin-top: 8px; }
.compare { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 16px; }
.compare div { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: var(--bg-soft); }
.compare h3 { font-size: 1.05rem; margin-bottom: 4px; }
.compare ul { margin-top: 6px; }
@media (max-width: 640px) { .compare { grid-template-columns: 1fr; } }
.cta-band { background: var(--brand-soft); border-radius: var(--radius); padding: 28px; margin-top: 48px; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: center; justify-content: space-between; }
.cta-band p { max-width: 36em; }

/* Footer */
.site-footer { background: var(--navy-950); color: var(--on-dark-muted); }
.site-footer .inner { padding-block: 44px 48px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; font-size: .95rem; }
.site-footer .brand { margin-bottom: 12px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 10px 22px; justify-content: flex-end; align-content: start; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.site-footer p + p { margin-top: 6px; }
@media (max-width: 720px) { .site-footer .inner { grid-template-columns: 1fr; } .site-footer nav { justify-content: flex-start; } }
