/*
 * SpecStack marketing site — one stylesheet for every page.
 * Look: the "high-vis" direction (a full-colour hero, oversized type, chunky
 * borders, hard shadows, stickers, a moving band) on top of the "site survey"
 * paper, grid and measuring details. Running text always sits on paper, white
 * or ink, or is set large when it sits on the brand colour.
 * The brand colour is one token (--accent); its two companions are derived by
 * hand below and must be re-derived if the accent changes.
 */

@font-face {
  font-family: 'Inter';
  src: url('fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Space Grotesk';
  src: url('fonts/space-grotesk-latin-wght-normal.woff2') format('woff2');
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: 'JetBrains Mono';
  src: url('fonts/jetbrains-mono-latin-wght-normal.woff2') format('woff2');
  font-weight: 100 800;
  font-display: swap;
}

:root {
  --accent: #14bfa6; /* the logo's colour */
  --accent-deep: #0b695b; /* accent mixed 45% to black: text and lines on paper */
  --accent-ink: #042621; /* accent mixed 80% to black: text on the accent */
  --clay: #c26a43; /* the logo's node */
  --clay-deep: #9a4a2a; /* white text passes on this */
  --clay-tint: #f3ddd0;
  --paper: #faf8f4;
  --white: #ffffff;
  --ink: #1c1917;
  --ink-2: #44403c;
  --ink-3: #57534e;
  --ink-soft: #e7e5e4; /* body text on ink */
  --grid: rgba(28, 25, 23, 0.045);
  --line: 2.5px solid var(--ink);
  --hair: 1px solid rgba(28, 25, 23, 0.16);
  --display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
  --body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --wrap: 1240px;
  --gutter: 32px;
  --slab: 44px; /* radius of the big blocks */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background-color: var(--paper);
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
main,
.cta-block {
  overflow-x: clip;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
h1,
h2,
h3,
p,
ul,
ol,
figure,
pre {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
:focus-visible {
  outline: 3px solid var(--accent-deep);
  outline-offset: 3px;
  border-radius: 4px;
}
.site-header :focus-visible,
.hero-block :focus-visible,
.cta-block :focus-visible {
  outline-color: var(--ink);
}
.card--ink :focus-visible,
.card--dark :focus-visible {
  outline-color: var(--white);
}
.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  background: var(--ink);
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* ---------- layout ---------- */
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.section {
  padding-block: 104px;
}
/* A white section is a rounded slab floating on the paper. */
.section--white {
  margin-inline: clamp(10px, 1.6vw, 28px);
  background: var(--white);
  border: var(--line);
  border-radius: var(--slab);
}
.hero-block + .section--white {
  margin-top: 24px;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stack--lg {
  gap: 44px;
}
.split {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}
.split > * {
  flex: 1 1 420px;
  min-width: 0;
}
.split--media-wide > .split__media {
  flex: 1 1 500px;
}
.split--reverse {
  flex-direction: row-reverse;
}
.head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 900px;
}
.head-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 64px;
}
.head-row > * {
  flex: 1 1 420px;
  min-width: 0;
}

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.045em;
}
.h1--xl {
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
}
.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1;
  letter-spacing: -0.04em;
}
.h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.h3--sm {
  font-size: 25px;
  letter-spacing: -0.02em;
}
.lead {
  font-size: 20px;
  line-height: 1.45;
  color: var(--ink-2);
  max-width: 34em;
}
.text {
  color: var(--ink-2);
  font-size: 18px;
  max-width: 36em;
}
.small {
  font-size: 16px;
  color: var(--ink-2);
}
.note {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
/* Each sentence of a lead can sit on its own lines, split evenly. */
.lead__line {
  display: block;
  text-wrap: balance;
}
/* Where the browser supports it: no stranded last word in running text, even lines in a
   heading or a short label. site.js adds the rules a stylesheet cannot express. */
p,
li,
figcaption,
summary {
  text-wrap: pretty;
}
.h1,
.h2,
.h3,
.cta-block__title,
.flow__node {
  text-wrap: balance;
}
.hl {
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0 0.14em;
  border-radius: 0.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  white-space: nowrap;
}
.inline-link {
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 2.5px;
  text-decoration-color: var(--accent);
  text-underline-offset: 5px;
}
.inline-link:hover {
  text-decoration-color: currentColor;
}

/* ---------- header ---------- */
/* On the brand colour while it sits on the hero; paper once the page scrolls. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--accent);
  color: var(--accent-ink);
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.18s ease,
    border-color 0.18s ease;
}
.site-header[data-scrolled='true'] {
  background: var(--paper);
  color: var(--ink);
  border-bottom-color: rgba(28, 25, 23, 0.16);
}
.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-block: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px 6px 8px;
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 21px;
  letter-spacing: -0.01em;
}
.logo svg {
  width: 34px;
  height: 34px;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 30px;
  font-size: 16px;
  font-weight: 600;
}
.nav a {
  text-decoration: none;
  padding: 12px 0;
  border-bottom: 2.5px solid transparent;
}
.nav a:hover,
.nav a[aria-current='page'] {
  border-bottom-color: currentColor;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  font-weight: 600;
}
.header-actions .plain {
  text-decoration: none;
  padding: 12px 0;
}
.menu-toggle {
  display: none;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: 600 16px var(--body);
  cursor: pointer;
}
@media (max-width: 900px) {
  .js .menu-toggle {
    display: inline-flex;
  }
  .js .nav,
  .js .header-actions {
    display: none;
    flex-basis: 100%;
  }
  .js .site-header[data-open='true'] .nav,
  .js .site-header[data-open='true'] .header-actions {
    display: flex;
  }
  .js .nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    font-size: 20px;
    padding-top: 8px;
  }
  .js .nav a {
    padding: 14px 0;
    border-bottom: 1px solid rgba(28, 25, 23, 0.2);
  }
  .js .header-actions {
    justify-content: space-between;
    padding: 12px 0 8px;
  }
}

/* ---------- buttons, tags, stickers ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 17px 30px;
  border-radius: 999px;
  border: var(--line);
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
}
.btn--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 6px 6px 0 var(--accent);
}
.btn--primary:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--accent);
}
.btn--primary:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--accent);
}
.btn--ghost {
  background: var(--white);
  color: var(--ink);
}
.btn--ghost:hover {
  background: var(--ink);
  color: var(--white);
}
.btn--sm {
  padding: 11px 22px;
  font-size: 16px;
  box-shadow: none;
}
.btn--sm:hover {
  box-shadow: 4px 4px 0 var(--white);
}
.site-header[data-scrolled='true'] .btn--sm:hover {
  box-shadow: 4px 4px 0 var(--accent);
}
.btn--on-accent {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  box-shadow: 6px 6px 0 var(--white);
}
.btn--on-accent:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 var(--white);
}
.btn--on-accent:active {
  transform: translate(4px, 4px);
  box-shadow: 2px 2px 0 var(--white);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}
.tag {
  display: inline-block;
  padding: 7px 16px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  background: var(--accent);
  color: var(--accent-ink);
}
.tag--ink {
  background: var(--ink);
  color: var(--white);
}
.tag--clay {
  background: var(--clay-deep);
  color: var(--white);
}
.sticker {
  position: absolute;
  z-index: 2;
  padding: 10px 18px;
  border: var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  box-shadow: 5px 5px 0 var(--ink);
  transform: rotate(var(--tilt, -6deg));
  transition: transform 0.2s ease;
}
.sticker--ink {
  background: var(--ink);
  color: var(--white);
  box-shadow: none;
}
.sticker--clay {
  background: var(--clay-deep);
  color: var(--white);
}
.sticker--round {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 128px;
  height: 128px;
  padding: 0;
  border-radius: 50%;
  background: var(--clay-deep);
  color: var(--white);
  box-shadow: none;
  text-align: center;
  font-size: 15px;
  line-height: 1.15;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.shot-wrap:hover .sticker,
.hero__shot:hover .sticker {
  transform: rotate(calc(var(--tilt, -6deg) * -0.5));
}

/* ---------- measuring details ---------- */
.dimension {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--accent-deep);
}
.dimension::before,
.dimension::after {
  content: '';
  flex: none;
  width: 1.5px;
  height: 16px;
  background: currentColor;
}
.dimension i {
  flex: 1 1 0;
  height: 1.5px;
  background: currentColor;
}
.dimension span {
  text-align: center;
}
.ruler {
  height: 26px;
  border-top: var(--line);
  background-image: repeating-linear-gradient(
    90deg,
    var(--ink) 0,
    var(--ink) 1.5px,
    transparent 1.5px,
    transparent 12px
  );
  background-size: 100% 10px;
  background-repeat: no-repeat;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- screenshots ---------- */
.shot-wrap {
  position: relative;
  padding: 20px 20px 0;
}
.shot-wrap--plain {
  padding: 0;
}
.shot-wrap--crop::before,
.shot-wrap--crop::after {
  content: '';
  position: absolute;
  top: 0;
  width: 22px;
  height: 22px;
  border-top: 1.5px solid var(--ink);
}
.shot-wrap--crop::before {
  left: 0;
  border-left: 1.5px solid var(--ink);
}
.shot-wrap--crop::after {
  right: 0;
  border-right: 1.5px solid var(--ink);
}
.shot {
  width: 100%;
  border: 3px solid var(--ink);
  border-radius: 28px;
  box-shadow: 12px 12px 0 var(--accent);
  transform: rotate(var(--shot-tilt, -1.5deg));
}
.shot--ink {
  box-shadow: 12px 12px 0 var(--ink);
}
.shot--clay {
  box-shadow: 12px 12px 0 var(--clay);
}
.caption {
  margin-top: 30px;
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}
.browser {
  border: 3px solid var(--ink);
  border-radius: 28px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 12px 12px 0 var(--accent);
  transform: rotate(-1.2deg);
}
.browser__bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-bottom: var(--line);
  background: var(--paper);
}
.browser__dots {
  display: flex;
  gap: 6px;
}
.browser__dots i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 2px solid var(--ink);
}
.browser__dots i:last-child {
  background: var(--accent);
}
.browser__url {
  flex: 1 1 0;
  min-width: 0;
  padding: 4px 12px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- hero: a block of the brand colour ---------- */
.hero-block {
  background: var(--accent);
  color: var(--accent-ink);
  border-bottom: var(--line);
  border-radius: 0 0 var(--slab) var(--slab);
  overflow: hidden;
}
.hero-block .eyebrow,
.hero-block .lead,
.hero-block .facts,
.hero-block .caption,
.hero-block .dimension {
  color: var(--accent-ink);
}
.hero-block .lead {
  font-weight: 500;
}
.hero-block .hl,
.hero-block .tag {
  background: var(--white);
  color: var(--ink);
}
.hero-block .tag--ink {
  background: var(--ink);
  color: var(--white);
}
.hero-block .tag--clay {
  background: var(--clay-deep);
  color: var(--white);
}
.hero-block .btn--primary {
  box-shadow: 6px 6px 0 var(--white);
}
.hero-block .btn--primary:hover {
  box-shadow: 8px 8px 0 var(--white);
}
.hero-block .btn--primary:active {
  box-shadow: 2px 2px 0 var(--white);
}
.hero-block .shot,
.hero-block .browser {
  box-shadow: 12px 12px 0 var(--ink);
}
/* Home: the headline runs the full width and the screen rises from the bottom edge. */
.hero {
  padding-top: 44px;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.hero__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px 64px;
}
.hero__row > .stack {
  flex: 1 1 420px;
  max-width: 640px;
}
.hero__row .lead {
  max-width: none;
}
.hero__shot {
  position: relative;
  width: 100%;
  max-width: 1040px;
  margin: 36px auto -16px;
  padding-inline: 10px;
}
.hero__shot img {
  width: 100%;
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 28px 28px 0 0;
  transform: rotate(-1.2deg);
  transform-origin: 50% 100%;
}
/* Other pages: copy beside the picture. */
.page-hero {
  padding-block: 56px 96px;
}
.page-hero .split__media {
  flex: 1 1 440px;
}
.page-hero .split__media--flow {
  flex: 1 1 540px;
}
.hero__copy {
  flex: 1.3 1 520px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ---------- moving band ---------- */
/* A tilted strip of large words. The separators are small quiet dots, so the words lead. */
.band {
  margin-top: 44px;
  background: var(--ink);
  color: var(--accent);
  padding-block: 18px;
  overflow: hidden;
  transform: rotate(-1deg) scale(1.03);
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.band__track {
  display: flex;
  width: max-content;
  animation: band 90s linear infinite;
}
.band:hover .band__track {
  animation-play-state: paused;
}
.band__group {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
}
.band__group i {
  width: 0.2em;
  height: 0.2em;
  border-radius: 50%;
  background: var(--paper);
  opacity: 0.45;
}
@keyframes band {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- cards ---------- */
.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.card {
  flex: 1 1 320px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px;
  background: var(--white);
  border: var(--line);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--ink);
}
/* The feature card: dark, on a colour shadow, a touch off level. */
.card--ink {
  background: var(--ink);
  color: var(--paper);
  box-shadow: 8px 8px 0 var(--accent);
}
.card--ink .small,
.card--ink .note {
  color: var(--ink-soft);
}
.card--ink .tag--ink {
  background: var(--accent);
  color: var(--accent-ink);
}
.card--clay {
  background: var(--clay-tint);
}
.card--clay .small {
  color: #3d2a20;
}
.card--flat {
  box-shadow: none;
  background: var(--paper);
  border-radius: 26px;
  padding: 26px;
}
.card--accent {
  box-shadow: none;
  background: var(--accent);
  color: var(--accent-ink);
  border-radius: 26px;
  padding: 26px;
}
.card--dark {
  background: var(--ink);
  color: var(--paper);
  box-shadow: none;
  border-radius: 26px;
  padding: 26px;
}
.card--accent .small {
  color: var(--accent-ink);
  font-weight: 500;
}
.card--dark .small {
  color: var(--ink-soft);
}
@media (min-width: 900px) {
  .cards > .card--ink {
    transform: rotate(1deg);
    transition: transform 0.18s ease;
  }
  .cards > .card--ink:hover {
    transform: rotate(0deg);
  }
}
.card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.card__more {
  margin-top: auto;
  padding-top: 8px;
  font-weight: 600;
}
.card__more::after {
  content: ' \2192';
}
.ticks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-weight: 500;
}
.ticks li {
  display: flex;
  gap: 12px;
}
.ticks li::before {
  content: '';
  flex: none;
  width: 13px;
  height: 13px;
  margin-top: 6px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--ink);
}
.ticks--ink li::before {
  background: var(--ink);
}
.card--ink .ticks li::before {
  background: var(--accent);
  border-color: var(--accent);
}
.ticks--clay li::before {
  background: var(--clay);
}
.ticks--lg {
  font-size: 18px;
  gap: 12px;
}
.ticks--lg li::before {
  margin-top: 8px;
}
.numeral {
  font-family: var(--display);
  font-weight: 700;
  font-size: 88px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--accent-deep);
}
.card--accent .numeral {
  color: var(--accent-ink);
}
.card--dark .numeral {
  color: var(--accent);
}
.steps {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.steps > * {
  flex: 1 1 240px;
  gap: 8px;
}

/* ---------- drawing tools ---------- */
.tools {
  display: flex;
  flex-direction: column;
  border-top: var(--line);
}
.tools li {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  padding: 15px 0;
  border-bottom: var(--hair);
}
.tools b {
  flex: 0 0 130px;
  font-family: var(--display);
  font-size: 20px;
}
.tools span {
  flex: 1 1 260px;
  color: var(--ink-2);
}

/* ---------- try it ---------- */
/* An invitation beside one button: the text takes the room, the button keeps its own width. */
.try {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px 64px;
  padding-top: 44px;
  border-top: var(--hair);
}
.try > .stack {
  flex: 1 1 420px;
  gap: 12px;
}
.try > .btn {
  flex: none;
}

/* ---------- documents ---------- */
.docs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.doc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 26px;
  background: var(--paper);
  border: var(--line);
  border-radius: 8px 34px 8px 8px;
  box-shadow: 6px 6px 0 var(--ink);
}
.doc::before {
  content: '';
  position: absolute;
  top: -2.5px;
  right: -2.5px;
  width: 36px;
  height: 36px;
  background: var(--accent);
  border: var(--line);
  border-radius: 0 34px 0 8px;
}
.doc__kind {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--ink-3);
}

