/* Fenstra website. The app's own world: a building at dusk, the night blue of its rail, the one lit pane of its mark, and Archivo. */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  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-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  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 {
  --night: #0c1824;
  --night-2: #12293d;
  --night-3: #1b3247;
  --lit: #f5a524;
  --lit-strong: #ffb53d;
  --lit-soft: #fff3da;
  --lit-ink: #8a5300;
  --ink: #121c26;
  --muted: #4f5d6b;
  --faint: #66727f;
  --line: #e1e6eb;
  --line-strong: #c7d0d8;
  --canvas: #f3f5f7;
  --paper: #ffffff;
  --teal: #0f766e;
  --teal-ink: #0b5c56;
  --teal-soft: #e7f2f0;
  --danger: #b42318;
  --on-night: rgb(255 255 255 / 0.8);
  --on-night-faint: rgb(255 255 255 / 0.62);
  --radius: 10px;
  --shadow-paper: 0 30px 60px -28px rgb(4 12 20 / 0.55), 0 6px 16px -6px rgb(4 12 20 / 0.25);
  --shadow-shot: 0 22px 44px -24px rgb(12 24 36 / 0.42), 0 2px 6px rgb(12 24 36 / 0.08);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
  accent-color: var(--lit);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  scrollbar-color: var(--line-strong) var(--canvas);
  background: var(--night);
}

body {
  font-family: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  caret-color: var(--lit-ink);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

h1,
h2,
h3 {
  font-stretch: 106%;
  letter-spacing: -0.015em;
  text-wrap: balance;
  line-height: 1.12;
}

h2 {
  font-size: clamp(1.85rem, 1.2rem + 2.4vw, 3rem);
  font-weight: 760;
  letter-spacing: -0.022em;
}

h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

::selection {
  background: rgb(245 165 36 / 0.32);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--lit);
  outline-offset: 3px;
  border-radius: 4px;
}

.tnum {
  font-variant-numeric: tabular-nums;
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.i {
  width: 1.15em;
  height: 1.15em;
  flex: none;
}

.wrap {
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--lit);
  color: var(--night);
  font-weight: 700;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  min-height: 52px;
  padding: 0 1.4em;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s, transform 0.2s var(--ease-out);
}

.btn .i {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .i {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-lit {
  background: var(--lit);
  color: var(--night);
}

.btn-lit:hover {
  background: var(--lit-strong);
}

.btn-line {
  border-color: rgb(255 255 255 / 0.4);
  color: #fff;
}

.btn-line:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
}

.btn-small {
  min-height: 40px;
  padding: 0 1em;
  font-size: 0.9375rem;
}

.btn-wide {
  width: 100%;
}

.btn[disabled] {
  cursor: progress;
  opacity: 0.8;
}

/* Header */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: #fff;
  transition: background-color 0.25s, box-shadow 0.25s;
}

.top[data-scrolled],
.top[data-open] {
  background: var(--night);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.08);
}

.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 72px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-size: 1.35rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: -0.025em;
}

.logo .mark {
  width: 30px;
  height: 30px;
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-nav ul {
  display: flex;
  gap: 4px;
  padding: 0;
  list-style: none;
}

.top-nav ul a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--on-night);
  font-size: 0.9375rem;
  font-weight: 560;
  text-decoration: none;
}

.top-nav ul a:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.08);
}

.langs {
  display: flex;
  border: 1px solid rgb(255 255 255 / 0.28);
  border-radius: 8px;
  overflow: hidden;
}

.langs a {
  min-width: 38px;
  padding: 7px 8px;
  color: var(--on-night);
  font-size: 0.8125rem;
  font-weight: 650;
  text-align: center;
  text-decoration: none;
}

.langs a:hover {
  color: #fff;
}

