/* Montserrat, served from this site (no Google request) */
@font-face{font-family:Montserrat;font-weight:400;font-style:normal;font-display:swap;src:url(/site/fonts/montserrat-400.woff2) format("woff2")}
@font-face{font-family:Montserrat;font-weight:500;font-style:normal;font-display:swap;src:url(/site/fonts/montserrat-500.woff2) format("woff2")}
@font-face{font-family:Montserrat;font-weight:600;font-style:normal;font-display:swap;src:url(/site/fonts/montserrat-600.woff2) format("woff2")}
@font-face{font-family:Montserrat;font-weight:700;font-style:normal;font-display:swap;src:url(/site/fonts/montserrat-700.woff2) format("woff2")}
@font-face{font-family:Montserrat;font-weight:800;font-style:normal;font-display:swap;src:url(/site/fonts/montserrat-800.woff2) format("woff2")}
/*
 * Colours are variables named by role and designed value (--s-bg-FFFFFF is a background designed #FFFFFF; fg text,
 * bd borders, ot anything else), each used with that value as its fallback (scripts/site/build.py writes the pages'
 * this way). Nothing defines them in light, so the pages render as designed; the two dark blocks at the end give the
 * dark values (the device's setting, and <html data-theme="dark"> from /theme.js), and print stays light.
 */
