/* ==========================================================================
   Weta Technologies — downloads hub (weta-technologies.github.io).
   A focused, static companion to wetatechnologies.com: same tokens, same type,
   same "signal" motif (mint dot, the W with antennae, the gradient hairline).
   Light is brand-native; dark follows the visitor's OS. No JavaScript.
   ========================================================================== */

/* ---------- Self-hosted type (latin subsets, woff2; SIL OFL) ---------- */

@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 400; src: url('/assets/fonts/inter-latin-400.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 500; src: url('/assets/fonts/inter-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-display: swap; font-weight: 700; src: url('/assets/fonts/inter-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url('/assets/fonts/jakarta-latin-500.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 600; src: url('/assets/fonts/jakarta-latin-600.woff2') format('woff2'); }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url('/assets/fonts/jakarta-latin-700.woff2') format('woff2'); }
@font-face { font-family: 'Nunito'; font-style: normal; font-display: swap; font-weight: 700 900; src: url('/assets/fonts/nunito-latin.woff2') format('woff2'); }

/* ---------- Tokens (the company site's own; do not invent colours) ---------- */

:root {
  color-scheme: light;
  --colour-blue: #00529f;
  --colour-blue-strong: #01428f;
  --colour-blue-alt: #0a83ce;
  --colour-blue-light: #13b5ea;
  --colour-blue-wash: #e6f1fb;
  --signal: #00c2a8;
  --signal-hover: #00a38b;
  --on-signal: #0b2e29;
  --text: #172c40;
  --muted: #51626f;
  --faint: #7a8794;
  --bg: #f7f9fb;
  --card: #ffffff;
  --pearl: #ecf2f6;
  --hairline: #dde3e8;
  --navy: #00529f;
  --navy-deep: #013f73;
  --white: #ffffff;
  --ink-on-dark: #c3d2de;
  --gradient-brand: linear-gradient(90deg, var(--colour-blue) 0%, var(--colour-blue-alt) 36%, var(--colour-blue-light) 68%, var(--signal) 100%);
  --plate: linear-gradient(140deg, var(--navy-deep) 0%, var(--navy) 56%, var(--colour-blue-alt) 128%);
  --plate-glow: 0 34px 90px -34px rgba(1, 63, 115, 0.6), 0 12px 32px -18px rgba(0, 82, 159, 0.45);
  --hero-wash:
    radial-gradient(56% 60% at 100% 0%, color-mix(in srgb, var(--colour-blue-light) 18%, transparent), transparent 64%),
    radial-gradient(38% 46% at 0% 100%, color-mix(in srgb, var(--signal) 11%, transparent), transparent 62%);
  --shadow-card: 0 1px 2px rgba(23, 44, 64, 0.04), 0 10px 26px -16px rgba(23, 44, 64, 0.1);
  --shadow-lg: 0 4px 12px rgba(23, 44, 64, 0.08), 0 24px 64px -24px rgba(23, 44, 64, 0.22);
  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Nunito', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius-xs: 4px;
  --radius-lg: 18px;
  --radius-2xl: 24px;
  --radius-pill: 9999px;
  --header-h: 64px;
  --overlap: clamp(40px, 7vw, 88px);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --t-fast: 0.14s var(--ease);
  --t: 0.22s var(--ease);
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 16px; line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; }
img { max-width: 100%; display: block; }
svg { display: block; }
::selection { background: rgba(19, 181, 234, 0.25); }
a { color: var(--colour-blue); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--colour-blue); outline-offset: 2px; border-radius: var(--radius-xs); }
h1, h2, h3 { font-family: var(--font-heading); color: var(--text); margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--card); color: var(--colour-blue);
  padding: 10px 16px; border-radius: 6px; box-shadow: var(--shadow-lg);
}
.skip-link:focus { left: 12px; top: 12px; }

.container { width: min(100% - 44px, 1140px); margin-inline: auto; }

/* ---------- The signal motif ---------- */

