/* AI Kit One — company site
   Concept: a model-kit runner. Each product is a part on the frame. */

:root {
  --paper: #F2F4F6;
  --surface: #FFFFFF;
  --ink: #15171C;
  --graphite: #5B616B;
  --sprue: #CDD2D9;
  --sprue-strong: #A9B0BA;
  --line: #DCE0E5;
  --signal: #FFC814;
  --on-signal: #15171C;
  --doclator: #0F6FD1;
  --doclator-deep: #075FB8;
  --doclator-desk: #E3EEFA;

  --font-display: "Bricolage Grotesque", "Be Vietnam Pro", system-ui, sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section-y: clamp(72px, 10vw, 136px);

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #121418;
    --surface: #1A1D22;
    --ink: #ECEEF1;
    --graphite: #A0A7B1;
    --sprue: #2F343C;
    --sprue-strong: #4A515C;
    --line: #2A2E35;
    --doclator: #3D8EEB;
    --doclator-deep: #2A7BDA;
    --doclator-desk: #172433;
    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 { margin: 0; font-weight: 700; }
p { margin: 0; }

a { color: inherit; }

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

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

.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 10px;
  text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: 14px;
  border: 1.5px solid transparent;
  font: 600 1rem/1 var(--font-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn--sm { height: 40px; padding: 0 16px; font-size: .9375rem; border-radius: 12px; }
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: color-mix(in srgb, var(--ink) 85%, var(--paper)); }
.btn--signal { background: var(--signal); color: var(--on-signal); }
.btn--signal:hover { background: color-mix(in srgb, var(--signal) 88%, #000); }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: color-mix(in srgb, var(--ink) 6%, transparent); }
.btn--doclator { background: var(--doclator); color: #fff; }
.btn--doclator:hover { background: var(--doclator-deep); }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.nav.is-scrolled { border-bottom-color: var(--line); }

.nav__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.brand__mark { width: 28px; height: 28px; }
.brand__lit { fill: var(--signal); }
.brand__word {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 24;
}

.nav__links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav__links a {
  padding: 8px 12px;
  border-radius: 10px;
  color: var(--graphite);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav__links a:hover { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }

.nav__end { display: flex; align-items: center; gap: 12px; }

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  background: color-mix(in srgb, var(--ink) 7%, transparent);
}
.lang button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--graphite);
  font: 600 .8125rem/1 var(--font-body);
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 5vw, 72px) 0 var(--section-y); }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.625rem, 6.6vw, 6rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-variation-settings: "opsz" 96;
  max-width: 12.5ch;
  text-wrap: balance;
}

.hero__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-top: clamp(24px, 3vw, 36px);
}
.hero__lede {
  max-width: 44ch;
  font-size: clamp(1.0625rem, 1.4vw, 1.25rem);
  color: var(--graphite);
}
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* The kit: a runner (sprue frame) holding parts */

.kit { margin-top: clamp(48px, 6vw, 72px); }

.kit__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  margin-bottom: 38px;
}
.kit__caption { color: var(--graphite); font-weight: 500; }
.kit__link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
}

.runner {
  --part: clamp(60px, 6.4vw, 88px);
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 10px;
  list-style: none;
  border-radius: 32px;
  background: var(--sprue);
}
.runner > li { display: flex; }

.runner > .runner__tag {
  position: absolute;
  top: -22px;
  left: 36px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 32px;
  border-radius: 9px 9px 0 0;
  background: var(--sprue);
  color: var(--graphite);
  font: 800 1rem/1 var(--font-display);
}

.slot {
  position: relative;
  isolation: isolate;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: clamp(180px, 16vw, 216px);
  padding: 30px 14px 20px;
  border-radius: 22px;
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  text-align: center;
}
.slot:focus-visible { outline-offset: -6px; border-radius: 22px; }

.slot__no {
  position: absolute;
  top: 14px;
  left: 18px;
  font: 700 .9375rem/1 var(--font-display);
  color: var(--sprue-strong);
}

.slot__name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1rem, 1.3vw, 1.1875rem);
  letter-spacing: -.015em;
  line-height: 1.2;
}
.slot__desc { margin-top: 2px; font-size: .8125rem; color: var(--graphite); line-height: 1.4; }

/* Parts */

.part {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: var(--part, 96px);
  height: var(--part, 96px);
  border-radius: 28%;
}