.langs a[aria-current] {
  background: #fff;
  color: var(--night);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.menu-button .i {
  width: 22px;
  height: 22px;
}

.menu-close {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-open {
  display: none;
}

.menu-button[aria-expanded="true"] .menu-close {
  display: block;
}

@media (max-width: 1060px) {
  .menu-button {
    display: inline-flex;
  }

  .top-nav {
    position: fixed;
    inset: 72px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    padding: 12px var(--gutter) 24px;
    background: var(--night);
    border-top: 1px solid rgb(255 255 255 / 0.08);
  }

  .top[data-open] .top-nav {
    display: flex;
  }

  .top-nav ul {
    flex-direction: column;
  }

  .top-nav ul a {
    padding: 13px 4px;
    font-size: 1.0625rem;
    border-radius: 0;
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
  }

  .langs {
    align-self: flex-start;
  }

  .langs a {
    min-width: 52px;
    padding: 10px;
  }

  .top-nav .btn {
    min-height: 52px;
  }
}

/* Hero: the drawing on the drafting table, in front of the building at dusk */
.hero {
  position: relative;
  isolation: isolate;
  padding: clamp(112px, 13vh, 150px) 0 0;
  background: var(--night);
  color: #fff;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 30% 40%;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(8 20 33 / 0.92) 0%, rgb(8 20 33 / 0.78) 45%, rgb(8 20 33 / 0.45) 100%),
    linear-gradient(180deg, rgb(8 20 33 / 0.5) 0%, transparent 30%);
}

.hero h1 {
  font-size: clamp(2.4rem, 1.2rem + 3.6vw, 4.25rem);
  font-weight: 780;
  font-stretch: 104%;
  line-height: 1.02;
  letter-spacing: -0.028em;
}

.hero h1 em {
  display: block;
  font-style: normal;
  color: var(--lit);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 4.4fr) minmax(0, 7.6fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  margin-top: clamp(28px, 4vw, 44px);
}

.hero .lead {
  max-width: 42ch;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.2rem);
  line-height: 1.6;
  color: var(--on-night);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

/* The drawing sheet */
.sheet {
  position: relative;
  margin-bottom: -150px;
  padding: 12px;
  border-radius: 6px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}

.sheet::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  pointer-events: none;
}

.sheet-label {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--lit);
  font-size: 0.9375rem;
  font-weight: 650;
}

.sheet-label::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.sheet-body {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
}

.sheet-drawing {
  position: relative;
  padding: 34px 8px 4px 14px;
  border-right: 1px solid var(--ink);
}

.sheet-tag {
  position: absolute;
  top: 12px;
  left: 14px;
  right: 10px;
  font-size: 0.875rem;
  font-weight: 650;
  line-height: 1.3;
}

.sheet-tag span:first-child {
  margin-right: 6px;
  color: var(--faint);
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.drawing {
  width: 100%;
  height: auto;
  aspect-ratio: 420 / 380;
}

.sheet-controls {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 18px 18px 16px;
}

.sheet-controls fieldset {
  min-width: 0;
  padding: 0;
  border: 0;
}

.sheet-controls legend,
.range-head {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.segs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.segs legend {
  float: left;
  grid-column: 1 / -1;
}

.seg {
  position: relative;
}

.seg input,
.swatch input,
.toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  inset: 0;
  margin: 0;
  cursor: pointer;
}

.seg span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 6px 4px;
  border: 1px solid var(--line-strong);
  margin-left: -1px;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  hyphens: auto;
  overflow-wrap: anywhere;
  transition: background-color 0.18s, color 0.18s;
}

.seg:first-of-type span {
  border-radius: 8px 0 0 8px;
  margin-left: 0;
}

.seg:last-of-type span {
  border-radius: 0 8px 8px 0;
}

.seg input:checked + span {
  position: relative;
  z-index: 1;
  border-color: var(--night);
  background: var(--night);
  color: #fff;
}

.seg input:focus-visible + span,
.swatch input:focus-visible + .chip,
.toggle input:focus-visible + .toggle-track {
  outline: 2px solid var(--lit);
  outline-offset: 2px;
}

.range {
  display: block;
}

.range-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.range-head output {
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
}

input[type="range"] {
  width: 100%;
  height: 28px;
  margin: 0;
  background: transparent;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--lit) var(--fill, 50%), var(--line) var(--fill, 50%));
}

input[type="range"]::-moz-range-track {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
}

input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 4px;
  background: var(--lit);
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -9px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgb(12 24 36 / 0.25);
}

input[type="range"]::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 2px solid var(--night);
  border-radius: 50%;
  background: #fff;
}

input[type="range"]:focus-visible {
  outline: none;
}

input[type="range"]:focus-visible::-webkit-slider-thumb {
  outline: 2px solid var(--lit);
  outline-offset: 2px;
}