.sigline {
  display: flex; align-items: center; gap: 12px; margin: 0 0 18px;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.11em; text-transform: uppercase; color: var(--colour-blue);
}
.sigline::before {
  content: ''; flex-shrink: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 20%, transparent);
}
.sigline::after { content: ''; width: 34px; height: 1px; background: color-mix(in srgb, var(--colour-blue) 34%, transparent); }

/* A mint full stop closing the headline — the act colour as punctuation. */
.h-dot {
  display: inline-block; width: 0.2em; height: 0.2em; margin-left: 0.08em;
  border-radius: 50%; background: var(--signal); vertical-align: 0.02em;
  box-shadow: 0 0 0 0.12em color-mix(in srgb, var(--signal) 18%, transparent);
}

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-size: 15px; font-weight: 600; color: var(--colour-blue);
  padding-bottom: 2px; border-bottom: 2px solid color-mix(in srgb, var(--signal) 55%, transparent);
  transition: border-color var(--t-fast), color var(--t-fast);
}
.link-arrow:hover { text-decoration: none; border-bottom-color: var(--signal); }
.link-arrow .arr { display: inline-block; transition: transform var(--t-fast); }
.link-arrow:hover .arr { transform: translateX(3px); }

/* ---------- Header ---------- */

.site-header { position: sticky; top: 0; z-index: 40; background: var(--card); border-bottom: 1px solid var(--hairline); }
@supports (backdrop-filter: blur(4px)) or (-webkit-backdrop-filter: blur(4px)) {
  .site-header { background: color-mix(in srgb, var(--card) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.6); backdrop-filter: blur(16px) saturate(1.6); }
}
.site-header::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--colour-blue) 28%, var(--colour-blue-light) 58%, var(--signal) 84%, transparent);
  opacity: 0.95;
}
.site-header-inner { display: flex; align-items: center; gap: 14px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand-tile { width: 32px; height: 32px; border-radius: 9px; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 16px; letter-spacing: -0.02em; white-space: nowrap; }
.brand-dot { display: inline-block; width: 0.28em; height: 0.28em; margin-left: 0.12em; border-radius: 50%; background: currentColor; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.header-link {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 7px 11px; border-radius: 10px; white-space: nowrap;
  transition: color var(--t-fast), background var(--t-fast);
}
.header-link:hover { color: var(--text); background: var(--pearl); text-decoration: none; }
.header-link[aria-current='page'] { color: var(--text); font-weight: 600; }
.header-sep { width: 1px; height: 18px; flex-shrink: 0; margin: 0 8px; background: var(--hairline); }
.header-link .ext { font-size: 12px; margin-left: 3px; opacity: 0.7; }

@media (max-width: 640px) {
  .brand-word { font-size: 15px; }
  /* Small screens keep one link — the other page. The current page needs no link to itself, the
     brand is always the way home (so the 404 page marks its home link .header-link-home), and the
     company link lives in the footer. */
  .header-link[aria-current='page'], .header-link-home, .header-link-ext, .header-sep { display: none; }
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px;
  font-family: var(--font-display); font-size: 14.5px; font-weight: 600; letter-spacing: 0.005em;
  border-radius: var(--radius-pill); border: 1px solid transparent;
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn:active { transform: translateY(0); transition-duration: 0.06s; }
.btn .arr { display: inline-block; transition: transform var(--t-fast); }
.btn:hover .arr { transform: translateX(3px); }

/* Mint is the only filled "act" colour: it means Download. Dark ink on it, never white. */
.btn-primary {
  background: linear-gradient(180deg, #0bd0b5, var(--signal) 58%); color: var(--on-signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 1px 2px rgba(0, 148, 128, 0.35), 0 10px 22px -10px rgba(0, 163, 139, 0.55);
}
.btn-primary:hover {
  background: linear-gradient(180deg, #00c2a8, var(--signal-hover) 62%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 4px rgba(0, 148, 128, 0.35), 0 14px 28px -12px rgba(0, 163, 139, 0.6);
}
.btn-primary .ico { width: 16px; height: 16px; flex-shrink: 0; }

/* Not yet: a quiet pill that is plainly not a link. */
.btn-soon { background: var(--pearl); color: var(--muted); border-color: var(--hairline); cursor: default; }
.btn-soon:hover { transform: none; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; background: var(--hero-wash), var(--bg); border-bottom: 1px solid var(--hairline); }
.hero-inner { position: relative; max-width: 760px; padding: clamp(52px, 8vw, 92px) 0 clamp(48px, 7vw, 84px); }
.hero h1 { max-width: 13ch; font-size: clamp(38px, 5.8vw, 72px); font-weight: 800; line-height: 0.98; letter-spacing: -0.03em; }
.hero-sub { color: var(--muted); max-width: 560px; margin: 24px 0 0; font-size: clamp(16.5px, 1.9vw, 19px); line-height: 1.6; }
.hero-sub strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }

/* The landing hero leaves room for the platform tiles to hang over its bottom edge. */
.hero--tiles .hero-inner { padding-bottom: calc(var(--overlap) + clamp(40px, 6vw, 72px)); }

/* The W outline at the right edge — the brand echo, hand-built from the mark's own geometry. */
.hero-mark { position: absolute; right: -4%; top: 50%; transform: translateY(-50%); width: clamp(240px, 34vw, 460px); pointer-events: none; }
.hero-mark svg { width: 100%; height: auto; }
.hero-mark .pm-w { stroke: color-mix(in srgb, var(--colour-blue) 16%, transparent); }
@media (max-width: 860px) {
  .hero-mark { width: 220px; right: -60px; top: -34px; transform: none; opacity: 0.85; }
}

/* ---------- Platform tiles ----------
   One tile per platform; add a platform by copying one <a class="tile"> block.
   Each tile is the page's colour moment: brand navy, dot paper, a mint arrow chip. */

.tiles-section { position: relative; z-index: 1; margin-top: calc(-1 * var(--overlap)); padding-bottom: clamp(56px, 8vw, 96px); }
.tiles { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 540px)); }
.tile {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; gap: 10px;
  min-height: 300px; padding: 30px 30px 26px;
  border-radius: var(--radius-2xl); color: var(--white);
  background: var(--plate); box-shadow: var(--plate-glow);
  transition: transform var(--t), box-shadow var(--t);
}
.tile::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(90% 110% at 100% 0%, #000 20%, transparent 72%);
  -webkit-mask-image: radial-gradient(90% 110% at 100% 0%, #000 20%, transparent 72%);
}
.tile::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(52% 60% at 100% 0%, color-mix(in srgb, var(--signal) 34%, transparent), transparent 70%);
}
.tile:hover, .tile:focus-visible { text-decoration: none; transform: translateY(-3px); box-shadow: var(--plate-glow), 0 0 0 1px rgba(19, 181, 234, 0.25); }
.tile:focus-visible { outline-color: var(--colour-blue-light); outline-offset: 4px; }
.tile-kicker {
  display: flex; align-items: center; gap: 10px; margin: 0;
  font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--colour-blue-light);
}
.tile-kicker::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 22%, transparent); }
.tile h2 { color: var(--white); font-size: clamp(34px, 4.2vw, 48px); font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin-top: 12px; }
.tile-desc { margin: 4px 0 0; max-width: 34ch; color: var(--ink-on-dark); font-size: 15.5px; line-height: 1.55; }
.tile-foot { display: flex; align-items: center; gap: 14px; margin-top: auto; padding-top: 26px; }
.tile-icons { display: flex; }
.tile-icons img { width: 38px; height: 38px; border-radius: 22.4%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45), 0 6px 14px -6px rgba(0, 0, 0, 0.6); }
.tile-icons img + img { margin-left: -9px; }
.tile-names { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-on-dark); line-height: 1.35; }
.tile-arrow {
  margin-left: auto; flex-shrink: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; font-size: 20px; line-height: 1;
  background: linear-gradient(180deg, #0bd0b5, var(--signal) 58%); color: var(--on-signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 20px -8px rgba(0, 194, 168, 0.8);
  transition: transform var(--t-fast);
}
.tile:hover .tile-arrow { transform: translateX(4px); }
@media (max-width: 520px) {
  .tile { min-height: 0; padding: 26px 22px 22px; }
  /* Narrow tiles: the arrow chip moves to the top corner so the icon row keeps one line. */
  .tile-arrow { position: absolute; top: 18px; right: 18px; margin: 0; }
  .tile-kicker { padding-right: 56px; }
}

/* ---------- Facts — a typographic index, not icon cards ---------- */

.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--pearl { background: var(--pearl); border-block: 1px solid var(--hairline); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 40px); }
.title { font-size: clamp(28px, 3.4vw, 40px); font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
.section-lead { color: var(--muted); font-size: 17px; margin: 14px 0 0; max-width: 60ch; }
.index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 40px; margin: 0; border-top: 1px solid var(--hairline); }
.index > div { padding: 24px 0 26px; border-bottom: 1px solid var(--hairline); }
.index dt { margin: 0 0 8px; font-family: var(--font-display); font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--colour-blue-alt); }
.index dd { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--text); }
.index dd a { font-weight: 500; }
@media (max-width: 860px) { .index { grid-template-columns: 1fr; gap: 0; } }

