/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-italic-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Instrument Serif';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/instrument-serif-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/jetbrains-mono-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/plus-jakarta-sans-normal-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Spatial Civic Light — Production Stylesheet for here2win-casino.ca */
:root {
  --bg-canvas: #F5F4EF;
  --bg-elevated: #FCFBF8;
  --bg-well: #EAE8E0;
  --bg-glass: rgba(255, 255, 255, 0.74);
  --bg-glass-strong: rgba(255, 255, 255, 0.88);
  --ink-primary: #111317;
  --ink-secondary: #484E5A;
  --ink-muted: #6C7381;
  --hairline: rgba(17, 19, 23, 0.088);
  --hairline-strong: rgba(17, 19, 23, 0.16);
  --specular: rgba(255, 255, 255, 0.92);
  --accent-vermilion: #D92D20;
  --accent-vermilion-soft: rgba(217, 45, 32, 0.09);
  --status-forest: #0B6E4F;
  --status-forest-soft: rgba(11, 110, 79, 0.10);
  --status-amber: #B45309;
  --status-amber-soft: rgba(180, 83, 9, 0.11);

  --font-display: 'Instrument Serif', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --gutter: clamp(1rem, 2.5vw, 3rem);
  --container: min(94vw, 1680px);
  --ceiling: 1920px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 12px;
  --r-pill: 999px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-glass:
    inset 0 1px 0 var(--specular),
    0 0 0 1px rgba(17, 19, 23, 0.065),
    0 8px 24px -6px rgba(17, 19, 23, 0.05),
    0 28px 60px -18px rgba(17, 19, 23, 0.09);
  --shadow-card:
    0 0 0 1px rgba(17, 19, 23, 0.065),
    0 2px 6px rgba(17, 19, 23, 0.03),
    0 18px 38px -14px rgba(17, 19, 23, 0.07);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: var(--bg-canvas);
  color: var(--ink-primary);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  max-width: 100%;
}

body {
  position: relative;
  background: var(--bg-canvas);
  overflow-x: clip;
  max-width: 100%;
  min-height: 100vh;
}

.page-ceiling {
  max-width: var(--ceiling);
  margin-inline: auto;
  position: relative;
}

/* Full-viewport Daylight Caustic WebGL2 Canvas */
#caustic-gl {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  opacity: 0.92;
}

main, header, footer { position: relative; z-index: 2; }
section { scroll-margin-top: 96px; }

.shell {
  width: var(--container);
  margin-inline: auto;
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

a {
  color: inherit;
}

main p a, .prose-card p a, .faq-body a {
  color: var(--ink-primary);
  text-decoration: underline;
  text-decoration-color: rgba(217, 45, 32, 0.55);
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
  font-weight: 500;
  transition: color 0.16s ease, text-decoration-color 0.16s ease;
}
main p a:hover, .prose-card p a:hover, .faq-body a:hover {
  color: var(--accent-vermilion);
  text-decoration-color: var(--accent-vermilion);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-secondary);
}
.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--status-forest);
  box-shadow: 0 0 0 3px var(--status-forest-soft);
  flex-shrink: 0;
}

