/*
  Virtual Concept Technologies: self-hosted type.
  Schibsted Grotesk (SIL OFL 1.1) and IBM Plex Mono (SIL OFL 1.1). Licences sit beside these files.
  Latin subset only. URLs are relative to this file.
*/

@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/fonts/SchibstedGrotesk-Variable-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
  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: "Schibsted Grotesk";
  src: url("/fonts/SchibstedGrotesk-Italic-Variable-latin.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Mono";
  src: url("/fonts/IBMPlexMono-Regular-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  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;
}

/* Metric-matched fallback so text does not shift when the web font arrives. Measured against Arial. */
@font-face {
  font-family: "Schibsted Grotesk Fallback";
  src: local("Arial"), local("ArialMT"), local("Liberation Sans");
  size-adjust: 105.69%;
  ascent-override: 92.4%;
  descent-override: 24.39%;
  line-gap-override: 0%;
}

/*
  Virtual Concept Technologies: design tokens.
  Load brand/fonts/fonts.css first for the typefaces named here.
  Every text and interface colour pair is checked by brand/tools/contrast.mjs; ratios are listed in BRAND.md.
*/

:root {
  /* Colour: page */
  --vc-paper: #f7f8f7;            /* page background */
  --vc-surface: #ffffff;          /* raised surfaces: inputs, cards, screenshots */
  --vc-ink: #111614;              /* primary text, headings */
  --vc-ink-secondary: #46504c;    /* supporting text, captions */
  --vc-ink-tertiary: #5f6965;     /* metadata, legal small print */
  --vc-rule: #d9dedb;             /* decorative hairlines only, never a control boundary */
  --vc-rule-strong: #7f8884;      /* control boundaries: inputs, outlined buttons (3:1 or better) */

  /* Colour: the single accent, Pine */
  --vc-accent: #17614a;           /* links, primary action, the mark */
  --vc-accent-hover: #0f4a38;     /* hover and pressed state of the accent */
  --vc-accent-soft: #e4efe9;      /* quiet tint behind accent text */
  --vc-on-accent: #ffffff;        /* text on the accent */

  /* Colour: function */
  --vc-danger: #b42318;           /* form errors only */
  --vc-focus: #17614a;            /* focus ring */
  --vc-selection: #cfe3d9;        /* text selection background, ink text on top */

  /* Colour: inverse band (footer, code samples) */
  --vc-inverse: #111614;
  --vc-inverse-ink: #edf0ee;
  --vc-inverse-ink-secondary: #a9b3ae;
  --vc-inverse-accent: #6fcba5;
  --vc-inverse-rule: #2c3430;

  /* Type: families */
  --vc-font-sans: "Schibsted Grotesk", "Schibsted Grotesk Fallback", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --vc-font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Type: scale. Fixed steps for reading, fluid steps for headings (390 px to 1280 px viewport). */
  --vc-text-xs: 0.8125rem;                                    /* 13 px: legal line, metadata */
  --vc-text-sm: 0.9375rem;                                    /* 15 px: captions, secondary UI */
  --vc-text-base: 1.0625rem;                                  /* 17 px: body */
  --vc-text-lg: 1.25rem;                                      /* 20 px: lead paragraph */
  --vc-text-xl: clamp(1.375rem, 1.21rem + 0.67vw, 1.75rem);   /* 22 to 28 px: h3 */
  --vc-text-2xl: clamp(1.75rem, 1.42rem + 1.35vw, 2.5rem);    /* 28 to 40 px: h2 */
  --vc-text-3xl: clamp(2.25rem, 1.76rem + 2.02vw, 3.375rem);  /* 36 to 54 px: h1 */
  --vc-text-display: clamp(2.75rem, 2.04rem + 2.92vw, 4.375rem); /* 44 to 70 px: one statement per page at most */

  --vc-leading-tight: 1.06;       /* display */
  --vc-leading-heading: 1.15;     /* h1 to h3 */
  --vc-leading-body: 1.55;        /* paragraphs */
  --vc-leading-ui: 1.3;           /* buttons, labels, nav */

  --vc-tracking-display: -0.025em;
  --vc-tracking-heading: -0.015em;
  --vc-tracking-body: 0em;

  --vc-weight-regular: 400;
  --vc-weight-medium: 500;
  --vc-weight-semibold: 600;

  --vc-measure: 66ch;             /* body line length */
  --vc-measure-narrow: 48ch;      /* lead paragraphs and captions */

  /* Space: 4 px base */
  --vc-space-1: 0.25rem;  /* 4 */
  --vc-space-2: 0.5rem;   /* 8 */
  --vc-space-3: 0.75rem;  /* 12 */
  --vc-space-4: 1rem;     /* 16 */
  --vc-space-5: 1.5rem;   /* 24 */
  --vc-space-6: 2rem;     /* 32 */
  --vc-space-7: 3rem;     /* 48 */
  --vc-space-8: 4rem;     /* 64 */
  --vc-space-9: 6rem;     /* 96 */
  --vc-space-10: 8rem;    /* 128 */
  --vc-section: clamp(4rem, 2.25rem + 7.19vw, 8rem); /* 64 to 128 px between page sections */

  /* Layout */
  --vc-container: 76rem;                                /* 1216 px content width */
  --vc-gutter: clamp(1.25rem, 0.7rem + 2.25vw, 2.5rem); /* 20 to 40 px page side padding */

  /* Radius: small and consistent; the mark itself has square corners */
  --vc-radius-xs: 2px;    /* focus ring corners, tags */
  --vc-radius-sm: 4px;    /* buttons, inputs */
  --vc-radius-md: 8px;    /* screenshots, media */
  --vc-radius-lg: 14px;   /* the rare raised panel */

  /* Elevation: one level, used for screenshots only */
  --vc-shadow-1: 0 1px 2px rgb(17 22 20 / 0.06), 0 8px 24px -8px rgb(17 22 20 / 0.12);

  /* Focus */
  --vc-focus-ring: 0 0 0 2px var(--vc-paper), 0 0 0 4px var(--vc-focus);

  /* Motion */
  --vc-ease-out: cubic-bezier(0.23, 1, 0.32, 1);       /* entering, responding */
  --vc-ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);   /* moving on screen */
  --vc-duration-instant: 120ms;  /* press feedback, colour change */
  --vc-duration-quick: 200ms;    /* hover, small reveals */
  --vc-duration-gentle: 320ms;   /* menus, page-level reveals */
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --vc-duration-quick: 120ms;
    --vc-duration-gentle: 120ms;
  }
}