/* ---------- App cards (Mac Apps) ----------
   White cards on the canvas. Each carries a hint of its own app's palette — a wash behind the icon,
   a tinted icon shadow, a gradient hairline on top — while the Download pill stays mint. */

.apps { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.app-card {
  --app-a: var(--colour-blue-light); --app-b: var(--colour-blue); --app-bar: var(--gradient-brand);
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column;
  padding: 30px 26px 24px; border-radius: var(--radius-2xl);
  background: var(--card); border: 1px solid var(--hairline); box-shadow: var(--shadow-card);
}
.app-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(64% 52% at 0% 0%, color-mix(in srgb, var(--app-b) 13%, transparent), transparent 72%);
}
.app-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--app-bar); }
.app-icon {
  width: 96px; height: 96px; border-radius: 22.4%; margin: 0 0 22px -2px;
  box-shadow: 0 16px 30px -14px color-mix(in srgb, var(--app-b) 75%, transparent), 0 2px 6px rgba(23, 44, 64, 0.12);
}
.app-name { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: 28px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; }
.app-line { margin: 8px 0 0; font-size: 16px; line-height: 1.5; color: var(--muted); max-width: 30ch; }
.app-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: auto; padding-top: 26px; }
.app-meta { margin: 18px 0 0; font-family: var(--font-display); font-size: 12.5px; font-weight: 600; letter-spacing: 0.02em; color: var(--muted); }
.app-meta .sep { margin: 0 6px; color: var(--faint); }

