/* TradeWaaS homepage (2026-10-08) — apex tradewaas.com.au.
   Dark, modern theme (Aaron, 2026-10-08). Emblem has a transparent background.
   Contrast (WCAG AA): text #f2f4f7 and muted #a7b0bd on #0b0d12 / #12151c (>= 8:1);
   gold text #f0c14b on dark (>= 9:1); gold button #f0c14b with #14110a text (>= 10:1). */

:root {
  --bg: #0b0d12;
  --bg-alt: #0f1218;
  --card: #141821;
  --card-2: #1a1f2a;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.14);
  --ink: #f2f4f7;
  --muted: #a7b0bd;
  --accent: #f0c14b;
  --gold: #f0c14b;
  --gold-deep: #c9971f;
  --gold-soft: rgba(240, 193, 75, 0.12);
  --dark: #f0c14b;
  --on-gold: #14110a;
  --radius: 18px;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45), 0 2px 8px rgba(0, 0, 0, 0.35);
  --head: 'Space Grotesk', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body.h-body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; color-scheme: dark; }
::selection { background: var(--gold); color: var(--on-gold); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:focus-visible, .h-btn:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; }

.h-wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.h-skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--on-gold); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.h-skip:focus { left: 8px; }

/* Header */
.h-header { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 18, 0.72); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); }
.h-header__inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.h-brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 700 1.25rem/1 var(--head); letter-spacing: -0.01em; }
.h-brand img { width: 44px; height: 44px; }
.h-nav { display: flex; gap: 22px; margin-left: auto; }
.h-nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.98rem; transition: color .15s; }
.h-nav a:hover { color: var(--ink); }

