/* CRN 3D landing, the earlier look: only the English pages use it, until they get the new copy (build.mjs, page.css).
   Look: a technical drawing in a workshop. White melamine and graphite, dimension lines in mm,
   and one colour, edge-banding orange (kant), used for edge banding in the drawings and for actions. */

@font-face {
  font-family: 'Archivo';
  src: url(/assets/fonts/archivo-lat.woff2) format('woff2-variations'), url(/assets/fonts/archivo-lat.woff2) format('woff2');
  font-weight: 600 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0, U+00A9, U+00B0, U+00D7, U+2013-2014, U+2018-2019, U+201C-201E, U+2026, U+20AC, U+2192, U+2212;
}
@font-face {
  font-family: 'Archivo';
  src: url(/assets/fonts/archivo-ext.woff2) format('woff2-variations'), url(/assets/fonts/archivo-ext.woff2) format('woff2');
  font-weight: 600 800;
  font-stretch: 75% 125%;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url(/assets/fonts/plex-sans-400-lat.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2015, U+2018-201E, U+2022, U+2026, U+20AC, U+2190-2193, U+2212, U+2248;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url(/assets/fonts/plex-sans-400-ext.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url(/assets/fonts/plex-sans-600-lat.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2015, U+2018-201E, U+2022, U+2026, U+20AC, U+2190-2193, U+2212, U+2248;
}
@font-face {
  font-family: 'IBM Plex Sans';
  src: url(/assets/fonts/plex-sans-600-ext.woff2) format('woff2');
  font-weight: 600;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url(/assets/fonts/plex-mono-lat.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+2010-2015, U+2018-201E, U+2022, U+2026, U+20AC, U+2190-2193, U+2212, U+2248;
}
@font-face {
  font-family: 'IBM Plex Mono';
  src: url(/assets/fonts/plex-mono-ext.woff2) format('woff2');
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0106-0107, U+010C-010D, U+0110-0111, U+0160-0161, U+017D-017E;
}

:root {
  --paper: #f1f1ee; /* white melamine under workshop light */
  --board: #ffffff;
  --ink: #1d1e20; /* graphite */
  --ink-2: #55565a;
  --ink-3: #8a8b8f;
  --rule: #d4d2ca;
  --rule-soft: #e3e2dc;
  --kant: #c2410c; /* edge banding; also every primary action */
  --kant-dark: #9a3412;
  --kant-tint: #f6e4d9;
  --display: 'Archivo', 'Arial Narrow', 'Helvetica Neue', Arial, sans-serif;
  --body: 'IBM Plex Sans', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;
  --wrap: 1200px;
  --gutter: 24px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: var(--ink);
  text-decoration-line: underline;
  text-decoration-color: var(--kant);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
a:hover {
  color: var(--kant-dark);
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0 0 0.45em;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.6rem, 1.3rem + 5vw, 5.1rem);
  font-stretch: 78%;
  line-height: 0.96;
}
h2 {
  font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem);
  font-stretch: 80%;
}
h3 {
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: 92%;
  line-height: 1.15;
  letter-spacing: 0;
}
p {
  margin: 0 0 1em;
}
strong {
  font-weight: 600;
}
:focus-visible {
  outline: 3px solid var(--kant);
  outline-offset: 2px;
}
.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 16px;
  top: 12px;
  z-index: 100;
  background: var(--board);
  padding: 8px 14px;
}
.muted {
  color: var(--ink-2);
}
.center {
  text-align: center;
}
.mono,
.dim {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}
/* The logo (partials/logo.html): outlined letters in the text colour, the edge band (kant) always orange. */
.wordmark {
  display: inline-flex;
  color: var(--ink);
  text-decoration: none;
}
.wordmark:hover {
  color: var(--ink);
}
.wordmark .logo {
  height: 26px;
  width: auto;
}
.logo-kant {
  fill: var(--kant);
}
.nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-2);
  text-decoration: none;
  font-size: 0.95rem;
}
.nav a:hover,
.nav a[aria-current='page'] {
  color: var(--ink);
}
.nav a[aria-current='page'] {
  text-decoration: underline;
  text-decoration-color: var(--kant);
  text-decoration-thickness: 2px;
}
.nav .lang {
  font-family: var(--mono);
  font-size: 0.85rem;
}
.nav .btn {
  color: #fff;
}
.header-viber {
  display: none;
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: 3px;
  width: 44px;
  height: 40px;
  color: var(--ink);
  cursor: pointer;
}
@media (max-width: 900px) {
  .menu-toggle {
    display: grid;
    place-items: center;
  }
  .header-viber {
    display: inline-flex;
    margin-left: auto;
    font-size: 0.95rem;
    color: var(--ink);
  }
  .site-header .wrap {
    gap: 14px;
  }
  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--rule);
    padding: 6px var(--gutter) 20px;
  }
  .nav a {
    padding: 12px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--rule-soft);
  }
  .nav .btn {
    margin-top: 14px;
    border-bottom: 0;
  }
  .site-header.open .nav {
    display: flex;
  }
}
@media (min-width: 901px) {
  .header-viber {
    display: none;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 3px;
  font: 600 1rem/1.2 var(--body);
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-primary {
  background: var(--kant);
  color: #fff;
}
.btn-primary:hover {
  background: var(--kant-dark);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-sm {
  min-height: 38px;
  padding: 0 16px;
  font-size: 0.93rem;
}
.btn-block {
  width: 100%;
}

/* Sections */
section {
  padding: 96px 0;
}
section + section {
  border-top: 1px solid var(--rule);
}
.section-head {
  max-width: 760px;
  margin: 0 0 48px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 1.1rem;
  margin: 0;
  max-width: 40em;
}
.lead {
  font-size: clamp(1.08rem, 1rem + 0.4vw, 1.25rem);
  color: var(--ink-2);
  max-width: 34em;
}

/* Hero */
.hero {
  padding: 56px 0 0;
}
/* The product is on the first screen: on a computer the 3D and the cut plan sit under the heading, the form beside them;
   on a phone the heading, then the pictures, then the words, then the form. */
.hero .hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  grid-template-areas:
    'head form'
    'text form'
    'made form';
  grid-template-rows: auto auto 1fr;
  gap: 0 64px;
  align-items: start;
}
.hero-head {
  grid-area: head;
}
.hero-text {
  grid-area: text;
}
.hero-form {
  grid-area: form;
}
.hero .hero-grid > .made {
  grid-area: made;
  margin-top: 32px;
}
.hero-text .facts {
  margin-top: 20px;
}
.hero h1 {
  font-size: clamp(2.7rem, 1.2rem + 4.8vw, 5.2rem);
}
@media (max-width: 960px) {
  .hero .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'head' 'made' 'text' 'form';
    grid-template-rows: none;
    gap: 0;
  }
  .hero .hero-grid > .made {
    margin-top: 28px;
  }
  .hero-form {
    margin-top: 40px;
  }
}
.hero h1 .kicker {
  display: block;
  font-family: var(--body);
  font-weight: 600;
  font-stretch: 100%;
  font-size: 1.02rem;
  line-height: 1.4;
  letter-spacing: 0;
  color: var(--ink-2);
  margin-bottom: 22px;
}
.hero .lead {
  margin: 6px 0 0; /* the h1 above already ends with its own margin */
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  font-size: 0.95rem;
  color: var(--ink-2);
}
.facts li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  background: var(--rule);
  margin: 0 14px;
  vertical-align: -0.1em;
}

