:root {
  color-scheme: light;
  --canvas: #fbfcff;
  --surface: #ffffff;
  --surface-soft: #f0f3f1;
  --ink: #16211d;
  --ink-soft: #41506d;
  --muted: #5b6762;
  --line: rgba(22, 33, 29, 0.13);
  --line-strong: rgba(22, 33, 29, 0.26);
  --accent: #285f4c;
  --chrome-accent: #9fe8ca;
  --blue: #1260f5;
  --focus: #087be8;
  --shadow: 0 18px 60px rgba(12, 17, 14, 0.1);
  --container: 1460px;
  --gutter: clamp(20px, 4vw, 56px);
  --radius-control: 9px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --canvas: #101513;
  --surface: #19201e;
  --surface-soft: #141a18;
  --ink: #eef7f2;
  --ink-soft: #c0cad9;
  --muted: #aab9b2;
  --line: rgba(238, 247, 242, 0.14);
  --line-strong: rgba(238, 247, 242, 0.28);
  --accent: #66c19d;
  --chrome-accent: #9fe8ca;
  --blue: #5c9cff;
  --focus: #75aeff;
  --shadow: 0 20px 70px rgba(0, 0, 0, 0.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; background: var(--canvas); }
body { min-width: 320px; min-height: 100vh; margin: 0; overflow-x: hidden; background: var(--canvas); color: var(--ink); font-family: inherit; font-size: 16px; line-height: 1.55; text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased; }
body.menu-open, body.dialog-open { overflow: hidden; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
img, svg { display: block; }
button, summary { font: inherit; }
button, summary, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.container { width: min(var(--container), calc(100% - (var(--gutter) * 2))); margin-inline: auto; }
.skiplink { position: fixed; z-index: 1000; top: 12px; left: 12px; padding: 10px 14px; border-radius: var(--radius-control); background: var(--ink); color: var(--canvas); font-weight: 750; transform: translateY(-160%); transition: transform 160ms ease; }
.skiplink:focus { transform: translateY(0); }

/* Exact approved emonster public navigation dimensions and interaction chrome. */
.topbar { position: sticky; z-index: 100; top: 0; border-bottom: 1px solid rgba(202, 224, 232, .12); background: rgba(5, 11, 18, .94); color: #f7f8f5; -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); }
.topbar .container { width: min(100% - 40px, 1440px); }
.topbar-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 88px; gap: 34px; }
.brand { display: inline-flex; min-height: 44px; align-items: center; gap: 14px; flex: 0 0 auto; color: inherit; text-decoration: none; }
.brand img { width: 178px; height: auto; object-fit: contain; }
.brand span { border-left: 1px solid rgba(255, 255, 255, .28); padding-left: 14px; color: var(--chrome-accent); font-size: .88rem; font-weight: 760; letter-spacing: -.01em; }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: clamp(20px, 2.2vw, 38px); min-width: 0; color: rgba(247, 248, 245, .76); }
.nav > a { position: relative; color: inherit; font-size: .96rem; font-weight: 650; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.nav > a::after { position: absolute; right: 0; bottom: -22px; left: 0; height: 2px; background: var(--accent); content: ""; opacity: 0; transform: scaleX(.4); transition: opacity 160ms ease, transform 160ms ease; }
.nav > a:hover, .nav > a[aria-current="page"] { color: #fff; }
.nav > a:hover::after, .nav > a[aria-current="page"]::after { opacity: 1; transform: scaleX(1); }
.legal-menu { position: relative; }
.legal-menu summary { min-height: 42px; display: inline-flex; align-items: center; gap: 7px; color: #c0cad9; font-size: 14px; font-weight: 650; line-height: 1.2; cursor: pointer; list-style: none; white-space: nowrap; }
.legal-menu summary::-webkit-details-marker, .language-menu summary::-webkit-details-marker { display: none; }
.legal-menu[open] summary, .legal-menu summary:hover { color: #5c9cff; }
.legal-menu summary .tabler-icon { width: 22px; height: 22px; flex: 0 0 22px; color: currentColor; }
.legal-menu-panel { position: absolute; z-index: 120; top: calc(100% + 10px); left: 50%; display: grid; width: 210px; overflow: hidden; border: 1px solid #263a55; border-radius: 8px; background: #101e31; box-shadow: 0 22px 70px rgba(0, 0, 0, .36); transform: translateX(-50%); }
.nav .legal-menu-panel a, .mobile-legal-menu .legal-menu-panel a { min-height: 44px; display: flex; align-items: center; padding: 10px 13px; color: #c0cad9; font-size: 13px; font-weight: 650; text-decoration: none; }
.nav .legal-menu-panel a:hover, .nav .legal-menu-panel a:focus-visible, .mobile-legal-menu .legal-menu-panel a:hover, .mobile-legal-menu .legal-menu-panel a:focus-visible { background: color-mix(in srgb, #5c9cff 9%, #101e31); color: #f1f6ff; }
.language-menu { position: relative; width: 128px; }
.language-menu summary { width: 100%; min-width: 0; height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 11px; border: 1px solid #263a55; border-radius: 8px; background: #101e31; color: #f1f6ff; font-size: 13px; font-weight: 650; cursor: pointer; list-style: none; }
.language-menu summary .tabler-icon { width: 20px; height: 20px; flex: 0 0 20px; }
.language-panel { position: absolute; z-index: 120; top: calc(100% + 10px); left: 0; width: 100%; min-width: 0; display: grid; overflow: hidden; border: 1px solid #263a55; border-radius: 8px; background: #101e31; box-shadow: 0 22px 70px rgba(0, 0, 0, .36); }
.language-link { min-height: 44px; display: flex; align-items: center; gap: 9px; padding: 10px 14px; color: #c0cad9; font-size: 13px; font-weight: 650; text-decoration: none; transition: background 160ms ease, color 160ms ease; }
.language-link:hover, .language-link[aria-current="page"] { background: color-mix(in srgb, #5c9cff 9%, #101e31); color: #f1f6ff; }
.language-flag { width: 22px; flex: 0 0 22px; font-size: 17px; line-height: 1; text-align: center; }
.mobile-language-links { display: none; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { display: inline-grid; width: 46px; height: 46px; padding: 0; place-items: center; border: 1px solid rgba(202, 224, 232, .18); border-radius: 12px; background: transparent; color: #fff; cursor: pointer; transition: border-color 160ms ease, background 160ms ease, transform 160ms ease; }
.icon-button:hover { border-color: rgba(202, 224, 232, .36); background: rgba(255, 255, 255, .07); transform: translateY(-1px); }
.tabler-icon, .icon-button svg, .footer-legal-heading svg, .privacy-settings-close svg { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-button svg { width: 20px; height: 20px; }
.public-theme-control { width: 42px; height: 42px; border: 1px solid #263a55; border-radius: 8px; background: #101e31; color: #f1f6ff; transform: none; }
.public-theme-control:hover { border-color: #38506f; background: #132339; transform: none; }
.public-theme-control .tabler-icon { width: 22px; height: 22px; }
.theme-mode-icons { display: grid; place-items: center; }
.theme-mode-icon { display: none; }
:root[data-theme-preference="system"] .theme-mode-icon-system, :root[data-theme-preference="light"] .theme-mode-icon-light, :root[data-theme-preference="dark"] .theme-mode-icon-dark { display: grid; }
.public-theme-control .theme-preference-label { display: none; }
.nav-toggle { display: none; }
.nav-toggle .close-glyph { display: none; }
.nav-toggle[aria-expanded="true"] .menu-glyph { display: none; }
.nav-toggle[aria-expanded="true"] .close-glyph { display: block; }
.mobile-menu { position: absolute; z-index: 90; top: 100%; right: 0; left: 0; height: calc(100svh - 88px); overflow-y: auto; border-top: 1px solid rgba(202, 224, 232, .12); background: #0b0d0d; color: #f7f8f5; }
.mobile-menu-inner { display: grid; width: min(100% - 40px, 720px); margin: 0 auto; padding: 30px 0 56px; }
.mobile-menu-inner > a { padding: 14px 0; border-bottom: 1px solid #2a302d; color: #f7f8f5; font-size: 1.15rem; font-weight: 690; text-decoration: none; }

.home-main { position: relative; }
.route-anchor { position: absolute; top: 0; left: 0; }
.vision-hero { min-height: calc(100svh - 88px); display: grid; place-items: center; align-content: center; gap: clamp(18px, 3vw, 38px); padding: clamp(44px, 6vw, 86px) var(--gutter); background: var(--canvas); text-align: center; }
.vision-hero h1 { margin: 0; color: var(--ink); font-size: clamp(3.25rem, 7vw, 7rem); font-weight: 850; letter-spacing: -.055em; line-height: .98; }
.vision-hero img { width: min(980px, 78vw); max-width: 100%; height: auto; object-fit: contain; }
.redirect-page { min-height: 100vh; display: grid; place-items: center; padding: 40px; background: var(--canvas); }
.redirect-page a { display: inline-flex; min-height: 44px; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; }
.redirect-page img { width: min(240px, 65vw); height: auto; }
.redirect-page span { border-left: 1px solid var(--line-strong); padding-left: 14px; color: var(--accent); font-size: .95rem; font-weight: 760; }

/* Exact approved emonster footer dimensions and breakpoints. */
.site-footer { padding: 68px max(20px, calc((100% - 1280px) / 2)) 28px; border-top: 1px solid #203451; background: #071225; color: #f3f7ff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 48px; }
.footer-brand { max-width: 340px; }
.footer-brand > a { display: inline-flex; }
.footer-product-brand img { width: 178px; }
.footer-brand p { color: #99aac2; font-size: 14px; }
.footer-grid h2 { margin: 4px 0 16px; color: #fff; font-size: 13px; }
.footer-legal-heading { min-height: 20px; display: flex; align-items: center; gap: 8px; font-weight: 650; }
.footer-legal-heading svg { width: 20px; height: 20px; flex: 0 0 20px; color: currentColor; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a { color: #aebbd0; font-size: 13px; }
.footer-grid a:hover { color: #45cfdf; }
.footer-bottom { margin-top: 56px; padding-top: 22px; border-top: 1px solid #203451; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: #8798b0; font-size: 12px; }
.footer-bottom p { margin: 0; }
.footer-privacy-button { padding: 0; border: 0; background: transparent; color: #aebbd0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.footer-privacy-button:hover { color: #45cfdf; }

/* Exact approved emonster legal presentation. */
.legal-page-main { width: min(100%, 1040px); margin-inline: auto; padding-inline: max(20px, var(--gutter)); }
.legal-hero { padding: clamp(72px, 9vw, 118px) 0 52px; }
.legal-eyebrow { margin: 0 0 18px; color: var(--blue); font-size: 13px; font-weight: 760; letter-spacing: .13em; text-transform: uppercase; }
.legal-hero h1 { max-width: 830px; margin: 0; font-size: clamp(52px, 7vw, 88px); font-weight: 720; letter-spacing: -.055em; line-height: .98; }
.legal-last-updated { margin: 22px 0 0; color: var(--muted); font-size: 13px; font-weight: 650; }
.legal-summary { max-width: 780px; margin: 30px 0 0; color: var(--ink-soft); font-size: clamp(18px, 1.65vw, 22px); line-height: 1.65; }
.legal-status { max-width: 780px; margin: 24px 0 0; padding: 14px 16px; border-left: 3px solid var(--blue); background: color-mix(in srgb, var(--blue) 7%, var(--surface)); color: var(--ink-soft); font-size: 13px; line-height: 1.6; }
.legal-tabs { display: flex; gap: 8px; padding: 0 0 30px; border-bottom: 1px solid var(--line-strong); }
.legal-tabs a { min-height: 44px; display: inline-flex; align-items: center; padding: 0 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink-soft); font-size: 13px; font-weight: 700; text-decoration: none; }
.legal-tabs a[aria-current="page"] { border-color: color-mix(in srgb, var(--blue) 58%, var(--line)); background: color-mix(in srgb, var(--blue) 9%, var(--surface)); color: var(--ink); }
.legal-document { padding: 14px 0 20px; }
.legal-document section { padding: 42px 0; border-bottom: 1px solid var(--line); }
.legal-document section:last-child { border-bottom: 0; }
.legal-document h2 { margin: 0 0 20px; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.15; }
.legal-document p, .legal-document li { max-width: 820px; color: var(--ink-soft); font-size: 16px; line-height: 1.75; }
.legal-document p { margin: 0; }
.legal-document p + p { margin-top: 16px; }
.legal-document ul { margin: 0; padding-left: 24px; }
.legal-document li + li { margin-top: 12px; }

/* The reference Privacy settings dialog is preserved with an honest no-analytics state. */
.privacy-settings-backdrop { position: fixed; z-index: 180; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(3, 10, 22, .62); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); }
.privacy-settings-dialog { position: relative; width: min(520px, 100%); padding: 30px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: 0 32px 100px rgba(0, 0, 0, .38); }
.privacy-settings-dialog h2 { margin: 0; font-size: 19px; }
.privacy-settings-dialog > p { margin: 7px 0 0; color: var(--ink-soft); font-size: 13px; line-height: 1.55; }
.privacy-settings-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: var(--surface-soft); color: var(--ink); cursor: pointer; }
.privacy-settings-close svg { width: 20px; height: 20px; }
.privacy-settings-status { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 22px 0 !important; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.privacy-settings-status span { color: var(--muted); }
.privacy-settings-status strong { color: var(--ink); }
.privacy-settings-learn { display: inline-block; margin-top: 20px; color: var(--blue); font-size: 13px; font-weight: 700; }

@media (max-width: 1180px) {
  .topbar-inner { gap: 20px; }
  .nav { gap: 20px; }
  .nav > a, .legal-menu summary { font-size: .88rem; }
}

@media (max-width: 980px) {
  .topbar-inner { min-height: 78px; }
  .nav, .language-menu { display: none; }
  .mobile-legal-menu { width: 100%; margin-top: 20px; }
  .mobile-legal-menu summary { width: 100%; min-height: 44px; border-bottom: 1px solid #263a55; }
  .mobile-legal-menu .legal-menu-panel { position: static; width: 100%; border: 0; border-bottom: 1px solid #263a55; border-radius: 0; box-shadow: none; transform: none; }
  .mobile-legal-menu .legal-menu-panel a { padding-left: 23px; background: #132339; }
  .mobile-language-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; margin-top: 20px; padding-top: 14px; border-top: 1px solid #263a55; }
  .mobile-language-links .language-link { padding-inline: 0; }
  .nav-toggle { display: inline-grid; }
  .mobile-menu { height: calc(100svh - 78px); }
  .vision-hero { min-height: calc(100svh - 78px); }
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .topbar .container { width: min(100% - 40px, 1440px); }
  .topbar-inner { min-height: 76px; }
  .mobile-menu { height: calc(100svh - 76px); }
  .brand img { width: 150px; }
  .brand span { display: none; }
  .vision-hero { min-height: calc(100svh - 76px); }
}

@media (max-width: 700px) {
  :root { --gutter: 20px; }
  html { scroll-padding-top: 80px; }
  .topbar-inner { gap: 12px; }
  .icon-button { width: 42px; height: 42px; }
  .vision-hero img { width: min(100%, 680px); }
}

@media (max-width: 620px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .legal-page-main { padding-inline: 20px; }
  .legal-hero { padding-top: 62px; }
  .legal-tabs { align-items: stretch; flex-direction: column; }
  .legal-tabs a { justify-content: center; }
  .privacy-settings-dialog { padding: 26px 20px 22px; }
}

@media (max-width: 430px) {
  .brand img { width: 132px; }
  .topbar-actions { gap: 6px; }
  .icon-button:not(.public-theme-control) { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .001ms !important; animation-duration: .001ms !important; animation-iteration-count: 1 !important; }
}
