/*
  hinterhand.com
  Fonts, self-hosted (no request to Google):
    Newsreader      SIL Open Font License 1.1 (Production Type)
    IBM Plex Sans   SIL Open Font License 1.1 (IBM)
    IBM Plex Mono   SIL Open Font License 1.1 (IBM)
  No inline styles anywhere: the CSP in public/_headers forbids them.
*/
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("fonts/ibm-plex-mono-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/newsreader-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/newsreader-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/newsreader-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url("fonts/newsreader-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f4f0e7;
  --paper-2: #ebe5d8;
  --card: #fbf9f4;
  --ink: #15171a;
  --ink-2: #3a3d42;
  --muted: #5a5d63;
  --rule: #cfc8b8;
  --accent: #a3330f;
  --accent-bright: #e2643f;
  --on-ink: #f4f0e7;
  --on-ink-muted: #b9b4a8;
  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1160px;
  --gutter: 24px;
}

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

html {
  -webkit-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;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a:hover {
  color: var(--accent);
}

/* On ink surfaces the dark accent fails contrast; links there hover in the bright accent. */
.band a:hover,
.layer--back a:hover,
.versus__col + .versus__col a:hover,
.flow__step--human a:hover {
  color: var(--accent-bright);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.band :focus-visible {
  outline-color: var(--on-ink);
}

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

.skip {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 10;
  padding: 12px 16px;
  background: var(--ink);
  color: var(--on-ink);
}

.skip:focus {
  top: 12px;
  color: var(--on-ink);
}

.mono {
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ---------- Header ---------- */

.top {
  border-bottom: 1px solid var(--rule);
}

.top__in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  min-height: 76px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  margin-right: auto;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 25px;
  letter-spacing: -0.01em;
  text-decoration: none;
}

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

.logo svg {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
}

.mainnav {
  display: flex;
  gap: 4px 26px;
}

.mainnav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15.5px;
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid transparent;
}

.mainnav a:hover {
  border-bottom-color: var(--rule);
  color: var(--ink);
}

.mainnav a[aria-current="page"] {
  border-bottom-color: var(--accent);
}

.lang {
  flex: 0 0 auto;
  display: inline-flex;
  border: 1px solid var(--ink);
}

.lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-decoration: none;
}

.lang a + a {
  border-left: 1px solid var(--ink);
}

.lang a:hover {
  background: var(--paper-2);
  color: var(--ink);
}

.lang a[aria-current="page"],
.lang a[aria-current="page"]:hover {
  background: var(--ink);
  color: var(--on-ink);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 12px 26px;
  background: var(--ink);
  color: var(--on-ink);
  border: 1px solid var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16.5px;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn--sm {
  min-height: 44px;
  padding: 8px 18px;
  font-size: 15px;
}

.btn--light {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}

.btn--light:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: var(--ink);
}

.arrow {
  font-family: var(--sans);
}

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

.hero {
  padding: 84px 0 96px;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 72px;
  align-items: center;
}

.hero--page .hero__grid {
  grid-template-columns: minmax(0, 1fr);
}

.hero--page .hero__grid > div {
  max-width: 920px;
}

/* Brand names keep their spelling inside uppercase labels. */
.keepcase {
  text-transform: none;
  letter-spacing: 0.04em;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  margin-bottom: 26px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1.03;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
}

.lead {
  margin-top: 28px;
  max-width: 40em;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.55;
  color: var(--ink-2);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
  margin-top: 38px;
}

.plainmail {
  font-size: 15px;
  color: var(--muted);
}

.plainmail a {
  display: inline-block;
  padding: 11px 0;
  color: var(--ink);
}

/* The reserve: index cards standing behind the front card. */

.stack {
  position: relative;
  padding-top: 132px;
}

.stack__tab {
  position: absolute;
  left: 0;
  right: 0;
  height: 200px;
  padding: 11px 18px;
  background: var(--paper-2);
  border: 1px solid var(--ink);
  color: var(--ink-2);
}

.stack__tab--1 {
  top: 0;
  margin: 0 54px;
}

.stack__tab--2 {
  top: 33px;
  margin: 0 36px;
}

.stack__tab--3 {
  top: 66px;
  margin: 0 18px;
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.stack__tab--4 {
  top: 99px;
}

.stack__front {
  position: relative;
  padding: 34px 32px 36px;
  background: var(--card);
  border: 1px solid var(--ink);
}

.entry__word {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.entry__meta {
  margin-top: 6px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
}

.entry__def {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--rule);
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.42;
}

.entry__def + .entry__def {
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}

.entry__num {
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-right: 8px;
}

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

.sec {
  padding: 84px 0;
  border-top: 1px solid var(--rule);
}

.sec__grid {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: 48px;
}

.sec__label {
  color: var(--muted);
  padding-top: 10px;
}

.sec__label b {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  color: var(--accent);
}

h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(31px, 3.7vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  max-width: 21em;
  text-wrap: balance;
}

.sec__body > p,
.prose p {
  margin-top: 22px;
  max-width: 42em;
  color: var(--ink-2);
}

.sec__body > p.big {
  font-size: clamp(18px, 1.5vw, 20px);
}

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.008em;
}

