/* Strategy Scenario Lab landing. "Safran und Tinte": palette, type and the branch mark come from the app. */

@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Zilla Slab";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/zilla-slab-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/libre-franklin-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Libre Franklin";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/libre-franklin-latin-600-normal.woff2") format("woff2");
}

:root {
  --sun: #f4c430;
  --sun-soft: #fcf0c3;
  --ink: #1b2440;
  --ink-soft: #2d3962;
  --mist: #eceef3;
  --sheet: #ffffff;
  --muted: #566080;
  --line: #d5d9e4;
  --track: #e3e6ee;
  --blue: #4660d6;
  --gold: #b8890a;
  --violet: #9a5bc4;
  --jade: #1f9e86;
  --coral: #d9603f;
  --slab: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --text: "Libre Franklin", "Segoe UI", Roboto, Arial, sans-serif;
  --gutter: 16px;
  --wrap: 1160px;
  --rule: 5px;
}

*,
*::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(--sheet);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: break-word;
  hyphens: auto;
}

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

img {
  height: auto;
}

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

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

h1,
h2,
h3 {
  font-family: var(--slab);
  font-weight: 700;
  line-height: 1.08;
}

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

a:hover {
  text-decoration-color: var(--sun);
}

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

.sec--ink :focus-visible,
.foot :focus-visible {
  outline-color: var(--sun);
}

small {
  font-size: inherit;
}

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

.skip {
  position: absolute;
  left: 8px;
  top: -80px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
}

.skip:focus {
  top: 8px;
}

.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.small {
  font-size: 14.5px;
  color: var(--muted);
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* The ring at the end of the chosen branch. */
.ring {
  flex: none;
  display: inline-block;
  width: 18px;
  height: 18px;
  border: var(--rule) solid var(--ink);
  border-radius: 50%;
  background: #fff;
}

/* Header */
.top {
  background: var(--sun);
}

.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand img {
  width: 26px;
  height: 26px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
  text-decoration: none;
}

.nav a:hover,
.nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-decoration-color: var(--ink);
  text-underline-offset: 7px;
}

.nav__wide {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 12px 22px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
}

a.btn:hover {
  background: var(--ink-soft);
}

.btn--pending {
  background: transparent;
  color: var(--ink);
  border-style: dashed;
  cursor: default;
}

.textlink {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
}

/* Hero */
.hero {
  background: var(--sun);
  padding: 20px 0 44px;
}

.hero__in {
  display: grid;
  gap: 32px;
}

.kicker {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  margin-top: 14px;
  font-size: clamp(31px, 8.3vw, 46px);
  letter-spacing: -0.01em;
}

.hero h1 span {
  display: block;
}

.hero__lead {
  margin-top: 18px;
  max-width: 34em;
  font-size: 18px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
  margin-top: 24px;
}

.hero__note {
  margin-top: 10px;
  max-width: 34em;
  font-size: 14px;
}

.board {
  position: relative;
  background: var(--ink);
  color: #fff;
  border-radius: 14px;
  padding: 22px 20px 20px;
}

.board__head {
  display: grid;
  gap: 3px;
}

.board__label,
.board__unit {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sun);
}

.board__unit {
  color: #c5cbe0;
  letter-spacing: 0.06em;
}

.board__head strong {
  font-family: var(--slab);
  font-size: 22px;
  line-height: 1.15;
}

.fan {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  margin-top: 18px;
}