/* Gates: thin plastic bars that hold the part to the frame. */
.slot .part::before,
.slot .part::after {
  content: "";
  position: absolute;
  top: calc(50% - 2.5px);
  width: 50vw;
  height: 5px;
  background: var(--sprue);
  transform-origin: var(--origin);
  transition: transform .25s ease, opacity .25s ease;
  z-index: -1;
}
.slot .part::before { right: 100%; --origin: right center; clip-path: polygon(0 0, 100% 30%, 100% 70%, 0 100%); }
.slot .part::after  { left: 100%;  --origin: left center;  clip-path: polygon(0 30%, 100% 0, 100% 100%, 0 70%); }

.part--file {
  background: var(--c);
  color: var(--on-c, #fff);
  font: 800 calc(var(--part) * .21)/1 var(--font-display);
  letter-spacing: .02em;
}
.part--text { font-size: calc(var(--part) * .4); letter-spacing: -.03em; }

.part--doclator { background: var(--doclator); color: #fff; }
.part--doclator svg { width: 58%; height: 58%; }
.part--sm { --part: 64px; border-radius: 30%; }

/* Snap the part off the runner when it is hovered or focused. */
.slot .part { transition: transform .3s cubic-bezier(.3, 1.4, .5, 1), box-shadow .3s ease; }
.slot:hover .part,
.slot:focus-visible .part {
  transform: translateY(-8px) rotate(-4deg);
  box-shadow: 0 18px 28px -12px color-mix(in srgb, var(--c) 70%, transparent);
}
.slot:hover .part::before,
.slot:hover .part::after,
.slot:focus-visible .part::before,
.slot:focus-visible .part::after { transform: scaleX(0); opacity: 0; }

/* The one load moment: each part is moulded into the frame, left to right. */
@media (prefers-reduced-motion: no-preference) {
  .hero .part--file {
    animation: mould 650ms cubic-bezier(.2, .8, .2, 1) calc(250ms + var(--i, 0) * 80ms) backwards;
  }
}
@keyframes mould {
  0%   { background: transparent; color: transparent; box-shadow: inset 0 0 0 2px var(--sprue-strong); transform: scale(.92); }
  60%  { background: var(--c); color: var(--on-c, #fff); box-shadow: inset 0 0 0 0 transparent; transform: scale(1.04); }
  100% { background: var(--c); color: var(--on-c, #fff); transform: scale(1); }
}

/* ---------- Sections ---------- */

.section { padding: var(--section-y) 0; }

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.375rem);
  line-height: 1.08;
  letter-spacing: -.03em;
  font-variation-settings: "opsz" 72;
  text-wrap: balance;
}

/* ---------- Product: Doclator ---------- */

#products { padding-top: 0; }

.product {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  margin-top: clamp(36px, 5vw, 56px);
}

.product__head { display: flex; align-items: center; gap: 18px; }
.product__name {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.2vw, 2.625rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.product__url { color: var(--doclator); font-weight: 500; font-size: .9375rem; text-decoration: none; }
.product__url:hover { text-decoration: underline; text-underline-offset: 3px; }

.product__pitch {
  margin-top: 28px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2vw, 1.625rem);
  line-height: 1.3;
  letter-spacing: -.015em;
  max-width: 24ch;
}
.product__body { margin-top: 14px; color: var(--graphite); max-width: 52ch; }

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 32px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.fact dt {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.fact dd { margin: 6px 0 0; font-size: .875rem; line-height: 1.45; color: var(--graphite); }
.formats { display: block; margin-top: 4px; color: var(--ink); word-spacing: .25em; }

.product__price {
  margin: 28px 0 24px;
  padding-left: 14px;
  border-left: 3px solid var(--doclator);
  font-size: .9375rem;
  max-width: 46ch;
}

/* Demo */

.demo {
  margin: 0;
  padding: clamp(18px, 2.4vw, 28px);
  border-radius: 28px;
  background: var(--doclator-desk);
}
.demo__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin-bottom: 18px;
}
.demo__label { font-size: .875rem; color: var(--graphite); }
.demo__langs {
  display: inline-flex;
  padding: 3px;
  border-radius: 12px;
  background: var(--surface);
}
.demo__langs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--graphite);
  font: 600 .875rem/1 var(--font-body);
  padding: 9px 13px;
  border-radius: 9px;
  cursor: pointer;
}
.demo__langs button[aria-pressed="true"] { background: var(--doclator); color: #fff; }

.sheet {
  --sheet-ink: #1B1E24;
  --sheet-muted: #69707B;
  --sheet-line: #E4E7EB;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 6px;
  background: #fff;
  color: var(--sheet-ink);
  box-shadow: 0 1px 0 rgb(15 30 60 / .06), 0 20px 40px -24px rgb(15 50 100 / .35);
  font-size: .9375rem;
  line-height: 1.55;
}
.sheet__top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 18px;
  font-size: .75rem;
  color: var(--sheet-muted);
}
.sheet__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1.3;
}
.sheet__p { margin-top: 8px; color: #3A3F48; }
.sheet__table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: .875rem;
  font-variant-numeric: tabular-nums;
}
.sheet__table th,
.sheet__table td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--sheet-line);
  text-align: left;
}
.sheet__table th { font-weight: 600; background: #F3F6FA; }
.sheet__table th:not(:first-child),
.sheet__table td:not(:first-child) { text-align: right; }
.sheet__table .up { color: #15803D; font-weight: 600; }
.sheet__chart {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 64px;
  margin-top: 18px;
  padding-bottom: 1px;
  border-bottom: 1px solid var(--sheet-line);
}
.sheet__chart span {
  flex: 1;
  height: var(--h);
  border-radius: 4px 4px 0 0;
  background: #0F6FD1;
}
.sheet__chart span:nth-child(2) { background: #7FB2E8; }
.sheet__note { margin-top: 12px; font-size: .8125rem; color: var(--sheet-muted); }

[data-doc-text] { transition: opacity .18s ease; }
.sheet.is-swapping [data-doc-text] { opacity: 0; }

.demo__cap { margin-top: 14px; font-size: .8125rem; color: var(--graphite); }

/* Doclator features */

.features { margin-top: clamp(64px, 8vw, 112px); }
.features__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.2;
}
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 4vw, 56px);
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.feature { padding: 24px 0 30px; border-top: 1px solid var(--line); }
.feature svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--doclator);
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h4 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 1.1875rem;
  letter-spacing: -.015em;
  line-height: 1.3;
}
.feature p { margin-top: 6px; color: var(--graphite); font-size: .9375rem; line-height: 1.55; max-width: 40ch; }