/* Floating Spatial Frosted Header */
.top-header {
  position: sticky;
  top: 12px;
  z-index: 120;
  padding-inline: var(--gutter);
  margin-top: 12px;
}
.nav-bar {
  width: min(100%, 1680px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.58rem 0.75rem 0.58rem 1.1rem;
  border-radius: var(--r-pill);
  background: var(--bg-glass);
  backdrop-filter: blur(26px) saturate(185%);
  -webkit-backdrop-filter: blur(26px) saturate(185%);
  box-shadow: var(--shadow-glass);
}
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink-primary);
  flex-shrink: 0;
}
.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: linear-gradient(145deg, #161920, #2B303C);
  color: #FCFBF8;
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.28), 0 4px 10px rgba(17,19,23,0.14);
  position: relative;
  flex-shrink: 0;
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent-vermilion);
}
.brand-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}
.brand-title {
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: -0.02em;
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 0.66rem;
  color: var(--ink-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  flex-wrap: nowrap;
}
.nav-links a {
  padding: 0.44rem 0.78rem;
  border-radius: var(--r-pill);
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s var(--ease-out), color 0.18s var(--ease-out);
}
.nav-links a:hover, .nav-links a[aria-current="page"] {
  background: rgba(17, 19, 23, 0.065);
  color: var(--ink-primary);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.38rem 0.78rem;
  border-radius: var(--r-pill);
  background: var(--status-forest-soft);
  color: var(--status-forest);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
}

/* Spring Segmented EN-CA / FR-CA Link Switcher */
.lang-switch {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  border-radius: var(--r-pill);
  background: rgba(17, 19, 23, 0.07);
  box-shadow: inset 0 1px 2px rgba(17, 19, 23, 0.06);
}
.lang-pill-thumb {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 3px;
  width: calc(50% - 3px);
  border-radius: var(--r-pill);
  background: var(--bg-elevated);
  box-shadow: 0 2px 6px rgba(17, 19, 23, 0.11);
  transition: transform 0.28s var(--ease-spring);
}
html[lang="fr-CA"] .lang-pill-thumb {
  transform: translateX(100%);
}
.lang-btn {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  padding: 0.32rem 0.58rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  color: var(--ink-secondary);
  text-decoration: none;
  text-align: center;
  transition: color 0.18s ease, transform 0.12s ease;
}
.lang-btn:active { transform: scale(0.96); }
.lang-btn[aria-current="page"] { color: var(--ink-primary); }

/* Mobile Menu Button & Glass Drawer */
.mobile-menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-elevated);
  color: var(--ink-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s var(--ease-out), background 0.18s ease;
  flex-shrink: 0;
}
.mobile-menu-btn:active { transform: scale(0.95); }

.mobile-drawer {
  display: none;
  width: min(100%, 1680px);
  margin: 0.55rem auto 0;
  padding: 1.1rem;
  border-radius: 24px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(28px) saturate(190%);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  box-shadow: var(--shadow-glass);
}
.mobile-drawer.is-open {
  display: block;
}
.mobile-drawer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}
.mobile-drawer-grid a {
  padding: 0.62rem 0.85rem;
  border-radius: 14px;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--hairline);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem;
}
.mobile-drawer-grid a[aria-current="page"] {
  box-shadow: inset 0 0 0 1.5px var(--accent-vermilion);
  background: #FFFFFF;
}
.mobile-drawer-foot {
  margin-top: 0.8rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.35rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-muted);
}

/* Breadcrumbs */
.breadcrumb-bar {
  padding-top: 1.5rem;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-muted);
}
.breadcrumbs a {
  color: var(--ink-secondary);
  text-decoration: none;
  transition: color 0.16s ease;
}
.breadcrumbs a:hover { color: var(--accent-vermilion); }
.breadcrumbs .bc-sep { opacity: 0.45; }
.breadcrumbs [aria-current="page"] {
  color: var(--ink-primary);
  font-weight: 600;
}

/* HERO: Asymmetric 12-Col Spatial Grid */
.hero {
  padding: clamp(2.4rem, 4.8vw, 4.8rem) 0 clamp(3rem, 5.5vw, 5.2rem);
}
.hero-inner {
  padding: clamp(1.8rem, 3.6vw, 3.6rem) 0 clamp(2.5rem, 4.5vw, 4.2rem);
}
.hero-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.5rem);
  align-items: center;
}
.hero-copy {
  grid-column: 1 / span 7;
}
.hero-headline {
  margin-top: 1rem;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.9rem, 5.6vw, 6.2rem);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: var(--ink-primary);
  text-wrap: balance;
}
.hero-inner .hero-headline {
  font-size: clamp(2.55rem, 4.5vw, 4.65rem);
  line-height: 0.99;
}
.hero-headline em {
  font-style: italic;
  color: var(--accent-vermilion);
}
.hero-lead {
  margin-top: 1.3rem;
  font-size: clamp(1.02rem, 1.12vw, 1.18rem);
  line-height: 1.64;
  color: var(--ink-secondary);
  max-width: 62ch;
}

.kpi-strip {
  margin-top: 1.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  max-width: 720px;
}
.kpi-card {
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: var(--bg-glass-strong);
  box-shadow: var(--shadow-card);
  min-width: 0;
}
.kpi-lbl {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--ink-muted);
}
.kpi-val {
  margin-top: 0.24rem;
  font-family: var(--font-mono);
  font-size: clamp(0.82rem, 0.9vw, 0.95rem);
  font-weight: 600;
  color: var(--ink-primary);
  overflow-wrap: anywhere;
}

