/* THE PAGES AROUND THE SHOWROOM (site/plugin.ts) — about, contact, selling, the questions, the legal pages, the
   404. The showroom's own palette and face: the hangar's pale grey-blue, the logotype's black, Inter. No
   script, no inline style (the CSP admits neither): everything a page looks like is in this file. */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF,
    U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-greek.woff2') format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('/fonts/inter-vietnamese.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304,
    U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

:root {
  --bg: #eef1f4;
  --paper: #ffffff;
  --band: #e4e8ed;
  --ink: #191d23;
  --ink-2: rgba(25, 29, 35, 0.74);
  /* 0.64 and not less: the small grey type (dates, breadcrumbs, footer) keeps 4.5 : 1 on the page grey (WCAG AA). */
  --ink-3: rgba(25, 29, 35, 0.64);
  --line: rgba(25, 29, 35, 0.12);
  --focus: #0e9f74;
  --radius: 18px;
  --edge: clamp(20px, 5vw, 56px);
  --measure: 720px;
  --wide: 1120px;
  color-scheme: light;
  font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 100%;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 88px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

main {
  flex: 1;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

img,
svg {
  max-width: 100%;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

/* ---------- header ------------------------------------------------------------------------------------- */

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(238, 241, 244, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid var(--line);
}

.top__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wide);
  min-height: 68px;
  margin: 0 auto;
  padding: 10px var(--edge);
  padding-top: max(10px, env(safe-area-inset-top));
}

.top__mark {
  display: block;
  flex: 0 1 auto;
  width: clamp(200px, 26vw, 300px);
  color: #000;
  line-height: 0;
}

.wordmark {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12781 / 557;
}

.top__nav {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.top__nav a,
.top__menu nav a {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
}

.top__nav a:hover,
.top__nav a[aria-current],
.top__menu nav a:hover,
.top__menu nav a[aria-current] {
  color: var(--ink);
  background: rgba(25, 29, 35, 0.06);
}

.top__nav .nav__3d,
.top__menu nav .nav__3d {
  color: #fff;
  background: var(--ink);
  font-weight: 500;
}

.top__nav .nav__3d:hover,
.top__menu nav .nav__3d:hover {
  color: #fff;
  background: #000;
}

.top__menu {
  display: none;
  position: relative;
}

.top__menu summary {
  list-style: none;
  cursor: pointer;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
}

.top__menu summary::-webkit-details-marker {
  display: none;
}

.top__menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 18px 50px -18px rgba(25, 29, 35, 0.35);
  font-size: 15px;
}

[dir='rtl'] .top__menu nav {
  right: auto;
  left: 0;
}

@media (max-width: 860px) {
  .top__nav {
    display: none;
  }
  .top__menu {
    display: block;
  }
}

/* ---------- the page's head ---------------------------------------------------------------------------- */

.hero {
  max-width: var(--wide);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 72px) var(--edge) clamp(20px, 3vw, 36px);
}

.hero h1 {
  max-width: 20ch;
  margin: 0;
  font-size: clamp(34px, 5.4vw, 60px);
  font-weight: 650;
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.hero .lead {
  max-width: 44em;
  margin: 18px 0 0;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  text-wrap: pretty;
}

.hero .updated {
  margin: 16px 0 0;
  font-size: 13px;
  color: var(--ink-3);
}

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 13px;
  color: var(--ink-3);
}

.crumbs li + li::before {
  content: '›';
  margin-inline-end: 6px;
  color: var(--ink-3);
}

.crumbs a {
  color: var(--ink-3);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--ink);
  text-decoration: underline;
}

/* ---------- the text ----------------------------------------------------------------------------------- */

.body {
  max-width: var(--wide);
  margin: 0 auto;
  padding: 0 var(--edge) clamp(48px, 8vw, 96px);
}

.body--toc {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

@media (min-width: 1000px) {
  .body--toc {
    grid-template-columns: 240px minmax(0, var(--measure));
    gap: 64px;
  }
  .toc {
    position: sticky;
    top: 96px;
    align-self: start;
    max-height: calc(100vh - 120px);
    overflow: auto;
  }
}

.toc h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.4;
}

.toc li {
  margin: 0;
}

.toc a {
  display: block;
  padding: 6px 0;
  color: var(--ink-2);
  text-decoration: none;
}

.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}

.prose {
  max-width: var(--measure);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}

.prose > :first-child {
  margin-top: 0;
}

.prose h2 {
  margin: 2.4em 0 0.6em;
  font-size: clamp(23px, 2.6vw, 28px);
  font-weight: 650;
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.prose h3 {
  margin: 1.8em 0 0.4em;
  font-size: 19px;
  font-weight: 620;
  line-height: 1.35;
}

.prose h4 {
  margin: 1.4em 0 0.3em;
  font-size: 16px;
  font-weight: 620;
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.1em;
}

.prose ul,
.prose ol {
  padding-inline-start: 1.3em;
}

.prose li {
  margin: 0.3em 0;
}

.prose li::marker {
  color: var(--ink-3);
}

.prose strong {
  font-weight: 620;
}

.prose hr {
  margin: 2.6em 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 18px 22px;
  border-radius: var(--radius);
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink-2);
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: rgba(25, 29, 35, 0.07);
  font-size: 0.9em;
}

.prose .anchor {
  margin-inline-start: 0.35em;
  color: var(--ink-3);
  font-weight: 400;
  text-decoration: none;
  opacity: 0;
  transition: opacity 120ms ease;
}