/* Doclator plans */

.plans { margin-top: clamp(48px, 6vw, 80px); }
.plans__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
}
.plans__head p { color: var(--graphite); font-size: .9375rem; }
.plans__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  overflow: hidden;
}
.plan { padding: clamp(22px, 3vw, 32px); }
.plan + .plan { border-left: 1px solid var(--line); }
.plan--pro { background: var(--doclator-desk); box-shadow: inset 0 3px 0 var(--doclator); }
.plan__name { font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -.01em; }
.plan__price {
  margin-top: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  letter-spacing: -.03em;
  line-height: 1.15;
}
.plan__price small {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9375rem;
  letter-spacing: 0;
  color: var(--graphite);
}
.plan ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.plan li { position: relative; padding-left: 24px; font-size: .9375rem; line-height: 1.45; }
.plan li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .42em;
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--doclator);
  border-bottom: 2px solid var(--doclator);
  transform: rotate(-45deg);
}
.plans__link {
  display: inline-block;
  margin-top: 16px;
  color: var(--doclator);
  font-size: .9375rem;
  font-weight: 600;
  text-underline-offset: 3px;
}

/* ---------- Languages wall ---------- */

.langs { padding: var(--section-y) 0; background: var(--doclator-desk); }
.langs__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
.langs__num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(4.5rem, 10vw, 8.5rem);
  line-height: .9;
  letter-spacing: -.05em;
  font-variation-settings: "opsz" 96;
  color: var(--doclator);
}
.langs__title {
  margin-top: 20px;
  font-family: var(--font-display);
  font-size: clamp(1.375rem, 2.2vw, 1.875rem);
  line-height: 1.2;
  letter-spacing: -.02em;
  text-wrap: balance;
}
.langs__body { margin-top: 12px; color: var(--graphite); max-width: 40ch; }
.langs__wall {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px .85em;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.375rem, 2.6vw, 2.25rem);
  line-height: 1.4;
  letter-spacing: -.02em;
}
.langs__wall li:nth-child(3n+2) { color: var(--graphite); }
.langs__wall li:nth-child(7n+4) { color: var(--doclator); }
.langs__wall .langs__more {
  align-self: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--graphite);
}