/* Sign-up form: a white panel with edge banding on its top edge */
.signup {
  background: var(--board);
  border: 1px solid var(--rule);
  border-top: 6px solid var(--kant);
  padding: 26px 26px 22px;
}
.signup h2 {
  font-size: 1.45rem;
  font-stretch: 90%;
  line-height: 1.1;
  margin-bottom: 6px;
}
.signup .sub {
  color: var(--ink-2);
  font-size: 0.93rem;
  margin: 0 0 18px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 12px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 0.86rem;
  font-weight: 600;
  min-width: 0;
}
.field.full {
  grid-column: 1 / -1;
}
.field > span {
  display: block;
}
.field .opt {
  font-weight: 400;
  color: var(--ink-2);
}
.field input,
.field select {
  font: 400 1rem/1.3 var(--body);
  color: var(--ink);
  background: #fff;
  border: 1px solid #b9b7af;
  border-radius: 3px;
  height: 46px;
  padding: 0 12px;
  width: 100%;
  min-width: 0;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 20px,
    calc(100% - 13px) 20px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  padding-right: 34px;
}
.field input:focus,
.field select:focus {
  outline: 2px solid var(--kant);
  outline-offset: 0;
  border-color: var(--kant);
}
.field input:user-invalid {
  border-color: var(--kant-dark);
}
.hp {
  position: absolute;
  left: -5000px;
}
.signup .btn {
  margin-top: 18px;
}
.signup .offer {
  margin: 16px 0 0;
  font-size: 0.93rem;
  line-height: 1.5;
  padding-left: 12px;
  border-left: 3px solid var(--kant);
}
.signup .fine {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--ink-2);
}
.signup .fine a {
  color: var(--ink-2);
}
.signup .status {
  margin: 14px 0 0;
  font-size: 0.95rem;
}
.signup .status:empty {
  display: none;
}
.signup .status.error {
  color: var(--kant-dark);
}
.signup.done form,
.signup.done > h2,
.signup.done > .sub {
  display: none;
}
.signup .thanks {
  display: none;
}
.signup.done .thanks {
  display: block;
}
/* a paragraph, not a heading: it is hidden until the form is sent and does not belong in the page outline */
.thanks .thanks-title {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 92%;
  font-size: 1.4rem;
  line-height: 1.15;
  color: var(--ink);
  margin: 0 0 0.45em;
}