/*
  virtualconcepts.org: site styles.
  Built after brand/fonts/fonts.css and brand/tokens.css into one stylesheet by site/build.mjs.
  Every value comes from a --vc- token unless it is a layout proportion.
*/

/* Base ----------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: var(--vc-rule-strong) var(--vc-paper);
  scroll-padding-top: var(--vc-space-5);
}

body {
  margin: 0;
  background: var(--vc-paper);
  color: var(--vc-ink);
  font-family: var(--vc-font-sans);
  font-size: var(--vc-text-base);
  line-height: var(--vc-leading-body);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  caret-color: var(--vc-accent);
  accent-color: var(--vc-accent);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

main:focus {
  outline: none;
}

::selection {
  background: var(--vc-selection);
  color: var(--vc-ink);
}

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

h1,
h2,
h3 {
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-heading);
  letter-spacing: var(--vc-tracking-heading);
  text-wrap: balance;
}

p,
li,
dd {
  text-wrap: pretty;
}

li::marker {
  font-variant-numeric: normal;
}

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

img {
  height: auto;
}

a {
  color: var(--vc-accent);
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: color-mix(in srgb, currentColor 45%, transparent);
  transition:
    color var(--vc-duration-instant) var(--vc-ease-out),
    text-decoration-color var(--vc-duration-instant) var(--vc-ease-out);
}

a:hover {
  color: var(--vc-accent-hover);
  text-decoration-color: currentColor;
}

:focus-visible {
  outline: 2px solid var(--vc-focus);
  outline-offset: 3px;
  border-radius: var(--vc-radius-xs);
}

code {
  font-family: var(--vc-font-mono);
  font-size: 0.9em;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

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

/* Skip link ------------------------------------------------------------ */

.skip-link {
  position: absolute;
  top: var(--vc-space-3);
  left: var(--vc-space-3);
  z-index: 10;
  padding: var(--vc-space-2) var(--vc-space-4);
  background: var(--vc-ink);
  color: var(--vc-paper);
  font-size: var(--vc-text-sm);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-ui);
  border-radius: var(--vc-radius-sm);
  text-decoration: none;
  transform: translateY(calc(-100% - var(--vc-space-5)));
}

.skip-link:focus-visible {
  transform: none;
  color: var(--vc-paper);
}

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

.site-header {
  border-bottom: 1px solid var(--vc-rule);
}

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--vc-space-3) var(--vc-space-6);
  padding-block: var(--vc-space-5);
}