/* Spatial Frosted Search & Diagnostic Command Box */
.diag-command {
  margin-top: 1.85rem;
  padding: 0.55rem;
  border-radius: 22px;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-glass);
  max-width: 680px;
}
.diag-input-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.5rem 0.6rem 0.5rem 0.95rem;
  border-radius: 16px;
  background: var(--bg-elevated);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.diag-input-row svg {
  flex-shrink: 0;
  color: var(--ink-muted);
}
.diag-input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink-primary);
}
.diag-input::placeholder { color: var(--ink-muted); }
.diag-submit {
  border: 0;
  border-radius: 12px;
  background: var(--ink-primary);
  color: #FCFBF8;
  padding: 0.65rem 1.08rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s var(--ease-out), background 0.18s ease;
}
.diag-submit:hover { background: #262B35; }
.diag-submit:active { transform: scale(0.97); }

.quick-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.42rem;
  padding: 0.62rem 0.4rem 0.2rem;
}
.chip-btn {
  border: 1px solid var(--hairline);
  background: rgba(255, 255, 255, 0.68);
  border-radius: var(--r-pill);
  padding: 0.34rem 0.76rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-secondary);
  cursor: pointer;
  transition: all 0.18s var(--ease-out);
}
.chip-btn:hover, .chip-btn[aria-pressed="true"] {
  border-color: var(--ink-primary);
  color: var(--ink-primary);
  background: #FFFFFF;
}
.chip-btn:active { transform: scale(0.97); }

/* Hero Right: 3D Optical Quartz Stage */
.hero-stage {
  grid-column: 8 / span 5;
  position: relative;
  perspective: 1200px;
}
.quartz-frame {
  position: relative;
  border-radius: var(--r-lg);
  padding: 12px;
  background: var(--bg-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: var(--shadow-glass);
  transform-style: preserve-3d;
  transition: transform 0.25s var(--ease-out);
  overflow: hidden;
}
.quartz-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--glare-x, 30%) var(--glare-y, 25%), rgba(255,255,255,0.62), transparent 65%);
  mix-blend-mode: soft-light;
}
.quartz-img-wrap {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background: #EAE7DF;
}
.quartz-img-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.floating-telemetry-card {
  position: absolute;
  padding: 0.8rem 1rem;
  border-radius: 18px;
  background: rgba(252, 251, 248, 0.9);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  box-shadow: var(--shadow-glass);
  z-index: 4;
}
.ft-top { top: -16px; right: -10px; min-width: 205px; }
.ft-bottom { bottom: -18px; left: -12px; min-width: 230px; }
.ft-label {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
}
.ft-val {
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink-primary);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}
.badge-ok {
  font-size: 0.67rem;
  padding: 0.14rem 0.48rem;
  border-radius: var(--r-pill);
  background: var(--status-forest-soft);
  color: var(--status-forest);
  font-family: var(--font-mono);
  font-weight: 600;
}
.badge-warn {
  font-size: 0.67rem;
  padding: 0.14rem 0.48rem;
  border-radius: var(--r-pill);
  background: var(--status-amber-soft);
  color: var(--status-amber);
  font-family: var(--font-mono);
  font-weight: 600;
}

/* Full-Bleed 10-Province Telemetry Matrix */
.province-band {
  width: 100%;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: rgba(252, 251, 248, 0.68);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: clamp(2.5rem, 4.5vw, 4.2rem) 0;
}
.band-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}
.band-title, .section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 3.8vw, 3.6rem);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.026em;
  margin-top: 0.45rem;
  text-wrap: balance;
}
.province-grid-10 {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid var(--hairline);
  border-radius: 22px;
  overflow: hidden;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}