.prose :is(h2, h3):hover .anchor,
.prose .anchor:focus-visible {
  opacity: 1;
}

.table {
  margin: 1.4em 0 1.8em;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.table th,
.table td {
  padding: 12px 16px;
  text-align: start;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}

.table th {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: rgba(25, 29, 35, 0.03);
}

.table tr:last-child td {
  border-bottom: 0;
}

/* A phone: every row a card of labelled lines, instead of a table to scroll sideways through. */
@media (max-width: 640px) {
  .table {
    overflow: visible;
  }
  .table table,
  .table tbody,
  .table tr,
  .table td {
    display: block;
  }
  .table thead {
    display: none;
  }
  .table tr {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
  }
  .table tr:last-child {
    border-bottom: 0;
  }
  .table td {
    padding: 3px 0;
    border: 0;
  }
  .table td::before {
    content: attr(data-label);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-3);
  }
}

/* A long address (an e-mail, a URL) breaks rather than widening the page on a phone. */
.prose a,
.card a,
.foot a {
  overflow-wrap: anywhere;
}

/* ---------- blocks written as HTML inside the Markdown -------------------------------------------------- */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff !important;
  font-size: 15px;
  font-weight: 550;
  text-decoration: none !important;
  transition: background 120ms ease;
}

.button:hover {
  background: #000;
}

.button--ghost {
  background: var(--paper);
  color: var(--ink) !important;
  border: 1px solid var(--line);
}

.button--ghost:hover {
  background: #f7f8fa;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 1.6em 0 2em;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 16px;
  margin: 1.6em 0 2.2em;
}

.card {
  padding: 22px 22px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 1px 0 rgba(25, 29, 35, 0.03);
}

.card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.card p {
  margin: 0 0 12px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
}

.card p:last-child {
  margin-bottom: 0;
}

.card a {
  font-weight: 550;
}

.mail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 2.4em;
  padding: 26px 28px;
  border-radius: calc(var(--radius) + 6px);
  background: var(--ink);
  color: #fff;
}

.mail p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
}

.mail a.mail__address {
  display: block;
  margin-top: 4px;
  color: #fff;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.mail a.mail__address:hover {
  text-decoration: underline;
}

.mail .button {
  background: #fff;
  color: var(--ink) !important;
}

.mail .button:hover {
  background: #e9edf1;
}

.person {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin: 1.6em 0 2em;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.person__mono {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.person__name {
  margin: 0;
  font-size: 18px;
  font-weight: 620;
}

.person__role {
  margin: 2px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

.steps {
  counter-reset: step;
  list-style: none;
  padding: 0 !important;
  margin: 1.4em 0 2em !important;
  display: grid;
  gap: 12px;
}

.steps > li {
  counter-increment: step;
  position: relative;
  margin: 0;
  padding: 18px 20px 18px 64px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}

.steps > li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 20px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

[dir='rtl'] .steps > li {
  padding: 18px 64px 18px 20px;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  gap: 12px;
  margin: 1.6em 0 2.2em;
  padding: 0 !important;
  list-style: none;
}

.facts li {
  margin: 0 !important;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink-2);
}

.facts strong {
  display: block;
  margin-bottom: 4px;
  font-size: 24px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.note {
  font-size: 14px !important;
  color: var(--ink-3);
}

/* ---------- footer ------------------------------------------------------------------------------------- */

.foot {
  border-top: 1px solid var(--line);
  background: var(--band);
  font-size: 14px;
}

.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 36px 48px;
  max-width: var(--wide);
  margin: 0 auto;
  padding: 48px var(--edge) max(32px, env(safe-area-inset-bottom));
}

.foot__mark {
  display: block;
  width: min(240px, 100%);
  color: #000;
  line-height: 0;
}

.foot__brand p {
  margin: 12px 0 0;
  color: var(--ink-2);
}

.foot__cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.foot h2 {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.foot ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot li {
  margin: 0 0 6px;
}

.foot a {
  color: var(--ink-2);
  text-decoration: none;
}

.foot a:hover,
.foot a[aria-current] {
  color: var(--ink);
  text-decoration: underline;
}

.foot__langs {
  grid-column: 1 / -1;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.foot__langs ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}

.foot__legal {
  grid-column: 1 / -1;
  margin: 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-3);
  font-size: 13px;
}

@media (max-width: 760px) {
  .foot__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .foot__cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------- 404 ---------------------------------------------------------------------------------------- */

.hero--404 {
  padding-top: clamp(64px, 14vh, 160px);
  padding-bottom: clamp(64px, 14vh, 160px);
}

.hero--404 .code {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--ink-3);
}

.hero--404 p:last-child {
  margin-top: 28px;
}

/* ---------- scripts Inter does not draw, and print ------------------------------------------------------ */

:root:is([lang|='ar'], [lang|='he'], [lang|='hi'], [lang|='th'], [lang|='zh'], [lang|='ja'], [lang|='ko']) :is(.toc h2, .foot h2, .table th, .hero--404 .code) {
  letter-spacing: 0;
}

:root:is([lang|='zh'], [lang|='ja'], [lang|='ko']) .hero h1 {
  letter-spacing: 0;
  line-height: 1.2;
}

@media print {
  .top,
  .foot,
  .toc,
  .skip,
  .prose .anchor {
    display: none !important;
  }
  :root {
    background: #fff;
  }
  .prose a[href^='http']::after {
    content: ' (' attr(href) ')';
    font-size: 0.85em;
    color: var(--ink-3);
  }
}