/* "What you draw is what gets cut": the 3D render next to the cut plan */
.made {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.62fr) minmax(0, 1fr);
  border: 1px solid var(--rule);
  background: var(--board);
}
.made figure {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.made figure + figure {
  border-left: 1px solid var(--rule);
}
.made img {
  width: 100%;
  aspect-ratio: 1560 / 760;
  object-fit: cover;
}
.made .plan-pane {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 18px 18px 6px;
  background-color: #fff;
  background-image:
    linear-gradient(var(--rule-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--rule-soft) 1px, transparent 1px);
  background-size: 20px 20px;
}
.made figcaption,
.visual figcaption {
  font-size: 0.86rem;
  color: var(--ink-2);
  padding: 10px 16px 12px;
  border-top: 1px solid var(--rule);
  background: var(--board);
}
.made figcaption .legend,
.visual .legend {
  display: inline-block;
  width: 18px;
  height: 4px;
  background: var(--kant);
  vertical-align: middle;
  margin: 0 4px 0 2px;
}

/* Drawings (inline SVG): technical-drawing conventions */
.drawing {
  width: 100%;
  height: auto;
  font-family: var(--mono);
}
.drawing .board {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 6;
}
.drawing .part {
  fill: #faf9f6;
  stroke: var(--ink);
  stroke-width: 5;
}
.drawing .offcut {
  stroke: var(--ink-3);
  stroke-width: 3;
}
.drawing .kant {
  stroke: var(--kant);
  stroke-width: 22;
  stroke-linecap: butt;
}
.drawing .dimline {
  stroke: var(--ink-2);
  stroke-width: 4;
  fill: none;
}
.drawing .ext {
  stroke: var(--ink-3);
  stroke-width: 3;
}
.drawing text {
  fill: var(--ink);
}
.drawing .dimtext {
  font-size: 110px;
  fill: var(--ink);
}
.drawing .pname {
  font-family: var(--body);
  font-size: 92px;
  fill: var(--ink-2);
}
.drawing .pdim {
  font-size: 100px;
}
.drawing .wall {
  stroke: var(--ink);
  stroke-width: 10;
  fill-rule: evenodd;
}
.drawing .window {
  fill: #fff;
  stroke: var(--ink);
  stroke-width: 6;
}
.drawing .door {
  fill: none;
  stroke: var(--ink);
  stroke-width: 6;
}
.drawing .swing {
  fill: none;
  stroke: var(--ink-3);
  stroke-width: 4;
  stroke-dasharray: 22 16;
}
.drawing .counter {
  fill: #faf9f6;
  stroke: var(--ink);
  stroke-width: 6;
}
.drawing .module {
  stroke: var(--ink-3);
  stroke-width: 4;
}
.drawing .label {
  font-family: var(--body);
  font-size: 104px;
  fill: var(--ink-2);
}

/* Outputs of one project, along a ruler */
.outputs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
  position: relative;
}
.outputs-list::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 100px) 0 0 / 100% 14px no-repeat,
    repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 50px) 0 0 / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, var(--ink-3) 0 1px, transparent 1px 10px) 0 0 / 100% 5px no-repeat;
  pointer-events: none;
}
.outputs-list li {
  padding: 34px 20px 0 0;
}
.outputs-list li + li {
  padding-left: 20px;
  border-left: 1px solid var(--rule);
}
.outputs-list h3 {
  font-size: 1.12rem;
  margin-bottom: 8px;
}
.outputs-list p {
  color: var(--ink-2);
  font-size: 0.93rem;
  margin: 0;
}