.site-header__home {
  display: block;
  color: var(--vc-ink);
}

.logo {
  width: 15rem; /* 240 px: the smallest the lockup may be shown */
  height: auto;
}

.site-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--vc-space-1) var(--vc-space-5);
  padding: 0;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  padding-block: var(--vc-space-2);
  color: var(--vc-ink-secondary);
  font-size: var(--vc-text-sm);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-ui);
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.45em;
}

.site-nav a:hover {
  color: var(--vc-ink);
  text-decoration-color: var(--vc-rule-strong);
}

.site-nav a[aria-current="page"] {
  color: var(--vc-ink);
  text-decoration-color: var(--vc-accent);
}

@media (min-width: 48rem) {
  .logo {
    width: 17.5rem;
  }

  .site-nav ul {
    gap: var(--vc-space-6);
  }
}

/* Type helpers --------------------------------------------------------- */

.lead {
  max-width: var(--vc-measure-narrow);
  color: var(--vc-ink-secondary);
  font-size: var(--vc-text-lg);
}

.muted {
  color: var(--vc-ink-tertiary);
}

.small {
  color: var(--vc-ink-tertiary);
  font-size: var(--vc-text-sm);
}

/* Actions -------------------------------------------------------------- */

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--vc-space-4) var(--vc-space-6);
}

.button {
  display: inline-flex;
  align-items: center;
  gap: var(--vc-space-2);
  min-height: 2.75rem;
  padding: var(--vc-space-3) var(--vc-space-5);
  background: var(--vc-accent);
  color: var(--vc-on-accent);
  font-size: var(--vc-text-sm);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-ui);
  border-radius: var(--vc-radius-sm);
  text-decoration: none;
  transition:
    background-color var(--vc-duration-instant) var(--vc-ease-out),
    transform var(--vc-duration-instant) var(--vc-ease-out);
}

.button:hover {
  background: var(--vc-accent-hover);
  color: var(--vc-on-accent);
}

.button:active {
  transform: scale(0.97);
}

.text-link {
  font-size: var(--vc-text-sm);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-ui);
}

/* Page openings -------------------------------------------------------- */

.hero {
  padding-block: var(--vc-space-9) var(--vc-section);
}

.hero__statement {
  max-width: 21em;
  font-size: var(--vc-text-display);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-tight);
  letter-spacing: var(--vc-tracking-display);
}

.hero__statement .muted {
  display: inline;
}

.hero__foot {
  display: grid;
  gap: var(--vc-space-6);
  margin-top: var(--vc-space-7);
}

@media (min-width: 64rem) {
  .hero {
    padding-top: var(--vc-space-10);
  }

  .hero__foot {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: end;
    margin-top: var(--vc-space-8);
  }
}

.page-head {
  padding-block: var(--vc-space-8) var(--vc-space-7);
}

.page-head h1 {
  max-width: 18em;
  font-size: var(--vc-text-3xl);
}

.page-head .lead {
  margin-top: var(--vc-space-5);
}

.page-head .small {
  margin-top: var(--vc-space-4);
}

@media (min-width: 64rem) {
  .page-head {
    padding-block: var(--vc-space-9) var(--vc-space-8);
  }
}

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

.section {
  padding-block: var(--vc-space-7) var(--vc-section);
  border-top: 1px solid var(--vc-rule);
}

.section__grid {
  display: grid;
  gap: var(--vc-space-6) var(--vc-space-7);
}

.section__aside h2 {
  font-size: var(--vc-text-2xl);
}

.section__aside p {
  max-width: 34ch;
  margin-top: var(--vc-space-4);
  color: var(--vc-ink-secondary);
}

.section__aside .text-link {
  display: inline-block;
  margin-top: var(--vc-space-5);
}

@media (min-width: 64rem) {
  .section__grid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }

  .section__aside {
    position: sticky;
    top: var(--vc-space-6);
    align-self: start;
  }
}

/* Service index (home) ------------------------------------------------- */

.index {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--vc-ink);
}

.index li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: var(--vc-space-1) var(--vc-space-4);
  padding-block: var(--vc-space-5);
  border-bottom: 1px solid var(--vc-rule);
  transition: background-color var(--vc-duration-quick) var(--vc-ease-out);
}

.index__num {
  grid-row: span 2;
  color: var(--vc-accent);
  font-size: var(--vc-text-sm);
  font-weight: var(--vc-weight-medium);
  font-variant-numeric: tabular-nums;
  line-height: 1.9;
}

