/* Unics design system: white paper, one cobalt ink, off-black type.
   Newsreader for display, Hanken Grotesk for everything you read and click,
   DM Mono for numbers and addresses. */

@font-face { font-family: "Newsreader"; src: url("/fonts/Newsreader-Roman-300_600.woff2") format("woff2"); font-weight: 300 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/fonts/Newsreader-Italic-300_600.woff2") format("woff2"); font-weight: 300 600; font-style: italic; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("/fonts/HankenGrotesk-Roman-300_800.woff2") format("woff2"); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/DMMono-Roman-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/fonts/DMMono-Roman-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }

:root {
  --paper: #ffffff;
  --mist: #f1f6fb;
  --mist-2: #e4edf6;
  --hair: rgba(13, 30, 52, 0.085);
  --hair-2: rgba(13, 30, 52, 0.15);
  --ink: #0d1a2b;
  --ink-2: #4a5a70;
  --ink-3: #8796aa;
  --accent: #3cb6fa;
  --accent-2: #1fa6f3;
  --accent-3: #a9ddfc;
  --accent-wash: #eaf6ff;
  --accent-soft: #cdeafd;
  --deep: #0f6ab0;
  --em: #229ee9;
  --night: #0a121d;
  --up: #12a150;
  --down: #e5484d;

  --serif: "Newsreader", ui-serif, Georgia, "Times New Roman", serif;
  --sans: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --max: 1240px;
  --gut: clamp(16px, 4.4vw, 64px);
  --sec: clamp(96px, 12vw, 176px);
  --r-xl: 36px;
  --r-lg: 26px;
  --r: 18px;
  --r-sm: 12px;

  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-1: 0 1px 2px rgba(14, 22, 70, 0.06), 0 8px 24px -14px rgba(14, 22, 70, 0.18);
  --shadow-2: 0 30px 60px -32px rgba(14, 22, 70, 0.28), 0 12px 28px -18px rgba(14, 22, 70, 0.16);
  --shadow-phone: 0 70px 110px -48px rgba(12, 20, 70, 0.5), 0 26px 50px -26px rgba(12, 20, 70, 0.32);
  --nav-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transition: top .2s; }
.skip:focus { top: 12px; }

/* ------------------------------------------------------------ layout */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto; padding: 0 var(--gut); }
.sec { padding: var(--sec) 0; position: relative; }
.ico { width: 1em; height: 1em; flex: none; }

/* ------------------------------------------------------------ type */
.display, .h1, .h2, .h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.022em; margin: 0; color: var(--ink); font-optical-sizing: auto; }
.h1 { font-size: clamp(50px, 6.2vw, 96px); line-height: 0.95; letter-spacing: -0.03em; }
.h2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 0.98; letter-spacing: -0.028em; }
.h3 { font-size: clamp(28px, 3vw, 40px); line-height: 1.04; }
.h1 em, .h2 em, .h3 em, .display em { font-style: italic; color: var(--em); font-weight: 400; letter-spacing: -0.02em; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--ink-2); max-width: 34em; margin: 0; }
.body { color: var(--ink-2); max-width: 36em; }
.mono { font-family: var(--mono); font-feature-settings: "zero" 1; letter-spacing: -0.01em; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-3); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  font: 500 11px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--deep);
  background: var(--accent-wash); box-shadow: inset 0 0 0 1px rgba(60, 182, 250, 0.12);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.eyebrow.ink { color: var(--ink); background: var(--mist); box-shadow: inset 0 0 0 1px var(--hair); }

