/* Resolve Frontier — ink & bone
   (rehashed: two earlier filenames are cached wrong at the edge — see scripts/verify-deploy.mjs)
   Restraint does the work. One cold accent for instruments, one brass signal
   for anything that claims exclusivity, hairlines under 13% opacity, and a lot
   of air. Nothing glows; nothing is pure black or pure white. Prose is set in
   a grotesque, mono is reserved for labels, codes and readouts. */

:root {
  /* Declared so form controls, carets and scrollbars are drawn dark by the UA
     instead of arriving as white boxes on a black page. */
  color-scheme: dark;

  --ink: #08090b;
  --ink-2: #0e1013;

  --bone: #e7e4de;
  --bone-2: #a2a19c;
  /* Carries the fine print, so it is held at 4.6:1 on ink — WCAG AA for body
     text. Any darker and the footer disclaimer fails. */
  --bone-3: #787a81;

  --steel: #8fa8bf;
  --brass: #b08b4f;
  --ice: #9dc0e0;

  --ice-hair: rgba(157, 192, 224, 0.16);
  --ice-hair-2: rgba(157, 192, 224, 0.26);

  --hair: rgba(231, 228, 222, 0.07);
  --hair-2: rgba(231, 228, 222, 0.13);
  --hair-3: rgba(231, 228, 222, 0.22);

  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gut: clamp(1.25rem, 5vw, 4.5rem);
  --wide: 84rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.6;
  letter-spacing: -0.006em;
  color: var(--bone-2);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.is-locked {
  overflow: hidden;
}

::selection {
  background: rgba(143, 168, 191, 0.26);
  color: var(--bone);
}

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

:focus-visible {
  outline: 1px solid var(--steel);
  outline-offset: 3px;
}

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

/* Fine tooth of grain — the cheapest way to stop a flat dark page reading as
   a template. Kept at 3.5% so it registers only as texture. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

main,
.foot {
  position: relative;
  z-index: 2;
}

main {
  flex: 1 1 auto;
}

/* ——— micro type ——— */

.micro {
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.micro--signal {
  color: var(--ice);
}

/* Every section shares one inset, so section rules run edge to edge while all
   type starts on the same x. Before this the rail was the only full-bleed
   block: at 1920 the wordmark sat 288px left of the headline it heads. */
.rail,
.beam,
.band,
.units,
.closed,
.foot {
  max-width: none;
  margin-inline: 0;
  padding-inline: max(var(--gut), calc((100% - var(--wide)) / 2 + var(--gut)));
}

/* ——— rail ——— */

.rail {
  position: sticky;
  top: 0;
  z-index: 20;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.1rem;
  background: rgba(8, 9, 11, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hair);
}

.mark {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--bone);
}

.mark:hover .mark__name em {
  color: var(--bone);
}

.mark__scales {
  width: 2.15rem;
  height: 2.15rem;
  flex: none;
}

.mark__name {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1;
}

.mark__name em {
  font-style: normal;
  font-weight: 400;
  color: var(--bone-2);
  transition: color 0.25s var(--ease);
}

.rail__status {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.tag {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-3);
  white-space: nowrap;
}

.tag--num {
  font-variant-numeric: tabular-nums;
  color: var(--bone-2);
}

/* ——— client access ——— */

.access {
  font: inherit;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--bone-2);
  background: none;
  border: 1px solid var(--hair-2);
  padding: 0.5rem 0.9rem;
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.access:hover {
  color: var(--bone);
  border-color: var(--bone-3);
}

.veil {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(4, 5, 6, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  animation: fade 0.3s var(--ease);
}

@keyframes fade {
  from { opacity: 0; }
}

/* Flex + `margin: auto` on the panel rather than grid centring: when the panel
   is taller than a short viewport, auto margins collapse to zero and the top
   stays scrollable. Centred grid would clip it above the scroll origin. */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 41;
  display: flex;
  padding: 1.25rem;
  overflow-y: auto;
}

.sheet[hidden] {
  display: none;
}

.sheet__panel {
  width: min(28rem, 100%);
  margin: auto;
  padding: 1.75rem;
  background: #0b0d10;
  border: 1px solid var(--hair-2);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.7);
  animation: lift 0.38s var(--ease);
}

@keyframes lift {
  from { opacity: 0; transform: translateY(12px); }
}

.sheet__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--hair);
}

.sheet__close {
  width: 1.75rem;
  height: 1.75rem;
  display: grid;
  place-items: center;
  color: var(--bone-3);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.sheet__close svg {
  width: 0.85rem;
  height: 0.85rem;
}

.sheet__close:hover {
  color: var(--bone);
}

.sheet__title {
  margin-top: 1.35rem;
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.026em;
  color: var(--bone);
}

.sheet__lede {
  margin-top: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--bone-3);
}

