/* Kivem — shared styles for index, privacy and terms */

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
/* Geist is stund's typeface; it is only used inside stund's own stage. */
@font-face {
  font-family: "Geist";
  src: url("../fonts/geist.woff2") format("woff2");
  font-weight: 500 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("../fonts/geist-mono.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f6f7f7;
  --surface: #ffffff;
  --ink: #0d0f12;
  --ink-hover: #272b31;
  --ink-2: #4a5058;
  --ink-3: #626870;
  --line: #e2e4e7;
  --line-strong: #cfd3d8;

  /* stund's own palette, used only on its stage */
  --stund-ink: #060606;
  --stund-cream: #f2f2ef;
  --stund-cream-2: rgba(242, 242, 239, 0.72);
  --stund-cream-3: rgba(242, 242, 239, 0.5);
  --stund-red: #ff3b30;

  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --stund-sans: "Geist", ui-sans-serif, system-ui, sans-serif;
  --stund-mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --radius: 14px;
  --radius-lg: 28px;
  --gutter: clamp(16px, 4vw, 32px);
  --max: 1120px;
  --section: clamp(88px, 11vw, 144px);

  --shadow-sm: 0 1px 2px rgba(13, 15, 18, 0.1), 0 4px 12px -6px rgba(13, 15, 18, 0.28);
  --shadow-stage: 0 2px 4px rgba(13, 15, 18, 0.06), 0 40px 80px -36px rgba(13, 15, 18, 0.55);

  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: 88px;
  scrollbar-color: #c3c8ce transparent;
  background: var(--paper);
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "ss01" 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--ink);
  text-rendering: optimizeLegibility;
}

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

::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #c3c8ce;
  border: 3px solid var(--paper);
  border-radius: 999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #9da3aa;
}

img,
svg,
canvas {
  display: block;
}

h1,
h2,
h3,
p,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: color-mix(in srgb, currentColor 35%, transparent);
  transition: text-decoration-color 0.2s ease, color 0.2s ease;
}
a:hover {
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -64px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}
.skip-link:focus {
  top: 12px;
}

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

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

