/* ==========================================================================
   PENTEX — base
   Tokens, reset, and the two type scales. Loaded by every page.
   The brand mark is a squared-off industrial grotesque with a hard
   horizontal rule, so the surface layer uses zero border-radius throughout.
   ========================================================================== */

:root {
  /* --- corporate surface --- */
  --ink: #0b1220;
  --ink-2: #111c30;
  --panel: #12213a;
  --panel-2: #16273f;
  --line: #23344f;
  --line-soft: #1a2740;
  --accent: #2e7c9e;
  --accent-2: #4fb3a8;
  --text: #c9d4e0;
  --text-hi: #e8edf2;
  --text-dim: #9aa6b6;
  --text-faint: #919cab;
  --paper: #f4f6f8;
  --paper-2: #e7ebef;

  /* --- breach layer --- */
  --void: #05070a;
  --void-2: #0a0f14;
  --void-3: #0e1519;
  --phosphor: #ffb020;
  --phosphor-dim: #a8720f;
  --alert: #ff6b35;
  --pale: #e6f0ea;
  --dead: #6e8092;
  --warn: #f2c14e;

  /* --- type --- */
  --sans: "Helvetica Neue", Helvetica, Arial, "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas,
    "Liberation Mono", monospace;

  /* --- rhythm --- */
  --shell: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --rule: 1px solid var(--line);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.018em;
}

p {
  margin: 0 0 1em;
}

ul,
ol {
  margin: 0 0 1em;
  padding-left: 1.15em;
}

hr {
  border: 0;
  border-top: var(--rule);
  margin: 0;
}

code,
kbd,
samp {
  font-family: var(--mono);
  font-size: 0.9em;
}

:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 2px;
}

::selection {
  background: var(--accent);
  color: #fff;
}

/* Small caps eyebrow used above every section title on the corporate layer. */
.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 14px;
}

.eyebrow--onDark {
  color: var(--accent-2);
}

/* Screen-reader-only, used for skip links and live regions. */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 60;
  padding: 10px 16px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}
.skip:focus {
  left: 0;
}

.u-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.u-mono {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  /* break-word, not anywhere: `anywhere` feeds break opportunities into
     min-content sizing, so the browser will happily split a value one
     character per line rather than let it overflow. break-word only breaks a
     token that genuinely cannot fit on its own line. */
  overflow-wrap: break-word;
}

.u-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-dim);
  max-width: 62ch;
}

.u-nowrap {
  white-space: nowrap;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}