.index h3 {
  font-size: var(--vc-text-lg);
  line-height: var(--vc-leading-heading);
  letter-spacing: 0;
}

.index h3 a {
  color: var(--vc-ink);
  text-decoration-color: transparent;
}

/* The whole row is the link target; the name carries the accessible name. */
.index h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.index h3 a:focus-visible {
  outline: none;
}

.index h3 a:focus-visible::after {
  outline: 2px solid var(--vc-focus);
  outline-offset: -2px;
  border-radius: var(--vc-radius-xs);
}

.index p {
  color: var(--vc-ink-secondary);
}

@media (hover: hover) and (pointer: fine) {
  .index li:hover {
    background: var(--vc-surface);
  }

  .index li:hover h3 a {
    text-decoration-color: var(--vc-accent);
  }
}

@media (min-width: 48rem) {
  .index li {
    grid-template-columns: 3.5rem minmax(0, 5fr) minmax(0, 7fr);
    gap: var(--vc-space-5);
    padding: var(--vc-space-5) var(--vc-space-4) var(--vc-space-5) 0;
  }

  .index__num {
    grid-row: auto;
    padding-left: var(--vc-space-2);
  }
}

/* Product rows (home) -------------------------------------------------- */

.rows {
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--vc-ink);
}

.rows li {
  display: grid;
  gap: var(--vc-space-2) var(--vc-space-5);
  padding-block: var(--vc-space-5);
  border-bottom: 1px solid var(--vc-rule);
}

.rows h3 {
  font-size: var(--vc-text-xl);
}

.rows p {
  max-width: var(--vc-measure);
  color: var(--vc-ink-secondary);
}

.rows__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--vc-space-2) var(--vc-space-4);
  font-size: var(--vc-text-sm);
  line-height: var(--vc-leading-ui);
}

@media (min-width: 48rem) {
  .rows li {
    grid-template-columns: minmax(0, 3fr) minmax(0, 6fr) minmax(0, 3fr);
    align-items: baseline;
  }

  .rows__meta {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
  }
}

.tag {
  display: inline-block;
  padding: 0.125rem var(--vc-space-2);
  background: var(--vc-accent-soft);
  color: var(--vc-accent);
  font-size: var(--vc-text-xs);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-ui);
  border-radius: var(--vc-radius-xs);
  white-space: nowrap;
}

/* Facts (label and value pairs) ---------------------------------------- */

.facts {
  display: grid;
  border-top: 1px solid var(--vc-ink);
}

.facts > div {
  display: grid;
  gap: var(--vc-space-1) var(--vc-space-5);
  padding-block: var(--vc-space-4);
  border-bottom: 1px solid var(--vc-rule);
}

.facts dt {
  color: var(--vc-ink-tertiary);
  font-size: var(--vc-text-sm);
}

@media (min-width: 48rem) {
  .facts > div {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
    align-items: baseline;
  }
}

/* Services page -------------------------------------------------------- */

.service {
  display: grid;
  gap: var(--vc-space-5) var(--vc-space-7);
  padding-block: var(--vc-space-7) var(--vc-space-8);
  border-top: 1px solid var(--vc-rule);
  scroll-margin-top: var(--vc-space-5);
}

.service:first-of-type {
  border-top-color: var(--vc-ink);
}

.service__num {
  color: var(--vc-accent);
  font-size: var(--vc-text-sm);
  font-weight: var(--vc-weight-medium);
  font-variant-numeric: tabular-nums;
}

.service h2 {
  margin-top: var(--vc-space-2);
  font-size: var(--vc-text-2xl);
}

.service__body > p {
  max-width: var(--vc-measure);
}

.service__body > p:first-child {
  font-size: var(--vc-text-lg);
}

.service__body > p + p {
  margin-top: var(--vc-space-4);
  color: var(--vc-ink-secondary);
}

.service h3 {
  margin-top: var(--vc-space-6);
  color: var(--vc-ink-tertiary);
  font-size: var(--vc-text-sm);
  letter-spacing: 0;
}

@media (min-width: 64rem) {
  .service {
    grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  }
}

.covers {
  display: grid;
  margin-top: var(--vc-space-3);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--vc-rule);
}

.covers li {
  padding-block: var(--vc-space-3);
  border-bottom: 1px solid var(--vc-rule);
}

@media (min-width: 48rem) {
  .covers {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--vc-space-6);
  }
}

/* Products page -------------------------------------------------------- */