/* ---------- code ---------- */
.code {
  background: var(--ink);
  color: #f5f5f4;
  border-radius: 22px;
  padding: 22px 24px;
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.8;
  overflow-x: auto;
}
.code .k {
  color: var(--accent);
}

/* ---------- ERP flow ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 16px;
}
.flow__node {
  flex: 1 1 170px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 24px;
  border: var(--line);
  border-radius: 28px;
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: 7px 7px 0 var(--ink);
  font-weight: 500;
}
.flow__node b {
  font-family: var(--display);
  font-size: clamp(21px, 1.9vw, 26px);
  letter-spacing: -0.02em;
}
.flow__node--erp {
  background: var(--ink);
  color: var(--ink-soft);
  box-shadow: 7px 7px 0 var(--clay);
}
.flow__node--erp b {
  color: var(--paper);
}
.hero-block .flow__node:not(.flow__node--erp) {
  background: var(--white);
  color: var(--ink);
}
.flow__links {
  flex: 1 1 170px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.flow__links li {
  padding: 10px 16px;
  border: var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  text-align: center;
}
.flow--xl .flow__node {
  flex: 1 1 260px;
  padding: 40px 36px;
  border-radius: 34px;
  font-size: 17px;
}
.flow--xl .flow__node b {
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.03em;
}
.flow--xl .flow__links {
  flex: 1 1 240px;
  gap: 12px;
}
.flow--xl .flow__links li {
  padding: 13px 20px;
  font-size: 19px;
}

/* ---------- FAQ ---------- */
.faq {
  border-top: var(--line);
}
.faq details {
  border-bottom: var(--hair);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: var(--line);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--mono);
  font-weight: 500;
}
.faq details[open] summary::after {
  content: '\2212';
  background: var(--accent);
}
.faq p {
  padding: 0 52px 22px 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 44em;
}

