@font-face {
  font-family: 'Mona Sans';
  src: url(../assets/fonts/mona-sans-latin.woff2) format('woff2');
  font-weight: 200 900;
  font-stretch: 75% 125%;
  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: 'Mona Sans';
  src: url(../assets/fonts/mona-sans-latin-ext.woff2) format('woff2');
  font-weight: 200 900;
  font-stretch: 75% 125%;
  font-display: swap;
  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;
}

:root {
  --bg: #0f1012;
  --ink: #f3f4f6;
  --ink-2: #b9bdc4;
  --ink-3: #80858d;
  --dark: #15171a;
  --dark-2: #5a5e66;
  --steel: linear-gradient(105deg, #45484f 0%, #53575e 42%, #6d7178 78%, #82868d 100%);
  --sheen: linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 42%);
  --gunmetal: linear-gradient(180deg, #393b40 0%, #2b2d31 100%);
  --platinum: linear-gradient(160deg, #f5f6f7 0%, #e6e8eb 48%, #d1d5da 100%);
  --pearl: linear-gradient(115deg, #eceef0 0%, #f7f7f8 42%, #d9dce0 100%);
  --tile: linear-gradient(180deg, #43464d 0%, #4d5158 40%, #6a6e75 100%);
  --rim: inset 0 1px 0 rgba(255, 255, 255, .2), inset 0 0 0 1px rgba(255, 255, 255, .05);
  --gold: #e9cc8e;
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 0 0 0 .08'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --grit: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1.1 0 0 0 -.42'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --font: 'Mona Sans', ui-sans-serif, system-ui, sans-serif;
  --ease: cubic-bezier(.3, .9, .3, 1);
  --ease-out: cubic-bezier(.2, .9, .3, 1);
  --spring: cubic-bezier(.3, 1.15, .45, 1);
  --nav-h: 76px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(96px, 10vw, 144px);
  --base: 14 15 17;
  --shade-a: 255 255 255 / .03;
  --shade-b: 255 255 255 / .02;
  color-scheme: dark;
}

.tint-silver { --tint: 214 219 228; }
.tint-amber { --tint: 226 182 104; }
.tint-ice { --tint: 128 196 232; }
.tint-blue { --tint: 104 146 232; }
.tint-red { --tint: 222 78 78; }
.tint-gold { --tint: 233 204 142; }

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

html {
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, p, ul, figure { margin: 0; }
h3 { font-size: inherit; font-weight: inherit; }
ul { padding: 0; list-style: none; }
img, svg, canvas { display: block; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

::-webkit-scrollbar { width: 6px; height: 6px; background: #050506; }
::-webkit-scrollbar-thumb { border-radius: 3px; background: #2a2c30; }
::-webkit-scrollbar-thumb:hover { background: #3b3e44; }
@supports (-moz-appearance: none) { html { scrollbar-width: thin; scrollbar-color: #2a2c30 #050506; } }
@media (max-width: 860px), (hover: none) {
  html { scrollbar-width: none; }
  ::-webkit-scrollbar { display: none; }
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.nw { white-space: nowrap; }

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 55% at 12% 0%, rgb(var(--shade-a)), transparent 70%),
    radial-gradient(60% 60% at 100% 100%, rgb(var(--shade-b)), transparent 72%),
    rgb(var(--base));
}
.bg::after { content: ''; position: absolute; inset: 0; background: var(--grain); background-size: 180px; opacity: .7; }
.grit { position: relative; isolation: isolate; }
.grit::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--grit);
  background-size: 200px;
  opacity: .5;
  pointer-events: none;
  -webkit-mask-image:
    radial-gradient(var(--gw, 60%) var(--gh, 55%) at var(--gx, 30%) var(--gy, 40%), #000, transparent),
    linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    radial-gradient(var(--gw, 60%) var(--gh, 55%) at var(--gx, 30%) var(--gy, 40%), #000, transparent),
    linear-gradient(180deg, transparent, #000 24%, #000 76%, transparent);
  mask-composite: intersect;
}
main, .foot { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: calc(1140px + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.title {
  font-size: clamp(32px, 3.4vw, 46px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
}
.head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(22px, 2.6vw, 32px); }

.key {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 45px;
  padding: 0 24px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .08);
  color: #0f1114;
  font-size: 13.3px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  transition: background-color .15s, transform .12s;
}
.key:hover { background: #eceef1; }
.key:active { transform: scale(.98); }
.key svg { width: 16px; height: 16px; }
.key-sm { height: 40px; padding: 0 18px; font-size: 12.5px; }

.nkey {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
  color: #f0f1f3;
  transition: background-color .15s;
}
.nkey:hover { background: rgba(255, 255, 255, .14); }
.nkey svg { width: 16px; height: 16px; transition: transform .1s; }
.nkey:active svg { transform: scale(.88); }

.switch {
  --x: 0px;
  --y: 0px;
  --w: 0px;
  --h: 0px;
  position: relative;
  display: inline-flex;
  padding: 4px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .05);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, .35), 0 1px 0 rgba(255, 255, 255, .05);
}
.switch-thumb {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--w);
  height: var(--h);
  border-radius: 14px;
  background: var(--grain), var(--sheen), var(--steel);
  background-size: 180px, auto, auto;
  box-shadow: var(--rim), 0 8px 18px -8px rgba(0, 0, 0, .6);
  transform: translate(var(--x), var(--y));
}
.is-ready > .switch-thumb { transition: transform .55s var(--spring), width .55s var(--spring), height .55s var(--spring); }
.switch button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 14px;
  background: none;
  color: rgba(255, 255, 255, .6);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: color .3s;
}
.switch button:hover, .switch [aria-checked="true"] { color: #fff; }
.switch button svg { width: 16px; height: 16px; flex: none; }

.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags li { height: 32px; padding: 0 13px; border-radius: 16px; background: rgba(0, 0, 0, .18); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06); font-size: 13px; font-weight: 600; line-height: 32px; }

.logo { flex: none; width: 30px; height: 26px; color: #eef0f2; transition: transform .6s var(--spring); }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand:hover .logo { transform: translateY(-1px) rotate(-6deg); }
.brand-name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding-top: calc(18px + env(safe-area-inset-top, 0px));
  pointer-events: none;
}
.nav-in { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; animation: drop .8s var(--ease-out) both; }
.nav-in > * { pointer-events: auto; }
.nav .brand { justify-self: start; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); transition: color .3s; }
.nav .logo { filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .3)); transition: transform .6s var(--spring), color .3s; }
.nav-links { position: relative; display: flex; gap: 4px; }
.nav-links a {
  padding: 10px 14px;
  color: rgba(255, 255, 255, .7);
  font-size: 15px;
  font-weight: 500;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .4);
  transition: color .25s;
}
.nav-links a:hover, .nav-links a.is-on { color: #fff; }
.nav-thumb {
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #fff;
  opacity: var(--o, 0);
  transform: translateX(calc(var(--x, 0px) + var(--w, 0px) / 2 - 2.5px));
  transition: transform .6s var(--spring), opacity .3s, background-color .3s;
}
.nav-cta { justify-self: end; transition: background-color .3s, color .3s, transform .12s; }
.nav-menu { display: none; place-items: center; width: 40px; height: 40px; margin-right: -8px; padding: 0; border: 0; background: none; color: #fff; filter: drop-shadow(0 1px 8px rgba(0, 0, 0, .4)); transition: color .3s; }
.nav-menu svg { width: 22px; height: 22px; }
.nav.is-light .brand, .nav.is-light .nav-links a.is-on, .nav.is-light .nav-links a:hover, .nav.is-light .nav-menu { color: var(--dark); text-shadow: none; filter: none; }
.nav.is-light .nav-links a { color: rgba(21, 23, 26, .6); text-shadow: none; }
.nav.is-light .logo { color: var(--dark); filter: none; }
.nav.is-light .nav-thumb { background: var(--dark); }
.nav.is-light .nav-cta { background: var(--dark); color: #fff; }

.sheet {
  position: fixed;
  inset: 0;
  z-index: 39;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 12px) var(--gutter) calc(28px + env(safe-area-inset-bottom, 0px));
  background: var(--grain), rgba(12, 13, 15, .96);
  background-size: 180px, auto;
  animation: fade .25s ease-out;
}
.sheet-panel { display: flex; flex-direction: column; justify-content: space-between; height: 100%; animation: rise .4s var(--ease); }
.sheet-links a { display: block; padding: 6px 0; font-size: 40px; font-weight: 600; line-height: 1.15; letter-spacing: -0.04em; }
.sheet .key { width: 100%; }

.display {
  font-size: clamp(54px, 10vw, 148px);
  font-weight: 700;
  font-stretch: 125%;
  line-height: .9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f4f5f7 0%, #c9ccd2 55%, #868a91 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@keyframes drop { from { transform: translateY(-14px); opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: translateY(-8px); } }
@keyframes up { from { opacity: 0; transform: translateY(18px); } }
@keyframes fade { from { opacity: 0; } }
@keyframes bob { 50% { translate: 0 -8px; } }

.pager {
  --k: 0;
  position: relative;
  width: 72px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, .18);
  overflow: hidden;
}
.pager i {
  position: absolute;
  left: 0;
  top: 0;
  width: 26px;
  height: 6px;
  border-radius: 3px;
  background: #fefefe;
  transform: translateX(calc(var(--k) * 46px));
  transition: transform .45s var(--ease);
}
.pager-ink { background: rgba(0, 0, 0, .14); }
.pager-ink i { background: var(--dark); }

.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

[data-reveal] { transition: transform 1s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms); }
.js [data-reveal]:not(.is-in) { transform: translateY(32px); }

@media (max-width: 860px) {
  :root { --nav-h: 66px; }
  .nav { padding-top: calc(12px + env(safe-area-inset-top, 0px)); }
  .nav-in { grid-template-columns: 1fr auto auto; gap: 6px; }
  .nav-links { display: none; }
  .nav-cta { height: 38px; padding: 0 16px; font-size: 12px; }
  .nav-menu { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal]:not(.is-in) { transform: none; }
}
