/* Vocabulift — presentation site. Felt-and-paper pieces after the hero concept
   (design/concept/hero-v1.png); type is Commissioner, which sets Greek, Latin and Cyrillic. */

:root {
  --paper: #f4ede2;
  --paper-2: #ece4d5;
  --paper-3: #e6e3d4;
  --ink: #1f2a44;
  --ink-2: #4c566c;
  --ink-3: #6e7587;
  --line: #d9cfbd;
  --deep: #173d47;
  --deep-2: #12323b;
  --on-deep: #f6ecdc;
  --on-deep-2: #b8c7c3;
  --coral: #d9714f;
  --mustard: #e0a33f;
  --teal: #2f6e7c;
  --sage: #8e9c7b;
  --cream: #ecdcc5;
  --peach: #efb895;
  --sky: #f4cba5;
  --radius: 14px;
  --wrap: 1240px;
  --gutter: clamp(16px, 5vw, 48px);
  --sans: Commissioner, ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --felt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .07 0 0 0 0 .04 -.5 0 0 0 .3'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E");
  color-scheme: light;
}

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

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-feature-settings: 'ss01' 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 50;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--on-deep);
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

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

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

/* ------------------------------------------------------------------ type */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(46px, 7.4vw, 108px);
  line-height: 0.96;
}

h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1;
}

h3 {
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.eyebrow {
  margin: 0 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lede {
  font-size: clamp(17px, 1.45vw, 19px);
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 34em;
}

.mono {
  font-family: var(--mono);
  font-size: 0.86em;
  letter-spacing: 0;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 12px;
  font: 500 16px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--mustard) var(--felt);
  color: var(--ink);
  box-shadow:
    inset 0 1px 0 rgb(255 248 230 / 0.45),
    0 6px 14px -6px rgb(40 20 0 / 0.45);
}

.btn-primary:hover {
  background-color: #e8b04f;
}

.btn-ink {
  background: var(--ink) var(--felt);
  color: var(--on-deep);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.12),
    0 6px 14px -6px rgb(10 15 30 / 0.5);
}

.btn-ink:hover {
  background-color: #29365a;
}

.btn-quiet {
  background: transparent;
  color: inherit;
  box-shadow: inset 0 0 0 1.5px currentColor;
}

.btn-quiet:hover {
  background: rgb(255 255 255 / 0.08);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 92px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.brand svg {
  width: 34px;
  height: 34px;
}

.nav {
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgb(31 42 68 / 0.78);
}

.nav a:hover {
  color: var(--ink);
}

.header-cta .short {
  display: none;
}

.header-cta {
  margin-left: auto;
  min-height: 46px;
  font-size: 15px;
}

@media (max-width: 960px) {
  .nav {
    display: none;
  }
}

@media (max-width: 520px) {
  .site-header .wrap {
    min-height: 72px;
  }

  .brand {
    font-size: 22px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 14px;
    font-size: 14px;
  }

  .header-cta .long {
    display: none;
  }

  .header-cta .short {
    display: inline;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  background: var(--deep);
  color: var(--on-deep);
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
  /* The scene is a 3:2 picture; the stage shows its upper part and the copy overlaps the hills. */
  --scene-w: 100cqw;
  --scene-x: 0px;
  --scene-h: calc(var(--scene-w) / 1.5);
  /* Short screens lose some empty sky at the top, so the headline stays in the first view. */
  --crop: clamp(0px, calc(var(--scene-h) * 0.7 + 280px - 100svh), calc(var(--scene-h) * 0.08));
}

.hero-stage {
  position: relative;
  /* The picture down to the sea; the hills below sink into the copy's teal. */
  height: calc(var(--scene-h) * 0.7 - var(--crop));
  background: var(--sky);
  overflow: hidden;
}

/* The hills sink into the deep teal the copy is set on. */
.hero-stage::after {
  content: '';
  position: absolute;
  inset: auto 0 -2px;
  top: calc(var(--scene-h) * 0.615 - var(--crop));
  z-index: 3;
  background: linear-gradient(to bottom, rgb(23 61 71 / 0) 0%, rgb(23 61 71 / 0.66) 50%, var(--deep) 90%);
  pointer-events: none;
}

.hero-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: #2a1606;
  opacity: var(--vl-dusk, 0);
  pointer-events: none;
}

.vl-scene {
  position: absolute;
  top: calc(-1 * var(--crop));
  left: var(--scene-x);
  width: var(--scene-w);
  aspect-ratio: 3 / 2;
  contain: layout paint;
}

.hero-poster {
  position: absolute;
  top: calc(-1 * var(--crop));
  left: var(--scene-x);
  width: var(--scene-w);
  height: auto;
  aspect-ratio: 3 / 2;
  z-index: 1;
  transition: opacity 0.6s ease;
}

.hero.is-live .hero-poster {
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.6s ease,
    visibility 0s 0.6s;
}

.vl-defs {
  position: absolute;
  width: 0;
  height: 0;
}

.vl-piece {
  position: absolute;
  pointer-events: none;
  will-change: transform;
}

.vl-piece > svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.vl-static {
  will-change: auto;
}

.vl-detect,
.vl-tag {
  opacity: 0;
}

.vl-flip {
  transform-box: view-box;
}

.vl-word {
  font: 600 17px var(--sans);
  letter-spacing: -0.01em;
}

.vl-bubble-label {
  font: 600 30px var(--sans);
  letter-spacing: 0.02em;
  fill: var(--ink);
  opacity: 0;
}

.vl-chip-text,
.vl-tag-text {
  font: 500 13px var(--mono);
  fill: var(--ink);
}

.vl-tag-text {
  font-size: 15px;
  font-weight: 600;
}

@media (max-width: 760px) {
  /* Phones see the screen, the waveform, the captions and the bubbles. */
  .hero {
    --scene-w: 132cqw;
    --scene-x: -28cqw;
  }
}

.hero-copy {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-top: calc(var(--scene-h) * -0.035);
  padding-bottom: clamp(36px, 5vw, 64px);
}

.hero-copy .eyebrow {
  color: var(--on-deep-2);
}

.hero-copy .eyebrow,
.hero-side .status {
  text-shadow: 0 1px 10px rgb(12 34 40 / 0.7);
}

.hero-copy h1 {
  color: var(--on-deep);
}

.hero-side {
  padding-bottom: 8px;
}

.hero-side .status {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-deep-2);
}

