@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/instrument-sans-latin-ext.woff2") format("woff2");
  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;
}

@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 100%;
  font-display: swap;
  src: url("fonts/instrument-sans-latin.woff2") format("woff2");
  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;
}

:root {
  --black: #000000;
  --white: #ffffff;
  --paper: #f8f7f6;
  --red: #e40908;
  --muted: #8e8e8e;
  --dim: #5c5c5c;
  --line: #262626;
  --line-strong: #4a4a4a;
  --font-sans: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

html,
body {
  width: 100%;
  height: 100%;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.45;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: var(--font-sans);
  font-size: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 2px;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Fixed Gaussian scroll pulse along the very top edge */
#pulse {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 20px;
  z-index: 120;
  pointer-events: none;
}

/* ==========================================================================
   NULLTAKT BRAND LOCKUP (EXACT RED GAUSSIAN IMPULSE OVER WIDE-TRACKED WORDMARK)
   ========================================================================== */
.nt-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  line-height: 1;
  user-select: none;
}

.nt-logo svg {
  display: block;
  width: 96px;
  height: 17px;
}

.nt-word {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.38em;
  padding-left: 0.38em;
  text-transform: lowercase;
  color: var(--white);
}

.nt-logo.on-light .nt-word {
  color: #0a0a0a;
}

.nt-logo.large svg {
  width: 196px;
  height: 36px;
}

.nt-logo.large .nt-word {
  font-size: 24px;
  letter-spacing: 0.44em;
  padding-left: 0.44em;
}

/* Concept dock links */
.dock-link {
  height: 30px;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  border-right: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.dock-link:last-child {
  border-right: none;
}

.dock-link:hover {
  color: var(--white);
}

.dock-link.active {
  background: var(--white);
  color: var(--black);
  font-weight: 600;
}

/* Stark 0px form primitives */
.k-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.k-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.k-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.k-input,
.k-textarea {
  width: 100%;
  background: var(--black);
  border: 1px solid var(--line-strong);
  padding: 10px 12px;
  font-size: 14px;
  color: var(--white);
  border-radius: 0;
  appearance: none;
}

.k-input::placeholder,
.k-textarea::placeholder {
  color: var(--dim);
}

.k-input:focus,
.k-textarea:focus {
  outline: none;
  border-color: var(--white);
}

.k-textarea {
  resize: none;
  min-height: 82px;
}

.k-btn-solid {
  height: 40px;
  padding: 0 20px;
  background: var(--white);
  color: var(--black);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.k-btn-solid:hover {
  opacity: 0.86;
}

.k-btn-solid:disabled {
  opacity: 0.45;
  cursor: wait;
}

.k-feedback {
  min-height: 18px;
  font-size: 12.5px;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}

.k-feedback.error {
  color: var(--red);
}

@media (max-width: 640px) {
  .nt-logo svg {
    width: 66px;
    height: 12px;
  }

  .nt-word {
    font-size: 10px;
    letter-spacing: 0.3em;
    padding-left: 0.3em;
  }

  .dock-link {
    padding: 0 6px;
    font-size: 10.5px;
  }

  .concept-dock-inline,
  .pos-dock,
  .dual-dock,
  .vernier-dock,
  .res-dock {
    max-width: calc(100vw - 106px);
    overflow-x: auto;
    scrollbar-width: none;
  }
}