.product {
  display: grid;
  gap: var(--vc-space-7);
  padding-block: var(--vc-space-7) var(--vc-section);
  border-top: 1px solid var(--vc-rule);
  scroll-margin-top: var(--vc-space-5);
}

.product__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--vc-space-3) var(--vc-space-4);
}

.product h2 {
  font-size: var(--vc-text-2xl);
}

.product__text > p {
  max-width: var(--vc-measure);
  margin-top: var(--vc-space-4);
}

.product__text > p.lead {
  margin-top: var(--vc-space-5);
  color: var(--vc-ink);
}

.product__text > p.small {
  margin-top: var(--vc-space-5);
}

.product__text .text-link {
  display: inline-block;
  margin-top: var(--vc-space-5);
}

.features {
  margin-top: var(--vc-space-6);
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--vc-rule);
}

.features li {
  padding-block: var(--vc-space-3);
  border-bottom: 1px solid var(--vc-rule);
  color: var(--vc-ink-secondary);
}

.features strong {
  color: var(--vc-ink);
  font-weight: var(--vc-weight-medium);
}

@media (min-width: 64rem) {
  .product {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .product__media {
    position: sticky;
    top: var(--vc-space-6);
  }
}

/* Screenshots: one main capture, optionally a detail laid over its lower corner. */

.shots {
  display: grid;
  gap: var(--vc-space-4);
}

.shot img {
  width: 100%;
  background: var(--vc-surface);
  border-radius: var(--vc-radius-md);
  box-shadow: var(--vc-shadow-1);
  outline: 1px solid rgb(17 22 20 / 0.06);
  outline-offset: -1px;
}

.shots figcaption {
  max-width: var(--vc-measure-narrow);
  color: var(--vc-ink-tertiary);
  font-size: var(--vc-text-sm);
}

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

.shots--layered .shot--main {
  grid-column: 1 / -1;
  grid-row: 1;
}

.shots--layered .shot--detail {
  grid-row: 2;
  margin-top: calc(-1 * var(--vc-space-8));
}

.shots--layered .shot--phone {
  grid-column: 8 / -1;
}

.shots--layered .shot--strip {
  grid-column: 3 / -1;
}

.shots--layered figcaption {
  grid-column: 1 / -1;
  grid-row: 3;
}

@media (min-width: 64rem) {
  .shots--layered .shot--main {
    grid-column: 1 / 12;
  }

  .shots--layered .shot--phone {
    grid-column: 9 / -1;
    margin-top: calc(-1 * var(--vc-space-10));
  }

  .shots--layered .shot--strip {
    grid-column: 4 / -1;
  }

  /* Beside the phone, the caption fills the space the overlap leaves. */
  .shots--layered .shot--phone ~ figcaption {
    grid-column: 1 / 8;
    grid-row: 2;
    align-self: start;
  }
}

/* A typographic panel stands in where no clean screenshot exists. */
.panel {
  display: grid;
  align-content: space-between;
  gap: var(--vc-space-8);
  min-height: 18rem;
  padding: var(--vc-space-7) var(--vc-space-6);
  background: var(--vc-surface);
  border: 1px solid var(--vc-rule);
  border-radius: var(--vc-radius-lg);
}

.panel blockquote p {
  max-width: 14em;
  font-size: var(--vc-text-3xl);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-tight);
  letter-spacing: var(--vc-tracking-display);
  text-wrap: balance;
}

.panel .small {
  max-width: var(--vc-measure-narrow);
}

/* About ---------------------------------------------------------------- */

.prose-block > p {
  max-width: var(--vc-measure);
}

.prose-block > p + p {
  margin-top: var(--vc-space-4);
}

.prose-block > p:first-child {
  font-size: var(--vc-text-lg);
}

.prose-block .actions {
  margin-top: var(--vc-space-6);
}

.principles {
  display: grid;
  gap: 0 var(--vc-space-6);
  padding: 0;
  list-style: none;
}

.principles li {
  padding-block: var(--vc-space-5) var(--vc-space-6);
  border-top: 1px solid var(--vc-ink);
}

.principles h3 {
  font-size: var(--vc-text-xl);
}

.principles p {
  margin-top: var(--vc-space-3);
  color: var(--vc-ink-secondary);
}

@media (min-width: 48rem) {
  .principles {
    grid-template-columns: 1fr 1fr;
  }
}

.boilerplate {
  padding: var(--vc-space-6);
  background: var(--vc-accent-soft);
  border-radius: var(--vc-radius-sm);
}

.boilerplate p {
  max-width: var(--vc-measure);
  font-size: var(--vc-text-lg);
}