.hero-side .status::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--mustard);
  box-shadow: 0 0 0 4px rgb(224 163 63 / 0.18);
}

.hero-side p {
  font-size: clamp(17px, 1.4vw, 19px);
  line-height: 1.6;
  color: var(--on-deep);
  max-width: 30em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 26px;
}

.motion-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 2px;
  border: 0;
  background: none;
  color: var(--on-deep);
  font: 500 14px var(--sans);
  cursor: pointer;
}

.motion-toggle span {
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

.motion-toggle svg {
  width: 14px;
  height: 14px;
}

.facts {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0 auto;
  padding: 26px 0 34px;
  border-top: 1px solid rgb(246 236 220 / 0.18);
  list-style: none;
}

.facts li {
  display: grid;
  gap: 4px;
}

.facts strong {
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.facts span {
  font-size: 14px;
  line-height: 1.45;
  color: var(--on-deep-2);
}

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

  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ sections */

.section {
  padding: clamp(72px, 10vw, 136px) 0;
}

.section-alt {
  background: var(--paper-2);
}

.section-sage {
  background: var(--paper-3);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 28px 64px;
  align-items: end;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-head .eyebrow {
  color: var(--teal);
}

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

/* cards with numbered labels, as on webinson.com */
.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 36px;
}

.cards-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 14px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
}

.card-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.card-icon {
  width: 40px;
  height: 40px;
}

.card p {
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-2);
}

@media (max-width: 1080px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 36px;
  }

  .cards-3 {
    grid-template-columns: 1fr;
  }
}

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

/* ------------------------------------------------------------------ felt tiles (outside the hero) */

.felt {
  background-image: var(--felt);
  box-shadow:
    inset 0 1.5px 0 rgb(255 250 240 / 0.38),
    inset 0 -2px 0 rgb(60 30 10 / 0.12),
    3px 5px 9px -2px rgb(75 42 18 / 0.28);
}

.tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 11px;
  background-color: var(--cream);
  color: var(--ink);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.tile.coral {
  background-color: var(--coral);
  color: var(--on-deep);
}

.tile.teal {
  background-color: var(--teal);
  color: var(--on-deep);
}

.tile.mustard {
  background-color: var(--mustard);
}

.tile.peach {
  background-color: var(--peach);
}

/* ------------------------------------------------------------------ the sample */

.sample {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 0;
  margin-top: clamp(56px, 7vw, 88px);
  border-radius: 22px;
  overflow: hidden;
  background: var(--ink);
  color: var(--on-deep);
  box-shadow: 0 30px 60px -36px rgb(20 20 40 / 0.55);
}

.sample-visual {
  padding: clamp(24px, 3.4vw, 44px);
  background: var(--paper) var(--felt);
  color: var(--ink);
}