.swatches {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.swatches legend {
  float: left;
  grid-column: 1 / -1;
}

.swatch {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 560;
  line-height: 1.2;
  text-align: center;
}

.chip {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgb(12 24 36 / 0.25);
  transition: box-shadow 0.18s;
}

.swatch-white .chip {
  background: #f6f6f3;
}

.swatch-anthracite .chip {
  background: #383e42;
}

.swatch-oak .chip {
  background: linear-gradient(115deg, #b0763d 0 30%, #9a612d 30% 42%, #b67c42 42% 70%, #94592a 70%);
}

.swatch input:checked + .chip {
  box-shadow: inset 0 0 0 1px rgb(12 24 36 / 0.25), 0 0 0 2px #fff, 0 0 0 4px var(--night);
}

.toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  font-size: 0.9375rem;
  font-weight: 600;
}

.toggle-track {
  position: relative;
  width: 42px;
  height: 24px;
  border-radius: 24px;
  background: var(--line-strong);
  transition: background-color 0.2s;
}

.toggle-track::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgb(12 24 36 / 0.3);
  transition: transform 0.25s var(--ease-out);
}

.toggle input:checked + .toggle-track {
  background: var(--night);
}

.toggle input:checked + .toggle-track::after {
  transform: translateX(18px);
}

/* The title block in the corner of every technical drawing, here with the price in it */
.title-block {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr);
  border-top: 1px solid var(--ink);
}

.tb-notes {
  padding: 12px 14px 14px;
  border-right: 1px solid var(--ink);
  font-size: 0.8125rem;
}