/* Coming from a desktop program */
.switch {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
}
.switch .section-head {
  margin: 0;
}
.points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px 40px;
  margin: 0;
}
.points > div {
  border-top: 1px solid var(--ink);
  padding-top: 18px;
}
.points dt {
  font-family: var(--display);
  font-weight: 700;
  font-stretch: 92%;
  font-size: 1.25rem;
  line-height: 1.15;
  margin-bottom: 10px;
}
.points dd {
  margin: 0;
  color: var(--ink-2);
}
.points code {
  font-family: var(--mono);
  font-size: 0.92em;
  color: var(--ink);
}

/* How it works: four real steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
}
.step {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
  align-items: start;
  padding: 56px 0;
  border-top: 1px solid var(--rule);
}
.step:first-child {
  border-top: 0;
  padding-top: 8px;
}
.step:nth-child(even) {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}
.step:nth-child(even) .step-text {
  order: 2;
}
.step-text {
  padding-top: 12px;
}
.step-text::before {
  counter-increment: step;
  content: counter(step);
  display: block;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 75%;
  font-size: 4.2rem;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 14px;
}
.step h3 {
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 800;
  font-stretch: 85%;
}
.step p {
  color: var(--ink-2);
  font-size: 1.05rem;
  margin: 0;
}
.step-more {
  margin-top: 56px;
  padding: 22px 0 0;
  border-top: 1px solid var(--ink);
  color: var(--ink-2);
  max-width: 46em;
}
.visual {
  margin: 0;
  background: var(--board);
  border: 1px solid var(--rule);
}
.visual > img {
  width: 100%;
}
.visual .pad {
  padding: 22px;
}

/* Cut-list excerpt */
.cutlist {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.cutlist th,
.cutlist td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
  white-space: nowrap;
}
.cutlist thead th {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--ink-2);
  border-bottom: 1px solid var(--ink);
}
.cutlist .n {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
}
.cutlist tbody tr:last-child td {
  border-bottom: 0;
}
.cutlist .sub {
  display: block;
  color: var(--ink-2);
  font-size: 0.82rem;
}
.cutlist .edge {
  display: inline-block;
  width: 30px;
  height: 18px;
  vertical-align: middle;
}
.table-scroll {
  overflow-x: auto;
}