.app-card--sleepless { --app-a: #ffb35a; --app-b: #3a2668; --app-bar: linear-gradient(90deg, #1e1a52, #3a2668 35%, #ffb35a 78%, #ffd9a8); }
.app-card--juiceleft { --app-a: #b9f26a; --app-b: #1c7a73; --app-bar: linear-gradient(90deg, #0e4f4e, #1c7a73 40%, #b9f26a); }
.app-card--jotpad { --app-a: #f08a55; --app-b: #d8582f; --app-bar: linear-gradient(90deg, #8c2c1c, #d8582f 45%, #f08a55 80%, #ffe3c8); }

/* Honest status tag: a hollow ring for what is not out yet. */
.status {
  display: inline-flex; align-items: center; gap: 6px; vertical-align: middle;
  font-family: var(--font-display); font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  color: var(--muted); white-space: nowrap;
}
.status::before { content: ''; flex-shrink: 0; width: 6px; height: 6px; border-radius: 50%; border: 1.5px solid var(--faint); }

.after-apps { margin-top: clamp(28px, 4vw, 44px); color: var(--muted); font-size: 15px; max-width: 64ch; }

/* ---------- Footer — pearl, a gradient hairline on top ---------- */

.site-footer { background: var(--pearl); color: var(--muted); position: relative; border-top: 1px solid var(--hairline); }
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--gradient-brand); pointer-events: none; }
.site-footer-inner { position: relative; padding: clamp(44px, 6vw, 64px) 0 36px; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 34px 64px; justify-content: space-between; padding-bottom: 34px; margin-bottom: 26px; border-bottom: 1px solid var(--hairline); }
.footer-brand { max-width: 340px; }
.footer-brand-row { display: flex; align-items: center; gap: 11px; color: var(--text); }
.footer-tagline { margin: 14px 0 0; font-size: 13.5px; line-height: 1.65; }
.footer-locale { margin: 12px 0 0; font-family: var(--font-display); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer-nav { display: flex; gap: 34px 56px; flex-wrap: wrap; }
.footer-group h3 { font-family: var(--font-display); color: var(--text); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.09em; margin: 0 0 14px; }
.footer-links { display: grid; gap: 10px; list-style: none; margin: 0; padding: 0; font-size: 14px; }
.footer-links a { color: var(--muted); transition: color var(--t-fast); }
.footer-links a:hover { color: var(--colour-blue); text-decoration: none; }
.footer-links .sep { margin: 0 5px; color: var(--faint); }
.footer-fine-row { display: flex; flex-wrap: wrap; gap: 10px 32px; justify-content: space-between; align-items: baseline; }
.footer-fine, .footer-mark { font-size: 12.5px; line-height: 1.6; margin: 0; }
.footer-mark { white-space: nowrap; }

/* ---------- 404 ---------- */

.lost { padding: clamp(72px, 12vw, 140px) 0; }
.lost h1 { font-size: clamp(38px, 6vw, 72px); font-weight: 800; letter-spacing: -0.03em; line-height: 0.98; }

/* ---------- Dark — one block, kept last so it wins every cascade ---------- */

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0b1823; --card: #16283c; --pearl: #1b3049; --hairline: #24384e;
    --text: #f2f7fb; --muted: #afc6dc; --faint: #5a7286;
    --colour-blue: #13b5ea; --colour-blue-alt: #56c8ef; --colour-blue-wash: #1b3049;
    --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.28), 0 10px 26px -16px rgba(0, 0, 0, 0.42);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.38), 0 24px 64px -24px rgba(0, 0, 0, 0.62);
    --plate-glow: 0 0 0 1px rgba(19, 181, 234, 0.22), 0 34px 100px -30px rgba(19, 181, 234, 0.5), 0 0 140px -30px rgba(0, 194, 168, 0.35);
    --hero-wash:
      radial-gradient(56% 60% at 100% 0%, color-mix(in srgb, var(--colour-blue-light) 26%, transparent), transparent 64%),
      radial-gradient(38% 46% at 0% 100%, color-mix(in srgb, var(--signal) 16%, transparent), transparent 62%);
  }
  .btn-primary { background: linear-gradient(180deg, #3ddfca, #2dd4bf 60%); color: #06231f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 1px 2px rgba(0, 0, 0, 0.3); }
  .btn-primary:hover { background: linear-gradient(180deg, #2dd4bf, #14b8a6 62%); color: #06231f; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 2px 6px rgba(0, 0, 0, 0.35); }
  .btn-soon { background: #1a2838; }
  .header-link:hover { background: var(--pearl); }
  .app-card::before { background: radial-gradient(64% 52% at 0% 0%, color-mix(in srgb, var(--app-a) 15%, transparent), transparent 72%); }
  .app-icon { box-shadow: 0 16px 30px -12px color-mix(in srgb, var(--app-a) 45%, transparent), 0 2px 6px rgba(0, 0, 0, 0.5); }
  .tile-icons img { box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3), 0 6px 14px -6px rgba(0, 0, 0, 0.8); }
  .site-footer { background: var(--bg); }
}

/* ---------- Motion — only when the visitor allows it ---------- */

@media (prefers-reduced-motion: no-preference) {
  .hero-mark .pm-draw { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 0.9s cubic-bezier(0.33, 0, 0.2, 1) 0.35s forwards; }
  .h-dot { animation: dot-breathe 3.6s ease-in-out 1.8s infinite; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes dot-breathe {
  0%, 100% { box-shadow: 0 0 0 0.12em color-mix(in srgb, var(--signal) 18%, transparent); }
  50% { box-shadow: 0 0 0 0.3em color-mix(in srgb, var(--signal) 8%, transparent); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