/* ------------------------------------------------------------ buttons */
.btn {
  --b-bg: var(--ink); --b-fg: #fff; --b-i: rgba(255, 255, 255, 0.14);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 52px; padding: 0 8px 0 24px; border-radius: 999px; background: var(--b-bg); color: var(--b-fg);
  font: 600 15px/1 var(--sans); letter-spacing: -0.005em; white-space: nowrap; user-select: none;
  transition: transform .5s var(--ease), background-color .3s var(--ease), box-shadow .5s var(--ease);
  will-change: transform;
}
.btn .bi { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--b-i); transition: transform .5s var(--ease); }
.btn .bi svg { width: 17px; height: 17px; }
.btn:hover .bi { transform: translate(2px, -1px) scale(1.06); }
.btn:active { transform: scale(0.975); }
.btn.no-i { padding: 0 24px; }
/* every button wears the terminal's look: an ink pill with a lit edge, a sky glass pill, a white glass pill */
.btn { --b-bg: #0d1a2b; --b-fg: #fff; --b-i: rgba(255, 255, 255, 0.16); box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.18), 0 10px 26px -14px rgba(13, 26, 43, 0.55); }
.btn.ink:hover { --b-bg: #1c2d44; }
.btn.blue {
  --b-bg: linear-gradient(135deg, rgba(92, 198, 255, 0.98), rgba(60, 182, 250, 0.86)); --b-fg: #0d1a2b; --b-i: rgba(255, 255, 255, 0.5);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.75), inset 0 -10px 18px -12px rgba(11, 116, 181, 0.45), 0 12px 28px -14px rgba(26, 140, 210, 0.7);
}
.btn.blue:hover { filter: brightness(1.04) saturate(1.08); }
.btn.ghost {
  --b-bg: rgba(255, 255, 255, 0.46); --b-fg: #0d1a2b; --b-i: rgba(255, 255, 255, 0.8);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.95), inset 0 0 0 1px rgba(255, 255, 255, 0.5), 0 8px 22px -16px rgba(26, 92, 160, 0.45);
  -webkit-backdrop-filter: blur(14px) saturate(160%); backdrop-filter: blur(14px) saturate(160%);
}
.btn.ghost:hover { --b-bg: rgba(255, 255, 255, 0.72); }
.btn.white { --b-bg: #0d1a2b; --b-fg: #fff; --b-i: rgba(255, 255, 255, 0.16); }
.btn.sm { height: 40px; padding: 0 6px 0 16px; font-size: 14px; gap: 10px; }
.btn.sm .bi { width: 28px; height: 28px; }
.btn.sm.no-i { padding: 0 16px; }
.btn.lg { height: 60px; padding: 0 9px 0 28px; font-size: 16px; }
.btn.lg .bi { width: 44px; height: 44px; }
.btn[disabled], .btn.is-disabled { opacity: 0.4; pointer-events: none; }
.btn.is-busy { pointer-events: none; }
.btn.is-busy .bi svg { animation: spin 0.9s linear infinite; }
.link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--hair-2); padding-bottom: 3px; transition: color .3s var(--ease), border-color .3s var(--ease); }
.link:hover { color: var(--deep); border-color: var(--accent); }
.link svg { width: 15px; height: 15px; }

/* ------------------------------------------------------------ chips, tags */
.chip {
  display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px 0 10px; border-radius: 999px;
  background: #fff; color: var(--ink); font: 500 14px/1 var(--sans); white-space: nowrap;
  box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-1);
}
.chip svg { width: 17px; height: 17px; color: var(--em); }
.chip .k { color: var(--ink-3); font-weight: 500; }
.chip.blue { background: var(--accent); color: var(--ink); box-shadow: none; }
.chip.blue svg { color: var(--ink); }
.tag { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: 999px; font: 500 10.5px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; white-space: nowrap; }
.tag.live { color: var(--deep); background: var(--accent-wash); }
.tag.live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(60, 182, 250, 0.5); animation: ping 2.4s var(--ease) infinite; }
.tag.soon { color: var(--ink-3); background: var(--mist); }
.tag.ink { color: #fff; background: var(--ink); }
.ca {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 6px 0 14px; border-radius: 999px;
  background: var(--mist); box-shadow: inset 0 0 0 1px var(--hair); font: 500 13px/1 var(--mono); color: var(--ink-2); max-width: 100%;
}
.ca b { font: 600 11px/1 var(--sans); letter-spacing: 0.14em; color: var(--ink-3); }
.ca span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; color: var(--ink); }
.ca button { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #0d1a2b; color: #fff; box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.18), 0 6px 16px -10px rgba(13, 26, 43, 0.55); flex: none; transition: transform .4s var(--ease), background-color .3s; }
.ca button:hover { transform: scale(1.06); }
.ca button svg { width: 14px; height: 14px; }
.ca.is-copied button { background: var(--accent); color: var(--ink); }

/* ------------------------------------------------------------ nav (floating island) */
.nav { position: fixed; z-index: 40; top: 14px; left: 0; right: 0; pointer-events: none; }
.nav-in {
  pointer-events: auto; margin: 0 auto; width: min(calc(100% - 28px), calc(var(--max) + 2 * var(--gut) - 40px));
  height: 60px; display: flex; align-items: center; gap: 20px; padding: 0 8px 0 18px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.72); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px);
  box-shadow: inset 0 0 0 1px var(--hair), 0 10px 30px -20px rgba(14, 22, 70, 0.35);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease);
}
.nav.is-top .nav-in { background: rgba(255, 255, 255, 0); box-shadow: inset 0 0 0 1px rgba(17, 26, 66, 0); backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 500 25px/1 var(--serif); letter-spacing: -0.03em; color: var(--ink); }
.brand-mark { width: 36px; height: 36px; flex: none; border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.9), 0 6px 14px -6px rgba(30, 90, 160, 0.45); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a { padding: 9px 13px; border-radius: 999px; font: 500 14.5px/1 var(--sans); color: var(--ink-2); transition: color .3s var(--ease), background-color .3s var(--ease); }
.nav-links a:hover, .nav-links a.is-on { color: var(--ink); background: rgba(17, 26, 66, 0.05); }
.nav-end { display: flex; align-items: center; gap: 8px; }
.nav-x { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); transition: background-color .3s var(--ease); }
.nav-x:hover { background: rgba(17, 26, 66, 0.06); }
.nav-x svg { width: 17px; height: 17px; }
.nav-burger { display: none; width: 44px; height: 44px; border-radius: 50%; place-items: center; background: var(--ink); color: #fff; }
.nav-burger span { position: relative; width: 16px; height: 10px; display: block; }
.nav-burger span::before, .nav-burger span::after { content: ""; position: absolute; left: 0; right: 0; height: 1.6px; border-radius: 2px; background: currentColor; transition: transform .45s var(--ease), top .45s var(--ease); }
.nav-burger span::before { top: 1px; }
.nav-burger span::after { top: 7.4px; }
.nav.is-open .nav-burger span::before { top: 4.2px; transform: rotate(45deg); }
.nav.is-open .nav-burger span::after { top: 4.2px; transform: rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 35; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px;
  padding: 110px 24px 32px; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility .45s;
}
.menu a.m { font: 400 46px/1.08 var(--serif); letter-spacing: -0.03em; transform: translateY(26px); opacity: 0; transition: transform .7s var(--ease-out), opacity .7s var(--ease-out); }
.menu a.m:hover { color: var(--deep); }
.menu .menu-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; opacity: 0; transition: opacity .7s var(--ease-out) .25s; }
.nav.is-open + .menu { opacity: 1; visibility: visible; }
.nav.is-open + .menu a.m { transform: none; opacity: 1; }
.nav.is-open + .menu .menu-foot { opacity: 1; }
.menu a.m:nth-child(2) { transition-delay: .05s; } .menu a.m:nth-child(3) { transition-delay: .1s; }
.menu a.m:nth-child(4) { transition-delay: .15s; } .menu a.m:nth-child(5) { transition-delay: .2s; } .menu a.m:nth-child(6) { transition-delay: .25s; }