/* ---------- icons ---------- */
.icon {
  width: 16px;
  height: 16px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- buttons ---------- */
.btn {
  --h: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: var(--h);
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.9688rem;
  font-weight: 550;
  letter-spacing: -0.005em;
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease,
    transform 0.2s var(--ease-out);
  -webkit-tap-highlight-color: transparent;
}
.btn:active {
  transform: translateY(1px);
}
.btn:focus-visible {
  border-radius: 999px;
}
.btn--primary {
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn--primary:hover {
  background: var(--ink-hover);
}
.btn--ghost {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover {
  border-color: #9ba1a9;
}
.btn--sm {
  --h: 38px;
  padding: 0 16px;
  font-size: 0.9063rem;
  gap: 7px;
}
.btn .icon {
  width: 15px;
  height: 15px;
}
.btn--ghost .icon {
  color: var(--ink-3);
  transition: color 0.2s ease, transform 0.25s var(--ease-out);
}
.btn--ghost:hover .icon {
  color: var(--ink);
}
.btn--ghost:hover .icon--out {
  transform: translate(1px, -1px);
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  border-radius: 8px;
}
.brand-mark {
  width: 28px;
  height: 28px;
}
.brand-name {
  font-size: 1.1875rem;
  font-weight: 650;
  letter-spacing: -0.025em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
.site-nav ul {
  display: flex;
  gap: 4px;
  margin: 0 8px 0 0;
  padding: 0;
  list-style: none;
}
.site-nav ul a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--ink-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}
.site-nav ul a:hover {
  color: var(--ink);
  background: rgba(13, 15, 18, 0.05);
}
.site-nav ul a[aria-current="page"] {
  color: var(--ink);
}

@media (max-width: 640px) {
  .site-header .wrap {
    height: 60px;
  }
  .site-nav ul {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(48px, 7vh, 96px);
  text-align: center;
}
/* Desktop: the hero holds the viewport so only stund's HUD band peeks above the fold,
   never half of the wordmark. */
@media (min-width: 721px) and (min-height: 600px) {
  .hero {
    --peek: calc(clamp(48px, 4.5vw, 64px) + 72px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - 68px - var(--peek));
    min-height: calc(100svh - 68px - var(--peek));
    padding-block: 24px 48px;
  }
}
.hero h1 {
  max-width: 30ch;
  margin-inline: auto;
  font-size: clamp(2.25rem, 0.9rem + 4.4vw, 4.5rem);
  font-weight: 640;
  line-height: 1.01;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.hero h1 .quiet {
  display: block;
  color: #6b7178;
}
.hero-lede {
  max-width: 46ch;
  margin: 28px auto 0;
  color: var(--ink-2);
  font-size: clamp(1.0938rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* entrance: content is visible by default; motion only refines it in */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    animation: rise 1.15s var(--ease-out) both;
    animation-delay: calc(var(--d, 0) * 90ms + 60ms);
  }
  @keyframes rise {
    from {
      opacity: 0;
      transform: translateY(16px);
      filter: blur(8px);
    }
    to {
      opacity: 1;
      transform: none;
      filter: blur(0);
    }
  }
}

/* ---------- stund stage ---------- */
.stund {
  padding-top: clamp(48px, 4.5vw, 64px);
}
.stage {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  aspect-ratio: 2 / 1;
  max-height: 620px;
  width: 100%;
  padding: clamp(14px, 2.2vw, 24px);
  border-radius: var(--radius-lg);
  background-color: var(--stund-ink);
  color: var(--stund-cream);
  box-shadow: var(--shadow-stage);
  font-family: var(--stund-sans);
  user-select: none;
  -webkit-user-select: none;
}
.stage canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.stage-grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 1.4 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.stage-flash {
  position: absolute;
  inset: 0;
  z-index: 6;
  background: #fff;
  opacity: 0;
  pointer-events: none;
}
.stage-flash.on {
  animation: flash 0.7s ease-out;
}
.stage-flash.soft {
  animation: flash-soft 0.9s ease-out;
}
@keyframes flash {
  0% {
    opacity: 0.9;
  }
  100% {
    opacity: 0;
  }
}
@keyframes flash-soft {
  0% {
    opacity: 0.22;
  }
  100% {
    opacity: 0;
  }
}

.hud {
  position: absolute;
  inset: clamp(14px, 2.2vw, 24px);
  z-index: 3;
  pointer-events: none;
  font-family: var(--stund-mono);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stund-cream-2);
  font-variant-numeric: tabular-nums;
}
.hud-corner {
  position: absolute;
  width: 22px;
  height: 22px;
  border: 0 solid rgba(242, 242, 239, 0.55);
}
.hud-corner.tl {
  left: 0;
  top: 0;
  border-left-width: 1px;
  border-top-width: 1px;
}
.hud-corner.tr {
  right: 0;
  top: 0;
  border-right-width: 1px;
  border-top-width: 1px;
}
.hud-corner.bl {
  left: 0;
  bottom: 0;
  border-left-width: 1px;
  border-bottom-width: 1px;
}
.hud-corner.br {
  right: 0;
  bottom: 0;
  border-right-width: 1px;
  border-bottom-width: 1px;
}
.hud-label {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  line-height: 1;
}
.hud-label.tl {
  left: 34px;
  top: 6px;
}
.hud-label.tr {
  right: 34px;
  top: 6px;
}
.hud-label.bl {
  left: 34px;
  bottom: 6px;
}
.hud-label.br {
  right: 34px;
  bottom: 6px;
}
.hud-label b {
  font-weight: 500;
  color: var(--stund-cream);
}
.rec {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: -6px;
  border-radius: 50%;
  background: var(--stund-red);
}
.stage.is-live .rec {
  animation: rec 1.6s infinite;
}
@keyframes rec {
  0%,
  55% {
    opacity: 1;
  }
  56%,
  100% {
    opacity: 0.2;
  }
}

.stage-center {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px 56px;
  text-align: center;
}
.stund-mark {
  font-family: var(--stund-sans);
  font-weight: 600;
  font-size: clamp(76px, 15vw, 196px);
  line-height: 0.8;
  letter-spacing: -0.075em;
  white-space: nowrap;
  padding: 0 0.06em 0.06em;
  text-shadow: 0 0.06em 0.5em rgba(0, 0, 0, 0.35);
}
.stund-mark .dot {
  display: inline-block;
  width: 0.15em;
  height: 0.15em;
  margin-left: 0.03em;
  border-radius: 50%;
  background: var(--stund-red);
}
.stund-mark.snap {
  animation: snap 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes snap {
  0% {
    filter: blur(0.02em) brightness(1.6);
    transform: scale(1.012);
  }
  100% {
    filter: none;
    transform: none;
  }
}
.stund-tag {
  margin-top: clamp(18px, 2.4vw, 28px);
  font-family: var(--stund-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stund-cream-2);
}

.shutter {
  position: absolute;
  left: 50%;
  bottom: clamp(18px, 2.6vw, 30px);
  z-index: 4;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-left: -29px;
  padding: 0;
  border: 1.5px solid rgba(242, 242, 239, 0.75);
  border-radius: 50%;
  background: rgba(6, 6, 6, 0.2);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color 0.2s ease, transform 0.25s var(--ease-out);
}
.shutter::before {
  content: "";
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--stund-cream);
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease;
}
.shutter:hover {
  border-color: var(--stund-cream);
}
.shutter:hover::before {
  transform: scale(0.92);
}
.shutter:active::before {
  transform: scale(0.8);
  background: #fff;
}
.shutter:focus-visible {
  outline: 2px solid var(--stund-cream);
  outline-offset: 4px;
  border-radius: 50%;
}

@media (max-width: 720px) {
  .stage {
    aspect-ratio: 4 / 5;
    border-radius: 22px;
  }
  .stage-center {
    padding-bottom: 72px;
  }
  .shutter {
    bottom: 46px;
  }
  .hud-iso {
    display: none;
  }
}

.stund-info {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
  margin-top: clamp(48px, 6vw, 80px);
}
.stund-info h2,
.contact h2 {
  font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 640;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.manifesto {
  padding-top: 6px;
}
.manifesto blockquote {
  font-size: clamp(1.25rem, 1rem + 0.9vw, 1.6875rem);
  font-weight: 450;
  line-height: 1.42;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}
.manifesto blockquote em {
  font-style: italic;
}
.manifesto figcaption {
  margin-top: 20px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}

@media (max-width: 860px) {
  .stund-info {
    grid-template-columns: 1fr;
  }
}

/* ---------- what we make ---------- */
.make {
  padding-top: var(--section);
}
.make-title {
  max-width: 20ch;
  font-size: clamp(2.25rem, 1.2rem + 3.6vw, 4rem);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.make-title .quiet {
  color: #6b7178;
}
.make-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: clamp(40px, 5vw, 64px);
}
.make-panel {
  view-timeline: --panel block;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 2px rgba(13, 15, 18, 0.04), 0 28px 56px -36px rgba(13, 15, 18, 0.3);
}
.make-art {
  padding: clamp(24px, 3.4vw, 44px) clamp(12px, 2vw, 28px) clamp(4px, 1vw, 12px);
  background: #eef0f2;
}
.art {
  width: 100%;
  height: auto;
  overflow: visible;
}
.make-copy {
  padding: clamp(22px, 2.6vw, 32px) clamp(22px, 2.8vw, 36px) clamp(26px, 3vw, 36px);
}
.make-copy h3 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 620;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.make-copy p {
  max-width: 34ch;
  margin-top: 8px;
  color: var(--ink-2);
}

/* the drawings' resting state is the open one: phones fanned, device exploded */
.sw-phone {
  transform-box: view-box;
  transform-origin: 300px 380px;
}
.sw-phone--l {
  transform: translate(-92px, 10px) rotate(-11deg);
}
.sw-phone--r {
  transform: translate(92px, 10px) rotate(11deg);
}

/* where scroll timelines exist, the drawings open as their panel scrolls in */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .sw-phone--l,
    .sw-phone--r,
    .hw-lid,
    .hw-base,
    .hw-guides {
      animation-duration: auto;
      animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
      animation-fill-mode: both;
      animation-timeline: --panel;
      animation-range: entry 10% cover 50%;
    }
    .sw-phone--l,
    .sw-phone--r {
      animation-name: fan-in;
    }
    .hw-lid {
      animation-name: lid-in;
    }
    .hw-base {
      animation-name: base-in;
    }
    .hw-guides {
      animation-name: guides-in;
    }
  }
}
@keyframes fan-in {
  from {
    transform: none;
  }
}
@keyframes lid-in {
  from {
    transform: translateY(125px);
  }
}
@keyframes base-in {
  from {
    transform: translateY(-118px);
  }
}
@keyframes guides-in {
  0%,
  60% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .make-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- contact ---------- */
.contact {
  padding-block: var(--section);
  text-align: center;
}
.contact p {
  max-width: 44ch;
  margin: 16px auto 0;
  color: var(--ink-2);
  text-wrap: balance;
}
.email-link {
  display: inline-block;
  margin-top: 36px;
  max-width: 100%;
  font-size: clamp(1.5rem, 0.9rem + 3vw, 3.25rem);
  font-weight: 560;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
  overflow-wrap: anywhere;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.copy-btn[data-state="copied"] {
  border-color: var(--ink);
}
.copy-btn .icon--check {
  display: none;
}
.copy-btn[data-state="copied"] .icon--copy {
  display: none;
}
.copy-btn[data-state="copied"] .icon--check {
  display: block;
  color: var(--ink);
}

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 32px 40px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-brand .brand-mark {
  width: 22px;
  height: 22px;
}
.site-footer ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- legal pages ---------- */
.doc {
  padding-block: clamp(56px, 8vw, 104px) var(--section);
}
.doc .wrap {
  max-width: calc(720px + var(--gutter) * 2);
}
.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-3);
  font-size: 0.9375rem;
  text-decoration: none;
}
.doc-back:hover {
  color: var(--ink);
}
.doc-back .icon {
  width: 15px;
  height: 15px;
}
.doc h1 {
  margin-top: 28px;
  font-size: clamp(2.375rem, 1.5rem + 3.2vw, 3.75rem);
  font-weight: 640;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.doc-meta {
  margin-top: 16px;
  color: var(--ink-3);
  font-size: 0.9375rem;
}
.doc-summary {
  margin-top: 40px;
  padding: 24px 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.doc-summary h2 {
  margin: 0 0 10px;
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.doc-summary ul {
  margin: 0;
  padding-left: 1.15em;
  color: var(--ink-2);
}
.doc-summary li + li {
  margin-top: 6px;
}
.doc-body {
  margin-top: 48px;
  max-width: 68ch;
}
.doc-body h2 {
  margin: 48px 0 12px;
  font-size: 1.375rem;
  font-weight: 620;
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.doc-body h2:first-child {
  margin-top: 0;
}
.doc-body p,
.doc-body ul {
  color: var(--ink-2);
}
.doc-body p + p,
.doc-body p + ul,
.doc-body ul + p {
  margin-top: 14px;
}
.doc-body ul {
  margin-block: 14px 0;
  padding-left: 1.15em;
}
.doc-body li + li {
  margin-top: 6px;
}
.doc-body strong {
  color: var(--ink);
  font-weight: 600;
}
.doc-body a {
  color: var(--ink);
}