.tb-label,
.tb-cells dt {
  color: var(--faint);
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.tb-notes ol {
  margin-top: 4px;
  padding-left: 1.1em;
  color: var(--muted);
  line-height: 1.45;
}

.tb-cells {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

.tb-cells > div {
  padding: 9px 14px 10px;
  border-bottom: 1px solid var(--line-strong);
  min-width: 0;
}

.tb-cells > div:nth-child(odd) {
  border-right: 1px solid var(--line-strong);
}

.tb-cells dd {
  margin-top: 1px;
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.tb-cells > div:nth-child(2) {
  border-right: 0;
}

.tb-cells .tb-price {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 0;
  border-right: 0;
  background: var(--lit-soft);
}

.tb-price dt {
  color: var(--lit-ink);
}

.tb-price dd {
  font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.1rem);
  font-weight: 780;
  font-stretch: 104%;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.sheet-note {
  padding: 8px 6px 0;
  color: var(--faint);
  font-size: 0.8125rem;
}

/* The drawing itself */
.d-frame {
  stroke: var(--ink);
  stroke-width: 1.4;
  fill: var(--frame, #f6f6f3);
  transition: fill 0.35s;
}

.d-sash {
  stroke: var(--ink);
  stroke-width: 1;
  fill: var(--frame, #f6f6f3);
  transition: fill 0.35s;
}

.d-glass {
  fill: #dbeaf3;
  stroke: var(--ink);
  stroke-width: 0.8;
}

.d-glare {
  stroke: #ffffff;
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.9;
}

.d-sym {
  fill: none;
  stroke: #33414e;
  stroke-width: 0.9;
  stroke-dasharray: 5 4;
}

.d-box {
  fill: var(--frame, #f6f6f3);
  stroke: var(--ink);
  stroke-width: 1.2;
  transition: fill 0.35s;
}

.d-slat {
  stroke: rgb(18 28 38 / 0.35);
  stroke-width: 0.8;
}

.d-dim {
  stroke: #c47f0e;
  stroke-width: 1;
  fill: none;
}

.d-ext {
  stroke: #c47f0e;
  stroke-width: 0.7;
  stroke-dasharray: 2 3;
}

.d-dim-text {
  fill: var(--ink);
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

[data-colour="anthracite"] {
  --frame: #3a4045;
}

[data-colour="oak"] {
  --frame: #a46a33;
}

/* The first look at the page: the frame draws itself while the windows behind it light up. */
@media (prefers-reduced-motion: no-preference) {
  .drawing.is-drawing .d-frame,
  .drawing.is-drawing .d-sash,
  .drawing.is-drawing .d-glass,
  .drawing.is-drawing .d-box {
    stroke-dasharray: 2400;
    animation: draw 1.6s var(--ease-out) both;
    fill-opacity: 0;
  }

  .drawing.is-drawing .d-frame,
  .drawing.is-drawing .d-sash,
  .drawing.is-drawing .d-box {
    animation: draw 1.6s var(--ease-out) both, fill-in 0.6s ease-out 0.9s forwards;
  }

  .drawing.is-drawing .d-glass {
    animation: draw 1.6s var(--ease-out) both, fill-in 0.6s ease-out 1.1s forwards;
  }

  .drawing.is-drawing .d-dim,
  .drawing.is-drawing .d-ext,
  .drawing.is-drawing .d-dim-text,
  .drawing.is-drawing .d-sym,
  .drawing.is-drawing .d-glare {
    opacity: 0;
    animation: appear 0.5s ease-out 1.25s forwards;
  }

  .tb-price dd.is-ticking {
    color: var(--lit-ink);
    transition: color 0.4s;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 2400;
  }
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes fill-in {
  to {
    fill-opacity: 1;
  }
}

@keyframes appear {
  to {
    opacity: 1;
  }
}

/* Sound familiar? */
.pain {
  padding: 210px 0 clamp(72px, 9vw, 120px);
}

.pain-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.chat {
  max-width: 420px;
  padding: 18px 18px 22px;
  border-radius: 18px;
  background: #e8edf1;
  box-shadow: inset 0 0 0 1px var(--line);
}

.chat-from {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9375rem;
  font-weight: 700;
}

.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--night);
  color: #fff;
  font-size: 0.875rem;
}

.bubbles {
  display: grid;
  gap: 8px;
  padding: 0;
  list-style: none;
}

.bubble {
  position: relative;
  justify-self: start;
  max-width: 88%;
  padding: 9px 14px 7px;
  border-radius: 4px 16px 16px 16px;
  background: #fff;
  box-shadow: 0 1px 1px rgb(12 24 36 / 0.08);
}

.bubble p {
  font-size: 0.9875rem;
  line-height: 1.4;
}

.bubble time {
  display: block;
  margin-top: 2px;
  color: var(--faint);
  font-size: 0.75rem;
  text-align: right;
}

.pain-copy p {
  max-width: 50ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
}

/* What Fenstra puts in your offer: a quotation, the document the product is about */
.benefits {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.offer {
  margin-top: clamp(28px, 4vw, 44px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
}

.offer-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px clamp(16px, 3vw, 32px);
  border-bottom: 2px solid var(--night);
}

.offer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.15rem;
  font-weight: 700;
  font-stretch: 125%;
  letter-spacing: -0.025em;
}

.offer-logo .mark {
  width: 24px;
  height: 24px;
}

.offer-meta {
  color: var(--muted);
  font-size: 0.9375rem;
}

.offer-meta strong {
  color: var(--ink);
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.offer table {
  width: 100%;
  border-collapse: collapse;
}

.offer th,
.offer td {
  padding: 18px 12px;
  text-align: left;
  vertical-align: top;
}

.offer thead th {
  padding-block: 10px;
  color: var(--faint);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
}

.offer .pos {
  width: 64px;
  padding-left: clamp(16px, 3vw, 32px);
  color: var(--faint);
  font-weight: 650;
}

.offer .incl {
  width: 120px;
  padding-right: clamp(16px, 3vw, 32px);
  text-align: right;
}

.offer tbody tr + tr {
  border-top: 1px solid var(--line);
}

.offer tbody th {
  font-weight: 400;
}

.row-title {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.3;
}

.row-text {
  display: block;
  max-width: 66ch;
  margin-top: 4px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.tick {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--lit-soft);
  color: var(--lit-ink);
}

.tick .i {
  width: 18px;
  height: 18px;
  stroke-width: 2.6;
}

.offer tfoot tr {
  border-top: 2px solid var(--night);
  background: var(--canvas);
}

.offer tfoot td {
  padding: 20px clamp(16px, 3vw, 32px);
}

.total-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 24px;
}

.total-row span {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.total-row strong {
  color: var(--lit-ink);
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 780;
  font-stretch: 104%;
  letter-spacing: -0.015em;
}

/* How it works */
.steps {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--night);
  color: #fff;
}

.section-head {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.section-head p {
  color: var(--muted);
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
}

.steps .section-head p {
  color: var(--on-night);
}

.step-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
  margin-top: clamp(36px, 5vw, 60px);
  padding: 0;
  list-style: none;
}

.step-num {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--lit);
}

.step-num span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1.5px solid var(--lit);
  border-radius: 50%;
  color: #fff;
  font-weight: 750;
}

.step-num .i {
  width: 22px;
  height: 22px;
}

/* A dimension line from one step to the next */
.step-list li:not(:last-child) .step-num::after {
  content: "";
  flex: 1;
  height: 9px;
  margin-right: -20px;
  background:
    linear-gradient(var(--lit), var(--lit)) center / 100% 1px no-repeat,
    linear-gradient(var(--lit), var(--lit)) right center / 1px 9px no-repeat;
  opacity: 0.55;
}

.step-list h3 {
  margin-top: 20px;
  font-size: 1.2rem;
}

.step-list p {
  margin-top: 8px;
  color: var(--on-night);
  font-size: 1rem;
  line-height: 1.55;
}

/* Screens in frames */
.browser {
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--shadow-shot), 0 0 0 1px rgb(12 24 36 / 0.08);
}

.browser-bar {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  background: #e9edf1;
}

.browser-bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #c8d0d8;
}

.browser-bar i:nth-child(1) {
  background: #f17a6b;
}

.browser-bar i:nth-child(2) {
  background: #f5c04f;
}

.browser-bar i:nth-child(3) {
  background: #5ec26a;
}

.phone {
  position: relative;
  padding: 7px;
  border-radius: 30px;
  background: #0b1118;
  box-shadow: 0 26px 50px -22px rgb(4 12 20 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.14);
}

.phone::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 50%;
  width: 30%;
  height: 11px;
  translate: -50% 0;
  border-radius: 11px;
  background: #0b1118;
}

.phone-screen {
  overflow: hidden;
  padding-top: 22px;
  border-radius: 24px;
  background: #fff;
}

/* Your customers */
.customers {
  padding: clamp(72px, 9vw, 120px) 0;
}

.customers-title {
  max-width: 22ch;
}

.cust-lead {
  display: grid;
  grid-template-columns: minmax(0, 7.4fr) minmax(0, 4.6fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  margin-top: clamp(36px, 5vw, 60px);
}

.cust-shot {
  position: relative;
  padding: 0 0 48px;
}

.cust-phone {
  position: absolute;
  right: -28px;
  bottom: 0;
  width: clamp(150px, 26%, 220px);
}

.cust-copy p,
.cust-pair p,
.cust-gallery p {
  margin-top: 10px;
  color: var(--muted);
}

.cust-copy h3 {
  font-size: clamp(1.4rem, 1.1rem + 1vw, 1.9rem);
  font-weight: 760;
}

.cust-copy p {
  font-size: 1.125rem;
}

.cust-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  margin-top: clamp(56px, 7vw, 96px);
}

.cust-pair figcaption,
.cust-gallery figcaption {
  margin-top: 22px;
}

.cust-gallery {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  margin-top: clamp(56px, 7vw, 96px);
}

.cust-gallery figcaption {
  margin-top: 0;
}

.cust-gallery h3,
.cust-pair h3 {
  font-size: 1.3rem;
}

/* Fenstra Field */
.field {
  padding: clamp(72px, 9vw, 120px) 0;
  background: linear-gradient(180deg, var(--teal-soft), #f4f9f8);
  border-block: 1px solid #d5e7e3;
}

.field-grid {
  display: grid;
  grid-template-columns: minmax(0, 5.6fr) minmax(0, 6.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.app-name {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-ink);
  font-size: 1.15rem;
  font-weight: 750;
  font-stretch: 112%;
}

.app-name img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.field h2 {
  margin-top: 18px;
}

.field h2 em,
.office h2 em {
  display: block;
  font-style: normal;
  color: var(--teal-ink);
}

.field .lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 1.125rem;
}

.points,
.office-points {
  display: grid;
  gap: 14px;
  margin-top: 26px;
  padding: 0;
  list-style: none;
}

.points li,
.office-points li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.5;
}

.points strong,
.office-points strong {
  color: var(--ink);
  font-weight: 700;
}

.pi {
  display: grid;
  place-items: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: #fff;
  color: var(--teal-ink);
  box-shadow: 0 0 0 1px rgb(15 118 110 / 0.25);
}

.pi .i {
  width: 19px;
  height: 19px;
}

.phones {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(10px, 2vw, 22px);
}

.phones figure {
  width: min(200px, 31%);
}

.phones figure:nth-child(2) {
  margin-top: 48px;
}

.phones figure:nth-child(3) {
  margin-top: 96px;
}

.phones figcaption {
  margin-top: 14px;
  font-size: 0.9375rem;
  font-weight: 650;
  text-align: center;
  line-height: 1.3;
}

/* Office */
.office {
  padding: clamp(72px, 9vw, 120px) 0;
  background: var(--paper);
}

.pipeline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 0;
  margin-top: clamp(28px, 4vw, 44px);
  padding: 0;
  list-style: none;
}