/* Quote sketch */
.quote-sketch {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: end;
}
.quote-doc {
  border: 1px solid var(--rule);
  padding: 20px 22px;
  background: #fff;
  font-size: 0.88rem;
}
.quote-doc .qhead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 10px;
  margin-bottom: 8px;
}
.quote-doc .qtitle {
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 85%;
  font-size: 1.3rem;
}
.quote-doc .logo-box {
  width: 74px;
  height: 26px;
  border: 1px dashed var(--ink-3);
  font-size: 0.7rem;
  color: var(--ink-3);
  display: grid;
  place-items: center;
}
.quote-doc .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.quote-doc .bar {
  display: inline-block;
  width: 64px;
  height: 9px;
  margin-top: 5px;
  background: var(--rule-soft);
}
.quote-doc .total {
  border-bottom: 0;
  border-top: 1px solid var(--ink);
  margin-top: 4px;
  font-weight: 600;
}
.quote-doc .total .bar {
  background: var(--rule);
  width: 84px;
}
.phone {
  border: 2px solid var(--ink);
  border-radius: 22px;
  padding: 26px 14px 18px;
  background: #fff;
  font-size: 0.8rem;
  text-align: center;
}
.phone .screen-title {
  font-weight: 600;
  margin-bottom: 8px;
}
.phone .mini-3d {
  height: 74px;
  margin: 0 0 10px;
  background: var(--paper);
  border: 1px solid var(--rule-soft);
  display: grid;
  place-items: center;
  color: var(--ink-3);
}
.phone .approve {
  display: block;
  background: var(--kant);
  color: #fff;
  border-radius: 3px;
  padding: 9px 4px;
  font-weight: 600;
}

/* All features */
.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
  margin: 0;
}
.feature-list > div {
  padding: 20px 0;
  border-top: 1px solid var(--rule);
}
.feature-list dt {
  font-weight: 600;
  margin-bottom: 4px;
}
.feature-list dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.97rem;
}
.feature-list .tag {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 1px 6px;
  margin-left: 6px;
  vertical-align: 2px;
  white-space: nowrap;
}

/* Pricing */
.billing-toggle {
  display: inline-flex;
  border: 1px solid var(--ink);
  border-radius: 3px;
  padding: 3px;
  background: var(--board);
  margin: 0 0 32px;
}
.billing-toggle button {
  border: 0;
  background: none;
  color: var(--ink);
  font: 600 0.95rem/1 var(--body);
  padding: 10px 18px;
  border-radius: 2px;
  cursor: pointer;
}
.billing-toggle button[aria-pressed='true'] {
  background: var(--ink);
  color: var(--paper);
}
.billing-toggle .save {
  font-weight: 400;
}
.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.pricing-compact .more,
.pricing-compact .pricing-notes {
  display: none;
}
.plan {
  background: var(--board);
  border: 1px solid var(--rule);
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
}
.plan h3 {
  font-size: 1.5rem;
  font-weight: 800;
  font-stretch: 88%;
  margin-bottom: 4px;
}
.plan .for {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin-bottom: 20px;
  min-height: 2.9em;
}
.price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}
.price .amount {
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  font-stretch: 85%;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price .amount.text {
  font-size: 1.9rem;
  line-height: 1.1;
}
.price .per {
  color: var(--ink-2);
  font-size: 0.95rem;
}
.price-note {
  color: var(--ink-2);
  font-size: 0.88rem;
  margin: 6px 0 20px;
  min-height: 2.8em;
}
.plan .bam {
  margin: 8px 0 0;
  font-family: var(--mono);
  font-size: 0.84rem;
  color: var(--ink-2);
}
.plan ul {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.94rem;
  border-top: 1px solid var(--rule-soft);
  padding-top: 16px;
}
.plan li {
  padding-left: 22px;
  position: relative;
  margin-bottom: 9px;
}
.plan li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: rotate(-45deg);
}
.plan li.head {
  padding-left: 0;
  color: var(--ink-2);
  font-size: 0.86rem;
}
.plan li.head::before {
  content: none;
}
.plan .cta-wrap {
  margin-top: auto;
  padding-top: 22px;
}
.addon {
  margin: 18px 0 0;
  padding: 20px 24px;
  background: transparent;
  border: 1px dashed var(--ink-3);
  display: flex;
  align-items: center;
  gap: 28px;
}
.addon h3 {
  font-size: 1.2rem;
  margin: 0 0 4px;
}
.addon p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.addon .addon-price {
  flex: none;
  margin-left: auto;
  text-align: right;
  font-family: var(--display);
  font-weight: 800;
  font-stretch: 88%;
  font-size: 1.7rem;
  white-space: nowrap;
}
.addon .addon-price small {
  display: block;
  color: var(--ink-2);
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 400;
  font-stretch: 100%;
}
.pricing-short {
  margin: 22px 0 0;
  color: var(--ink-2);
  font-size: 0.95rem;
}
.pricing-notes {
  max-width: 820px;
  margin: 28px 0 0;
  color: var(--ink-2);
  font-size: 0.92rem;
}
.pricing-notes p {
  margin: 0 0 8px;
}
[data-yearly] {
  display: none;
}
.yearly [data-yearly] {
  display: revert;
}
.yearly [data-monthly] {
  display: none;
}