.fan__lines {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.fan__lines path {
  fill: none;
  stroke: var(--sun);
  stroke-width: 6px;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.fan__rows {
  display: grid;
  grid-auto-rows: 1fr;
}

.fan__rows li {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 92px;
  padding: 8px 0 8px 22px;
}

.fan__rows li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.fan__end {
  position: absolute;
  left: -4px;
  top: 50%;
  width: 14px;
  height: 6px;
  margin-top: -3px;
  background: var(--sun);
  border-radius: 0 3px 3px 0;
}

.is-first .fan__end {
  left: -6px;
  width: 22px;
  height: 22px;
  margin-top: -11px;
  border: 6px solid var(--sun);
  border-radius: 50%;
  background: var(--ink);
}

.fan__name {
  display: grid;
  gap: 2px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.25;
}

.fan__name b {
  font-family: var(--slab);
  font-size: 14px;
  color: var(--sun);
  letter-spacing: 0.08em;
}

.fan__name small {
  font-weight: 400;
  font-size: 13.5px;
  color: #c5cbe0;
}

.fan__score {
  font-family: var(--slab);
  font-weight: 700;
  font-size: clamp(46px, 13vw, 60px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.is-first .fan__score {
  color: var(--sun);
}

.board__note {
  margin-top: 16px;
  font-size: 13px;
  line-height: 1.45;
  color: #c5cbe0;
}

/* Band under the hero */
.band {
  background: var(--ink);
  color: #fff;
  padding: 26px 0 30px;
}

.band__in {
  display: grid;
  gap: 20px;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sun);
}

.facts li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.facts li::before {
  content: "";
  width: 14px;
  height: 4px;
  border-radius: 2px;
  background: var(--sun);
}

.band h2 {
  font-family: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c5cbe0;
  margin-bottom: 6px;
}

.band__note {
  padding-left: 14px;
  border-left: var(--rule) solid var(--sun);
  font-size: 16px;
}

/* Sections */
.sec {
  padding: 56px 0;
  overflow-x: clip;
}

.sec--mist {
  background: var(--mist);
}

.sec--sun {
  background: var(--sun);
}

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

.eyebrow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* A line that comes in from the left edge of the page and ends in the ring. */
.eyebrow::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 100vw;
  height: var(--rule);
  margin-top: calc(var(--rule) / -2);
  background: var(--ink);
}

.eyebrow__no {
  font-family: var(--slab);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sec--ink .eyebrow::before {
  background: var(--sun);
}

.sec--ink .eyebrow .ring {
  border-color: var(--sun);
  background: var(--ink);
}

.sec--ink .eyebrow {
  color: var(--sun);
}

.sec__head h2 {
  margin-top: 14px;
  max-width: 18em;
  font-size: clamp(29px, 7.4vw, 46px);
  letter-spacing: -0.01em;
}

.sec__head {
  margin-bottom: 26px;
}

.sec__lead {
  max-width: 44em;
  margin-bottom: 26px;
  font-size: 18px;
}

.split {
  display: grid;
  gap: 28px;
}

.split > * {
  min-width: 0;
}

.split__text {
  display: grid;
  gap: 14px;
  align-content: start;
}

/* Sheets */
.sheet {
  background: var(--sheet);
  border-radius: 14px;
  padding: 20px 18px;
}

.sheet--line {
  background: var(--mist);
}

.sheet__title {
  font-size: 20px;
  line-height: 1.2;
  margin-bottom: 14px;
}

.sheet figcaption,
figure.sheet > figcaption {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

.c-cost,
.key--a,
.s-1 {
  background: var(--blue);
}
.c-time {
  background: var(--gold);
}
.c-complexity {
  background: var(--violet);
}
.c-dependency,
.key--c,
.s-0 {
  background: var(--jade);
}
.c-benefit,
.key--b,
.s-2 {
  background: var(--coral);
}

.dot {
  flex: none;
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

/* Weights */
.sharebar {
  display: flex;
  gap: 3px;
  height: 30px;
  margin-bottom: 14px;
}

.sharebar span {
  flex-basis: 0;
  border-radius: 4px;
}

.wtable {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}

.wtable th,
.wtable td {
  padding: 10px 0 10px 10px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
  font-weight: 400;
  text-align: left;
}

.wtable th:first-child {
  padding-left: 0;
}

.wtable thead th {
  border-top: 0;
  padding-top: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.wtable .num {
  text-align: right;
  white-space: nowrap;
}

.wtable tbody th {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  line-height: 1.25;
}

.wtable tbody th small {
  display: block;
  font-weight: 400;
  font-size: 13.5px;
  color: var(--muted);
}

.wtable .big {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}

.wtable tfoot th,
.wtable tfoot td {
  border-top: 2px solid var(--ink);
  font-weight: 600;
}

/* Calculation */
.scale {
  margin-top: 8px;
  padding-top: 16px;
  border-top: var(--rule) solid var(--ink);
}

.scale h3 {
  font-size: 19px;
  margin-bottom: 8px;
}

.scale ul {
  display: grid;
  gap: 4px;
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
}

.calc li {
  display: grid;
  gap: 2px;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-variant-numeric: tabular-nums;
}

.calc__name {
  font-weight: 600;
}

.calc__name small {
  margin-left: 8px;
  font-weight: 400;
  color: var(--muted);
}

.calc__formula,
.calc__product {
  font-size: 15px;
  color: var(--ink-soft);
}

.calc b {
  color: var(--ink);
}

.calc__sum {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-top: 2px solid var(--ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.calc__result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--sun);
}

.calc__resultText {
  display: grid;
  gap: 2px;
  font-weight: 600;
}

.calc__resultText small {
  font-weight: 400;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.calc__result strong {
  font-family: var(--slab);
  font-size: clamp(48px, 13vw, 68px);
  line-height: 1;
  letter-spacing: -0.02em;
}

.rules {
  display: grid;
  gap: 22px;
  margin-top: 44px;
  padding-top: 26px;
  border-top: var(--rule) solid var(--ink);
}

.rules__head {
  display: grid;
  gap: 10px;
  align-content: start;
}

.rules__head h3 {
  font-size: 26px;
}

.rules__list {
  display: grid;
  gap: 0 32px;
}

.rules__list > div {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.rules__list dt {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 4px;
}

.rules__list dd {
  font-size: 15.5px;
  color: var(--ink-soft);
}

.rules__list dd + dd {
  margin-top: 6px;
}

/* Sensitivity chart */
.chart svg {
  width: 100%;
  height: auto;
  font-family: var(--text);
}

.chart__grid path {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.chart__grid .chart__base {
  stroke: var(--muted);
}

.chart__ticks text {
  fill: var(--muted);
  font-size: 13px;
}

.chart__today {
  stroke: var(--ink);
  stroke-width: 1.5;
  stroke-dasharray: 4 3;
  fill: none;
}

.chart__todayLabel {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.chart__line {
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.chart__line--a {
  stroke: var(--blue);
  stroke-width: 4.5;
}
.chart__line--b {
  stroke: var(--coral);
}
.chart__line--c {
  stroke: var(--jade);
}

.chart__tie {
  fill: var(--sun);
  stroke: var(--ink);
  stroke-width: 2.5;
}

.chart__badge rect {
  fill: #fff;
  stroke-width: 2;
}

.chart__badge text {
  fill: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.chart__badge--a rect {
  stroke: var(--blue);
}
.chart__badge--b rect {
  stroke: var(--coral);
}
.chart__badge--c rect {
  stroke: var(--jade);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin-top: 12px;
  font-size: 14px;
}

.legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.key {
  flex: none;
  width: 12px;
  height: 12px;
  border-radius: 4px;
}

.key--tie {
  border: 2.5px solid var(--ink);
  border-radius: 50%;
  background: var(--sun);
}

.quote {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-left: var(--rule) solid var(--sun);
  border-radius: 0 12px 12px 0;
  background: var(--sheet);
  font-size: 16px;
}

.quote__head {
  font-weight: 600;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.tags li {
  padding: 6px 12px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--sheet);
}

/* Scenarios */
.leaders {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 16px;
  border-top: var(--rule) solid var(--ink);
}

.leaders h3 {
  font-size: 19px;
}

.leaders ul {
  display: grid;
  gap: 5px;
}

.leaders li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.leaders .dot {
  border-radius: 50%;
}

.sheet .legend:first-of-type {
  margin-top: 0;
}

.bars {
  display: grid;
  gap: 6px;
  margin-top: 18px;
}

.bars__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.bars__name b {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: var(--slab);
  font-size: 14px;
  line-height: 1;
}

.bars__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 46px;
  align-items: center;
  gap: 10px;
}

.bars__track {
  display: block;
  height: 14px;
  border-radius: 7px;
  background: #fff;
  overflow: hidden;
}

.bars__track span {
  display: block;
  height: 100%;
  border-radius: 7px;
}

.bars__value {
  text-align: right;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

/* Steps along one line */
.path {
  display: grid;
  counter-reset: none;
}

.path li {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 2px 8px;
  padding: 14px 0 16px;
  border-top: 1px solid var(--line);
}

.path li:first-child {
  border-top: var(--rule) solid var(--ink);
}

.path__no {
  grid-row: span 2;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 38px;
  line-height: 0.95;
}

.path h3 {
  font-size: 20px;
  align-self: end;
}

.path p {
  grid-column: 2;
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* Screens */
.strip {
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--ink) transparent;
  padding-bottom: 10px;
}

.strip__in {
  display: flex;
  gap: 18px;
  width: max-content;
  padding: 0 var(--gutter);
}

.strip__in li {
  flex: none;
  width: 232px;
  scroll-snap-align: center;
}

.strip img {
  width: 100%;
  border: var(--rule) solid var(--ink);
  border-radius: 22px;
  background: var(--mist);
}

.strip figcaption {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.4;
}

.strip__no {
  font-family: var(--slab);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
}

.strip figcaption strong {
  font-family: var(--slab);
  font-size: 19px;
  line-height: 1.15;
}

.strip__hint {
  margin-top: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Four columns next to the number */
.cols {
  display: grid;
  gap: 0 32px;
}

.cols article {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px 0 22px;
  border-top: var(--rule) solid var(--ink);
}

.cols h3 {
  font-size: 24px;
}

.cols p {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* Limits */
.limits__lead {
  font-family: var(--slab);
  font-weight: 600;
  font-size: clamp(21px, 5.4vw, 27px);
  line-height: 1.25;
}

.limits li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: #e6e9f3;
}

.limits li:first-child {
  border-top: var(--rule) solid var(--sun);
}

/* Data grid */
.grid {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.grid li {
  padding: 18px;
  border-radius: 14px;
  background: var(--sheet);
}

.grid h3 {
  font-size: 20px;
  margin-bottom: 6px;
}

.grid p {
  font-size: 15.5px;
  color: var(--ink-soft);
}

/* Call to action */
.cta {
  background: var(--sun);
  padding: 52px 0;
}

.cta__in {
  display: grid;
  gap: 24px;
}

.cta h2 {
  font-size: clamp(30px, 7.6vw, 50px);
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.cta p {
  max-width: 36em;
}

.cta__side {
  display: grid;
  gap: 10px;
  justify-items: start;
  align-content: start;
}

.cta .small {
  color: var(--ink);
}

/* Footer */
.foot {
  background: var(--ink);
  color: #fff;
  padding: 40px 0 32px;
  font-size: 15px;
}

.foot__in {
  display: grid;
  gap: 26px;
}

.foot__brand {
  display: grid;
  gap: 8px;
  justify-items: start;
  color: #c5cbe0;
}

.brand--light {
  color: #fff;
}

.foot__col {
  display: grid;
  gap: 2px;
  justify-items: start;
  align-content: start;
}

.foot__col h2 {
  font-family: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 6px;
}

.foot__col a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
}

.foot__col p {
  color: #c5cbe0;
}

.foot__mail {
  overflow-wrap: anywhere;
}

.foot__meta {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  font-size: 13.5px;
  color: #c5cbe0;
}

.foot__meta--note {
  padding-top: 0;
  border-top: 0;
  margin-top: -14px;
}

/* Document pages */
.doc {
  background: var(--mist);
  padding: 36px 0 64px;
  overflow-x: clip;
}

.doc--short {
  padding-bottom: 96px;
}

.doc .wrap {
  max-width: calc(860px + 2 * var(--gutter));
}

.doc__head {
  display: grid;
  gap: 14px;
  justify-items: start;
  margin-bottom: 28px;
}

.doc__head h1 {
  font-size: clamp(30px, 8vw, 58px);
  letter-spacing: -0.01em;
}

.lead {
  font-size: 18px;
  max-width: 40em;
}

.doc__body {
  display: grid;
  gap: 12px;
}

.doc__body > section {
  display: grid;
  gap: 12px;
  padding: 22px 18px;
  border-radius: 14px;
  background: var(--sheet);
}

.doc__body > .summary {
  background: var(--sun);
}

.doc__body > .contact {
  background: var(--ink);
  color: #fff;
}

.contact .small {
  color: #c5cbe0;
}

.doc__body h2 {
  font-size: 25px;
}

.doc__body h3 {
  font-size: 19px;
  margin-top: 6px;
}

.doc__body > p {
  padding: 0 4px;
}

.list {
  display: grid;
  gap: 8px;
}

.list li {
  position: relative;
  padding-left: 26px;
}

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

.mail {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: clamp(19px, 5.4vw, 28px);
  overflow-wrap: anywhere;
}

.tablewrap {
  overflow-x: auto;
}

.ptable {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
}

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

.ptable thead th {
  border-top: 0;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.ptable td:last-child {
  width: 34%;
  padding-right: 0;
}

.steps {
  display: grid;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
  position: relative;
  padding: 12px 0 12px 48px;
  border-top: 1px solid var(--line);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 34px;
  line-height: 1;
}

.steps h3 {
  margin: 0 0 4px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 52px;
  padding: 10px 0;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--slab);
  font-weight: 700;
  font-size: 26px;
  line-height: 1;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  padding-bottom: 12px;
  color: var(--ink-soft);
}

.release h2 {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 12px;
}

.release__no {
  font-size: 44px;
  line-height: 1;
}

.tag {
  padding: 4px 10px;
  border-radius: 8px;
  background: var(--sun);
  font-family: var(--text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* From small tablets */
@media (min-width: 640px) {
  :root {
    --gutter: 28px;
  }

  .nav__wide {
    display: inline-flex !important;
  }

  .nav a {
    padding: 0 10px;
  }

  .brand {
    font-size: 18px;
    gap: 9px;
  }

  .brand img {
    width: 30px;
    height: 30px;
  }

  .path {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 32px;
  }

  .path li:nth-child(2) {
    border-top: var(--rule) solid var(--ink);
  }

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

  .calc li {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.7fr) minmax(0, 1.1fr);
    align-items: baseline;
    gap: 12px;
  }

  .calc__name small {
    display: block;
    margin-left: 0;
  }

  .calc__product {
    text-align: right;
  }

  .sheet {
    padding: 28px;
  }

  .doc__body > section {
    padding: 30px 32px;
  }

  .foot__in {
    grid-template-columns: 1.6fr 1fr 1.2fr;
  }

  .foot__meta {
    grid-column: 1 / -1;
  }

  .band__in {
    grid-template-columns: 1fr 1fr;
    gap: 22px 40px;
  }

  .facts {
    grid-column: 1 / -1;
  }
}

/* Desktop */
@media (min-width: 1000px) {
  body {
    font-size: 18px;
  }

  .top__in {
    min-height: 76px;
  }

  .brand {
    font-size: 21px;
  }

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

  .nav {
    font-size: 15.5px;
    gap: 6px;
  }

  .hero {
    padding: 36px 0 76px;
  }

  .hero__in {
    grid-template-columns: minmax(0, 1fr) 470px;
    gap: 84px;
    align-items: center;
  }

  .hero h1 {
    font-size: clamp(44px, 3.7vw, 54px);
  }

  .hero__lead {
    font-size: 20px;
  }

  .board {
    padding: 30px 30px 26px;
  }

  /* The stem starts on the saffron side and changes colour where it crosses into the ink field. */
  .fan::before {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 86px;
    height: 6px;
    margin-top: -3px;
    margin-right: 30px;
    border-radius: 3px 0 0 3px;
    background: var(--ink);
  }

  .fan::after {
    content: "";
    position: absolute;
    right: 100%;
    top: 50%;
    width: 30px;
    height: 6px;
    margin-top: -3px;
    background: var(--sun);
  }

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

  .fan__rows li {
    min-height: 112px;
  }

  .fan__name {
    font-size: 18px;
  }

  .fan__score {
    font-size: 72px;
  }

  .sec {
    padding: 96px 0;
  }

  .sec__head {
    margin-bottom: 40px;
  }

  .sec__head h2 {
    font-size: 52px;
  }

  .sec__lead {
    font-size: 20px;
    margin-bottom: 36px;
  }

  .split {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 64px;
    align-items: start;
  }

  .split--wide {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }

  .split--chart {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .split--center {
    align-items: center;
  }

  .sheet {
    padding: 34px;
  }

  .path {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0;
    border-top: var(--rule) solid var(--ink);
  }

  .path li,
  .path li:first-child,
  .path li:nth-child(2) {
    display: block;
    padding: 0 22px 0 0;
    border-top: 0;
  }

  /* A tick on the line for each step, the ring at the end. */
  .path li::before {
    content: "";
    display: block;
    width: var(--rule);
    height: 22px;
    background: var(--ink);
  }

  .path li:last-child::after {
    content: "";
    position: absolute;
    right: -2px;
    top: -14px;
    width: 24px;
    height: 24px;
    border: var(--rule) solid var(--ink);
    border-radius: 50%;
    background: var(--sun);
  }

  .path__no {
    display: block;
    margin-top: 12px;
    font-size: 64px;
  }

  .path h3 {
    margin: 10px 0 8px;
    font-size: 22px;
  }

  .rules {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: 64px;
    margin-top: 72px;
    padding-top: 36px;
  }

  .rules__head h3 {
    font-size: 32px;
  }

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

  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 26px;
  }

  .grid li {
    padding: 24px;
  }

  /* Enough room for all eight: a grid instead of the strip. */
  .strip {
    overflow: visible;
    padding-bottom: 0;
  }

  .strip__in {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 44px 36px;
    width: 100%;
    max-width: calc(var(--wrap) + 2 * var(--gutter));
    margin: 0 auto;
  }

  .strip__in li {
    width: auto;
  }

  .strip figcaption {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 2px 12px;
    font-size: 15px;
  }

  .strip__no {
    grid-row: span 2;
    font-size: 44px;
  }

  .strip__hint {
    display: none;
  }

  .cta {
    padding: 88px 0;
  }

  .cta__in {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 64px;
    align-items: center;
  }

  .band {
    padding: 30px 0 36px;
  }

  .band__in {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: 22px 64px;
  }

  .doc {
    padding: 64px 0 96px;
  }

  .doc__head {
    margin-bottom: 40px;
  }

  .lead {
    font-size: 20px;
  }

  .foot {
    padding: 56px 0 40px;
  }
}

/* Phones: the privacy table becomes a list, purpose under the data. */
@media (max-width: 639px) {
  .ptable,
  .ptable tbody,
  .ptable tr,
  .ptable td {
    display: block;
  }

  .ptable thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .ptable tr {
    padding: 10px 0;
    border-top: 1px solid var(--line);
  }

  .ptable td,
  .ptable td:last-child {
    width: auto;
    padding: 0;
    border-top: 0;
  }

  .ptable td:last-child {
    margin-top: 4px;
    font-weight: 600;
  }
}

.band__note {
  align-self: start;
}