.stage {
  display: flex;
  align-items: center;
  font-size: 0.9375rem;
  font-weight: 650;
}

.stage::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 8px;
  border-radius: 50%;
  border: 2px solid var(--line-strong);
}

.stage:not(:last-child)::after {
  content: "";
  width: clamp(16px, 3vw, 40px);
  height: 1px;
  margin: 0 12px;
  background: var(--line-strong);
}

.stage-0::before {
  border-color: var(--lit);
  background: var(--lit);
}

.stage-1::before,
.stage-2::before,
.stage-3::before {
  border-color: var(--night);
}

.stage-4::before {
  border-color: var(--teal);
  background: var(--teal);
}

.office-grid {
  display: grid;
  grid-template-columns: minmax(0, 8fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
  margin-top: clamp(28px, 4vw, 44px);
}

.office-visual {
  position: relative;
  padding: 0 clamp(40px, 9%, 90px) 64px 0;
}

.pdf {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(130px, 30%, 240px);
  rotate: 2.5deg;
}

.pdf img {
  border-radius: 4px;
  box-shadow: var(--shadow-shot), 0 0 0 1px rgb(12 24 36 / 0.1);
}

.office-points {
  margin-top: 0;
}

.office-points .pi {
  background: var(--lit-soft);
  color: var(--lit-ink);
  box-shadow: none;
}

/* FAQ */
.faq {
  padding: clamp(72px, 9vw, 120px) 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.faq h2 {
  position: sticky;
  top: 100px;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq details {
  border-bottom: 1px solid var(--line-strong);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 2px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq-icon {
  width: 22px;
  height: 22px;
  color: var(--lit-ink);
  transition: rotate 0.3s var(--ease-out);
}

.faq details[open] .faq-icon {
  rotate: 45deg;
}

.faq details p {
  max-width: 62ch;
  padding: 0 2px 24px;
  color: var(--muted);
}

/* Request access */
.access {
  position: relative;
  isolation: isolate;
  padding: clamp(80px, 10vw, 136px) 0;
  background: var(--night);
  color: #fff;
  overflow: hidden;
}

.access-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  opacity: 0.38;
}

.access::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgb(8 20 33 / 0.95) 0%, rgb(8 20 33 / 0.8) 55%, rgb(8 20 33 / 0.6) 100%);
}

.access-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.access h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem);
}