/* Comparison table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rule);
  background: var(--board);
}
table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 680px;
}
.compare th,
.compare td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule-soft);
  text-align: left;
}
.compare thead th {
  font-size: 0.88rem;
  border-bottom: 1px solid var(--ink);
}
.compare td:not(:first-child),
.compare th:not(:first-child) {
  text-align: center;
  width: 150px;
}
.compare tr:last-child td {
  border-bottom: 0;
}
.compare .yes {
  font-weight: 600;
}
.compare .no {
  color: var(--ink-2); /* --ink-3 is only about 3:1 on the paper: too light for text */
}
.compare .group td {
  background: var(--paper);
  font-weight: 600;
  font-size: 0.88rem;
}

/* About */
.about {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 64px;
}
.about p {
  font-size: 1.1rem;
  max-width: 34em;
}
.contact-lines {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  border-top: 1px solid var(--rule);
}
.contact-lines li {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--rule);
}
.contact-lines .k {
  color: var(--ink-2);
}

/* FAQ */
.faq {
  max-width: 860px;
  border-top: 1px solid var(--ink);
}
.faq details {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 48px 20px 0;
  font-weight: 600;
  font-size: 1.05rem;
  position: relative;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--mono);
  font-size: 1.3rem;
  color: var(--ink-2);
}
.faq details[open] summary::after {
  content: '−';
}
.faq summary:hover {
  color: var(--kant-dark);
}
.faq details > div {
  padding: 0 0 20px;
  color: var(--ink-2);
  max-width: 44em;
}
.faq details > div p:last-child {
  margin: 0;
}

/* Final call */
.final {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 430px);
  gap: 64px;
  align-items: start;
}
.final .final-title {
  font-size: clamp(2.2rem, 1.2rem + 3.4vw, 3.8rem);
}
.final .lead {
  margin-bottom: 24px;
}