/* ---------- closing block and footer ---------- */
.cta-block {
  margin-top: 56px;
  background: var(--accent);
  color: var(--accent-ink);
  border-top: var(--line);
  border-radius: var(--slab) var(--slab) 0 0;
}
.cta-block__row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
  padding-block: 104px 64px;
}
.cta-block__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 7.4vw, 108px);
  line-height: 0.95;
  letter-spacing: -0.05em;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 40px;
  padding-block: 22px 36px;
  border-top: 2.5px solid var(--accent-ink);
  font-size: 16px;
  font-weight: 600;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
}
.site-footer a {
  text-decoration: none;
  padding: 8px 0;
}
.site-footer a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}
.site-footer__meta {
  flex-basis: 100%;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 400;
}

/* ---------- small screens ---------- */
@media (max-width: 700px) {
  :root {
    --gutter: 20px;
    --slab: 28px;
    --line: 2px solid var(--ink);
  }
  .section {
    padding-block: 64px;
  }
  .section--white {
    margin-inline: 8px;
  }
  .section--white > .wrap {
    padding-inline: 14px;
  }
  .hero {
    padding-top: 28px;
  }
  .page-hero {
    padding-block: 36px 64px;
  }
  .split {
    gap: 44px;
  }
  .lead {
    font-size: 19px;
  }
  .shot,
  .browser,
  .hero__shot img {
    border-width: 2px;
    border-radius: 18px;
  }
  .hero__shot img {
    border-radius: 18px 18px 0 0;
  }
  .shot,
  .browser {
    box-shadow: 8px 8px 0 var(--accent);
  }
  .shot--ink,
  .hero-block .shot,
  .hero-block .browser {
    box-shadow: 8px 8px 0 var(--ink);
  }
  .shot--clay {
    box-shadow: 8px 8px 0 var(--clay);
  }
  .shot-wrap {
    padding: 14px 10px 0;
  }
  .shot-wrap--plain {
    padding: 0 6px 0 0;
  }
  .sticker {
    font-size: 14px;
    padding: 7px 12px;
    box-shadow: 3px 3px 0 var(--ink);
  }
  .sticker--ink,
  .sticker--round {
    box-shadow: none;
  }
  .sticker--round {
    width: 92px;
    height: 92px;
    font-size: 11px;
    padding: 0;
  }
  .card {
    padding: 24px;
    border-radius: 24px;
    box-shadow: 6px 6px 0 var(--ink);
  }
  .card--ink {
    box-shadow: 6px 6px 0 var(--accent);
  }
  .card--flat,
  .card--accent,
  .card--dark {
    box-shadow: none;
    padding: 22px;
  }
  .h3 {
    font-size: 28px;
  }
  .numeral {
    font-size: 72px;
  }
  .flow--xl .flow__node {
    padding: 26px 24px;
    border-radius: 26px;
  }
  .cta-block {
    margin-top: 40px;
  }
  .cta-block__row {
    padding-block: 64px 44px;
  }
  .faq p {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .band__track {
    animation: none;
  }
  .btn,
  .sticker,
  .site-header,
  .cards > .card--ink {
    transition: none;
  }
}