.access .lead {
  margin-top: 20px;
  color: var(--on-night);
  font-size: 1.125rem;
}

.access-points {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  font-weight: 650;
}

.access-points li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.access-points .i {
  width: 26px;
  height: 26px;
  padding: 5px;
  border-radius: 50%;
  background: var(--lit);
  color: var(--night);
  stroke-width: 3;
}

.form-card {
  padding: clamp(20px, 3vw, 36px);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-paper);
}

.access-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.9375rem;
  font-weight: 650;
}

.form-field input:not([type="checkbox"]),
.form-field select,
.form-field textarea {
  display: block;
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.form-field select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234f5d6b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #a9b5c0;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--night);
  box-shadow: 0 0 0 3px rgb(245 165 36 / 0.45);
}

.form-field [aria-invalid="true"] {
  border-color: var(--danger);
}

.hint {
  margin-top: 6px;
  color: var(--faint);
  font-size: 0.875rem;
  line-height: 1.45;
}

.error {
  margin-top: 6px;
  color: var(--danger);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.45;
}

.check {
  position: relative;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  cursor: pointer;
}

.form-field label.check {
  display: flex;
  margin-bottom: 0;
  font-weight: 450;
}

.check input {
  flex: none;
  width: 22px;
  height: 22px;
  margin: 1px 0 0;
  accent-color: var(--night);
  cursor: pointer;
}

.trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-error {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 9px;
  background: #fdf1f0;
  color: var(--danger);
  font-size: 0.9375rem;
  font-weight: 600;
}

.form-error[hidden],
.error[hidden],
.form-success[hidden],
.access-form[hidden] {
  display: none;
}

.form-success {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: 12px 0;
}

.form-success:focus {
  outline: none;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--lit);
  color: var(--night);
}

.success-mark .i {
  width: 30px;
  height: 30px;
  stroke-width: 2.6;
}

.form-success h3 {
  font-size: 1.5rem;
}