.sample-visual .eyebrow {
  color: var(--teal);
  margin-bottom: 14px;
}

.sample-visual h3 {
  margin-bottom: 26px;
}

.timeline {
  position: relative;
  height: 128px;
  margin: 8px 0 22px;
}

.timeline-axis {
  position: absolute;
  inset: auto 0 22px;
  height: 2px;
  background: var(--line);
}

.timeline-tick {
  position: absolute;
  bottom: 0;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  transform: translateX(-50%);
}

.timeline-word {
  position: absolute;
  top: 0;
  display: grid;
  gap: 6px;
  justify-items: start;
}

.timeline-word .tile {
  min-height: 40px;
  padding: 0 10px;
  font-size: 15px;
}

.timeline-word small {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  white-space: nowrap;
}

.translations {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.translations li {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 12px;
  align-items: baseline;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
}

.translations .mono {
  color: var(--ink-3);
  font-size: 12px;
  text-transform: uppercase;
}

.sample-code {
  position: relative;
  margin: 0;
  padding: clamp(24px, 3.4vw, 44px);
  overflow: auto;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
  color: #c7cfdf;
  tab-size: 2;
}

.sample-code .k {
  color: #9fb6d6;
}

.sample-code .s {
  color: #f0c27a;
}

.sample-code .n {
  color: #ef9c7d;
}

.sample-code .c {
  color: #7d879c;
}

.sample-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--ink-3);
}

.translations code {
  font-family: var(--mono);
  font-size: 13.5px;
}

/* The song in the sample, from detection to cue sheet, under the sample itself. */
.rights-story {
  margin-top: clamp(48px, 6vw, 72px);
}

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

@media (max-width: 520px) {
  .timeline {
    transform: scale(0.82);
    transform-origin: left top;
    width: 122%;
    margin-bottom: 0;
  }
}

/* ------------------------------------------------------------------ fit map */

.fit {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.fit-col {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  gap: 18px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: 20px;
  background: var(--paper);
  box-shadow:
    inset 0 0 0 1px rgb(31 42 68 / 0.06),
    0 18px 40px -30px rgb(40 30 20 / 0.45);
}

.badge {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.badge-live {
  background: rgb(47 110 124 / 0.12);
  color: var(--teal);
}

.badge-build {
  background: rgb(217 113 79 / 0.13);
  color: #b4532f;
}

.badge-join {
  background: rgb(224 163 63 / 0.18);
  color: #8a5d12;
}

.fit-col h3 {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fit-col h3 svg {
  width: 44px;
  height: 44px;
  flex: none;
}

.fit-list {
  display: grid;
  gap: 16px;
}

.fit-list h4 {
  margin: 0 0 6px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.fit-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.fit-list li {
  position: relative;
  padding-left: 20px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.fit-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 9px;
  height: 4px;
  border-radius: 2px;
  background: var(--sage);
}

.fit-list .today li::before {
  background: var(--teal);
}

.fit-list .next li::before {
  background: var(--coral);
}

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

/* ------------------------------------------------------------------ pilot */

.pilot-demo {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px 28px;
  align-items: center;
  margin-bottom: clamp(48px, 6vw, 72px);
  padding: clamp(22px, 3vw, 34px);
  border-radius: 20px;
  background: var(--sky) var(--felt);
  box-shadow: inset 0 0 0 1px rgb(31 42 68 / 0.05);
}

.pilot-demo .row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.lang-chip {
  display: inline-grid;
  place-items: center;
  min-width: 54px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--on-deep);
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
}

.lang-chip.pilot {
  background: var(--coral);
  color: var(--ink);
}

.pilot-demo .note {
  grid-column: 2;
  font-size: 14px;
  color: var(--ink-2);
}

@media (max-width: 620px) {
  .pilot-demo {
    grid-template-columns: 1fr;
  }

  .pilot-demo .note {
    grid-column: 1;
  }
}

.steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 8px 28px;
  align-items: baseline;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child {
  border-bottom: 1px solid var(--line);
}

.steps .card-num {
  padding-top: 2px;
}

.steps p {
  color: var(--ink-2);
}

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

  .steps p {
    grid-column: 2;
  }
}

.fine {
  margin-top: 26px;
  font-size: 15px;
  color: var(--ink-3);
  max-width: 52em;
}

/* ------------------------------------------------------------------ products */

.products {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.products li {
  border-bottom: 1px solid var(--line);
}

.products a,
.products .row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) minmax(32px, auto);
  gap: 8px 32px;
  align-items: center;
  padding: 26px 0;
  text-decoration: none;
}

.products strong {
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  letter-spacing: -0.03em;
}

.products span {
  color: var(--ink-2);
}

.products svg {
  width: 24px;
  height: 24px;
  color: var(--ink-3);
  transition: transform 0.2s ease;
}

.products a:hover svg {
  transform: translate(3px, -3px);
  color: var(--ink);
}

.products .here {
  white-space: nowrap;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

@media (max-width: 700px) {
  .products a,
  .products .row {
    grid-template-columns: 1fr 24px;
  }

  .products span {
    grid-column: 1;
    grid-row: 2;
  }
}

/* ------------------------------------------------------------------ closing */

.closing {
  background: var(--deep);
  color: var(--on-deep);
  padding: clamp(80px, 11vw, 140px) 0 0;
}

.closing .eyebrow {
  color: var(--on-deep-2);
}

.closing .lede {
  color: var(--on-deep);
}

.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.closing .btn-quiet {
  color: var(--on-deep);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  margin-top: clamp(72px, 9vw, 112px);
  padding: 30px 0 40px;
  border-top: 1px solid rgb(246 236 220 / 0.16);
  font-size: 14px;
  color: var(--on-deep-2);
}

.site-footer .brand {
  color: var(--on-deep);
  font-size: 22px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--on-deep);
  text-decoration: underline;
}

/* ------------------------------------------------------------------ reveal on scroll */

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ------------------------------------------------------------------ technology profile */

.doc {
  background: var(--paper);
}

.doc-header {
  background: var(--sky) var(--felt);
  padding: 36px 0 56px;
}

.doc-header .brand {
  margin-bottom: 52px;
}

.doc-header h1 {
  font-size: clamp(38px, 5.4vw, 72px);
  max-width: 14em;
}

.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-2);
}