/* ------------------------------------------------------------ surfaces */
.panel { background: var(--mist); border-radius: var(--r-xl); position: relative; }
.bezel { padding: 6px; border-radius: calc(var(--r-lg) + 6px); background: rgba(17, 26, 66, 0.035); box-shadow: inset 0 0 0 1px var(--hair); }
.bezel > .core { border-radius: var(--r-lg); background: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset, var(--shadow-1); height: 100%; }
.card { background: #fff; border-radius: var(--r-lg); box-shadow: inset 0 0 0 1px var(--hair), var(--shadow-1); }
.rule { height: 1px; background: var(--hair); border: 0; margin: 0; }

/* ------------------------------------------------------------ phone */
.phone {
  --pw: 300px;
  width: var(--pw); aspect-ratio: 9 / 19.3; position: relative; border-radius: calc(var(--pw) * 0.165);
  background: linear-gradient(145deg, #dfe3ee 0%, #f7f8fc 18%, #c9cfdd 52%, #eef1f7 80%, #b9c0d1 100%);
  padding: calc(var(--pw) * 0.03); box-shadow: var(--shadow-phone), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  flex: none;
}
.phone::before { content: ""; position: absolute; inset: calc(var(--pw) * 0.012); border-radius: calc(var(--pw) * 0.152); background: #0d0f16; }
.phone .scr {
  position: relative; z-index: 1; width: 100%; height: 100%; border-radius: calc(var(--pw) * 0.14); overflow: hidden;
  background: #fff; font-size: calc(var(--pw) * 0.042); color: var(--ink); isolation: isolate;
}
.phone .isl { position: absolute; z-index: 5; top: calc(var(--pw) * 0.032); left: 50%; width: 31%; height: calc(var(--pw) * 0.086); transform: translateX(-50%); border-radius: 999px; background: #0d0f16; }
.phone .sb { display: flex; justify-content: space-between; align-items: center; height: calc(var(--pw) * 0.14); padding: 0 9% 0 11%; font: 600 1em/1 var(--sans); letter-spacing: -0.01em; }
.phone .sb i { display: inline-flex; gap: 0.3em; align-items: center; font-style: normal; }
.phone .sb i b { display: inline-block; width: 1.5em; height: 0.72em; border-radius: 0.2em; box-shadow: inset 0 0 0 0.09em currentColor; position: relative; }
.phone .sb i b::after { content: ""; position: absolute; inset: 0.16em; right: 0.45em; border-radius: 0.08em; background: currentColor; }
.phone .sb i s { display: inline-block; width: 1.05em; height: 0.72em; background: linear-gradient(90deg, currentColor 18%, transparent 18% 27%, currentColor 27% 45%, transparent 45% 54%, currentColor 54% 72%, transparent 72% 81%, currentColor 81%); clip-path: polygon(0 75%, 18% 75%, 18% 55%, 45% 55%, 45% 30%, 72% 30%, 72% 0, 100% 0, 100% 100%, 0 100%); }
.phone .home { position: absolute; z-index: 5; bottom: calc(var(--pw) * 0.022); left: 50%; width: 36%; height: calc(var(--pw) * 0.014); border-radius: 999px; transform: translateX(-50%); background: var(--ink); opacity: 0.85; }

/* ------------------------------------------------------------ forms */
.field { display: grid; gap: 8px; }
.label { font: 600 13px/1.2 var(--sans); color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.label small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.input, .textarea, .select {
  width: 100%; height: 50px; padding: 0 16px; border-radius: 14px; border: 0; outline: 0; background: var(--mist);
  box-shadow: inset 0 0 0 1px var(--hair); font: 500 15px/1.3 var(--sans); color: var(--ink);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.textarea { height: auto; min-height: 104px; padding: 14px 16px; resize: vertical; line-height: 1.5; }
.input::placeholder, .textarea::placeholder { color: var(--ink-3); }
.input:hover, .textarea:hover { box-shadow: inset 0 0 0 1px var(--hair-2); }
.input:focus, .textarea:focus, .select:focus { background: #fff; box-shadow: inset 0 0 0 1.5px var(--accent), 0 0 0 4px var(--accent-wash); }
.input.is-bad, .textarea.is-bad { box-shadow: inset 0 0 0 1.5px var(--down), 0 0 0 4px rgba(223, 67, 81, 0.1); }
.hint { font-size: 12.5px; color: var(--ink-3); }
.err { font-size: 12.5px; color: var(--down); font-weight: 500; }
.seg { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--mist); box-shadow: inset 0 0 0 1px var(--hair); gap: 2px; }
.seg button { height: 34px; padding: 0 14px; border-radius: 999px; font: 600 13px/1 var(--sans); color: var(--ink-2); transition: background-color .3s var(--ease), color .3s var(--ease), box-shadow .3s var(--ease); }
.seg button.is-on { background: #fff; color: var(--ink); box-shadow: var(--shadow-1), inset 0 0 0 1px var(--hair); }
.toggle { position: relative; width: 44px; height: 26px; border-radius: 999px; background: var(--mist-2); box-shadow: inset 0 0 0 1px var(--hair); transition: background-color .3s var(--ease); flex: none; }
.toggle::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: var(--shadow-1); transition: transform .4s var(--ease); }
.toggle.is-on { background: var(--accent); }
.toggle.is-on::after { transform: translateX(18px); }

/* ------------------------------------------------------------ data */
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); padding: 0 12px 12px; }
.table td { padding: 14px 12px; border-top: 1px solid var(--hair); vertical-align: middle; }
.table tr:hover td { background: rgba(60, 182, 250, 0.025); }
.up { color: var(--up); }
.down { color: var(--down); }
.skel { background: linear-gradient(90deg, var(--mist) 0%, var(--mist-2) 45%, var(--mist) 90%); background-size: 220% 100%; animation: shimmer 1.4s linear infinite; border-radius: 10px; color: transparent !important; }
.empty { text-align: center; padding: 56px 24px; color: var(--ink-2); }
.empty .h3 { margin-bottom: 8px; }

/* ------------------------------------------------------------ toast */
.toasts { position: fixed; z-index: 60; left: 50%; bottom: 22px; transform: translateX(-50%); display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 16px; background: var(--ink); color: #fff; font: 500 14px/1.35 var(--sans); box-shadow: var(--shadow-2); animation: toastIn .55s var(--ease-out); }
.toast svg { width: 18px; height: 18px; flex: none; color: var(--accent-3); }
.toast.bad svg { color: #ff8a94; }

/* ------------------------------------------------------------ footer */
.foot { padding: 72px 0 28px; position: relative; overflow: hidden; }
.foot-top { display: grid; grid-template-columns: 1.3fr repeat(3, minmax(0, 0.7fr)); gap: 40px; }
.foot h4 { margin: 0 0 14px; font: 600 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot ul a { color: var(--ink-2); font-weight: 500; transition: color .3s var(--ease); }
.foot ul a:hover { color: var(--deep); }
.foot-tag { font: 400 26px/1.15 var(--serif); letter-spacing: -0.02em; margin: 16px 0 22px; max-width: 14em; }
.foot-tag em { color: var(--em); }
.foot-word { margin-top: 64px; font: 400 clamp(120px, 27vw, 420px)/0.78 var(--serif); letter-spacing: -0.06em; color: var(--accent); user-select: none; white-space: nowrap; transform: translateX(-0.04em); }
.foot-word span { display: inline-block; }
.foot-bot { display: flex; flex-wrap: wrap; gap: 14px 28px; justify-content: space-between; align-items: center; padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--hair); font-size: 13px; color: var(--ink-3); }
.foot-bot a:hover { color: var(--ink); }

/* ------------------------------------------------------------ reveal */
[data-r] { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out), filter 1s var(--ease-out); transition-delay: calc(var(--d, 0) * 80ms); }
[data-r].is-in { opacity: 1; transform: none; filter: none; }
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1.05s var(--ease-out); transition-delay: calc(var(--i, 0) * 55ms + var(--d0, 0ms)); }
.words.is-in .w > span { transform: none; }

/* ------------------------------------------------------------ keyframes */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 120% 0; } to { background-position: -120% 0; } }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(60, 182, 250, 0.45); } 70%, 100% { box-shadow: 0 0 0 7px rgba(60, 182, 250, 0); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  .nav-end { margin-left: auto; }
  .nav-end .btn { display: none; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-top > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  :root { --r-xl: 28px; --r-lg: 22px; }
  .btn { height: 50px; }
  .btn.lg { height: 56px; }
  .nav { top: 10px; }
  .nav-in { height: 56px; padding: 0 6px 0 14px; }
  .brand { font-size: 23px; }
  .brand-mark { width: 32px; height: 32px; border-radius: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  [data-r] { opacity: 1; transform: none; filter: none; }
  .words .w > span { transform: none; }
}
