/* Tokens and base type. Mirrors the magnifire.au design tokens so the page reads as the same company. */
@font-face { font-family: Poppins; font-weight: 300; font-display: swap; src: url(../assets/fonts/poppins-300-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 400; font-display: swap; src: url(../assets/fonts/poppins-400-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 500; font-display: swap; src: url(../assets/fonts/poppins-500-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 600; font-display: swap; src: url(../assets/fonts/poppins-600-latin.woff2) format("woff2"); }
@font-face { font-family: Poppins; font-weight: 700; font-display: swap; src: url(../assets/fonts/poppins-700-latin.woff2) format("woff2"); }

:root {
  --navy: #27283d;
  --orange: #fe8f1d;
  --orange-ink: #a85300;
  --crimson: #b8213f;
  --slate: #494a66;
  --low: #f5f5fa;
  --line: #e5e7eb;
  --text: #5f6470;
  --muted: #8b90a0;
  --grad: linear-gradient(135deg, #27283d 0%, #b8213f 100%);
  --grad-slate: linear-gradient(135deg, #27283d 0%, #494a66 100%);
  --font: Poppins, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
  --pad-x: clamp(1.25rem, 5vw, 2rem);
  --pad-y: clamp(4rem, 8vw, 6.5rem);
  --h1: clamp(2.75rem, 5.6vw, 4.75rem);
  --h2: clamp(2rem, 3.8vw, 3.1rem);
  --h3: clamp(1.125rem, 2vw, 1.375rem);
  --lede: clamp(1.2rem, 1.7vw, 1.4rem);
  --radius: 16px;
  /* surface contract */
  --bg: #fff; --fg: var(--text); --head: var(--navy); --rule: var(--line); --card: #fff; --soft: var(--low);
}
[data-surface="low"] { --bg: var(--low); --soft: #fff; }
[data-surface="navy"], [data-surface="slate"] { --bg: var(--navy); --fg: rgba(255,255,255,0.74); --head: #fff; --rule: rgba(255,255,255,0.14); --card: rgba(255,255,255,0.06); --soft: rgba(255,255,255,0.06); --muted: rgba(255,255,255,0.55); }

*, *::before, *::after { box-sizing: border-box; }
/* One dial for the whole page: 16px up to about 1500px wide, growing to 20px on a large monitor or meeting-room screen.
   Every width, gap and type size below is in rem or em, so the layout scales with it. */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; font-size: clamp(16px, 0.35vw + 11px, 20px); }
body { margin: 0; font-family: var(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { color: var(--head); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
h1 { font-size: var(--h1); font-weight: 700; line-height: 1.05; }
h2 { font-size: var(--h2); margin-bottom: 1.25rem; max-width: 22em; }
h3 { font-size: var(--h3); line-height: 1.3; margin-bottom: 0.6rem; }
h1 em { font-style: normal; color: var(--orange); }
a { color: var(--orange-ink); }
img { max-width: 100%; height: auto; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }

.wrap { max-width: 81.25rem; margin: 0 auto; padding: 0 var(--pad-x); }
.wrap--narrow { max-width: 53.75rem; }
.wrap--mid { max-width: 71.25rem; }
.sec { background: var(--bg); color: var(--fg); padding: var(--pad-y) 0; }
.sec--tight { padding: calc(var(--pad-y) * 0.75) 0; }
.sec .wrap > [data-slide] + *, .tech__title + * { margin-top: clamp(2.5rem, 5vw, 4rem); }
[data-slide] > p, [data-slide] > ul, [data-slide] > .sim { margin-top: 1.25rem; }
[data-slide] > .lede + .sim { margin-top: 2.5rem; }
[hidden] { display: none; }
.eyebrow { display: block; font-size: 0.8125rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--orange-ink); margin-bottom: 0.9rem; }
[data-surface="navy"] .eyebrow, [data-surface="slate"] .eyebrow { color: var(--orange); }
.lede { font-size: var(--lede); line-height: 1.6; max-width: 46rem; }
.muted { color: var(--muted); font-size: 0.9375rem; }
p + p { margin-top: 1rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 2.75rem; padding: 0.55rem 1.25rem; border-radius: 0.5rem; border: 1px solid var(--orange); background: var(--orange); color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.9375rem; cursor: pointer; transition: background-color 150ms var(--ease), border-color 150ms var(--ease), color 150ms var(--ease); }
.btn:hover { background: #e57d0f; border-color: #e57d0f; }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--navy); }
.btn--ghost:hover { background: var(--low); border-color: var(--navy); }
.btn--ghost.is-on { background: var(--navy); border-color: var(--navy); color: #fff; }

.top { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,0.94); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; gap: 1rem; min-height: 4rem; }
.top__logo { display: block; width: 9.4rem; height: auto; }
.top__for { font-size: 0.875rem; color: var(--muted); padding-left: 1rem; border-left: 1px solid var(--line); }
.top__actions { margin-left: auto; display: flex; gap: 0.5rem; }

.plain, .ticks, .steps, .facts { padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.plain li, .ticks li { position: relative; padding-left: 1.5rem; }
.plain li::before { content: ""; position: absolute; left: 0.25rem; top: 0.65em; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); }
.ticks li::before { content: ""; position: absolute; left: 0.2rem; top: 0.35em; width: 0.4rem; height: 0.75rem; border: solid var(--orange); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plain--light b { color: #fff; font-weight: 600; }
.steps { counter-reset: s; gap: 1rem; }
.steps li { counter-increment: s; position: relative; padding-left: 2.75rem; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 1.9rem; height: 1.9rem; border-radius: 50%; background: var(--navy); color: #fff; font-size: 0.875rem; font-weight: 600; display: grid; place-items: center; }

.devbar { background: #fff6d6; color: #6e5200; font-size: 0.8125rem; padding: 0.6rem var(--pad-x); border-bottom: 1px solid #f2c230; }
.devbar b { font-weight: 600; }
.print-only, .calc__row[hidden], .pbar[hidden] { display: none; }

@media (max-width: 720px) {
  .top__for { display: none; }
  .top__logo { width: 124px; }
  #printBtn, #soundBtn { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