.prov-cell {
  padding: 1.15rem 1.15rem;
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  cursor: pointer;
  transition: background 0.2s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  text-align: left;
  background: transparent;
  border-top: 0;
  border-left: 0;
  font-family: inherit;
}
.prov-cell:nth-child(5n) { border-right: 0; }
.prov-cell:nth-child(n+6) { border-bottom: 0; }
.prov-cell:hover, .prov-cell[aria-selected="true"] {
  background: rgba(217, 45, 32, 0.05);
}
.prov-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.4rem;
}
.prov-code {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--ink-muted);
}
.prov-state {
  font-family: var(--font-mono);
  font-size: 0.67rem;
  font-weight: 600;
  padding: 0.15rem 0.48rem;
  border-radius: var(--r-pill);
  background: var(--status-forest-soft);
  color: var(--status-forest);
}
.prov-state.warn {
  background: var(--status-amber-soft);
  color: var(--status-amber);
}
.prov-name {
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink-primary);
}
.prov-metrics {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  width: 100%;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--ink-secondary);
  padding-top: 0.55rem;
  border-top: 1px dashed var(--hairline);
}
.prov-detail-bar {
  margin-top: 1.15rem;
  padding: 1rem 1.3rem;
  border-radius: 16px;
  background: var(--bg-glass-strong);
  box-shadow: inset 0 0 0 1px var(--hairline);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
  font-size: 0.92rem;
}

/* Signature Pinned 3D Exploding Protocol Stack */
.explode-section {
  padding: clamp(4.2rem, 7vw, 7.5rem) 0;
}
.explode-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4.2rem);
  align-items: start;
}
.explode-sticky {
  grid-column: 1 / span 6;
  position: sticky;
  top: 96px;
  min-height: 520px;
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.84), rgba(240,238,230,0.74));
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass);
  padding: 1.85rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.explode-stage-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-secondary);
}
.progress-track {
  width: 110px;
  height: 4px;
  border-radius: 99px;
  background: rgba(17,19,23,0.09);
  overflow: hidden;
  flex-shrink: 0;
}
.progress-fill {
  height: 100%;
  width: 25%;
  background: var(--accent-vermilion);
  transition: width 0.1s linear;
}
.iso-viewport {
  perspective: 1400px;
  height: 350px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.iso-stack {
  position: relative;
  width: min(355px, 74vw);
  height: 220px;
  transform-style: preserve-3d;
  transform: rotateX(54deg) rotateZ(-28deg);
}
.iso-layer {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1.15rem 1.3rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 0 0 1.5px rgba(17, 19, 23, 0.10),
    0 24px 44px -14px rgba(17, 19, 23, 0.16);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: box-shadow 0.25s ease, background 0.25s ease;
  will-change: transform;
}
.iso-layer[data-active="true"] {
  background: rgba(255, 255, 255, 0.94);
  box-shadow:
    inset 0 1px 0 #FFFFFF,
    0 0 0 2px var(--accent-vermilion),
    0 28px 54px -12px rgba(217, 45, 32, 0.22);
}
.iso-layer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--ink-secondary);
}
.iso-layer-title {
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
}
.iso-layer-foot {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.67rem;
  color: var(--status-forest);
}
.explode-steps {
  grid-column: 7 / span 6;
  display: flex;
  flex-direction: column;
  gap: 1.85rem;
}
.step-card {
  padding: 1.85rem 2rem;
  border-radius: 24px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  border-left: 3px solid transparent;
  transition: border-color 0.25s ease;
}
.step-card.is-current {
  border-left-color: var(--accent-vermilion);
}
.step-num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-vermilion);
  letter-spacing: 0.08em;
}
.step-card h3 {
  margin-top: 0.42rem;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
}
.step-card p {
  margin-top: 0.62rem;
  color: var(--ink-secondary);
  font-size: 0.97rem;
  line-height: 1.64;
}
.step-checklist {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--hairline);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--ink-primary);
}

/* Interactive Tool & Bento Sections */
.tool-section, .wizard-section, .content-section, .faq-section, .related-section {
  padding: clamp(3.5rem, 6vw, 5.8rem) 0;
  border-top: 1px solid var(--hairline);
}
.wizard-grid, .split-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-top: 2.1rem;
  align-items: start;
}
.wizard-panel, .main-col-7 {
  grid-column: 1 / span 7;
  padding: clamp(1.5rem, 2.8vw, 2.35rem);
  border-radius: var(--r-lg);
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}
.token-showcase, .side-col-5 {
  grid-column: 8 / span 5;
  border-radius: var(--r-lg);
  padding: clamp(1.35rem, 2.4vw, 1.95rem);
  background: var(--bg-glass);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-glass);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}
