/* Shared styles for Helyx Research Australia legal pages */
:root {
  --bg:        oklch(0.07 0 0);
  --surface:   oklch(0.11 0.012 280);
  --surface-2: oklch(0.15 0.015 280);
  --ink:       oklch(0.94 0.010 280);
  --ink-muted: oklch(0.62 0.008 280);
  --ink-dim:   oklch(0.40 0.005 280);
  --primary:   oklch(0.60 0.185 280);
  --primary-hi: oklch(0.68 0.170 280);
  --accent:    oklch(0.76 0.120 195);
  --border:    oklch(0.18 0.012 280);
  --border-hi: oklch(0.26 0.016 280);
  --ff-display: 'Barlow Condensed', system-ui, sans-serif;
  --ff-body:    'Jost', system-ui, sans-serif;
  --ff-mono:    'Fira Code', monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { color-scheme: dark; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--ff-body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.nav {
  height: 64px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
}
.nav-inner {
  max-width: 880px;
  margin: 0 auto;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: 0.875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }
.logo-helix {
  height: 0.95em;
  width: auto;
  display: inline-block;
  vertical-align: -0.14em;
  margin: 0 0.04em;
  stroke: var(--accent);
  stroke-width: 2.2;
  stroke-linecap: round;
  fill: none;
}
.nav-back {
  font-family: var(--ff-display);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}
.nav-back:hover { color: var(--ink); }

main {
  max-width: 880px;
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 5rem) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 8vw, 6rem);
}

.page-title {
  font-family: var(--ff-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  text-wrap: balance;
}
.page-updated {
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  color: var(--ink-dim);
  letter-spacing: 0.05em;
  margin-bottom: 3rem;
}

article h2 {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 2.75rem 0 0.875rem;
}
article h2:first-of-type { margin-top: 0; }
article p {
  font-size: 0.95rem;
  color: var(--ink-muted);
  max-width: 72ch;
  margin-bottom: 1rem;
}
article p strong { color: var(--ink); font-weight: 500; }
article ul, article ol {
  margin: 0 0 1rem 1.4rem;
  max-width: 70ch;
}
article li {
  font-size: 0.95rem;
  color: var(--ink-muted);
  margin-bottom: 0.45rem;
}
article a { color: var(--accent); text-decoration-color: oklch(0.76 0.120 195 / 0.4); }
article em { font-style: italic; }

.callout {
  background: oklch(0.60 0.185 280 / 0.07);
  border: 1px solid oklch(0.60 0.185 280 / 0.22);
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.callout p {
  font-family: var(--ff-mono);
  font-size: 0.72rem;
  line-height: 1.8;
  letter-spacing: 0.02em;
  margin: 0;
}

.footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}
.footer-inner {
  max-width: 880px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--ink-dim);
  letter-spacing: 0.04em;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-family: var(--ff-mono);
  font-size: 0.65rem;
  color: var(--ink-dim);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.18s ease;
}
.footer-links a:hover { color: var(--ink-muted); }
