/* Inter (self-hosted variable font, Latin subset). Licence: assets/fonts/OFL.txt */
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Company123 brand tokens (from company123.com.au logo + stylesheet) */
:root {
  --brand: #4192ce;
  --brand-dark: #2f74a8;
  --brand-soft: #eaf3fb;
  --ink: #2b2b2c;
  --ink-2: #444445;
  --muted: #636363;
  --line: #e3e7eb;
  --bg: #ffffff;
  --bg-alt: #f6f8fa;
  --accent: #c9e265;
  --success: #1f8a4c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(20, 40, 60, .08);
  --font-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 110px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-dark); }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 700; letter-spacing: -.01em; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; margin-left: auto; margin-right: auto; }
.container .narrow { padding: 0; }
.center { text-align: center; }
.sub { color: var(--muted); margin-bottom: 2rem; }

.section { padding: 72px 0; }
.section.alt { background: var(--bg-alt); }
.section h3 { margin-top: 1.6em; }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  text-decoration: none;
  background: var(--brand);
  color: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid var(--brand);
  transition: background .2s, transform .2s, box-shadow .2s;
}
.btn:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(65,146,206,.3); }
.btn-sm { padding: 8px 18px; font-size: .9rem; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn-ghost { background: transparent; color: var(--brand-dark); }
.btn-ghost:hover { background: var(--brand-soft); color: var(--brand-dark); box-shadow: none; }
.btn-light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.topbar { background: var(--ink-2); color: #fff; font-size: .85rem; }
.topbar-inner { display: flex; justify-content: flex-end; gap: 12px; padding: 6px 20px; }
.topbar a { color: #fff; font-weight: 700; text-decoration: none; }
.nav-inner { display: flex; align-items: center; justify-content: flex-end; padding: 12px 20px; }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a:not(.btn) { color: var(--ink-2); text-decoration: none; font-family: var(--font-head); font-weight: 600; font-size: .95rem; }
.site-nav a:not(.btn):hover { color: var(--brand); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--brand-soft) 0%, #fff 70%); padding: 64px 0 56px; }
.hero-inner { max-width: 820px; }
.eyebrow { display: inline-block; font-family: var(--font-head); font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand-dark); background: #fff; border: 1px solid #cfe3f3; padding: 6px 12px; border-radius: 999px; margin-bottom: 18px; }
.accent { color: var(--brand); }
.byline { display: flex; gap: 12px; align-items: center; font-size: .9rem; color: var(--muted); margin: 18px 0 26px; }
.avatar { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 35%; background: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-points { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; font-weight: 600; }
.hero-points li::before { content: "✓"; color: var(--success); font-weight: 800; margin-right: 6px; }

/* Disclosure + quick answer */
.disclosure { font-size: .88rem; color: var(--muted); border-left: 3px solid var(--line); padding: 4px 0 4px 14px; margin: 40px 0 24px; }
.quick-answer { background: var(--brand-soft); border: 1px solid #cfe3f3; border-radius: var(--radius); padding: 26px 28px; }
.quick-answer h2 { font-size: 1.25rem; color: var(--brand-dark); }
.quick-answer p { margin: 0; }

/* Tables */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 1.5rem 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child th, tr:last-child td { border-bottom: 0; }
table.data { min-width: 640px; }
table.data thead th { background: var(--ink-2); color: #fff; font-family: var(--font-head); font-size: .85rem; font-weight: 700; }
table.data tbody th { font-family: var(--font-head); color: var(--ink); white-space: nowrap; }
table.data tbody tr:nth-child(even) { background: #fafbfc; }
table.data tr.highlight { background: var(--brand-soft) !important; }
td.free { color: var(--success); font-weight: 700; white-space: nowrap; }
table.kv th { width: 32%; font-family: var(--font-head); color: var(--ink); background: #fafbfc; }
.note { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; font-size: .95rem; }
.section:not(.alt) .note { background: var(--bg-alt); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.stats div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; text-align: center; }
.stats strong { display: block; font-family: var(--font-head); font-size: 1.7rem; color: var(--brand); }
.stats span { font-size: .88rem; color: var(--muted); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0 0 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 24px; box-shadow: var(--shadow); }
.steps h3 { margin-top: 0; }
.steps p { margin: 0; font-size: .96rem; }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--brand); color: #fff; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; margin-bottom: 16px; }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 36px; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.plan h3 { margin-top: 0; }
.plan p { font-size: .95rem; margin: 0; }
.plan h3 .plan-price { display: block; margin-top: 6px; font-size: .9rem; font-weight: 600; color: var(--success); }

/* Lists */
.fit-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.fit-list li { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 18px 14px 46px; position: relative; }
.fit-list li::before { content: "✓"; position: absolute; left: 16px; top: 14px; color: #fff; background: var(--brand); width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-family: var(--font-head); font-weight: 700; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brand); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details[open] summary { color: var(--brand-dark); }
.faq details p { padding: 0 22px 20px; margin: 0; }

/* Author + changelog */
.author { display: flex; gap: 14px; align-items: flex-start; background: var(--bg-alt); border-radius: var(--radius); padding: 28px; margin-bottom: 56px; }
.author-photo { flex: none; width: 40px; height: 40px; border-radius: 50%; object-fit: cover; object-position: 50% 35%; background: var(--ink-2); }
.author h2 { font-size: 1.35rem; }
.author p { font-size: .96rem; }
.changelog { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.changelog li { position: relative; padding: 0 0 18px 24px; font-size: .95rem; }
.changelog li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--brand); border: 2px solid #fff; }
.changelog time { font-family: var(--font-head); font-weight: 700; color: var(--ink); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand-dark), var(--brand)); color: #fff; padding: 56px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; opacity: .9; }

/* Footer */
.site-footer { background: #2b2b2c; color: #c7d0d8; padding: 56px 0 24px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font-size: .95rem; }
.footer-grid a, .footer-grid span { display: block; color: #c7d0d8; text-decoration: none; margin-bottom: 8px; }
.footer-grid a:hover { color: #fff; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: #fff; margin-bottom: .4em; }
.footer-brand a { display: inline; color: #fff; margin: 0; }
.footer-bottom { border-top: 1px solid #444445; margin-top: 36px; padding-top: 20px; color: #949494; }

/* Responsive */
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px 20px 20px; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .site-nav .btn { margin-top: 14px; text-align: center; }
  .site-header { position: sticky; }
  .nav-inner { position: relative; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .section { padding: 52px 0; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-ctas .btn { flex: 1 1 100%; text-align: center; }
  .topbar-inner { justify-content: center; }
  .plans { grid-template-columns: 1fr; }
}
