/* Open Roads ANZ - one stylesheet, no external fonts or scripts (strict CSP friendly) */
:root {
  --bg: #f6f7f4;
  --surface: #ffffff;
  --surface-2: #eef1ec;
  --text: #17201b;
  --muted: #56615a;
  --line: #d9dfd8;
  --brand: #13633f;        /* road-sign green */
  --brand-ink: #ffffff;
  --brand-soft: #e2f0e7;
  --accent: #f2b705;       /* road-marking amber */
  --warn-bg: #fff6dc;
  --warn-line: #e9c96a;
  --shadow: 0 1px 2px rgba(20, 30, 25, .06), 0 8px 24px rgba(20, 30, 25, .06);
  --radius: 14px;
  --max: 1080px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1512; --surface: #151d19; --surface-2: #1b2520; --text: #e7ece8; --muted: #9eaaa2; --line: #2a3530;
    --brand: #3fae7a; --brand-ink: #07140d; --brand-soft: #173326; --accent: #f2c233;
    --warn-bg: #2c2610; --warn-line: #6b5a1c; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1512; --surface: #151d19; --surface-2: #1b2520; --text: #e7ece8; --muted: #9eaaa2; --line: #2a3530;
  --brand: #3fae7a; --brand-ink: #07140d; --brand-soft: #173326; --accent: #f2c233;
  --warn-bg: #2c2610; --warn-line: #6b5a1c; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.3);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
a { color: var(--brand); }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; }
.logo-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; }
nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; flex-wrap: wrap; }
nav a { color: var(--muted); text-decoration: none; font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

/* hero */
.hero { padding: 64px 0 40px; }
.hero h1 { font-size: clamp(30px, 5vw, 48px); line-height: 1.12; margin: 0 0 16px; letter-spacing: -.02em; }
.hero p.lead { font-size: clamp(17px, 2.2vw, 20px); color: var(--muted); max-width: 680px; margin: 0 0 28px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 24px; padding: 0; list-style: none; }
.badges li { background: var(--brand-soft); color: var(--text); border-radius: 999px; padding: 4px 12px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
  border-radius: 10px; font-weight: 600; text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { background: var(--surface-2); }
.btn[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.mt { margin-top: 20px; }
.soon { font-size: 12px; font-weight: 600; color: var(--muted); }

/* sections */
section { padding: 48px 0; }
section h2 { font-size: clamp(24px, 3.2vw, 32px); margin: 0 0 8px; letter-spacing: -.01em; }
section .sub { color: var(--muted); margin: 0 0 28px; max-width: 720px; }
.alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* tiers */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.tier {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); display: flex; flex-direction: column;
}
.tier.featured { border-color: var(--brand); outline: 2px solid var(--brand); outline-offset: -2px; }
.tier .tag { align-self: flex-start; background: var(--accent); color: #1b1600; font-size: 12px; font-weight: 700;
  border-radius: 6px; padding: 2px 8px; margin-bottom: 10px; }
.tier h3 { margin: 0; font-size: 20px; }
.price { font-size: 34px; font-weight: 800; margin: 8px 0 2px; }
.price small { font-size: 15px; font-weight: 500; color: var(--muted); }
.tier p.desc { color: var(--muted); margin: 0 0 16px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 22px; flex: 1; }
.tier li { padding: 6px 0 6px 28px; position: relative; border-top: 1px dashed var(--line); }
.tier li:first-child { border-top: 0; }
.tier li::before { content: ""; position: absolute; left: 4px; top: 13px; width: 12px; height: 7px;
  border-left: 2.5px solid var(--brand); border-bottom: 2.5px solid var(--brand); transform: rotate(-45deg); }
.tier li.no { color: var(--muted); }
.tier li.no::before { border: 0; width: 12px; height: 2.5px; background: var(--muted); transform: none; top: 17px; }

/* comparison table */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 560px; }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--surface-2); font-size: 14px; }
tbody tr:last-child td { border-bottom: 0; }
td.y { color: var(--brand); font-weight: 700; }
td.n { color: var(--muted); }

/* steps + features */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.alt .card { background: var(--bg); }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); }
.step-n { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--brand); color: var(--brand-ink); font-weight: 700; margin-bottom: 10px; }

/* notes, faq */
.note { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 14px 16px; }
.note strong { display: block; margin-bottom: 2px; }
details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 18px; margin: 0 0 10px; }
details summary { cursor: pointer; padding: 14px 0; font-weight: 600; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; float: right; color: var(--muted); font-weight: 400; }
details[open] summary::after { content: "–"; }
details p, details ul { margin: 0 0 14px; color: var(--muted); }

/* long-form pages */
.page { padding: 48px 0 24px; max-width: 820px; }
.page h1 { font-size: clamp(28px, 4vw, 40px); margin: 0 0 8px; }
.page h2 { font-size: 22px; margin: 32px 0 8px; }
.page .meta { color: var(--muted); margin-bottom: 24px; }
.page ol li, .page ul li { margin-bottom: 8px; }
code { background: var(--surface-2); border-radius: 6px; padding: 1px 6px; font-size: .92em; }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; color: var(--muted); font-size: 14px; }
.site-footer .wrap { display: grid; gap: 12px; }
.site-footer nav ul { gap: 14px; }
.disclaimer { max-width: 820px; }

@media (max-width: 640px) {
  .site-header .wrap { flex-direction: column; align-items: flex-start; padding-top: 10px; padding-bottom: 10px; gap: 6px; }
  nav ul { gap: 12px; }
  .hero { padding-top: 36px; }
  section { padding: 36px 0; }
}