/* ---------- Process (assembly steps) ---------- */

.section--steps { background: var(--surface); }

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  margin: clamp(40px, 5vw, 64px) 0 0;
  padding: 0;
  list-style: none;
}
/* Dashed assembly line linking the step numbers. */
.steps::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 44px;
  right: 0;
  border-top: 2px dashed var(--sprue-strong);
}

.step { position: relative; }
.step__no {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  background: var(--surface);
  font: 700 1.125rem/1 var(--font-display);
}
.step__art {
  width: 120px;
  height: 80px;
  margin: 28px 0 20px;
  color: var(--ink);
}
.art-signal { fill: var(--signal); }
.step__title {
  font-family: var(--font-display);
  font-size: 1.375rem;
  letter-spacing: -.02em;
  line-height: 1.25;
}
.step p { margin-top: 8px; color: var(--graphite); max-width: 36ch; }

/* ---------- About ---------- */

.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
}
.about__lede {
  margin-top: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.35;
  letter-spacing: -.015em;
}
.about__intro > p:last-child { margin-top: 16px; color: var(--graphite); max-width: 50ch; }

.tenets { list-style: none; margin: 0; padding: 0; }
.tenet { padding: 26px 0; border-top: 1px solid var(--line); }
.tenet:last-child { border-bottom: 1px solid var(--line); }
.tenet h3 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  letter-spacing: -.02em;
  line-height: 1.25;
}
.tenet p { margin-top: 6px; color: var(--graphite); max-width: 54ch; }

/* ---------- Contact ---------- */

.contact {
  padding: clamp(56px, 8vw, 104px) 0;
  background: var(--signal);
  color: var(--on-signal);
}
.contact :focus-visible { outline-color: var(--on-signal); }
.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px 64px;
  align-items: end;
}
.contact__title {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.035em;
  font-variation-settings: "opsz" 96;
  text-wrap: balance;
}
.contact__side p { max-width: 36ch; }
.contact__mail {
  display: inline-block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.4vw, 2rem);
  letter-spacing: -.02em;
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 6px;
  overflow-wrap: anywhere;
}
.contact__mail:hover { text-decoration-thickness: 5px; }

/* ---------- Footer ---------- */

.foot { padding: 56px 0 40px; }
.foot__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
}
.foot__brand .brand__word { font-size: 1.5rem; }
.foot__brand p { margin-top: 6px; color: var(--graphite); font-size: .9375rem; }
.foot__col { display: flex; flex-direction: column; gap: 8px; }
.foot__col h2 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 600;
  color: var(--graphite);
}
.foot__col a { text-decoration: none; font-size: .9375rem; width: fit-content; }
.foot__col a:hover { text-decoration: underline; text-underline-offset: 3px; }
.foot__copy {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--graphite);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__end { margin-left: auto; }

  .hero__row { flex-direction: column; align-items: flex-start; }

  .product,
  .about,
  .langs__inner,
  .contact__inner { grid-template-columns: minmax(0, 1fr); }

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

  .plans__grid { grid-template-columns: minmax(0, 1fr); }
  .plan + .plan { border-left: 0; border-top: 1px solid var(--line); }

  .steps { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .steps::before { display: none; }
  .step { padding-left: 72px; }
  .step__no { position: absolute; left: 0; top: 0; }
  .step__art { margin-top: 0; }
  /* Dashed line from each step number down to the next one. */
  .step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 21px;
    top: 52px;
    bottom: -32px;
    border-left: 2px dashed var(--sprue-strong);
  }
}

@media (max-width: 760px) {
  .runner { grid-template-columns: repeat(2, minmax(0, 1fr)); --part: 64px; }
}

@media (max-width: 640px) {
  .runner { padding: 8px; gap: 8px; border-radius: 26px; }
  .runner > .runner__tag { left: 26px; }
  .slot { min-height: 0; padding: 30px 10px 18px; border-radius: 18px; }
  .slot__no { top: 10px; left: 12px; }
  .slot__name { margin-top: 14px; }

  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 4px; }
  .fact { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .fact dd { margin: 0; }

  .features__grid { grid-template-columns: minmax(0, 1fr); }
  .feature { padding: 20px 0 22px; }

  .foot__inner { grid-template-columns: 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }

  .hero__actions { width: 100%; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 420px) {
  .nav__end .btn { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}