/* Buttons */
.h-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 999px; background: linear-gradient(180deg, #f6cf62 0%, var(--gold) 55%, var(--gold-deep) 100%); color: var(--on-gold); text-decoration: none; font: 700 1rem/1 var(--body); border: 1px solid rgba(255, 220, 130, 0.6); box-shadow: 0 6px 24px rgba(240, 193, 75, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.35); transition: transform .15s ease, box-shadow .15s ease; white-space: nowrap; }
.h-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 32px rgba(240, 193, 75, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.h-btn--sm { min-height: 42px; padding: 0 18px; font-size: 0.95rem; }
.h-btn--ghost { background: rgba(255, 255, 255, 0.04); color: var(--ink); border: 1px solid var(--line-strong); box-shadow: none; }
.h-btn--ghost:hover { background: rgba(255, 255, 255, 0.08); box-shadow: none; }
.h-btn--light { /* final band: same gold button */ }
@media (prefers-reduced-motion: reduce) { .h-btn { transition: none; } .h-btn:hover { transform: none; } }

/* Type helpers */
.h-eyebrow { margin: 0 0 10px; color: var(--accent); font: 700 0.82rem/1.3 var(--body); letter-spacing: 0.08em; text-transform: uppercase; }
.h-h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -0.02em; margin-bottom: 28px; max-width: 24ch; }
.h-small { color: var(--muted); font-size: 0.92rem; margin: 12px 0 0; }

/* Hero */
.h-hero { position: relative; padding: 72px 0 48px; overflow: hidden; background:
  radial-gradient(60% 50% at 15% 0%, rgba(240, 193, 75, 0.16) 0%, transparent 70%),
  radial-gradient(50% 60% at 95% 20%, rgba(92, 124, 250, 0.12) 0%, transparent 70%); }
.h-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%); }
.h-hero > * { position: relative; }
.h-hero__inner { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.h-headline { font-size: clamp(2.2rem, 4vw, 3.3rem); letter-spacing: -0.035em; margin-bottom: 18px; background: linear-gradient(180deg, #ffffff 0%, #c9d0da 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-lede { font-size: 1.15rem; color: var(--muted); margin: 0 0 18px; max-width: 34em; }
.h-price { font: 700 1.15rem/1.4 var(--head); margin: 0 0 22px; }
.h-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

/* Example-site mock (pure HTML/CSS, aria-hidden inside) */
.h-mock { margin: 0; background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px rgba(240, 193, 75, 0.08), 0 0 80px rgba(240, 193, 75, 0.10); overflow: hidden; transform: perspective(1400px) rotateY(-4deg) rotateX(2deg); }
@media (prefers-reduced-motion: reduce) { .h-mock { transform: none; } }
.h-mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #1d222d; border-bottom: 1px solid var(--line); }
.h-mock__bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a4150; }
.h-mock__bar em { margin-left: 10px; font: 400 0.78rem/1 var(--body); color: var(--muted); font-style: normal; background: #12161e; padding: 5px 10px; border-radius: 999px; flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.h-mock__site { background: #0f1b2a; color: #e8edf3; font-size: 0.82rem; }
.h-mock__nav { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.h-mock__nav strong { font-family: var(--head); font-size: 0.95rem; margin-right: auto; color: #fff; }
.h-mock__nav span { opacity: 0.8; }
.h-mock__nav b { background: var(--gold); color: #1b1404; padding: 6px 12px; border-radius: 999px; font-size: 0.78rem; }
.h-mock__hero { padding: 26px 18px 20px; }
.h-mock__eyebrow { margin: 0 0 6px; color: var(--gold); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; }
.h-mock__h { margin: 0 0 14px; font: 700 1.35rem/1.2 var(--head); color: #fff; max-width: 20ch; }
.h-mock__chips { display: flex; flex-wrap: wrap; gap: 6px; }
.h-mock__chips span { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.14); padding: 4px 10px; border-radius: 999px; font-size: 0.74rem; }
.h-mock__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 18px 18px; }
.h-mock__cards div { background: #fff; color: #14171d; border-radius: 10px; padding: 10px; display: grid; gap: 4px; }
.h-mock__cards b { font-family: var(--head); font-size: 0.8rem; }
.h-mock__cards span { color: #4f5866; font-size: 0.72rem; line-height: 1.35; }
.h-mock__foot { padding: 10px 18px; background: #0a131e; color: #aeb8c5; font-size: 0.68rem; }
.h-mock figcaption { padding: 10px 14px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--line); }

/* Proof points */
.h-proof { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.h-proof li { display: flex; gap: 12px; align-items: flex-start; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; font-weight: 500; backdrop-filter: blur(6px); }
.h-proof__icon { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--gold-soft); color: var(--accent); font-weight: 700; }

/* Sections */
.h-section { padding: 80px 0; }
.h-section--alt { background: linear-gradient(180deg, var(--bg-alt) 0%, var(--bg) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.h-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.h-steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; transition: border-color .2s, transform .2s; }
.h-steps li:hover { border-color: rgba(240, 193, 75, 0.35); transform: translateY(-2px); }
.h-steps__n { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--gold-soft); color: var(--gold); border: 1px solid rgba(240, 193, 75, 0.35); font: 700 1rem/1 var(--head); margin-bottom: 14px; }
.h-steps h3 { font-size: 1.12rem; margin-bottom: 8px; }
.h-steps p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.h-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.h-feature { position: relative; background: linear-gradient(180deg, var(--card-2) 0%, var(--card) 100%); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; overflow: hidden; transition: border-color .2s, transform .2s; }
.h-feature::before { content: ""; position: absolute; left: 24px; right: 24px; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: 0.8; }
.h-feature:hover { border-color: rgba(240, 193, 75, 0.35); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .h-steps li, .h-feature { transition: none; } .h-steps li:hover, .h-feature:hover { transform: none; } }
.h-feature h3 { font-size: 1.12rem; margin-bottom: 8px; }
.h-feature p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.h-person { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; max-width: 900px; }
.h-person__badge { width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #2a303d, #12151c); color: var(--gold); font: 700 2.4rem/1 var(--head); border: 1px solid rgba(240, 193, 75, 0.4); box-shadow: 0 0 0 6px var(--gold-soft), 0 0 40px rgba(240, 193, 75, 0.15); }
.h-person p { color: var(--muted); margin: 0 0 12px; max-width: 60ch; }
.h-person .h-h2 { margin-bottom: 16px; }

.h-price-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; background: radial-gradient(80% 120% at 0% 0%, rgba(240, 193, 75, 0.10) 0%, transparent 60%), var(--card); border: 1px solid rgba(240, 193, 75, 0.28); border-radius: 22px; padding: 38px; box-shadow: var(--shadow); max-width: 960px; }
.h-price-card__amount { margin: 0 0 6px; font: 500 1.2rem/1.2 var(--head); }
.h-price-card__amount strong { font-size: 3.2rem; letter-spacing: -0.03em; margin-right: 4px; }
.h-price-card__alt { color: var(--muted); margin: 0 0 22px; }
.h-price-card__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; align-content: start; }
.h-price-card__list li { padding-left: 30px; position: relative; font-weight: 500; }
.h-price-card__list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 700; }

.h-faq-wrap { max-width: 860px; }
.h-faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.h-faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; font: 700 1.08rem/1.4 var(--head); position: relative; }
.h-faq summary::-webkit-details-marker { display: none; }
.h-faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.5rem; color: var(--accent); }
.h-faq details[open] summary::after { content: "–"; }
.h-faq details p { margin: 0 0 18px; color: var(--muted); max-width: 70ch; }

.h-final { position: relative; overflow: hidden; color: var(--ink); padding: 88px 0; background: radial-gradient(50% 120% at 50% 100%, rgba(240, 193, 75, 0.20) 0%, transparent 70%), var(--bg-alt); border-top: 1px solid var(--line); }
.h-final__inner { text-align: center; }
.h-final .h-h2 { color: var(--ink); margin: 0 auto 12px; max-width: 22ch; }
.h-final p { color: var(--muted); margin: 0 0 26px; }

.h-footer { padding: 28px 0; border-top: 1px solid var(--line); font-size: 0.92rem; color: var(--muted); }
.h-footer__inner { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; }
.h-footer__legal { display: flex; flex-wrap: wrap; gap: 16px; }
.h-footer__legal a { color: var(--muted); }

/* Responsive */
@media (max-width: 1000px) {
  .h-steps { grid-template-columns: repeat(2, 1fr); }
  .h-features { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .h-nav { display: none; }
  .h-header__inner { justify-content: space-between; }
  .h-hero { padding-top: 36px; }
  .h-hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .h-proof { grid-template-columns: 1fr; }
  .h-price-card { grid-template-columns: 1fr; padding: 26px; }
  .h-person { grid-template-columns: 1fr; gap: 16px; }
  .h-section { padding: 56px 0; }
}
@media (max-width: 560px) {
  body.h-body { font-size: 16px; }
  .h-wrap { padding: 0 16px; }
  .h-brand span { display: none; }
  .h-steps, .h-features { grid-template-columns: 1fr; }
  .h-mock__cards { grid-template-columns: 1fr; }
  .h-mock__nav span { display: none; }
  .h-ctas .h-btn { flex: 1 1 100%; }
}

/* Never wider than the screen: grid/flex children may shrink below their content */
.h-hero__inner > *, .h-steps > *, .h-features > *, .h-price-card > *, .h-proof > * { min-width: 0; }
.h-mock__bar em { min-width: 0; }
.h-eyebrow { overflow-wrap: anywhere; }
@media (max-width: 560px) {
  .h-header__inner { gap: 12px; }
  .h-btn--sm { padding: 0 14px; font-size: 0.88rem; min-height: 40px; }
  .h-headline { font-size: 2.05rem; }
}