/* Inner pages */
.page-head {
  padding: 64px 0 36px;
  border-bottom: 1px solid var(--rule);
}
.page-head h1 {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4rem);
  margin-bottom: 14px;
}
.page-head p {
  color: var(--ink-2);
  margin: 0;
  font-size: 1.1rem;
  max-width: 40em;
}
.prose {
  max-width: 800px;
  margin: 0 auto;
  padding: 48px var(--gutter) 96px;
}
.prose h2 {
  font-size: 1.6rem;
  font-stretch: 88%;
  margin-top: 2em;
}
.prose h3 {
  margin-top: 1.5em;
  font-size: 1.2rem;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li {
  margin-bottom: 0.4em;
}
.prose .box {
  background: var(--board);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--ink);
  padding: 18px 22px;
  margin: 1.4em 0;
}
.prose .box p:last-child {
  margin: 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  margin: 1em 0 1.6em;
  background: var(--board);
}
.prose th,
.prose td {
  border: 1px solid var(--rule);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--paper);
}
.toc {
  columns: 2;
  font-size: 0.95rem;
}
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin: 1.4em 0 2.4em;
}
.contact-cards > div {
  border: 1px solid var(--rule);
  padding: 20px 22px;
  background: var(--board);
}
.contact-cards h2 {
  font-size: 1.15rem;
  margin: 0 0 8px;
}
.contact-cards p {
  margin: 0;
}
.prose .signup {
  margin: 1.2em 0 0.5em;
}
.prose .signup h2 {
  margin-top: 0;
}

/* Feature pages (SEO) */
.feature-page .lead {
  margin-bottom: 0;
}
.feature-page .cta-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}
.plain-list {
  padding-left: 1.2em;
  margin: 0;
}
.plain-list li {
  margin-bottom: 10px;
}
.related {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  background: #e6e5e0;
  padding: 56px 0 32px;
  font-size: 0.93rem;
  color: var(--ink-2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 32px;
}
.site-footer h2 {
  font-family: var(--body);
  font-size: 0.93rem;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--ink);
  margin-bottom: 12px;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 8px;
}
.site-footer a {
  color: var(--ink-2);
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--kant);
}
.site-footer .wordmark {
  color: var(--ink);
}
.site-footer .wordmark .logo {
  height: 30px;
}
.site-footer address {
  font-style: normal;
}
.footer-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 1100px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .plan-firm {
    grid-column: 1 / -1;
  }
  .outputs-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .outputs-list li:nth-child(4) {
    border-left: 0;
    padding-left: 0;
  }
  .outputs-list li:nth-child(n + 4) {
    padding-top: 26px;
    margin-top: 26px;
    border-top: 1px solid var(--rule);
  }
}
@media (max-width: 960px) {
  section {
    padding: 72px 0;
  }
  .hero-grid,
  .final,
  .switch,
  .about,
  .two-col {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  .made {
    grid-template-columns: minmax(0, 1fr);
  }
  .made figure + figure {
    border-left: 0;
    border-top: 1px solid var(--rule);
  }
  .step {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 44px 0;
  }
  .step:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
  }
  .step:nth-child(even) .step-text {
    order: 0;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .pricing-compact .plans {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
}
@media (max-width: 680px) {
  :root {
    --gutter: 18px;
  }
  body {
    font-size: 16px;
  }
  section {
    padding: 60px 0;
  }
  .hero {
    padding-top: 40px;
  }
  .made {
    margin-top: 44px;
  }
  .signup {
    padding: 22px 18px 18px;
  }
  .facts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }
  .facts li + li::before {
    content: none;
  }
  .plan .for,
  .price-note {
    min-height: 0;
  }
  .drawing .pdim {
    font-size: 125px;
  }
  .outputs-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .outputs-list li,
  .outputs-list li + li {
    border-left: 0;
    padding: 26px 14px 0 0;
  }
  .outputs-list li:nth-child(n + 3) {
    margin-top: 22px;
    border-top: 1px solid var(--rule);
  }
  .outputs-list li:nth-child(4) {
    padding-left: 0;
  }
  .points,
  .feature-list,
  .plans,
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }
  .points {
    gap: 28px;
  }
  .quote-sketch {
    grid-template-columns: minmax(0, 1fr);
  }
  .phone {
    max-width: 220px;
    justify-self: end;
  }
  .addon {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .addon .addon-price {
    margin-left: 0;
    text-align: left;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .toc {
    columns: 1;
  }
  .contact-lines li {
    grid-template-columns: 1fr;
    gap: 2px;
  }
  .drawing .pname {
    display: none;
  }
  .step-text::before {
    font-size: 3.2rem;
  }
  .feature-page .cta-row .btn {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