/* Two doors */

.doors {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 44px;
}

.door {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 30px 30px 28px;
  background: var(--card);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.door:hover {
  background: var(--ink);
  color: var(--on-ink);
}

.door__kicker {
  color: var(--accent);
}

.door:hover .door__kicker {
  color: var(--accent-bright);
}

.door__title {
  margin-top: 18px;
  font-family: var(--serif);
  font-size: clamp(27px, 2.7vw, 35px);
  line-height: 1.12;
  letter-spacing: -0.015em;
}

.door__text {
  margin-top: 14px;
  color: var(--ink-2);
}

.door:hover .door__text {
  color: var(--on-ink-muted);
}

.door__go {
  margin-top: auto;
  padding-top: 28px;
  font-weight: 500;
}

/* Rows: name left, description right */

.rows {
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}

.row {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 12px 40px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}

.row__name {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.row__role {
  display: block;
  margin-top: 8px;
  color: var(--muted);
}

.row__text {
  color: var(--ink-2);
  max-width: 40em;
}

.row__text p + p {
  margin-top: 12px;
}

/* Feature grid */

.grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 48px;
  margin-top: 40px;
  border-top: 1px solid var(--ink);
}

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

.item {
  padding: 26px 0 28px;
  border-bottom: 1px solid var(--rule);
}

.item p {
  margin-top: 10px;
  color: var(--ink-2);
}

.item__kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
}

/* Bulleted facts */

.facts {
  margin-top: 26px;
  max-width: 44em;
}

.facts li {
  position: relative;
  padding: 13px 0 13px 30px;
  border-bottom: 1px solid var(--rule);
  color: var(--ink-2);
}

.facts li:first-child {
  border-top: 1px solid var(--rule);
}

.facts li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 24px;
  width: 12px;
  height: 1px;
  background: var(--accent);
}

/* Comparison */

.versus {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 40px;
  border: 1px solid var(--ink);
}

.versus__col {
  padding: 28px 30px 30px;
  background: var(--card);
}

.versus__col + .versus__col {
  border-left: 1px solid var(--ink);
  background: var(--ink);
  color: var(--on-ink);
}

.versus__head {
  color: var(--muted);
  margin-bottom: 12px;
}

.versus__col + .versus__col .versus__head {
  color: var(--accent-bright);
}

.versus li {
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}

.versus__col + .versus__col li {
  border-top-color: #3a3d42;
}

/* Flow diagram */

.flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
  counter-reset: step;
}

.flow__step {
  position: relative;
  padding: 24px 22px 26px;
  background: var(--card);
  border: 1px solid var(--ink);
  border-left-width: 0;
  counter-increment: step;
}

.flow__step:first-child {
  border-left-width: 1px;
}

.flow__step::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 30px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.flow__step:not(:last-child)::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: 29px;
  right: -7px;
  width: 12px;
  height: 12px;
  background: var(--card);
  border-top: 1px solid var(--ink);
  border-right: 1px solid var(--ink);
  transform: rotate(45deg);
}

.flow__step--human {
  background: var(--ink);
  color: var(--on-ink);
}

.flow__step--human::before {
  color: var(--accent-bright);
}

.flow__step--human:not(:last-child)::after {
  background: var(--ink);
}

.flow__step p {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-2);
}

.flow__step--human p {
  color: var(--on-ink-muted);
}

.flow__out {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule);
}

.flow__out h3 {
  font-size: 20px;
}

.flow__note {
  margin-top: 18px;
  color: var(--muted);
}

/* Layers: front of stage vs. behind */

.layers {
  margin-top: 40px;
  border: 1px solid var(--ink);
}

.layer {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 8px 32px;
  padding: 24px 28px;
  background: var(--card);
}

.layer + .layer {
  border-top: 1px solid var(--ink);
}

.layer--back {
  background: var(--ink);
  color: var(--on-ink);
}

.layer__tag {
  color: var(--accent);
  padding-top: 6px;
}

.layer--back .layer__tag {
  color: var(--accent-bright);
}

.layer p {
  margin-top: 6px;
  color: var(--ink-2);
}

.layer--back p {
  color: var(--on-ink-muted);
}

/* Note box */

.note {
  margin-top: 36px;
  max-width: 46em;
  padding: 22px 26px;
  border-left: 3px solid var(--accent);
  background: var(--paper-2);
}

.note .mono {
  display: block;
  margin-bottom: 8px;
  color: var(--accent);
}