.token-img {
  border-radius: 18px;
  overflow: hidden;
}
.token-img img {
  width: 100%;
  height: auto;
  display: block;
}

.symptom-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.sym-btn {
  padding: 0.92rem 1.05rem;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  background: var(--bg-canvas);
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  color: var(--ink-primary);
  transition: all 0.18s var(--ease-out);
}
.sym-btn:hover { border-color: var(--hairline-strong); }
.sym-btn:active { transform: scale(0.98); }
.sym-btn[aria-selected="true"] {
  background: var(--ink-primary);
  color: #FCFBF8;
  border-color: var(--ink-primary);
}
.sym-btn .sym-code {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  opacity: 0.72;
  margin-bottom: 0.2rem;
}
.sym-btn .sym-label {
  font-weight: 600;
  font-size: 0.91rem;
}
.resolution-box {
  margin-top: 1.35rem;
  padding: 1.4rem;
  border-radius: 18px;
  background: var(--bg-canvas);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.res-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.65rem;
}
.res-eta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.62rem;
  border-radius: var(--r-pill);
  background: var(--status-forest-soft);
  color: var(--status-forest);
}
.res-steps {
  margin-top: 0.8rem;
  padding-left: 1.15rem;
  color: var(--ink-secondary);
  font-size: 0.93rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

/* Interactive Checklists & Calculators */
.check-list-ui {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.1rem;
}
.check-row {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  padding: 0.88rem 1rem;
  border-radius: 14px;
  background: var(--bg-canvas);
  border: 1px solid var(--hairline);
  cursor: pointer;
  transition: border-color 0.16s ease, background 0.16s ease;
}
.check-row:hover { border-color: var(--hairline-strong); }
.check-row input[type="checkbox"] {
  margin-top: 0.22rem;
  width: 18px;
  height: 18px;
  accent-color: var(--status-forest);
  flex-shrink: 0;
}
.check-meter {
  margin-top: 1.2rem;
  padding: 1rem 1.15rem;
  border-radius: 16px;
  background: var(--bg-canvas);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.meter-bar-bg {
  margin-top: 0.55rem;
  height: 8px;
  border-radius: 99px;
  background: var(--bg-well);
  overflow: hidden;
}
.meter-bar-fill {
  height: 100%;
  width: 0%;
  background: var(--status-forest);
  transition: width 0.25s var(--ease-out);
}

.calc-controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.1rem;
}
.field-group {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}
.field-group label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-muted);
  text-transform: uppercase;
}
.field-input, .field-select {
  padding: 0.72rem 0.9rem;
  border-radius: 12px;
  border: 1px solid var(--hairline-strong);
  background: var(--bg-canvas);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--ink-primary);
  width: 100%;
}

/* Deep Technical Prose & Spec Tables */
.prose-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem);
  margin-top: 2rem;
}
.prose-card {
  grid-column: span 6;
  padding: clamp(1.5rem, 2.5vw, 2.15rem);
  border-radius: 24px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
}
.prose-card.wide {
  grid-column: 1 / -1;
}
.prose-card h3 {
  font-size: 1.24rem;
  letter-spacing: -0.02em;
  color: var(--ink-primary);
  margin-bottom: 0.65rem;
}
.prose-card p {
  color: var(--ink-secondary);
  font-size: 0.98rem;
  line-height: 1.68;
  max-width: 68ch;
}
.prose-card p + p {
  margin-top: 0.9rem;
}
.prose-list {
  margin-top: 0.9rem;
  padding-left: 1.2rem;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
}

.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: 1.25rem;
  border-radius: 18px;
  border: 1px solid var(--hairline);
  background: var(--bg-elevated);
}
.spec-table, .sla-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.spec-table th {
  text-align: left;
  padding: 0.85rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: rgba(234, 232, 224, 0.55);
  border-bottom: 1px solid var(--hairline-strong);
}
.spec-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--hairline);
  color: var(--ink-secondary);
  vertical-align: top;
}
.spec-table tr:last-child td { border-bottom: 0; }
.spec-table td:first-child {
  color: var(--ink-primary);
  font-weight: 600;
}
.sla-mini-table td {
  padding: 0.58rem 0;
  border-bottom: 1px solid var(--hairline);
}
.sla-mini-table tr:last-child td { border-bottom: 0; }
.sla-mini-table td:last-child {
  text-align: right;
  font-family: var(--font-mono);
  font-weight: 600;
}