:root{color-scheme:light}
html{scroll-behavior:smooth}
body{margin:0;background:var(--s-bg-FFFFFF,#fff)}
img{max-width:100%;height:auto}
[hidden]{display:none!important}
a{color:var(--s-fg-0B1F44,#0B1F44)}a:hover{color:var(--s-fg-A85800,#A85800)}
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #FF8A00;outline-offset:2px}
.skip{position:absolute;left:-9999px;top:8px;z-index:100;background:#0B1F44;color:#fff;padding:10px 16px;border-radius:8px}
.skip:focus{left:8px}
#content{position:absolute;top:0}
section[id]{scroll-margin-top:84px}
details.faq{background:var(--s-bg-FFFFFF,#fff);border:1px solid var(--s-bd-E6E9EF,#E6E9EF);border-radius:14px}
details.faq summary{list-style:none;cursor:pointer;padding:20px 22px;display:flex;justify-content:space-between;align-items:center;gap:16px;font-family:Montserrat,system-ui,sans-serif;font-size:17px;font-weight:700;color:var(--s-fg-0B1F44,#0B1F44)}
details.faq summary::-webkit-details-marker{display:none}
details.faq .sign::before{content:"+";font-size:22px;color:var(--s-fg-A85800,#A85800)}
details.faq[open] .sign::before{content:"\2212"}
details.faq p{margin:0;padding:0 22px 20px;color:var(--s-fg-4B5568,#4B5568)}
.tour-tab{font-family:Montserrat,system-ui,sans-serif;font-weight:700;font-size:15px;padding:11px 18px;border-radius:999px;cursor:pointer;background:transparent;color:#fff;border:1px solid #5B6B8C}
.tour-tab[aria-selected=true]{background:#FF8A00;color:#0B1F44;border-color:#FF8A00}
/* The theme switch under the footer (web/lib/site.ts), navy like the footer; /theme.js shows it and sets aria-pressed. */
.theme-switch{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:10px max(24px,calc(50% - 620px));background:#071533;border-top:1px solid #22355C;color:#A9B6CC;font-family:Montserrat,system-ui,sans-serif;font-size:13px}
.theme-switch>span{font-weight:600;margin-right:4px}
.theme-switch button{font:inherit;font-weight:600;color:#C9D2E3;background:transparent;border:1px solid #2A3C63;border-radius:999px;padding:6px 14px;cursor:pointer}
.theme-switch button:hover{color:#fff;border-color:#5B6B8C}
.theme-switch button[aria-pressed=true]{background:#FF8A00;border-color:#FF8A00;color:#0B1F44}
@media (max-width:640px){h1{font-size:38px!important}h2{font-size:30px!important}}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
@media print{.theme-switch{display:none}}

/*
 * Dark. The two blocks below are the same but for their first selector; change both. Only variables whose role
 * needs it change: white and grey surfaces turn dark, navy text light, light borders dark, the dark orange brighter.
 * Navy and orange surfaces (the hero, the dark panels, the footer, buttons) keep their designed colours, and so does
 * everything on them (the hero's sample card, the corridor chips, the footer logo's white plate): they reset every
 * dark variable, also on a surface inside them, which then falls back to its designed value. A grey or warm surface
 * raises the white cards on it. A logo on a surface that turns dark gets its own white plate; the footer's has one.
 */
@media screen and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --s-bg-FFFFFF: #0b1220;
    --s-bg-FFFFFF-96: rgba(11,18,32,0.96);
    --s-bg-F5F6F8: #121a2b;
    --s-bg-FFF4E2: #2a1f0f;
    --s-bg-E9F7EF: #11301f;
    --s-fg-0B1F44: #eef2fa;
    --s-fg-34405A: #d3d9e4;
    --s-fg-4B5568: #b3bccb;
    --s-fg-5B6577: #98a2b3;
    --s-fg-A85800: #ffb35c;
    --s-fg-6B4400: #ffc47a;
    --s-fg-4B3A1E: #ecdcc3;
    --s-fg-A12A1F: #ff8f80;
    --s-bd-E6E9EF: #263041;
    --s-bd-DDE2EA: #2c3749;
    --s-bd-CFD5DF: #3a465a;
    --s-bd-0B1F44: #c9d2e3;
    --s-ot-0B1F44: #e6eaf2;
    --s-ot-17663A: #5fd394;
  }
  :root:not([data-theme="light"]) [style*="--s-bg-F5F6F8"] { --s-bg-FFFFFF: #1a2335; }
  :root:not([data-theme="light"]) [style*="--s-bg-FFF4E2"] { --s-bg-FFFFFF: #33271a; }
  :root:not([data-theme="light"]) [style*="--s-bg-0B1F44"],
  :root:not([data-theme="light"]) [style*="--s-bg-071533"],
  :root:not([data-theme="light"]) [style*="--s-bg-FF8A00"],
  :root:not([data-theme="light"]) [style*="--s-bg-0B1F44"] [style*="--s-bg-"],
  :root:not([data-theme="light"]) [style*="--s-bg-071533"] [style*="--s-bg-"],
  :root:not([data-theme="light"]) [style*="--s-bg-FF8A00"] [style*="--s-bg-"] {
    --s-bg-FFFFFF: initial; --s-bg-FFFFFF-96: initial; --s-bg-F5F6F8: initial; --s-bg-FFF4E2: initial; --s-bg-E9F7EF: initial;
    --s-fg-0B1F44: initial; --s-fg-34405A: initial; --s-fg-4B5568: initial; --s-fg-5B6577: initial; --s-fg-A85800: initial;
    --s-fg-6B4400: initial; --s-fg-4B3A1E: initial; --s-fg-A12A1F: initial;
    --s-bd-E6E9EF: initial; --s-bd-DDE2EA: initial; --s-bd-CFD5DF: initial; --s-bd-0B1F44: initial;
    --s-ot-0B1F44: initial; --s-ot-17663A: initial;
  }
  :root:not([data-theme="light"]) [style*="--s-bg-0B1F44"]:not(section) { box-shadow: inset 0 0 0 1px #2A3C63; }
  :root:not([data-theme="light"]) input:not([type="checkbox"]):not([type="radio"]),
  :root:not([data-theme="light"]) textarea { background-color: var(--s-bg-FFFFFF, #0b1220); }
  :root:not([data-theme="light"]) img[src$="tanadi-lockup-color.png"]:not([style*="background"]) { background: #fff; border-radius: 4px; box-shadow: -4px 0 0 6px #fff, 4px 0 0 6px #fff; }
}
@media screen {
  :root[data-theme="dark"] {
    color-scheme: dark;
    --s-bg-FFFFFF: #0b1220;
    --s-bg-FFFFFF-96: rgba(11,18,32,0.96);
    --s-bg-F5F6F8: #121a2b;
    --s-bg-FFF4E2: #2a1f0f;
    --s-bg-E9F7EF: #11301f;
    --s-fg-0B1F44: #eef2fa;
    --s-fg-34405A: #d3d9e4;
    --s-fg-4B5568: #b3bccb;
    --s-fg-5B6577: #98a2b3;
    --s-fg-A85800: #ffb35c;
    --s-fg-6B4400: #ffc47a;
    --s-fg-4B3A1E: #ecdcc3;
    --s-fg-A12A1F: #ff8f80;
    --s-bd-E6E9EF: #263041;
    --s-bd-DDE2EA: #2c3749;
    --s-bd-CFD5DF: #3a465a;
    --s-bd-0B1F44: #c9d2e3;
    --s-ot-0B1F44: #e6eaf2;
    --s-ot-17663A: #5fd394;
  }
  :root[data-theme="dark"] [style*="--s-bg-F5F6F8"] { --s-bg-FFFFFF: #1a2335; }
  :root[data-theme="dark"] [style*="--s-bg-FFF4E2"] { --s-bg-FFFFFF: #33271a; }
  :root[data-theme="dark"] [style*="--s-bg-0B1F44"],
  :root[data-theme="dark"] [style*="--s-bg-071533"],
  :root[data-theme="dark"] [style*="--s-bg-FF8A00"],
  :root[data-theme="dark"] [style*="--s-bg-0B1F44"] [style*="--s-bg-"],
  :root[data-theme="dark"] [style*="--s-bg-071533"] [style*="--s-bg-"],
  :root[data-theme="dark"] [style*="--s-bg-FF8A00"] [style*="--s-bg-"] {
    --s-bg-FFFFFF: initial; --s-bg-FFFFFF-96: initial; --s-bg-F5F6F8: initial; --s-bg-FFF4E2: initial; --s-bg-E9F7EF: initial;
    --s-fg-0B1F44: initial; --s-fg-34405A: initial; --s-fg-4B5568: initial; --s-fg-5B6577: initial; --s-fg-A85800: initial;
    --s-fg-6B4400: initial; --s-fg-4B3A1E: initial; --s-fg-A12A1F: initial;
    --s-bd-E6E9EF: initial; --s-bd-DDE2EA: initial; --s-bd-CFD5DF: initial; --s-bd-0B1F44: initial;
    --s-ot-0B1F44: initial; --s-ot-17663A: initial;
  }
  :root[data-theme="dark"] [style*="--s-bg-0B1F44"]:not(section) { box-shadow: inset 0 0 0 1px #2A3C63; }
  :root[data-theme="dark"] input:not([type="checkbox"]):not([type="radio"]),
  :root[data-theme="dark"] textarea { background-color: var(--s-bg-FFFFFF, #0b1220); }
  :root[data-theme="dark"] img[src$="tanadi-lockup-color.png"]:not([style*="background"]) { background: #fff; border-radius: 4px; box-shadow: -4px 0 0 6px #fff, 4px 0 0 6px #fff; }
}