/* Contact -------------------------------------------------------------- */

.contact-email {
  display: inline-block;
  font-size: var(--vc-text-xl);
  font-weight: var(--vc-weight-medium);
  line-height: var(--vc-leading-heading);
  letter-spacing: var(--vc-tracking-heading);
  text-decoration-thickness: 2px;
  overflow-wrap: anywhere;
}

@media (min-width: 30rem) {
  .contact-email {
    font-size: var(--vc-text-2xl);
  }
}

.contact-facts {
  margin-top: var(--vc-space-7);
}

/* Legal pages and other long reading ---------------------------------- */

.prose {
  max-width: var(--vc-measure);
  padding-bottom: var(--vc-section);
}

.prose h2 {
  margin-top: var(--vc-space-8);
  font-size: var(--vc-text-xl);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  margin-top: var(--vc-space-6);
  font-size: var(--vc-text-lg);
  letter-spacing: 0;
}

.prose p,
.prose ul,
.prose ol,
.prose dl {
  margin-top: var(--vc-space-4);
}

.prose h2 + p,
.prose h3 + p {
  margin-top: var(--vc-space-3);
}

.prose ul,
.prose ol {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: var(--vc-space-2);
}

.prose li::marker {
  color: var(--vc-ink-tertiary);
}

.prose .facts {
  margin-top: var(--vc-space-5);
}

/* Footer: the inverse band --------------------------------------------- */

.site-footer {
  margin-top: auto;
  padding-block: var(--vc-space-8) var(--vc-space-6);
  background: var(--vc-inverse);
  color: var(--vc-inverse-ink);
  font-size: var(--vc-text-sm);
}

.site-footer ::selection {
  background: var(--vc-inverse-ink);
  color: var(--vc-inverse);
}

.site-footer a {
  color: var(--vc-inverse-ink);
  text-decoration-color: var(--vc-inverse-ink-secondary);
}

.site-footer a:hover {
  color: var(--vc-inverse-accent);
  text-decoration-color: currentColor;
}

.site-footer :focus-visible {
  outline-color: var(--vc-inverse-accent);
}

.site-footer__top {
  display: grid;
  gap: var(--vc-space-7);
  padding-bottom: var(--vc-space-7);
}

.site-footer__home {
  display: inline-block;
  color: var(--vc-inverse-ink);
}

.site-footer__brand p {
  max-width: 32ch;
  margin-top: var(--vc-space-4);
  color: var(--vc-inverse-ink-secondary);
}

.site-footer__brand p:last-child {
  color: var(--vc-inverse-ink);
}

.site-footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--vc-space-6);
}

.site-footer h2 {
  color: var(--vc-inverse-ink-secondary);
  font-size: var(--vc-text-xs);
  font-weight: var(--vc-weight-medium);
  letter-spacing: 0;
}

.site-footer ul {
  margin-top: var(--vc-space-3);
  padding: 0;
  list-style: none;
}

.site-footer li a {
  display: inline-block;
  padding-block: var(--vc-space-1);
}

.site-footer__legal {
  display: grid;
  gap: var(--vc-space-2);
  padding-top: var(--vc-space-5);
  border-top: 1px solid var(--vc-inverse-rule);
  color: var(--vc-inverse-ink-secondary);
  font-size: var(--vc-text-xs);
  line-height: var(--vc-leading-body);
}

.site-footer__legal p:first-child {
  max-width: 80ch;
}

@media (min-width: 64rem) {
  .site-footer__top {
    grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  }

  .site-footer__legal {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--vc-space-6);
  }
}

/* Preferences ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }

  .button:active {
    transform: none;
  }
}

@media (forced-colors: active) {
  .tag,
  .boilerplate,
  .panel {
    border: 1px solid CanvasText;
  }

  .shot img {
    outline: 1px solid CanvasText;
  }

  /* The full-colour logo has fixed fills, which forced colours leave alone: dark ink on a dark Canvas. */
  .logo path {
    fill: currentColor;
  }

  /* Forced colours drop the button's fill; a border keeps it recognisable as a button. */
  .button {
    border: 1px solid LinkText;
  }
}

@media print {
  .site-nav,
  .skip-link {
    display: none;
  }

  .site-footer {
    background: none;
    color: #000;
  }

  .site-footer a,
  .site-footer__legal,
  .site-footer__brand p {
    color: #000;
  }

  .shot img {
    box-shadow: none;
  }

  .section__aside,
  .product__media {
    position: static;
  }
}