.seg {
  display: flex;
  gap: 0;
  margin-top: 1.5rem;
  background: var(--ink-2);
  border: 1px solid var(--hair);
}

.seg__opt {
  flex: 1 1 0;
  padding: 0.6rem 0.5rem;
  font: inherit;
  font-family: var(--mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--bone-3);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}

.seg__opt + .seg__opt {
  border-left: 1px solid var(--hair);
}

.seg__opt.is-on {
  color: var(--bone);
  background: rgba(231, 228, 222, 0.06);
  box-shadow: inset 0 -1px 0 var(--ice);
}

.sheet__pane {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.sheet__pane[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field label {
  font-family: var(--mono);
  font-size: 0.5625rem;
  font-weight: 500;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--bone-3);
}

/* A reference and a passphrase are read back character by character, so both
   are set in mono — and the control is stripped of its UA shell so it reads as
   a ruled field rather than a browser widget. */
.field input {
  width: 100%;
  padding: 0.65rem 0.75rem;
  font: inherit;
  font-family: var(--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  color: var(--bone);
  background: var(--ink-2);
  border: 1px solid var(--hair);
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.25s var(--ease);
}

.field input::placeholder {
  color: var(--bone-3);
  opacity: 1;
}

.field input:hover,
.field input:focus {
  border-color: var(--hair-3);
}

.keys {
  display: grid;
  gap: 0.4rem;
  list-style: none;
}

.keyopt {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.7rem 0.85rem;
  font: inherit;
  font-size: 0.875rem;
  text-align: left;
  color: var(--bone-2);
  background: var(--ink-2);
  border: 1px solid var(--hair);
  cursor: pointer;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.keyopt span {
  font-family: var(--mono);
  font-size: 0.5625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-3);
}

.keyopt:hover,
.keyopt.is-on {
  color: var(--bone);
  border-color: var(--hair-3);
}

/* Chosen, not merely pointed at: the ice edge outlasts the cursor. */
.keyopt.is-on {
  border-color: var(--ice-hair-2);
}

.sheet__status {
  min-height: 1.4em;
  margin-top: 1.1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
}

.sheet__go {
  width: 100%;
  margin-top: 0.35rem;
  font: inherit;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--bone);
  background: transparent;
  border: 1px solid var(--hair-3);
  padding: 0.8rem 1.5rem;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.sheet__go:hover {
  color: var(--ink);
  background: var(--bone);
  border-color: var(--bone);
}

.sheet__fine {
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--hair);
  font-size: 0.6875rem;
  line-height: 1.55;
  color: var(--bone-3);
}

/* ——— beam ——— */

.beam {
  padding-block: clamp(4rem, 13vh, 8.5rem) clamp(2rem, 4vh, 3rem);
}

.kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-family: var(--mono);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.21em;
  text-transform: uppercase;
  color: var(--ice);
}

.kicker span + span {
  padding-left: 1.1rem;
  border-left: 1px solid rgba(157, 192, 224, 0.28);
}

/* The headline rotates, so its box is reserved up front — a line of type that
   reflows every few seconds would drag the whole page with it. */
.beam__line {
  margin-top: 2rem;
  min-height: calc(3 * 1.02em);
  font-size: clamp(2.15rem, 6.6vw, 5.25rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.038em;
  color: var(--bone);
  text-wrap: balance;
}

.beam__caret {
  display: inline-block;
  width: 0.07em;
  height: 0.72em;
  margin-left: 0.08em;
  vertical-align: -0.05em;
  background: var(--steel);
  animation: pulse 1.05s steps(1, end) infinite;
}

.beam__caret.is-held {
  animation: none;
  opacity: 1;
}

@keyframes pulse {
  0%, 52% { opacity: 1; }
  53%, 100% { opacity: 0; }
}

/* ——— manifesto band ——— */

.band {
  padding-block: clamp(2.5rem, 7vh, 4rem);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
  background: linear-gradient(180deg, rgba(231, 228, 222, 0.014), transparent);
}

.band__text {
  /* Measure, not container: at full width this ran 115 characters a line. */
  max-width: 62ch;
  font-size: clamp(1.0625rem, 2.1vw, 1.75rem);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.019em;
  color: var(--bone-2);
  text-wrap: pretty;
}

.band__text em {
  font-style: normal;
  color: var(--bone);
}

/* ——— depth: the scope sits behind everything below the headline ——— */

.depth {
  position: relative;
  isolation: isolate;
}

.depth__scope {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* Fades in from where the headline ends and never reaches full strength —
     it is a backdrop, not a diagram. */
  mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 20%, #000 100%);
}

.depth__scope svg {
  position: absolute;
  top: 38%;
  left: 60%;
  width: min(175vh, 160vw);
  height: min(175vh, 160vw);
  transform: translate(-50%, -50%);
  opacity: 0.55;
}

.depth__content {
  position: relative;
}

.scope__frame circle,
.scope__frame line {
  fill: none;
  stroke: var(--ice-hair);
  stroke-width: 0.35;
}

.scope__marks path {
  fill: none;
  stroke: var(--ice-hair-2);
  stroke-width: 0.4;
}

.scope__marks circle {
  fill: var(--ice);
  opacity: 0.5;
}

.scope__sweep {
  transform-origin: 100px 100px;
  animation: sweep 26s linear infinite;
}

.scope__line {
  stroke: var(--ice);
  stroke-width: 0.4;
  /* The only moving element should not also be the brightest one. */
  opacity: 0.3;
}

@keyframes sweep {
  to { transform: rotate(360deg); }
}

/* ——— units: one index line, one panel ——— */

.units {
  padding-block: clamp(3rem, 7vh, 4.5rem) clamp(3.5rem, 9vh, 5.5rem);
}

/* Row gap clears the selected code's underline, which hangs 0.95rem below its
   own box — with no gap it would strike through a wrapped second row. */
.index {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem clamp(1.25rem, 3vw, 2.75rem);
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--hair);
}