.doc-meta b {
  font-weight: 600;
  color: var(--ink);
}

.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.doc-body {
  padding: 56px 0 96px;
}

.doc-body .wrap {
  max-width: 880px;
}

.doc-body h2 {
  font-size: clamp(26px, 3vw, 36px);
  margin: 56px 0 18px;
  letter-spacing: -0.03em;
}

.doc-body h2:first-child {
  margin-top: 0;
}

.doc-body h3 {
  font-size: 19px;
  margin: 28px 0 10px;
}

.doc-body p,
.doc-body li {
  color: var(--ink-2);
}

.doc-body p + p {
  margin-top: 14px;
}

.doc-body ul {
  padding-left: 1.2em;
  margin: 12px 0;
}

.doc-body li + li {
  margin-top: 6px;
}

.doc-table {
  width: 100%;
  margin: 18px 0 8px;
  border-collapse: collapse;
  font-size: 15px;
}

.doc-table th,
.doc-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.doc-table td:first-child {
  font-weight: 600;
  color: var(--ink);
  width: 26%;
}

.table-scroll {
  overflow-x: auto;
}

.doc-callout {
  margin: 22px 0;
  padding: 20px 22px;
  border-radius: 16px;
  background: var(--paper-2);
  box-shadow: inset 4px 0 0 var(--coral);
}

.doc-callout p {
  color: var(--ink);
}

.doc-code {
  margin: 16px 0;
  padding: 20px 22px;
  border-radius: 14px;
  background: var(--ink);
  color: #c7cfdf;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.65;
  overflow: auto;
}

.doc-foot {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-3);
}

@page {
  size: A4;
  margin: 16mm 16mm 18mm;
}

@media print {
  html,
  body,
  .doc {
    background: #fff;
  }

  body {
    font-size: 10.5pt;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .doc-header {
    background: none;
    padding: 0 0 6mm;
    border-bottom: 1px solid var(--line);
  }

  .doc-header .brand {
    margin-bottom: 8mm;
  }

  .doc-header h1 {
    font-size: 26pt;
  }

  .doc-actions,
  .no-print {
    display: none !important;
  }

  .doc-body {
    padding: 6mm 0 0;
  }

  .doc-body h2 {
    font-size: 15pt;
    margin: 8mm 0 3mm;
    break-after: avoid;
  }

  .doc-body h3 {
    font-size: 11.5pt;
    break-after: avoid;
  }

  .doc-table tr,
  .doc-callout,
  .doc-code {
    break-inside: avoid;
  }

  .doc-table {
    font-size: 9.5pt;
  }

  .doc-code {
    font-size: 7.6pt;
    white-space: pre-wrap;
    overflow: visible;
  }

  .table-scroll {
    overflow: visible;
  }

  .wrap {
    width: 100%;
    max-width: none !important;
  }

  a {
    text-decoration: none;
  }
}