/* FAQ Accordion & Live Filter */
.faq-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3.5rem);
}
.faq-aside { grid-column: 1 / span 4; }
.faq-list {
  grid-column: 5 / span 8;
  border-top: 1px solid var(--hairline-strong);
}
details.faq-item {
  border-bottom: 1px solid var(--hairline);
  padding: 1.1rem 0;
}
details.faq-item[hidden] { display: none; }
details.faq-item summary {
  list-style: none;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  color: var(--ink-primary);
}
details.faq-item summary::-webkit-details-marker { display: none; }
.faq-idx {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-right: 0.75rem;
}
.faq-plus {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--ink-muted);
  transition: transform 0.2s var(--ease-out);
  flex-shrink: 0;
}
details[open] .faq-plus { transform: rotate(45deg); color: var(--accent-vermilion); }
.faq-body {
  padding: 0.72rem 1.2rem 0.2rem 2rem;
  color: var(--ink-secondary);
  font-size: 0.95rem;
  line-height: 1.66;
  max-width: 68ch;
}

/* Related Guides Grid */
.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}
.rel-card {
  padding: 1.35rem;
  border-radius: 20px;
  background: var(--bg-elevated);
  box-shadow: var(--shadow-card);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.85rem;
  transition: transform 0.2s var(--ease-out), box-shadow 0.2s ease;
}
.rel-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glass);
}
.rel-card-code {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-vermilion);
  font-weight: 600;
}
.rel-card-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--ink-primary);
  line-height: 1.3;
}
.rel-card-desc {
  font-size: 0.86rem;
  color: var(--ink-secondary);
  line-height: 1.5;
}

/* Architectural Swiss Footer */
.site-footer {
  border-top: 1px solid var(--hairline-strong);
  padding: 3.5rem 0 4rem;
  background: rgba(234, 232, 224, 0.62);
}
.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.25rem;
  border-bottom: 1px solid var(--hairline);
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-muted);
  margin-bottom: 0.85rem;
}
.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}
.footer-col a {
  text-decoration: none;
  font-size: 0.88rem;
  color: var(--ink-secondary);
  transition: color 0.16s ease;
}
.footer-col a:hover { color: var(--ink-primary); }
.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.82rem;
  color: var(--ink-secondary);
}

/* Responsive Breakpoints (1080px & 390px zero-overflow guarantee) */
@media (max-width: 1120px) {
  .nav-links, .status-pill { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .hero-copy, .hero-stage, .explode-sticky, .explode-steps,
  .wizard-panel, .main-col-7, .token-showcase, .side-col-5,
  .faq-aside, .faq-list, .prose-card {
    grid-column: 1 / -1;
  }
  .explode-sticky { position: relative; top: 0; min-height: 420px; }
  .province-grid-10 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prov-cell { border-right: 1px solid var(--hairline) !important; border-bottom: 1px solid var(--hairline) !important; }
  .prov-cell:nth-child(2n) { border-right: 0 !important; }
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-top { right: 8px; top: 8px; }
  .ft-bottom { left: 8px; bottom: 8px; }
}

@media (max-width: 640px) {
  .top-header { padding-inline: 0.65rem; top: 8px; margin-top: 8px; }
  .nav-bar { padding: 0.48rem 0.58rem 0.48rem 0.85rem; gap: 0.4rem; }
  .brand-sub { display: none; }
  .brand-title { font-size: 0.86rem; }
  .lang-btn { padding: 0.28rem 0.46rem; font-size: 0.66rem; }
  .mobile-drawer-grid, .province-grid-10, .symptom-tabs,
  .step-checklist, .kpi-strip, .calc-controls, .related-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .prov-cell { border-right: 0 !important; }
  .floating-telemetry-card { position: static; margin-top: 0.6rem; width: 100%; min-width: 0; }
  .iso-viewport { height: 290px; }
  .iso-stack { width: 235px; height: 175px; transform: rotateX(50deg) rotateZ(-22deg) scale(0.86); }
  .diag-input-row { flex-wrap: wrap; padding: 0.55rem; }
  .diag-submit { width: 100%; }
  .faq-body { padding-left: 0.5rem; padding-right: 0.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