/* Dark band */

.band {
  background: var(--ink);
  color: var(--on-ink);
  padding: 88px 0;
}

.band .sec__label {
  color: var(--on-ink-muted);
}

.band .sec__label b {
  color: var(--accent-bright);
}

.band .sec__body > p {
  color: var(--on-ink-muted);
}

.band a:hover {
  color: var(--accent-bright);
}

.band .facts li {
  color: var(--on-ink);
  border-color: #3a3d42;
}

.band .facts li::before {
  background: var(--accent-bright);
}

/* Closing call */

.cta {
  padding: 96px 0 104px;
  border-top: 1px solid var(--rule);
}

.cta h2 {
  font-size: clamp(36px, 5vw, 64px);
  max-width: 15em;
}

.cta p {
  margin-top: 22px;
  max-width: 38em;
  color: var(--ink-2);
  font-size: 19px;
}

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

.foot {
  border-top: 1px solid var(--ink);
  background: var(--paper-2);
  padding: 64px 0 40px;
  font-size: 15.5px;
}

.imprint h2 {
  font-size: 30px;
}

.imprint__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 36px;
  margin-top: 28px;
  padding-bottom: 44px;
  border-bottom: 1px solid var(--rule);
}

.imprint__grid h3 {
  margin-bottom: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

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

.imprint__grid a {
  display: inline-block;
  padding: 10px 0;
}

.foot__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 32px;
  padding-top: 28px;
  color: var(--muted);
}

.imprint + .foot__bar {
  padding-top: 24px;
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 26px;
}

.foot__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}

/* ---------- Legal and 404 ---------- */

.legal {
  padding: 72px 0 96px;
}

.legal__in {
  max-width: 46em;
}

.legal h1 {
  font-size: clamp(38px, 5vw, 60px);
}

.legal h2 {
  margin-top: 44px;
  font-size: 27px;
}

.legal p,
.legal ul {
  margin-top: 14px;
  color: var(--ink-2);
}

.legal ul {
  padding-left: 20px;
  list-style: disc;
}

.legal li + li {
  margin-top: 8px;
}

.legal .fineprint {
  margin-top: 40px;
  font-size: 14.5px;
  color: var(--muted);
}

.legal .btn {
  margin-top: 28px;
}

.notfound__alt {
  margin-top: 10px;
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--muted);
}

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

@media (max-width: 980px) {
  .hero {
    padding: 56px 0 72px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .stack {
    max-width: 520px;
  }

  .sec,
  .band {
    padding: 64px 0;
  }

  .sec__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .sec__label {
    padding-top: 0;
  }

  .sec__label b {
    display: inline;
    margin-right: 10px;
  }

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

  .flow__step:nth-child(3) {
    border-left-width: 1px;
  }

  .flow__step:nth-child(n + 3) {
    border-top-width: 0;
  }

  .flow__step:nth-child(2)::after {
    display: none;
  }

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

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

@media (max-width: 700px) {
  :root {
    --gutter: 20px;
  }

  body {
    font-size: 16.5px;
  }

  .top__in {
    gap: 0 16px;
  }

  .top .btn {
    display: none;
  }

  .mainnav {
    order: 3;
    flex-basis: 100%;
    gap: 0 24px;
  }

  .doors,
  .grid,
  .grid--3,
  .versus,
  .flow {
    grid-template-columns: minmax(0, 1fr);
  }

  .door {
    min-height: 0;
    padding: 26px 24px;
  }

  .grid {
    gap: 0;
  }

  .row,
  .layer {
    grid-template-columns: minmax(0, 1fr);
  }

  .layer {
    padding: 22px 22px;
  }

  .versus__col + .versus__col {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .versus__col {
    padding: 24px 22px;
  }

  .flow__step,
  .flow__step:nth-child(3) {
    border-left-width: 1px;
  }

  .flow__step:nth-child(n + 2) {
    border-top-width: 0;
  }

  .flow__step::before {
    margin-bottom: 14px;
  }

  .flow__step:not(:last-child)::after,
  .flow__step:nth-child(2)::after {
    display: block;
    top: auto;
    right: auto;
    bottom: -7px;
    left: 26px;
    transform: rotate(135deg);
  }

  .stack {
    padding-top: 116px;
  }

  .stack__tab--1 {
    margin: 0 36px;
  }

  .stack__tab--2 {
    top: 29px;
    margin: 0 24px;
  }

  .stack__tab--3 {
    top: 58px;
    margin: 0 12px;
  }

  .stack__tab--4 {
    top: 87px;
  }

  .stack__front {
    padding: 26px 22px 28px;
  }

  .entry__word {
    font-size: 34px;
  }

  .entry__def {
    font-size: 19px;
  }

  .cta {
    padding: 72px 0 80px;
  }

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