.index__code {
  position: relative;
  padding: 0.35rem 0;
  font: inherit;
  font-family: var(--mono);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--bone-3);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.25s var(--ease);
}

.index__code::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.95rem;
  height: 1px;
  background: var(--bone);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.index__code:hover {
  color: var(--bone-2);
}

.index__code.is-on {
  color: var(--bone);
}

.index__code.is-on::after {
  transform: scaleX(1);
}

/* Height is reserved for the longest entry so switching never jumps the page. */
.entry {
  padding-top: 1.35rem;
  min-height: 9.5rem;
  max-width: 52ch;
}

.entry__what {
  font-size: 1.0625rem;
  font-weight: 500;
  letter-spacing: -0.019em;
  color: var(--bone);
}

.entry__text {
  text-wrap: pretty;
  margin-top: 0.6rem;
  font-size: 0.875rem;
  line-height: 1.62;
}

.entry__rule {
  text-wrap: pretty;
  margin-top: 0.85rem;
  padding-left: 1.1rem;
  border-left: 1px solid rgba(176, 139, 79, 0.6);
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--bone-3);
}

/* ——— closed channel ——— */

.closed {
  padding-block: clamp(3rem, 9vh, 6rem) clamp(4rem, 12vh, 8rem);
  border-top: 1px solid var(--hair);
}

/* Wide screens: the closing section becomes a spread so the right half is not
   an empty field with a hairline pointing into it. */
@media (min-width: 1200px) {
  .closed {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    column-gap: clamp(3rem, 6vw, 7rem);
    align-content: start;
  }

  .closed .micro,
  .closed__title,
  .closed__line {
    grid-column: 1;
  }

  .closed__text {
    grid-column: 2;
    grid-row: 1 / span 2;
    margin-top: 0.4rem;
    max-width: 46ch;
  }
}

.closed__title {
  margin-top: 1.1rem;
  font-size: clamp(1.75rem, 3.6vw, 2.75rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.031em;
  color: var(--bone);
}

.closed__text {
  text-wrap: pretty;
  margin-top: 1.35rem;
  max-width: 56ch;
  font-size: 1rem;
  line-height: 1.65;
}

.closed__line {
  display: inline-block;
  margin-top: 2rem;
  font-family: var(--mono);
  font-size: clamp(0.9375rem, 1.9vw, 1.25rem);
  letter-spacing: -0.01em;
  color: var(--bone);
  border-bottom: 1px solid var(--hair-3);
  padding-bottom: 0.35rem;
  transition: border-color 0.25s var(--ease);
}

.closed__line:hover {
  border-bottom-color: var(--bone);
}

/* ——— foot ——— */

.foot {
  flex: none;
  display: grid;
  gap: 1.75rem;
  width: 100%;
  padding-block: 2rem 2.5rem;
  border-top: 1px solid var(--hair);
}

.foot__fine {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 27rem));
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.foot__fine p {
  font-size: 0.6875rem;
  line-height: 1.62;
  color: var(--bone-3);
}

.foot__fine b {
  font-weight: 500;
  color: var(--bone-2);
}

.foot__sig {
  font-family: var(--mono);
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bone-3);
  white-space: nowrap;
}

/* ——— entrance ——— */

.rise {
  opacity: 0;
  transform: translateY(10px);
  animation: rise 0.9s var(--ease) forwards;
}