.form-success p {
  color: var(--muted);
}

.spin {
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    rotate: 360deg;
  }
}

/* Footer */
.foot {
  padding: 56px 0 40px;
  background: #081421;
  color: var(--on-night);
}

.foot-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 28px;
}

.foot .logo {
  color: #fff;
}

.foot-tag {
  max-width: 44ch;
  margin-top: 12px;
  font-size: 0.9375rem;
}

.foot-langs p {
  color: var(--on-night-faint);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.foot-langs ul {
  display: flex;
  gap: 18px;
  margin-top: 8px;
  padding: 0;
  list-style: none;
}

.foot-langs a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

.foot-langs a:hover,
.foot-langs a[aria-current] {
  text-decoration: underline;
}

.foot-small {
  display: grid;
  gap: 8px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  color: var(--on-night-faint);
  font-size: 0.8125rem;
  line-height: 1.55;
}

/* A quiet offer of the visitor's own language */
.suggest {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 55;
  display: flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 16px;
  border-radius: 12px;
  background: var(--night);
  color: #fff;
  box-shadow: 0 18px 40px -12px rgb(4 12 20 / 0.6), 0 0 0 1px rgb(255 255 255 / 0.12);
  font-size: 0.9375rem;
}

.suggest p {
  display: flex;
  align-items: center;
  gap: 10px;
}

.suggest .i {
  color: var(--lit);
}

.suggest-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--on-night);
  cursor: pointer;
}

.suggest-close:hover {
  color: #fff;
  background: rgb(255 255 255 / 0.08);
}

@media (prefers-reduced-motion: no-preference) {
  .suggest {
    animation: rise 0.5s var(--ease-out) both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    translate: 0 16px;
  }
}

/* 404 */
.not-found {
  background: var(--night);
}

.nf {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100dvh;
  padding: 24px;
  color: #fff;
}

.nf-card {
  display: grid;
  gap: 20px;
  max-width: 520px;
}

.nf h1 {
  font-size: clamp(4rem, 10vw, 7rem);
  color: var(--lit);
  line-height: 1;
}

.nf ul {
  display: grid;
  gap: 10px;
  padding: 0;
  list-style: none;
  font-size: 1.0625rem;
}

/* Smaller screens */
@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero .lead {
    max-width: 60ch;
  }

  .sheet {
    margin-top: 52px;
  }

  .step-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 44px;
  }

  .step-list li:nth-child(2) .step-num::after {
    display: none;
  }

  .cust-lead,
  .field-grid,
  .office-grid,
  .access-grid,
  .faq-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cust-phone {
    right: 8px;
  }

  .office-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .faq h2 {
    position: static;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 1rem;
  }

  .sheet {
    margin-bottom: -96px;
  }

  .sheet-body {
    grid-template-columns: minmax(0, 1fr);
  }

  .sheet-drawing {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .sheet-controls {
    padding: 18px 12px 16px;
  }

  .title-block {
    grid-template-columns: minmax(0, 1fr);
  }

  .tb-notes {
    order: 2;
    border-right: 0;
    border-top: 1px solid var(--ink);
  }

  .pain {
    padding-top: 150px;
  }

  .pain-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .pain-copy {
    order: -1;
  }

  .offer thead {
    display: none;
  }

  .offer .pos {
    width: 44px;
    padding-right: 4px;
  }

  .offer .incl {
    width: 52px;
  }

  .offer .incl .sr {
    position: absolute;
  }


  .step-list {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 32px;
  }

  .step-list li .step-num::after {
    display: none;
  }

  .cust-pair,
  .cust-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .cust-gallery figcaption {
    order: 2;
  }

  .phones figure:nth-child(2) {
    margin-top: 24px;
  }

  .phones figure:nth-child(3) {
    margin-top: 48px;
  }

  .phones figcaption {
    font-size: 0.8125rem;
  }

  .office-points {
    grid-template-columns: minmax(0, 1fr);
  }

  /* The stages one under the other, joined by a line, the way a request moves through them. */
  .pipeline {
    flex-direction: column;
    gap: 0;
  }

  .stage {
    position: relative;
    padding-bottom: 16px;
  }

  .stage:not(:last-child)::after {
    position: absolute;
    left: 4px;
    top: 21px;
    width: 2px;
    height: 16px;
    margin: 0;
  }

  .office-visual {
    padding-right: 48px;
  }

  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .suggest {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
