/* Nox Omnia theme: misty grey, black, one hot red. Shared by every page. */
@font-face { font-family: "Inter Tight"; src: url("./fonts/inter-tight-latin.woff2") format("woff2"); font-weight: 300 600; font-display: swap; 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; }
@font-face { font-family: "Inter Tight"; src: url("./fonts/inter-tight-latin-ext.woff2") format("woff2"); font-weight: 300 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0; }

:root {
  color-scheme: light;
  --mist: #eeeeef;
  --mist-2: #e4e4e6;
  --white: #fafafa;
  --ink: #0b0b0d;
  --ink-2: #47474c;
  --ink-3: #5f5f65;
  --rule: rgba(11, 11, 13, .14);
  --red: #e3131b;
  --red-deep: #c20d14;
  --night: #0b0b0d;
  --night-2: #151518;
  --night-ink: #efeff0;
  --night-ink-2: #a9a9ae;
  --night-rule: rgba(239, 239, 240, .16);
  --glass: rgba(255, 255, 255, .42);
  --glass-edge: rgba(255, 255, 255, .78);
  --font: "Inter Tight", ui-sans-serif, system-ui, sans-serif;
  --gutter: clamp(20px, 4.4vw, 64px);
  --measure: 88rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; overflow-x: clip; background: var(--mist); color: var(--ink); font-family: var(--font); font-size: 1.0625rem; line-height: 1.5; font-weight: 400; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, canvas { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset, legend { margin: 0; padding: 0; }
fieldset { border: 0; min-width: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: var(--red); color: var(--white); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1, h2, h3 { font-weight: 300; letter-spacing: -.035em; line-height: 1.02; text-wrap: balance; overflow-wrap: break-word; }
h1 em, h2 em { font-style: normal; color: var(--red); }
.wrap { width: 100%; max-width: var(--measure); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 100; padding: 10px 16px; background: var(--ink); color: var(--white); border-radius: 999px; }
.skip:focus-visible { top: 12px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 56px; padding: 0 30px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: var(--white); font-size: 1rem; font-weight: 500; white-space: nowrap; cursor: pointer; transition: background-color .18s ease, border-color .18s ease, transform .12s ease; }
.btn:hover { background: var(--red); border-color: var(--red); }
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: .55; cursor: progress; }
.btn svg, .pill svg, .ring-link svg, .row-link svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pill { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 20px; border: 1px solid var(--red); border-radius: 999px; font-size: .9375rem; font-weight: 500; white-space: nowrap; transition: background-color .18s ease, color .18s ease; }
.pill:hover { background: var(--red); color: var(--white); }
.ring-link { display: inline-flex; align-items: center; gap: 14px; min-height: 48px; font-weight: 500; white-space: nowrap; }
.ring-link > span:last-child { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid currentColor; border-radius: 50%; transition: background-color .18s ease, color .18s ease, border-color .18s ease; }
.ring-link:hover > span:last-child { background: var(--red); border-color: var(--red); color: var(--white); }

/* Header */
.bar { position: sticky; top: 0; z-index: 50; background: rgba(238, 238, 239, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.bar__in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 14px; justify-self: start; font-size: .875rem; font-weight: 500; letter-spacing: .28em; text-transform: uppercase; white-space: nowrap; }
.brand svg { width: 30px; height: 38px; flex: none; }
.brand__a { fill: var(--ink); }
.brand__b { fill: var(--red); }
.bar__links { display: flex; gap: clamp(20px, 2.6vw, 38px); }
.bar__links a { position: relative; display: inline-block; padding-block: 8px; font-size: 1rem; }
.bar__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 1px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease); }
.bar__links a:hover::after, .bar__links a[aria-current]::after { transform: scaleX(1); }
.bar__end { display: flex; align-items: center; justify-content: flex-end; gap: 22px; }
.locale { display: inline-flex; align-items: center; gap: 2px; font-size: .8125rem; font-weight: 500; }
.locale button { min-width: 30px; min-height: 36px; padding: 0 4px; border: 0; background: none; color: var(--ink-3); cursor: pointer; }
.locale button:hover { color: var(--ink); }
.locale button[aria-pressed="true"] { color: var(--ink); font-weight: 600; }
.menu { display: none; }
.menu summary { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 50%; cursor: pointer; list-style: none; }
.menu summary::-webkit-details-marker { display: none; }
.menu summary svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; }
.menu__sheet { position: absolute; left: 0; right: 0; top: 100%; padding: 12px var(--gutter) 28px; background: var(--mist); border-bottom: 1px solid var(--rule); }
.menu__sheet a:not(.pill) { display: block; padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.625rem; font-weight: 300; letter-spacing: -.02em; }
.menu__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 20px; }

/* Footer */
.foot { background: var(--night); color: var(--night-ink); padding-block: clamp(56px, 7vw, 96px) 32px; }
.foot__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
.foot .brand { margin-bottom: 18px; }
.foot .brand__a { fill: var(--night-ink); }
.foot__line { color: var(--night-ink-2); font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; }
.foot h3 { margin-bottom: 14px; color: var(--night-ink-2); font-size: .9375rem; font-weight: 400; letter-spacing: 0; line-height: 1.4; }
.foot li a { display: inline-block; padding-block: 5px; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: .25em; text-decoration-color: var(--red); }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; margin-top: clamp(40px, 5vw, 72px); padding-top: 22px; border-top: 1px solid var(--night-rule); color: var(--night-ink-2); font-size: .875rem; }
.foot__legal { display: flex; gap: 22px; }

@media (max-width: 62rem) {
  .bar__in { grid-template-columns: 1fr auto; min-height: 68px; }
  .bar nav, .bar__end > .pill, .bar__end > .locale { display: none; }
  .menu { display: block; }
}
@media (max-width: 40rem) {
  .foot__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .foot__brandcol { grid-column: 1 / -1; }
}