.rise[data-rise="0"] { animation-delay: 0.05s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

/* ——— narrow ——— */

/* Below this width the render breaks in four specific ways, all verified in a
   real browser rather than reasoned about: the kicker orphans a divider, the
   headline reserves more lines than it uses and opens a void, the unit index
   wraps under its own underline, and the tap targets fall under 44px. */
@media (max-width: 620px) {
  .beam {
    padding-top: clamp(2.5rem, 7vh, 4rem);
    padding-bottom: clamp(1.5rem, 3.5vh, 2.25rem);
  }

  /* Stacked, and without the leading rule a wrapped item would drag with it. */
  .kicker {
    flex-direction: column;
    gap: 0.45rem;
  }

  .kicker span + span {
    padding-left: 0;
    border-left: 0;
  }

  /* Small enough that no line wraps past its own break, so three is exact. */
  .beam__line {
    margin-top: 1.5rem;
    font-size: 1.9rem;
    min-height: calc(3 * 1.02em);
  }

  /* One swipeable row beats two rows with an underline cutting through the
     second. Momentum scrolling, no visible bar. */
  .index {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }

  .index::-webkit-scrollbar {
    display: none;
  }

  /* A code sliced off at the edge reads as broken; faded, it reads as more —
     but only where there is genuinely something to scroll to. On a Pro Max the
     row fits, and fading LONGARM there just looks like a rendering fault. */
  .index.is-scrollable {
    mask-image: linear-gradient(90deg, #000 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, #000 80%, transparent 100%);
  }

  .index__code {
    flex: none;
    padding: 0.7rem 0;
    scroll-snap-align: start;
  }

  .index__code::after {
    bottom: -0.9rem;
  }

  .closed__line {
    padding-block: 0.5rem 0.6rem;
  }

  /* At phone width the instrument fits on screen and stops being a backdrop:
     the sweep drags a bright hairline across body copy and the reticles read
     as dead pixels. Blow it up so only broad arcs pass, and drop the marks. */
  .depth__scope svg {
    width: min(175vh, 300vw);
    height: min(175vh, 300vw);
    opacity: 0.38;
  }

  .scope__marks {
    display: none;
  }

  .scope__line {
    opacity: 0.28;
  }

  .mark {
    padding-block: 0.5rem;
  }
}

@media (max-width: 380px) {
  .beam__line {
    font-size: 1.7rem;
  }
}

@media (max-width: 760px) {
  .foot__fine {
    grid-template-columns: minmax(0, 1fr);
  }

  .rail__status .tag:not(.tag--num) {
    display: none;
  }

  .rail__status {
    gap: 0.9rem;
  }

  .sheet__panel {
    padding: 1.35rem;
  }

  .mark__name {
    font-size: 1.125rem;
  }

  .mark__scales {
    width: 1.75rem;
    height: 1.75rem;
  }


  .index {
    gap: 1.25rem 1.1rem;
  }

  .entry {
    min-height: 11.5rem;
  }

}

/* The rail carries a wordmark, a clock and a button; on a phone they no longer
   fit on one line, and a wrapped wordmark is worse than a missing readout. */
@media (max-width: 480px) {
  .rail {
    gap: 1rem;
  }

  .rail__status .tag--num {
    display: none;
  }

  .mark {
    gap: 0.6rem;
  }

  .mark__name {
    font-size: 1rem;
  }

  .mark__scales {
    width: 1.55rem;
    height: 1.55rem;
  }

  .access {
    padding: 0.5rem 0.7rem;
    letter-spacing: 0.11em;
  }
}

/* An iPhone SE is 667px tall and the panel was 647px plus padding, so the
   closing security note fell past the fold with no scroll cue. */
@media (max-height: 700px) {
  .sheet__panel {
    padding: 1.15rem;
  }

  .sheet__title {
    margin-top: 1rem;
    font-size: 1.3125rem;
  }

  .sheet__lede {
    margin-top: 0.5rem;
  }

  .seg {
    margin-top: 1.1rem;
  }

  .sheet__pane {
    margin-top: 1rem;
  }

  .sheet__status {
    margin-top: 0.8rem;
  }

  .sheet__fine {
    margin-top: 0.9rem;
    padding-top: 0.85rem;
  }
}

/* Touch targets, keyed on the input device rather than the viewport: an iPad in
   portrait is 768px wide and still fingers-only, so a width breakpoint would
   leave it with 29px controls. 44px is the smallest reliable target. */
@media (hover: none) {
  .access,
  .index__code,
  .closed__line,
  .mark,
  .seg__opt,
  .keyopt,
  .sheet__close {
    min-height: 44px;
  }

  .access,
  .sheet__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .index__code,
  .mark {
    display: inline-flex;
    align-items: center;
  }

  .closed__line {
    display: inline-flex;
    align-items: flex-end;
  }

  /* Fine print is fine print, but 11px on a phone is a squint. */
  .foot__fine p {
    font-size: 0.75rem;
  }
}

/* ——— motion ——— */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .scope__sweep {
    animation: none;
  }

  .beam__caret {
    animation: none;
    opacity: 1;
  }

  .rise {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .veil,
  .sheet__panel {
    animation: none;
  }
}

/* deploy 588088 */
