/* Prove Website 2.0. Source of truth: Figma "PRV_Brand Extension: Website 2.0 (Client)".
   Desktop frames are 1440 wide (12 columns, 10px margins and gutters); mobile frames are
   402 wide (4 columns). Sizes interpolate between the two with --fluid. */

/* ------------------------------------------------------------------ fonts
   The design uses APK Protocol, GT Sectra and GT Mechanik Mono. Web licences
   (Nov 2026, SpaceProof Industries Limited) cover only the weights below:
   APK Type order 3258 (5 employees) and Grilli Type order 126418 (50k monthly
   visitors). Buy a licence before adding another weight or style. */
@font-face {
  font-family: "APK Protocol";
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/APKProtocol-Medium.woff2") format("woff2");
}
@font-face {
  font-family: "APK Protocol";
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/APKProtocol-SemiBold.woff2") format("woff2");
}
@font-face {
  font-family: "APK Protocol";
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/APKProtocol-Bold.woff2") format("woff2");
}
@font-face {
  font-family: "GT Sectra";
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/GT-Sectra-Regular.woff2") format("woff2");
}
@font-face {
  font-family: "GT Sectra";
  font-weight: 350;
  font-display: optional;
  src: url("/assets/fonts/GT-Sectra-Book.woff2") format("woff2");
}
@font-face {
  font-family: "GT Mechanik Mono";
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/GT-Mechanik-Mono-Medium.woff2") format("woff2");
}

/* ------------------------------------------------------------------ tokens */
:root {
  /* Colour styles from the Figma file */
  --black: #000000;
  --black-75: #404040;
  --black-50: #808080;
  --black-25: #d9d9d9;
  --paper-100: #fffbde;
  --paper-25: #fffef7;
  --steel-100: #525252;
  --steel-75: #7d7d7d;
  --steel-50: #a8a8a8;
  --steel-25: #d4d4d4;
  --concrete-100: #e6e6e6;
  --concrete-50: #f3f3f3;
  --concrete-25: #f9f9f9;
  --slate-100: #232323;
  --slate-50: #919191;
  --blue-concrete-100: #c3d0ee;
  --blue-concrete-50: #e1e7f7;
  --lime-100: #baffb5;
  --green-100: #00663b;
  --cobalt-100: #0e42ba;
  --white: #ffffff;

  --bg: var(--paper-25);
  --ink: var(--black);
  /* "Lines": #525252 at 0.3px and 50% (20% on phones); a half pixel is the
     thinnest hairline browsers draw. */
  --line: rgba(82, 82, 82, 0.3);

  --sans: "APK Protocol", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --serif: "GT Sectra", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --mono:
    "GT Mechanik Mono", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  --margin: 10px;
  --gutter: 10px;
  --cols: 12;
  --radius: 2px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hero-intro-opacity: 0.12;

  /* 0px at the 402 mobile frame, 1px at the 1440 desktop frame: multiply by the
     desktop-minus-mobile difference in px to interpolate a size. */
  --t: clamp(0px, (100vw - 402px) / 1038, 1px);
}

@media (max-width: 767px) {
  :root {
    --cols: 4;
    --line: rgba(82, 82, 82, 0.12);
  }
}

/* ------------------------------------------------------------------ base */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  position: relative;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
  font-weight: inherit;
}
main,
.footer {
  position: relative;
  z-index: 1;
}
:focus-visible {
  outline: 2px solid var(--cobalt-100);
  outline-offset: 2px;
}

/* The file trims every text box to its capitals ("cap height" to baseline), so
   its spacing is measured between ink, not line boxes. Browsers without text-box
   keep their line boxes and run a few pixels looser. */
@supports (text-box: trim-both cap alphabetic) {
  h1,
  h2,
  h3,
  h4,
  h5,
  p,
  dt,
  dd,
  blockquote,
  figcaption {
    text-box: trim-both cap alphabetic;
  }
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: fixed;
  left: 10px;
  top: -60px;
  z-index: 100;
  background: var(--black);
  color: var(--paper-25);
  padding: 10px;
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.skip:focus {
  top: 10px;
}

/* The column hairlines drawn behind every page ("Lines" in the file). They stop
   at the top of the footer wordmark (its width-scaled height plus 10px under it). */
.grid-lines {
  position: absolute;
  inset: 0 0 calc((100vw - 20px) * 364.51 / 1420 + 10px);
  z-index: 0;
  pointer-events: none;
  display: grid;
  grid-template-columns: repeat(var(--cols), 1fr);
  column-gap: var(--gutter);
  padding: 0 var(--margin);
}
.grid-lines > * {
  border-inline: 0.5px solid var(--line);
}
@media (max-width: 767px) {
  .grid-lines > :nth-child(n + 5) {
    display: none;
  }
}

/* ------------------------------------------------------------------ type
   Desktop styles from the file; mobile sizes from the 402 frames. */
.h1-serif {
  font-family: var(--serif);
  font-weight: 350;
  --m: 56;
  --d: 128;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h2 {
  --m: 48;
  --d: 96;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h3 {
  --m: 32;
  --d: 64;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h4 {
  --m: 32;
  --d: 48;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.h5 {
  --m: 24;
  --d: 32;
  line-height: 1;
  letter-spacing: -0.02em;
}
.body-lg {
  --m: 20;
  --d: 24;
  line-height: 1;
  letter-spacing: -0.02em;
}
.body-md {
  --m: 16;
  --d: 20;
  line-height: 1;
  letter-spacing: -0.02em;
}
.body-sm {
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.caption {
  font-size: 12px;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 0.95;
}
.serif-lg {
  --m: 32;
  --d: 64;
}
.serif-md {
  --m: 20;
  --d: 32;
}
.serif-sm {
  --m: 16;
  --d: 20;
}
.mono {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  line-height: 1;
}

.h1-serif,
.h2,
.h3,
.h4,
.h5,
.body-lg,
.body-md,
.serif-lg,
.serif-md,
.serif-sm {
  font-size: calc(var(--m) * 1px + (var(--d) - var(--m)) * var(--t));
}

/* ------------------------------------------------------------------ buttons
   Mono uppercase labels, 10px padding, 2px corners. Hover states are the
   components' second variants. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px;
  border-radius: var(--radius);
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  line-height: 0.7; /* cap height: the file trims labels to their capitals */
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.btn-md {
  font-size: calc(16px + 4 * var(--t));
}
.btn-cream {
  background: var(--paper-25);
  color: var(--black);
}
.btn-cream:hover {
  background: var(--black);
  color: var(--paper-25);
}
.btn-black {
  background: var(--black);
  color: var(--paper-25);
}
.btn-black:hover {
  background: var(--lime-100);
  color: var(--black);
}
.btn-steel {
  background: var(--steel-100);
  color: var(--paper-25);
}
.btn-steel:hover {
  background: var(--blue-concrete-100);
  color: var(--black);
}
.btn-arrow {
  width: 0.7em;
  height: 0.7em;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--black);
  border-radius: 31px;
  background: var(--paper-25);
  font-family: var(--mono);
  font-size: 16px;
  line-height: 0.7; /* cap height: the file trims labels to their capitals */
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.tag-dot {
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: currentColor;
}

/* ------------------------------------------------------------------ nav
   Glass bar inset 10px. "Light" glass sits over dark imagery, "dark" glass over
   light pages; both carry cream text. Resources opens a column under itself. */
.nav {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  height: 51px;
  padding: 10px;
  overflow: hidden;
  border: 0.5px solid rgba(255, 254, 247, 0.4); /* the file's 0.2px #fffef7 */
  border-radius: var(--radius);
  background: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  color: var(--paper-25);
  transition:
    height 0.35s var(--ease),
    background-color 0.3s var(--ease);
}
body[data-nav-theme="light"] .nav {
  background: rgba(255, 254, 247, 0.2);
}
.nav.resources-open {
  height: 175px;
}
.nav-home {
  flex: none;
  padding-top: 1px;
}
.nav-wordmark {
  width: 117px;
  height: 30px;
}
.nav-menu {
  display: flex;
  gap: 10px;
}
.nav-links,
.nav-actions {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.nav-link {
  display: block;
  padding: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  line-height: 0.7; /* cap height: the file trims labels to their capitals */
  letter-spacing: -0.01em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--paper-25);
  transition: color 0.3s var(--ease);
}
.nav-link:hover,
.nav-link[aria-current="page"],
.nav-link.is-current {
  color: var(--black);
}
.nav-resources {
  position: relative;
  min-width: 130px;
}
.nav-sub {
  position: absolute;
  top: 31px;
  left: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s var(--ease),
    visibility 0s linear 0.25s;
}
.nav.resources-open .nav-sub {
  opacity: 1;
  visibility: visible;
  transition-delay: 0.1s, 0s;
}
.nav-toggle {
  display: none;
}

@media (max-width: 899px) {
  .nav {
    top: 9px;
    left: 9px;
    right: 9px;
    height: 50px;
    flex-direction: column;
    justify-content: flex-start;
    -webkit-backdrop-filter: blur(70px);
    backdrop-filter: blur(70px);
  }
  .nav.open {
    height: min(800px, calc(100dvh - 18px));
  }
  .nav.resources-open:not(.open) {
    height: 50px;
  }
  .nav-home {
    padding-top: 0;
  }
  .nav-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
  }
  .nav-plus,
  .nav-plus::before {
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--paper-25);
    transition: transform 0.35s var(--ease);
  }
  .nav-plus::before {
    content: "";
    transform: rotate(90deg);
  }
  .nav.open .nav-plus {
    transform: rotate(45deg);
  }
  .nav-menu {
    flex: 1;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    padding-top: 51px;
    /* The 800 sheet sets the buttons at y574; shorter screens close the gap. */
    padding-bottom: clamp(0px, 100dvh - 18px - 689px, 111px);
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.25s var(--ease),
      visibility 0s linear 0.25s;
  }
  .nav.open .nav-menu {
    opacity: 1;
    visibility: visible;
    transition-delay: 0.1s, 0s;
  }
  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
  /* Resources heads the left column; its links run down the right, and FAQ's
     drops back under Resources (as in the 402 frame). */
  .nav-resources {
    display: grid;
    grid-template-columns: auto auto;
    column-gap: 61px;
    justify-content: start;
    align-items: start;
  }
  .nav-resources > .nav-link {
    pointer-events: none;
    grid-column: 1;
    grid-row: 1;
  }
  .nav-sub {
    display: contents;
    visibility: inherit;
  }
  .nav-sub li {
    grid-column: 2;
  }
  .nav-sub li:last-child {
    grid-column: 1;
    grid-row: 4;
  }
  .nav-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}
body.nav-locked {
  overflow: hidden;
}

/* ------------------------------------------------------------------ footer */
.footer {
  padding: 100px var(--margin) var(--margin);
}
.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: var(--gutter);
  align-items: start;
}
.footer-link {
  display: inline-block;
  padding: 10px;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 16px;
  line-height: 0.7; /* cap height: the file trims labels to their capitals */
  letter-spacing: -0.01em;
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}
.footer-link:hover {
  color: var(--black-50);
}
/* Link text starts on the column edge; the 10px hit padding hangs outside it. */
.footer-list {
  margin-left: -10px;
}
.footer-mark {
  display: block;
}
.footer-wordmark {
  width: 100%;
  height: auto;
  aspect-ratio: 1420 / 364.51;
}

@media (max-width: 767px) {
  .footer {
    padding-top: 10px;
  }
  .footer-cols {
    grid-template-columns: 1fr 1fr;
    row-gap: 50px;
  }
  .footer-signin {
    grid-column: 1 / -1;
  }
  .footer-legal {
    grid-column: 1 / -1;
  }
  .footer-mark {
    margin-top: 50px;
  }
}

/* ------------------------------------------------------------------ shared pieces */
.btn-green {
  background: var(--green-100);
  color: var(--paper-25);
}
.btn-green:hover {
  background: var(--lime-100);
  color: var(--black);
}
.cta-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.cta-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* The file's chamfered card ("octagon" with rounded side corners). --a is the
   chamfer's horizontal run; every instance in the file is this one outline scaled
   uniformly by --a. Browsers without CSS shape() get straight corners. */
.chamfer {
  --a: 65px;
  clip-path: polygon(
    var(--a) 0,
    calc(100% - var(--a)) 0,
    100% calc(var(--a) * 0.4878),
    100% calc(100% - var(--a) * 0.4878),
    calc(100% - var(--a)) 100%,
    var(--a) 100%,
    0 calc(100% - var(--a) * 0.4878),
    0 calc(var(--a) * 0.4878)
  );
}
@supports (clip-path: shape(from 0 0, line to 1px 1px)) {
  .chamfer {
    clip-path: shape(
      from var(--a) 0,
      hline to calc(100% - var(--a)),
      line to calc(100% - var(--a) * 0.1776) calc(var(--a) * 0.2483),
      curve to 100% calc(var(--a) * 0.4878) with calc(100% - var(--a) * 0.0722)
        calc(var(--a) * 0.2799) /
      100% calc(var(--a) * 0.3773),
      vline to calc(100% - var(--a) * 0.4878),
      curve to calc(100% - var(--a) * 0.1776) calc(100% - var(--a) * 0.2483)
        with 100% calc(100% - var(--a) * 0.3773) /
      calc(100% - var(--a) * 0.0722) calc(100% - var(--a) * 0.2799),
      line to calc(100% - var(--a)) 100%,
      hline to var(--a),
      line to calc(var(--a) * 0.1776) calc(100% - var(--a) * 0.2483),
      curve to 0 calc(100% - var(--a) * 0.4878) with calc(var(--a) * 0.0722)
        calc(100% - var(--a) * 0.2799) /
      0 calc(100% - var(--a) * 0.3773),
      vline to calc(var(--a) * 0.4878),
      curve to calc(var(--a) * 0.1776) calc(var(--a) * 0.2483) with 0
        calc(var(--a) * 0.3773) /
      calc(var(--a) * 0.0722) calc(var(--a) * 0.2799),
      close
    );
  }
}

/* Phones turn the outline a quarter turn: the chamfers run down the sides of the
   tall cards (the file rotates its 646 x 380 mask). --a stays the long run. */
@media (max-width: 767px) {
  .chamfer.chamfer-v {
    --a: calc((100vw - 20px) * 0.2353);
    clip-path: polygon(
      0 var(--a),
      0 calc(100% - var(--a)),
      calc(var(--a) * 0.4878) 100%,
      calc(100% - var(--a) * 0.4878) 100%,
      100% calc(100% - var(--a)),
      100% var(--a),
      calc(100% - var(--a) * 0.4878) 0,
      calc(var(--a) * 0.4878) 0
    );
  }
  @supports (clip-path: shape(from 0 0, line to 1px 1px)) {
    .chamfer.chamfer-v {
      clip-path: shape(
        from 0 var(--a),
        vline to calc(100% - var(--a)),
        line to calc(var(--a) * 0.2483) calc(100% - var(--a) * 0.1776),
        curve to calc(var(--a) * 0.4878) 100% with calc(var(--a) * 0.2799)
          calc(100% - var(--a) * 0.0722) /
        calc(var(--a) * 0.3773) 100%,
        hline to calc(100% - var(--a) * 0.4878),
        curve to calc(100% - var(--a) * 0.2483) calc(100% - var(--a) * 0.1776)
          with calc(100% - var(--a) * 0.3773) 100% /
        calc(100% - var(--a) * 0.2799) calc(100% - var(--a) * 0.0722),
        line to 100% calc(100% - var(--a)),
        vline to var(--a),
        line to calc(100% - var(--a) * 0.2483) calc(var(--a) * 0.1776),
        curve to calc(100% - var(--a) * 0.4878) 0 with
          calc(100% - var(--a) * 0.2799) calc(var(--a) * 0.0722) /
        calc(100% - var(--a) * 0.3773) 0,
        hline to calc(var(--a) * 0.4878),
        curve to calc(var(--a) * 0.2483) calc(var(--a) * 0.1776) with
          calc(var(--a) * 0.3773) 0 /
        calc(var(--a) * 0.2799) calc(var(--a) * 0.0722),
        close
      );
    }
  }
}

/* Endless strips (logos, customer stories): two identical tracks slide left and
   pause under the pointer. Reduced motion turns them into scrollable rows. */
.ticker {
  display: flex;
  overflow: hidden;
}
.ticker-track {
  display: flex;
  flex: none;
  gap: 10px;
  padding-right: 10px;
  animation: ticker var(--ticker-time, 60s) linear infinite;
}
.ticker:hover .ticker-track,
.ticker:focus-within .ticker-track {
  animation-play-state: paused;
}
@keyframes ticker {
  to {
    transform: translateX(-100%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker {
    overflow-x: auto;
    scrollbar-width: none;
  }
  .ticker-track {
    animation: none;
  }
  .ticker-track[aria-hidden="true"] {
    display: none;
  }
}

/* ------------------------------------------------------------------ home: hero; intro (Product page) */
.hero {
  position: relative;
  overflow: hidden;
  /* Always the full window; the reel is cropped to fit (object-fit: cover). */
  height: 100svh;
  min-height: 450px;
  background: var(--black);
  color: var(--white);
}
.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-media {
  object-fit: cover;
}
.hero-shade {
  background: rgba(0, 0, 0, 0.3);
}
.hero-mark {
  position: absolute;
  left: 50%;
  top: 48.8%;
  transform: translate(-50%, -50%);
  width: calc(152px + 184 * var(--t));
  height: auto;
  aspect-ratio: 1;
  color: var(--paper-25);
}
.hero-tagline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8.6%;
  text-align: center;
  font-size: calc(20px + 12 * var(--t));
  padding: 0 var(--margin);
}

/* Reveal motion, not a still-to-video swap. Posters are reserved for fallback,
   except the hero's, which matches the first frame of its reel. */
.video-poster,
[data-video-frame] > video {
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}
.video-ready > video,
.video-fallback > .video-poster {
  opacity: 1;
}
/* The hero opens the page, so its poster (the reel's first frame) shows at once
   instead of a black screen while the reel loads; the reel fades in over it. */
.hero > .video-poster {
  opacity: 1;
  transition: none;
}
.video-frame > video,
.video-frame > .video-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .video-poster,
  [data-video-frame] > video {
    transition: none;
  }
}
.intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50px + 10 * var(--t));
  padding: calc(50px + 50 * var(--t)) var(--margin);
  text-align: center;
}
.intro .h2,
.intro-lede {
  max-width: 970px;
}

/* ------------------------------------------------------------------ home: product film
   Label, serif heading and copy over a framed, muted preview loop; "Watch the
   full video" links to the film on YouTube. */
/* Sized like felt.com's section: a centred column up to 1320px wide with a 34px
   gutter (20px at 960px and below), so the film fills most of the window; the
   heading and copy hold a 760px measure. */
.feature {
  --feature-gutter: 34px;
  max-width: calc(1320px + 2 * var(--feature-gutter));
  margin-inline: auto;
  padding: 72px var(--feature-gutter) 0;
}
@media (max-width: 960px) {
  .feature {
    --feature-gutter: 20px;
    padding-top: 56px;
  }
}
.feature-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--green-100);
}
.feature-title {
  margin-top: 16px;
  max-width: 760px;
  font-size: clamp(26px, 3.4vw, 46px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.feature-body {
  margin-top: 40px;
  max-width: 760px;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.01em;
  text-wrap: pretty;
  color: var(--slate-100);
}
.feature-media {
  position: relative;
  margin-top: 40px;
  border: 1px solid rgba(35, 35, 35, 0.24);
  border-radius: 6px;
  overflow: hidden;
  background: var(--slate-100);
  box-shadow: 0 24px 60px -30px rgba(35, 35, 35, 0.4);
}
.feature-media video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Pause / play for the product film, in the frame's bottom-right corner. site.js
   removes `hidden` once the film is playing, so it never sits over a still. */
.video-toggle {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(35, 35, 35, 0.18);
  border-radius: 50%;
  background: rgba(255, 254, 247, 0.92);
  color: var(--ink);
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}
.video-toggle[hidden] {
  display: none;
}
.video-toggle:hover,
.video-toggle:focus-visible {
  background: var(--ink);
  color: var(--paper-25);
}
.toggle-icon {
  grid-area: 1 / 1;
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.toggle-play {
  display: none;
  margin-left: 2px;
}
.video-paused .toggle-pause {
  display: none;
}
.video-paused .toggle-play {
  display: block;
}
@media (max-width: 767px) {
  .video-toggle {
    right: 8px;
    bottom: 8px;
    width: 32px;
    height: 32px;
  }
}
.feature-watch {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: calc(16px + 8 * var(--t));
  font-family: var(--sans);
  font-size: calc(16px + 2 * var(--t));
  letter-spacing: -0.01em;
  color: var(--ink);
}
.watch-ring {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--steel-50);
  border-radius: 50%;
  transition:
    background 0.2s var(--ease),
    border-color 0.2s var(--ease);
}
.watch-icon {
  width: 14px;
  height: 14px;
  margin-left: 2px;
  fill: currentColor;
}
.feature-watch:hover .watch-ring,
.feature-watch:focus-visible .watch-ring {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper-25);
}

/* ------------------------------------------------------------------ home: claims
   Three serif lines, each led by its figure in the sans, with a mono caption
   saying what the figure measures. Lines step across the page as in the file
   (x83, x34 and x158 of the 1440 frame); phones centre them. */
.claims {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(50px + 50 * var(--t)) var(--margin);
  overflow-x: clip;
}
.claim-list {
  width: 100%;
  margin: 100px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3.5vw;
}
.claim {
  display: flex;
  flex-direction: column;
  gap: 1.4vw;
}
.claim:nth-child(1) {
  margin-left: 5.07vw;
}
.claim:nth-child(2) {
  margin-left: 1.67vw;
}
.claim:nth-child(3) {
  margin-left: 10.28vw;
}
.claim-line {
  font-family: var(--serif);
  font-weight: 350;
  font-size: 9.4vw;
  line-height: 0.95;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
@supports (text-box: trim-both cap alphabetic) {
  .claim-line {
    text-box: trim-both cap alphabetic;
  }
}
.claim-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.94em;
  letter-spacing: -0.05em;
  color: var(--green-100);
}
.claim-sup {
  font-size: 0.42em;
  vertical-align: 0.95em;
  letter-spacing: 0;
}
.claim-unit {
  font-size: 0.42em;
  letter-spacing: -0.01em;
  margin-left: 0.08em;
}
.claim-note {
  margin: 0;
  white-space: nowrap;
  font-size: calc(12px + 2 * var(--t));
  line-height: 1.3;
  color: var(--black-50);
}

@media (max-width: 767px) {
  .claim-list {
    margin: 50px 0;
    gap: 50px;
  }
  .claim,
  .claim:nth-child(n) {
    align-items: center;
    gap: 16px;
    width: 100%;
    margin-left: 0;
    text-align: center;
  }
  .claim-line {
    font-weight: 400;
    font-size: 56px;
    white-space: normal;
  }
  .claim-note {
    max-width: 32ch;
    white-space: normal;
  }
}

/* Proof: three survey lines stepping as Home's do, each taking turns between
   its claims (site.js) with a cross-fade; the line keeps the taller one's height. */
.survey-claims {
  position: relative;
  overflow: hidden;
  background: var(--green-100);
  color: var(--paper-25);
}
.survey-claims > :not(.survey-media) {
  position: relative;
}
.survey-media {
  position: absolute;
  left: 50%;
  top: 50%;
  width: max(1440px, 100%);
  max-width: none;
  height: auto;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.survey-claims .tag-clear {
  border-color: currentColor;
}
.survey-claims .claim-num {
  color: var(--lime-100);
}
.survey-claims .claim-note {
  color: var(--paper-25);
}
.survey-claims .claim-list {
  margin-bottom: 50px;
}
.claim-turns {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}
.claim-turn {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: inherit;
  gap: inherit;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.8s ease,
    visibility 0s 0.8s;
}
.claim-turn.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s ease;
}
.survey-source {
  text-align: center;
}

/* ------------------------------------------------------------------ home: testimonial + logos */
.voices {
  background: var(--concrete-50);
  padding-top: calc(50px + 50 * var(--t));
}
.grow-wrap {
  display: flex;
  justify-content: center;
  padding: 0 var(--margin);
}
.quote-card {
  --a: calc(60px + 73.6 * var(--t));
  width: 67.96%; /* 965 of 1420 */
  /* The file's height, growing if the longest quote needs more. */
  min-height: max(420px, 39.44vw);
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 40px 24px;
  text-align: center;
  background: var(--blue-concrete-100);
}
.quote-label {
  font-size: 16px;
  margin-bottom: calc(10px + 30 * var(--t));
}
.quote-text {
  margin: 0;
  max-width: 628px;
  display: flex;
  flex-direction: column;
  gap: 1em;
  font-size: calc(24px + 12 * var(--t));
  line-height: 1;
  letter-spacing: -0.02em;
}
.quote-by {
  margin: 0;
  font-size: 16px;
}
/* The quotes stack in one cell, so the card keeps the tallest one's height;
   the old quote fades out before the next fades in, so they never overlap. */
.quote-slides {
  display: grid;
}
.quote-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.35s var(--ease),
    visibility 0s 0.35s;
}
.quote-slide.on {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s var(--ease) 0.35s;
}
.quote-aside {
  margin: 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.3;
  opacity: 0.7;
}
.quote-nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.quote-step {
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font-size: 20px;
  cursor: pointer;
}
.quote-step:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: -2px;
}
.logo-ticker {
  --ticker-time: 50s;
  padding: calc(50px + 50 * var(--t)) 0 100px;
}
.logo-card {
  --a: calc(52px + 13 * var(--t));
  width: calc(221px + 55 * var(--t));
  height: calc(149px + 37 * var(--t));
  flex: none;
  display: grid;
  place-items: center;
  background: var(--paper-25);
}
.logo-card img {
  width: calc(var(--w) * (0.8px + 0.2 * var(--t)));
  height: calc(var(--h) * (0.8px + 0.2 * var(--t)));
  object-fit: contain;
  color: var(--black);
}
@media (max-width: 767px) {
  .quote-card {
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 646;
    min-height: 0;
  }
}

/* ------------------------------------------------------------------ home: photo band */
.band {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: calc(450px + 300 * var(--t));
  background: var(--slate-100);
}
.band-media {
  position: absolute;
  left: 0;
  top: -10%;
  width: 100%;
  height: 120%;
  object-fit: cover;
  transform: translateY(calc(var(--parallax, 0) * 8%));
}
.band-text {
  position: relative;
  max-width: calc(345px + 360 * var(--t));
  padding: 0 var(--margin);
  text-align: center;
  color: var(--white);
  font-weight: 500;
  font-size: calc(32px + 16 * var(--t));
  line-height: 0.95;
  letter-spacing: -0.02em;
}

/* ------------------------------------------------------------------ home: sectors */
.sectors {
  padding: calc(50px + 50 * var(--t)) 0 calc(50px + 26 * var(--t));
  overflow: hidden;
}
.sectors-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  padding: 0 var(--margin) 100px;
}
.sectors-title {
  font-family: var(--serif);
  font-weight: 350;
  font-size: calc(64px + 64 * var(--t));
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.sectors-ctas {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}
/* The sector cards share one row on a wide page. Once a seventh of the row
   would be narrower than 170px they stop shrinking and the row wraps,
   dropping a card at a time onto the next line at the same size (the
   smallest phones still fit two across). */
.sector-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 var(--margin);
}
.sector {
  position: relative;
  flex: none;
  width: max(min(170px, (100% - 10px) / 2), (100% - 6 * 10px) / 7);
  /* The card is a size container, so its padding and pills scale with it. */
  container-type: inline-size;
  aspect-ratio: 427 / 534;
  background: var(--steel-50);
  overflow: hidden;
  color: var(--paper-25);
}
/* Each card opens its Product sector. A sector photo shows by default; on
   hover or keyboard focus it gives way to the Prove P render for the sector. */
.sector-link {
  position: absolute;
  inset: 0;
  padding: 5cqi;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: inherit;
  text-decoration: none;
  -webkit-user-drag: none;
}
.sector-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    opacity 0.45s ease,
    transform 0.8s ease;
}
/* Shade the photo's top and foot so the pills stay readable. */
.sector-link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0) 28%,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.5)
  );
  transition: opacity 0.45s ease;
}
.sector-media {
  position: absolute;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.96);
  transition:
    opacity 0.45s ease,
    transform 0.6s ease;
}
@media (hover: hover) {
  .sector-link:hover .sector-photo,
  .sector-link:focus-visible .sector-photo,
  .sector-link:hover::after,
  .sector-link:focus-visible::after {
    opacity: 0;
  }
  .sector-link:hover .sector-photo,
  .sector-link:focus-visible .sector-photo {
    transform: scale(1.04);
  }
  .sector-link:hover .sector-media,
  .sector-link:focus-visible .sector-media {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sector-photo,
  .sector-media {
    transition: opacity 0.2s ease;
    transform: none !important;
  }
}
/* The sector name sits at the top; on hover the people it serves appear at the foot. */
.sector-tag,
.sector-people {
  position: relative;
  z-index: 1;
}
.sector-tag {
  align-self: flex-start;
}
/* The people pills sit 25% smaller than the sector name and fill from the
   bottom row up, so a short row sits on top rather than alone at the foot. */
.sector-people {
  display: flex;
  flex-wrap: wrap-reverse;
  gap: 0.5em;
  font-size: clamp(7.5px, 4.65cqi, 12px);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 31px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  font-size: calc(13px + 3 * var(--t));
  line-height: 0.7;
  white-space: nowrap;
}
.pill .tag-dot {
  background: var(--paper-25);
}
.sector-link:hover .sector-people,
.sector-link:focus-visible .sector-people {
  max-height: 200px;
  visibility: visible;
}
.sector-link:focus-visible {
  outline-offset: -2px;
}
/* Pills scale with the card (about 12px text at 195px wide) and long ones wrap. */
.sector .pill {
  gap: 0.5em;
  padding: 0.5em 0.75em;
  font-size: clamp(10px, 6.2cqi, 16px);
  line-height: 1.15;
  white-space: normal;
}
.sector .sector-people .pill {
  font-size: inherit;
}
@media (max-width: 767px) {
  .sectors {
    display: flex;
    flex-direction: column;
  }
  .sectors-head {
    display: contents;
  }
  .sectors-title {
    order: 1;
    padding: 0 var(--margin) 50px 50px;
    font-weight: 400;
    white-space: nowrap;
  }
  .sector-grid {
    order: 2;
  }
  .sectors-ctas {
    order: 3;
    align-items: center;
    padding-top: 50px;
  }
}

/* ------------------------------------------------------------------ home: customer stories */
.stories {
  padding-top: calc(50px + 50 * var(--t));
}
.stories-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 0 var(--margin) calc(60px + 40 * var(--t));
  text-align: center;
}
.story-ticker {
  --ticker-time: 80s;
}
.story {
  width: 276px;
  height: 426px;
  flex: none;
  background: var(--concrete-50);
  padding: 57px 17px 62px 18px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: background-color 0.3s var(--ease);
}
.story-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.story-name {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.story-sector {
  font-size: 12px;
  line-height: 0.95;
  color: var(--black-50);
}
.story-logo {
  /* The firm's own mark sits at the card's foot (name above, sector on hover). */
  margin-top: auto;
  align-self: flex-start;
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  max-width: 70%;
  object-fit: contain;
  object-position: left bottom;
}
.story-sector {
  display: none;
}
.story:hover,
.story:focus-visible {
  background: var(--lime-100);
}
.story:hover .story-sector,
.story:focus-visible .story-sector {
  display: block;
}
.stories .cta-group {
  padding: 100px var(--margin);
}
/* A firm with a case study: the whole card links to it on Proof. */
.story-linked {
  position: relative;
}
.story-cover {
  position: absolute;
  inset: 0;
  outline-offset: -4px;
}
.story-read {
  margin: 0;
  font-size: 12px;
}
/* A card with a story always shows its pull quote, centred between name and logo. */
.story-teaser {
  margin: auto 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.story-teaser + .story-logo {
  margin-top: 0;
}
.story-linked:has(.story-cover:hover),
.story-linked:has(.story-cover:focus-visible) {
  background: var(--lime-100);
}
.story-linked:has(.story-cover:hover) .story-sector,
.story-linked:has(.story-cover:focus-visible) .story-sector {
  display: block;
}
/* Phones: the file's "Carousel" is a swiped row of #e6e6e6 cards in the hovered
   state, not a moving strip. */
@media (max-width: 767px) {
  .story-ticker {
    gap: 10px;
    padding: 0 var(--margin);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--margin);
    scrollbar-width: none;
  }
  .story-ticker::-webkit-scrollbar {
    display: none;
  }
  .story-ticker .ticker-track {
    animation: none;
    padding: 0;
  }
  .story-ticker .ticker-track[aria-hidden="true"] {
    display: none;
  }
  .story {
    scroll-snap-align: start;
    background: var(--concrete-100);
  }
}
@media (max-width: 767px) {
  .story-sector {
    display: block;
  }
  .stories .cta-group {
    padding: 50px var(--margin);
  }
}

/* ------------------------------------------------------------------ home: closing CTA */
/* The dev note: "Image mask to enlarge as the user scrolls to full width". In the
   reference films it reaches the window edges and its corners straighten. */
.cta-card {
  --a: calc((60px + 73.6 * var(--t)) * (1 - var(--grow, 0)));
  --w0: 67.96%;
  flex: none;
  position: relative;
  display: grid;
  place-items: center;
  width: calc(
    var(--w0) +
    (100% + 2 * var(--margin) - var(--w0)) *
    var(--grow, 0)
  );
  height: 39.44vw;
  min-height: 420px;
  background: var(--black);
  color: var(--white);
  text-align: center;
}
.cta-card > .video-poster {
  position: absolute;
  inset: 0;
}
.cta-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.cta-copy {
  position: relative;
  z-index: 1;
  translate: 0 calc(44 * var(--t)); /* the file sets the copy 33-47px below centre */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 24px;
}
.cta-title {
  max-width: calc(328px + 288 * var(--t));
  font-weight: 500;
  font-size: calc(32px + 16 * var(--t));
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.cta-sub {
  max-width: calc(277px + 206 * var(--t));
  font-size: 20px;
}
.big-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  padding: 100px var(--margin) 0;
}
.btn-big {
  height: calc(73px + 61 * var(--t));
  font-size: calc(16px + 14 * var(--t));
}
.btn-big .btn-arrow {
  width: 0.7em;
  height: 0.7em;
}
@media (max-width: 767px) {
  .cta-title {
    color: var(--paper-25);
    line-height: 1;
  }
  .cta-card {
    --w0: 100%;
    height: auto;
    aspect-ratio: 380 / 646;
    min-height: 0;
  }
  .big-ctas {
    grid-template-columns: 1fr;
    padding-top: 50px;
  }
}

/* ------------------------------------------------------------------ product: hero */
@media (prefers-reduced-motion: no-preference) {
  [data-hero-intro] img[data-build] {
    filter: opacity(var(--hero-intro-opacity));
  }
}
.tag-clear {
  background: transparent;
}
.p-hero {
  position: relative;
  overflow: hidden;
  margin: 12px var(--margin) 0;
  height: calc(450px + 99 * var(--t));
  border-radius: 5px;
  background: var(--concrete-100);
}
.p-hero-media {
  position: absolute;
  /* The calcsheet figure sits right of centre (file: x331 of 1420, x155 of 384). */
  left: calc(50% - 37px - 342 * var(--t));
  top: calc(-355px + 50 * var(--t));
  width: 841px;
  max-width: none;
  height: auto;
}
.p-hero-title {
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 19px;
  margin: 0;
  /* Hero titles take the homepage claims' serif. */
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 350;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.p-hero-title span {
  display: inline;
}
@media (min-width: 768px) {
  .p-hero-title {
    inset: 0;
    font-size: 4.44vw;
  }
  .p-hero-title span {
    position: absolute;
    top: 50%;
    transform: translateY(-40%);
    white-space: nowrap;
  }
  .p-hero-title span:first-child {
    left: 1.76%;
  }
  /* A split title keeps equal margins: the second half ends where the first
     begins from the other side. */
  .p-hero-title span:last-child:not(:first-child) {
    right: 1.76%;
  }
  /* Product's figure scales with the hero, as the title scales with the
     viewport, so "engineering" clears the figure at every width. At 1420 (the
     file's hero) it is x331, 841 wide, its top 579.5 above the title's centre. */
  .p-hero-product {
    container-type: inline-size;
  }
  .p-hero-product .p-hero-media {
    left: 23.31cqw;
    top: calc(50% - 40.81cqw);
    width: 59.23cqw;
  }
  .p-intro {
    display: none;
  }
}

/* ------------------------------------------------------------------ product: archetypes */
.archetypes {
  padding: 40px var(--margin) 0;
}
.arch-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 1280px; /* all seven sectors on one row on desktop */
  margin: 0 auto;
}
.arch-tab {
  padding: 10px;
  border: 0.2px solid var(--black);
  border-radius: var(--radius);
  background: var(--black-25);
  color: var(--black);
  -webkit-backdrop-filter: blur(16.3px);
  backdrop-filter: blur(16.3px);
  font: inherit;
  font-size: 16px;
  line-height: 0.7; /* cap height, as the file trims it */
  letter-spacing: -0.01em;
  cursor: pointer;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease),
    border-color 0.3s var(--ease);
}
.arch-tab:hover {
  border-color: var(--paper-25);
  background: var(--black-75);
  color: var(--paper-25);
}
.arch-tab[aria-selected="true"] {
  border-color: var(--paper-25);
  background: var(--black-75);
  color: var(--paper-25);
}
.arch-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50px + 50 * var(--t));
  padding-top: calc(50px + 50 * var(--t));
  text-align: center;
}
.arch-panel[hidden] {
  display: none;
}
.arch-about,
.arch-caps {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50px + 10 * var(--t));
  width: 100%;
}
.arch-body {
  max-width: 1061px;
  font-size: calc(24px + 24 * var(--t));
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.arch-question {
  font-size: calc(16px + 8 * var(--t));
  line-height: 1;
  letter-spacing: -0.02em;
}

/* The capability deck: the front card plus two smaller cards behind it, one
   peeking out on each side. "Next capability" rotates them (0.3s, out-cubic). */
.caps {
  position: relative;
  width: 100%;
  aspect-ratio: 1420 / 619;
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.cap {
  position: absolute;
  top: 0;
  left: 6.056%;
  width: 87.817%;
  height: 100%;
  display: grid;
  grid-template-columns: 410fr 828fr;
  column-gap: 0.722%;
  container-type: inline-size;
  /* Paper fills the gap between panel and media so the card behind stays hidden. */
  background: var(--bg);
  transition:
    transform 0.3s cubic-bezier(0, 0, 0.58, 1),
    opacity 0.3s cubic-bezier(0, 0, 0.58, 1),
    visibility 0.3s;
}
.cap[data-slot="front"] {
  z-index: 2;
}
.cap[data-slot="next"] {
  z-index: 1;
  transform: translateX(-11.91%) scale(0.8998);
}
.cap[data-slot="prev"] {
  z-index: 1;
  transform: translateX(11.99%) scale(0.8998);
}
/* Decks of four or more: the cards not peeking out wait behind the front card. */
.cap[data-slot="rest"] {
  z-index: 0;
  transform: scale(0.8998);
  opacity: 0;
  visibility: hidden;
}
.cap-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.41cqw 0.7cqw;
  background: var(--blue-concrete-100);
}
/* Each card keeps its own panel colour wherever it sits in the deck; the
   file's blue, grey, lime order repeats in longer decks. */
.cap[data-tone="2"] .cap-text {
  background: var(--concrete-100);
}
.cap[data-tone="3"] .cap-text {
  background: var(--lime-100);
}
/* The file advances the deck from a click anywhere on the front card. */
.cap {
  cursor: pointer;
}
.cap-head,
.cap-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.41cqw;
}
.cap-num {
  font-family: var(--mono);
  font-weight: 400;
  font-size: max(12px, 1.28cqw);
  line-height: 0.95;
}
.cap-title {
  margin: 0;
  font-size: 3.21cqw;
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.cap-body {
  max-width: 21.6cqw;
  font-size: 1.92cqw;
  line-height: 1;
  letter-spacing: -0.02em;
}
.cap-next {
  display: inline-flex;
  align-items: center;
  gap: 0.7cqw;
  padding: 0.7cqw;
  border: 0.88px solid var(--black);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  font-size: max(11px, 1.28cqw);
  cursor: pointer;
  transition: background-color 0.2s var(--ease);
}
.cap-next:hover {
  background: rgba(255, 255, 255, 0.4);
}
.cap-arrow {
  width: 0.8em;
  height: 0.8em;
  transform: rotate(45deg);
}
.cap-media {
  position: relative;
  overflow: hidden;
  border-radius: 1.76px;
  background: var(--slate-100);
}
.cap-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.7); /* the file's #000 70% layer */
}
.cap-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cap-stage {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.cap-shot {
  position: absolute;
  object-fit: cover;
}
@media (prefers-reduced-motion: reduce) {
  .cap {
    transition: none;
  }
}
/* Phones and narrow tablets: one card at a time, text panel above the media. */
@media (max-width: 899px) {
  .caps {
    aspect-ratio: auto;
    display: grid;
    margin: 0 calc(-1 * var(--margin));
    width: calc(100% + 2 * var(--margin));
  }
  .cap {
    position: relative;
    grid-area: 1 / 1;
    left: 0;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0 var(--margin);
    transform: none;
    transition: opacity 0.3s var(--ease);
  }
  .cap:not([data-slot="front"]) {
    transform: none;
    opacity: 0;
    visibility: hidden;
  }
  .cap-text {
    min-height: 400px;
    padding: 18px 9px;
  }
  .cap-head,
  .cap-foot {
    gap: 18px;
  }
  .cap-num {
    font-size: 16px;
  }
  .cap-title {
    font-size: 32px;
  }
  .cap-body {
    max-width: 290px;
    font-size: 20px;
  }
  .cap-next {
    gap: 9px;
    padding: 9px;
    font-size: 16px;
  }
  .cap-media {
    height: 400px;
  }
  .cap-stage {
    inset: auto 0;
    top: 50%;
    transform: translateY(-50%);
    aspect-ratio: 828 / 619;
  }
}

/* ------------------------------------------------------------------ product: new approach */
.approach {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50px + 10 * var(--t));
  padding: calc(50px + 50 * var(--t)) var(--margin) calc(100px + 100 * var(--t));
  text-align: center;
}
.approach-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50px + 10 * var(--t));
}
.approach-head .body-lg {
  max-width: 970px;
}
.approach-title {
  max-width: 1205px;
  font-size: calc(64px + 32 * var(--t));
  letter-spacing: -0.02em;
}
.approach-figs {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.approach-fig {
  --change: #b42318;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 36px;
  margin: 0;
  padding: 40px 20px 44px;
  border-radius: var(--radius);
  font-size: 16px;
  overflow: hidden;
}
.approach-fig > .mono {
  margin: 0;
}
.fig-old {
  background: var(--concrete-100);
}
.fig-new {
  background: var(--lime-100);
}
.approach-note {
  max-width: 340px;
  margin: -12px 0 0;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}
@media (min-width: 768px) {
  .approach-note {
    max-width: none;
  }
}

/* Fig. 01: the inputs, then each stage as a stack of the tools firms use for
   it. site.js lights one route per input, draws the dashed wires between its
   tools, then sends a change down the route in red, one tool at a time. */
.flow {
  position: relative;
  display: flex;
  align-items: center;
  gap: 56px;
  width: min(100%, 1380px);
  text-align: left;
}
.flow-wires {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.flow-wires path {
  fill: none;
  stroke: var(--black);
  stroke-width: 1.5;
  stroke-dasharray: 5 5;
}
.flow-wires .dim {
  stroke: var(--black-50);
  opacity: 0.25;
}
.flow-wires .redo {
  stroke: var(--change);
}
.flow-ins {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 200px;
  flex: none;
}
.flow-head {
  margin: 0 0 4px 2px;
  font-size: 11px;
}
.flow-in {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px 6px 6px;
  border: 1px solid transparent;
  border-radius: 9px;
  background: var(--concrete-50);
  text-align: left;
  cursor: pointer;
  opacity: 0.5;
  transition:
    opacity 0.3s,
    border-color 0.3s,
    background 0.3s;
}
.flow-in:hover {
  opacity: 0.85;
}
.flow-in[aria-pressed="true"] {
  opacity: 1;
  border-color: var(--black);
  background: var(--paper-25);
}
.flow-in strong {
  display: block;
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 14px;
}
.flow-in small,
.flow-who,
.flow-hand,
.flow-more,
.flow-change,
.flow-redo,
.flow-node small {
  font-family: var(--mono);
  font-size: 10px;
  text-transform: uppercase;
}
.flow-in small,
.flow-who,
.flow-more,
.flow-node small {
  color: var(--steel-100);
}
.flow-in small {
  display: block;
}
.flow-in .flow-chip {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.flow-change {
  display: none;
  position: absolute;
  top: -8px;
  right: 8px;
  padding: 2px 5px;
  border-radius: 4px;
  background: var(--change);
  color: var(--paper-25);
  white-space: nowrap;
}
[data-changing] .flow-in[aria-pressed="true"] .flow-change {
  display: block;
  animation: flow-pop 0.4s var(--ease);
}
.flow-chip {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--black);
  color: var(--paper-25);
}
.flow-chip img {
  width: 78%;
  height: 78%;
  object-fit: contain;
}
.flow-chip svg {
  width: 55%;
  height: 55%;
}
.chip-light,
.chip-file {
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--black-25);
}
.chip-file img {
  width: 86%;
  height: 86%;
}
.chip-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.chip-bluebeam {
  background: #0d7ad6;
}
.chip-prove img {
  width: 50%;
  height: 50%;
  filter: invert(1);
}
.flow-stages {
  position: relative;
  display: flex;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}
.flow-stage {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 128px;
  min-width: 0;
  max-width: 128px;
}
.flow-stage h3 {
  margin: 0;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
.flow-who {
  margin: 0 0 8px;
}
.flow-tool {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 3px 8px 3px 3px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--concrete-50);
  font-size: 12px;
  opacity: 0.42;
  transition:
    opacity 0.3s,
    background 0.3s,
    border-color 0.3s;
}
.flow-tool > span:nth-child(2) {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.flow-tool.on {
  opacity: 1;
  border-color: var(--black);
  background: var(--paper-25);
}
.flow-tool.redo {
  border-color: var(--change);
  background: #fff3f1;
}
.flow-redo {
  display: none;
  margin-left: auto;
  color: var(--change);
}
.flow-tool.redo .flow-redo {
  display: inline;
  animation: flow-pop 0.6s var(--ease);
}
.flow-more {
  display: none;
  margin: 2px 0 0;
}
.flow-hand {
  flex: 1 1 0;
  min-width: 40px;
  margin: 2px 0 0;
  color: var(--change);
  text-align: center;
  white-space: nowrap;
}
.flow-hand span {
  padding: 1px 4px;
  border-radius: 3px;
  transition:
    background 0.2s,
    color 0.2s;
}
.flow-hand.hot span {
  background: var(--change);
  color: var(--paper-25);
}
@keyframes flow-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

/* Fig. 02: the same input into one Prove model; every output follows it. */
.flow-prove {
  display: flex;
  align-items: flex-start;
}
.flow-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 120px;
}
.flow-node strong {
  font-weight: 400;
  font-size: 15px;
}
.flow-node .flow-chip {
  width: 52px;
  height: 52px;
  margin-top: 18px;
  border-radius: 12px;
}
.flow-hub .flow-chip {
  width: 88px;
  height: 88px;
  margin-top: 0;
  border-radius: 20px;
}
.flow-hub strong {
  font-size: 17px;
}
.flow-link {
  width: calc(60px + 120 * var(--t));
  height: calc(10px + 3 * var(--t));
  margin-top: 38px;
  border-radius: 999px;
  background: var(--black);
  transform-origin: left center;
}
.flow-ticks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
  margin: -14px 0 0;
  font-size: 10px;
  color: var(--green-100);
  transition: color 0.3s;
}
[data-changed] .flow-hub .flow-chip {
  animation: flow-pulse 0.7s var(--ease);
}
[data-changed] .flow-ticks {
  color: var(--black);
}
[data-changed] [data-prove-read] {
  color: var(--change);
}
@keyframes flow-pulse {
  40% {
    transform: scale(1.12);
  }
}
/* site.js sets data-animate when motion is allowed, then .in-view as the
   figures scroll in: the link draws across, then the outputs tick in. */
[data-approach][data-animate] .flow-link {
  transform: scaleX(0);
  transition: transform 0.6s var(--ease) 0.3s;
}
[data-approach][data-animate] .flow-ticks span {
  opacity: 0;
  transition: opacity 0.3s;
  transition-delay: calc(0.6s + var(--i) * 120ms);
}
[data-approach].in-view .flow-link {
  transform: none;
}
[data-approach].in-view .flow-ticks span {
  opacity: 1;
}

/* Narrower screens drop the wires and wrap the stages; phones show each
   stage's current tool with a count of the rest. */
@media (max-width: 1199px) {
  .flow {
    flex-direction: column;
    gap: 30px;
  }
  .flow-wires,
  .flow-hand {
    display: none;
  }
  .flow-ins {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    width: 100%;
  }
  .flow-head {
    grid-column: 1 / -1;
  }
  .flow-stages {
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 10px;
    width: 100%;
  }
}
@media (max-width: 767px) {
  .flow-ins {
    grid-template-columns: 1fr 1fr;
  }
  .flow-in small {
    display: none;
  }
  .flow-stages {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .flow-stage {
    max-width: none;
  }
  .flow-tool:not(.on) {
    display: none;
  }
  .flow-more {
    display: block;
  }
  .flow-node {
    width: 104px;
  }
}

/* ------------------------------------------------------------------ product: band */
.band-shade::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
}
.band-shade .band-text {
  z-index: 1;
  max-width: calc(345px + 283 * var(--t));
  translate: 0 calc(40 * var(--t));
}
/* The file leaves a section gap above the closing card: after Product's band
   (100, 50 on phones) and on top of Proof's customers grid padding (desktop). */
.band + .closing {
  padding-top: calc(50px + 50 * var(--t));
}
.customers + .closing {
  padding-top: calc(100 * var(--t));
}

/* ------------------------------------------------------------------ proof: hero + intro */
.logo-card {
  transition: background-color 0.3s var(--ease);
}
.logo-card:hover {
  background: var(--lime-100);
}
.p-hero-green {
  background: var(--green-100);
}
.p-hero-green .p-hero-media {
  left: -9px;
  top: calc(-93px - 319 * var(--t));
  width: calc(790px + 638 * var(--t));
}
@media (max-width: 767px) {
  .p-hero-green .p-hero-title {
    top: 305px; /* the file's "Proof" sits at y317 of the frame, not the foot */
    bottom: auto;
  }
}
.proof-intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 40px var(--margin) 0;
  text-align: center;
}
.proof-lede {
  max-width: 1061px;
  font-size: calc(32px + 16 * var(--t));
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.proof-logos {
  padding: calc(50px + 50 * var(--t)) 0 calc(150px - 50 * var(--t));
}
.proof-logos .logo-ticker {
  padding: 0;
}
.proof-logos .logo-card,
.logo-grid .logo-card {
  background: var(--concrete-50);
}
.proof-logos .logo-card:hover,
.logo-grid .logo-card:hover {
  background: var(--lime-100);
}

/* ------------------------------------------------------------------ proof: customer stories
   The file's photo cards. With a mouse, pointing at one widens it to the larger
   photo with the teaser below (the file's hover state); a click opens the full
   case study (.cs-sheet). Touch screens show the teaser all the time. */
.cases {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  padding-top: calc(50px + 50 * var(--t));
}
.case-row {
  display: flex;
  align-items: flex-start;
  justify-content: safe center;
  gap: 10px;
  width: 100%;
  margin: 0;
  padding: 0 var(--margin);
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: var(--margin);
  scrollbar-width: none;
}
.case-row::-webkit-scrollbar {
  display: none;
}
.case {
  flex: none;
  width: min(373px, calc(100vw - 29px));
  scroll-snap-align: start;
}
.case-link {
  display: flex;
  flex-direction: column;
  gap: 16px;
  outline-offset: 4px;
}
.case-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 466 / 580;
  border-radius: var(--radius);
  border: 0.5px solid var(--line);
  background: var(--white);
}
.case-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.case-media > .case-chip {
  position: absolute;
  top: 10px;
  left: 10px;
}
.case-chips {
  position: absolute;
  top: 51px;
  left: 10px;
  right: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.case-chip {
  margin: 0;
  padding: 10px;
  border-radius: 31px;
  /* Darker than the file's white glass: project renders sit on white. */
  background: rgba(35, 35, 35, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--paper-25);
  font-size: 16px;
  line-height: 0.7;
  letter-spacing: -0.02em;
  white-space: nowrap;
}
/* The firm's mark on a paper tile at the photo's foot. */
.case-media img.case-logo {
  inset: auto auto 10px 10px;
  width: 96px;
  height: 64px;
  padding: 10px 14px;
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  object-fit: contain;
}
.case-copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.case-body {
  margin: 0;
  font-size: 16px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.case-person,
.case-more {
  margin: 0;
  font-size: 16px;
}
.case-more {
  align-self: flex-start;
  padding: 10px;
  border-radius: var(--radius);
  background: var(--black);
  color: var(--paper-25);
  line-height: 0.7;
  transition:
    background-color 0.3s var(--ease),
    color 0.3s var(--ease);
}
.case-link:hover .case-more {
  background: var(--lime-100);
  color: var(--black);
}
@media (min-width: 768px) and (hover: hover) and (pointer: fine) {
  .case-row {
    height: 821px;
    padding: 0;
    scroll-snap-type: none;
  }
  .case {
    width: 299px;
    transition: width 0.3s var(--ease);
  }
  .case-link {
    gap: 20px;
  }
  .case-media {
    aspect-ratio: auto;
    height: 374px;
    transition: height 0.3s var(--ease);
  }
  .case-copy {
    width: 363px;
    opacity: 0;
    visibility: hidden;
    transition:
      opacity 0.2s var(--ease),
      visibility 0s linear 0.2s;
  }
  .case:hover,
  .case:focus-within {
    width: 466px;
  }
  .case:hover .case-media,
  .case:focus-within .case-media {
    height: 580px;
  }
  .case:hover .case-copy,
  .case:focus-within .case-copy {
    opacity: 1;
    visibility: visible;
    transition:
      opacity 0.3s var(--ease) 0.15s,
      visibility 0s;
  }
  /* A lone story has nothing to share the row with, so it stays open. */
  .case-row:has(> .case:only-child) {
    height: auto;
  }
  .case:only-child {
    width: 466px;
  }
  .case:only-child .case-media {
    height: 580px;
  }
  .case:only-child .case-copy {
    opacity: 1;
    visibility: visible;
  }
  .cases-ctas {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case,
  .case-media,
  .case-copy {
    transition: none;
  }
}

/* ------------------------------------------------------------------ case study sheet
   A full-height paper sheet over the page, opened from a story card and
   addressed by /proof/#<id> (site.js). Without script the dialog stays closed. */
html:has(.cs-sheet[open]) {
  overflow: hidden;
}
.cs-sheet {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
}
.cs-sheet::backdrop {
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
/* The sheet stays at most 1320px wide, centred, with a border of the blurred
   page on either side that grows from 10px on phones to 24px at desktop. */
.cs-inner {
  position: absolute;
  --cs-side: max(calc(10px + 14 * var(--t)), (100% - 1320px) / 2);
  inset: calc(10px + 30 * var(--t)) var(--cs-side) 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--paper-25);
}
.cs-sheet[open] .cs-inner {
  animation: cs-up 0.5s var(--ease);
}
@keyframes cs-up {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
}
.cs-bar {
  position: sticky;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px;
  background: color-mix(in srgb, var(--paper-25) 85%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0.5px solid var(--line);
}
.cs-crumb {
  margin: 0;
  font-size: 12px;
  color: var(--black-50);
}
.cs-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(24px + 16 * var(--t));
  max-width: 1040px;
  margin: 0 auto;
  padding: calc(50px + 50 * var(--t)) calc(var(--margin) + 6px)
    calc(40px + 20 * var(--t));
  text-align: center;
}
.cs-logo {
  width: calc(var(--w) * 1px);
  height: calc(var(--h) * 1px);
  object-fit: contain;
}
.cs-title,
.cs-standfirst {
  margin: 0;
}
.cs-standfirst {
  max-width: 760px;
  line-height: 1.15;
  color: var(--black-75);
}
.cs-body {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: var(--gutter);
  margin: 0 var(--margin);
  padding: calc(40px + 60 * var(--t)) 0;
  border-top: 0.5px solid var(--line);
}
.cs-facts {
  grid-column: 1 / span 4;
  align-self: start;
  position: sticky;
  top: 70px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding-right: 40px;
}
.cs-facts dl {
  margin: 0;
  display: flex;
  flex-direction: column;
}
.cs-facts dl > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 0;
  border-top: 0.5px solid var(--steel-100);
}
.cs-facts dt {
  font-size: 12px;
  color: var(--black-50);
}
.cs-facts dd {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
}
.cs-person {
  margin: 0;
  font-size: 14px;
  line-height: 1.2;
}
.cs-story {
  grid-column: 6 / span 6;
  display: flex;
  flex-direction: column;
  gap: calc(50px + 30 * var(--t));
}
.cs-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.cs-heading,
.cs-lead {
  margin: 0;
}
.cs-lead {
  font-size: calc(16px + 2 * var(--t));
  line-height: 1.25;
  color: var(--black-75);
}
.cs-quote {
  margin: 10px 0 0;
  padding-left: 20px;
  border-left: 2px solid var(--green-100);
  line-height: 1.12;
}
.cs-quote p {
  margin: 0;
}
/* The projects run full width under the story: text, an optional model view,
   then sideways strips of drawing sheets and calculation pages. Each tile
   opens the full-size image. */
.cs-work {
  display: flex;
  flex-direction: column;
  gap: calc(30px + 20 * var(--t));
  padding: calc(40px + 40 * var(--t)) var(--margin) calc(50px + 50 * var(--t));
  border-top: 0.5px solid var(--line);
}
.cs-work-title {
  margin: 0;
}
.cs-projects {
  display: flex;
  flex-direction: column;
  gap: calc(60px + 40 * var(--t));
  margin: 0;
  padding: 0;
  list-style: none;
}
.cs-project {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.cs-project > .cs-lead {
  max-width: 760px;
}
.cs-view {
  margin: 8px 0;
  padding: 12px;
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.cs-view img {
  width: 100%;
  height: auto;
  max-height: 560px;
  object-fit: contain;
}
.cs-strip-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}
.cs-strip-label {
  margin: 0;
  font-size: 12px;
  color: var(--black-50);
}
.cs-strip {
  display: flex;
  gap: var(--gutter);
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
}
.cs-tile {
  flex: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  scroll-snap-align: start;
}
.cs-tile a {
  display: block;
  border: 0.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: border-color 0.2s var(--ease);
}
.cs-tile a:hover {
  border-color: var(--black);
}
.cs-tile img {
  width: auto;
  max-width: none;
  height: calc(240px + 160 * var(--t));
}
.cs-tile-page img {
  height: calc(300px + 180 * var(--t));
}
/* The caption wraps to the image's width rather than widening the tile. */
.cs-caption {
  width: 0;
  min-width: 100%;
  margin: 0;
  font-size: 12px;
  line-height: 1.2;
}
.cs-project-name {
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1;
}
.cs-closing {
  width: auto;
  min-height: 0;
  margin: 0 var(--margin);
  padding: calc(60px + 60 * var(--t)) 24px;
  background: var(--green-100);
  color: var(--paper-25);
}
.cs-ctas {
  padding: calc(40px + 40 * var(--t)) var(--margin) calc(60px + 40 * var(--t));
}
@media (max-width: 767px) {
  .cs-body {
    display: flex;
    flex-direction: column;
    gap: 50px;
  }
  .cs-facts {
    position: static;
    padding-right: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cs-sheet[open] .cs-inner {
    animation: none;
  }
}

/* ------------------------------------------------------------------ proof: testimonial + customers */
.voices-green {
  margin-top: calc(50px + 50 * var(--t));
  padding-bottom: calc(50px + 50 * var(--t));
}
.voices-green .quote-card {
  background: var(--green-100);
}
.voices-green .quote-text {
  font-size: calc(24px + 8 * var(--t));
}
.customers {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50px + 10 * var(--t));
  padding: calc(50px + 50 * var(--t)) var(--margin);
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  max-width: 1420px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.logo-grid .logo-card {
  width: auto;
  height: auto;
  aspect-ratio: 276 / 186;
}
.logo-grid .logo-card img {
  max-width: 80%;
  max-height: 70%;
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
}
.logo-grid .logo-card img.out {
  opacity: 0;
  transform: scale(0.92);
}
@media (min-width: 600px) and (max-width: 1023px) {
  .logo-grid .logo-card:nth-child(10) {
    display: none; /* three columns show a full 3x3 */
  }
}
@media (min-width: 600px) {
  .logo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1024px) {
  .logo-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* ------------------------------------------------------------------ pricing */
.p-hero-blue {
  background: var(--blue-concrete-100);
}
.p-hero-blue .p-hero-media {
  left: calc(-72px + 516 * var(--t));
  top: -321px;
  width: 1109px;
}
@media (min-width: 768px) {
  .p-hero-title.p-hero-wrap span {
    max-width: 46.9%;
    white-space: normal;
    transform: translateY(-50%);
  }
}
.plans-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: calc(50px + 10 * var(--t));
  padding: 40px var(--margin) calc(50px + 50 * var(--t));
}
.plans {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 1203px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.plan {
  --a: calc(58px + 72 * var(--t));
  --gap: 21.67px;
  --item-gap: 9.6px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap);
  aspect-ratio: 382 / 465; /* a minimum: longer copy grows the card */
  padding: 34px 24px 33px;
  text-align: center;
  font-size: 16px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.plan-self {
  background: var(--slate-100);
  color: var(--paper-25);
}
.plan-enterprise {
  background: var(--concrete-100);
  color: var(--black);
}
.plan-tag {
  padding: 5.42px;
  gap: 5.42px;
  border-color: currentColor;
  border-radius: 17px;
  background: transparent;
  font-size: 16px;
}
.plan-kicker {
  font-size: 20px;
}
.plan-price {
  margin: 0;
  font-size: 48px;
  font-weight: 500;
  line-height: 0.72;
  letter-spacing: -0.02em;
}
.plan-notes {
  display: flex;
  flex-direction: column;
  gap: 5.42px;
  margin-top: calc(10.84px - var(--gap));
  font-size: 12px;
}
.plan-items {
  display: flex;
  flex-direction: column;
  gap: var(--item-gap);
  width: 100%;
  max-width: 295px;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Both buttons sit on the same line near the foot of the card. */
.plan-cta {
  margin-top: auto;
}
@media (max-width: 767px) {
  /* The file's lists are 295 wide; the fallback font runs wider, so the list
     may use the card's full width rather than wrap. */
  .plan-items {
    max-width: 100%;
  }
  .plan-cta {
    position: relative;
    padding: 6.4px;
    border-radius: 1px;
    font-size: 16px;
  }
  /* The phone button is 24px tall; the hit area reaches a thumb's 40px. */
  .plan-cta::after {
    content: "";
    position: absolute;
    inset: -8px -4px;
  }
}
@supports (text-box: trim-both cap alphabetic) {
  .plan-items li {
    text-box: trim-both cap alphabetic;
  }
}
/* Desktop cards are the file's 596 x 669 cards scaled to their column. */
@media (min-width: 768px) {
  .plan {
    /* The card's width (half the 1203 row); its own box can't use cqw. */
    --cw: calc((min(1203px, 100vw - 20px) - 10px) / 2);
    --gap: calc(var(--cw) * 0.0568);
    --item-gap: calc(var(--cw) * 0.0252);
    aspect-ratio: 596 / 669;
    padding: calc(var(--cw) * 0.0889) calc(var(--cw) * 0.04)
      calc(var(--cw) * 0.1124);
    font-size: calc(var(--cw) * 0.0284);
  }
  .plan-enterprise {
    padding-top: calc(var(--cw) * 0.1057);
  }
  .plan-tag {
    padding: calc(var(--cw) * 0.0142);
    gap: calc(var(--cw) * 0.0142);
    border-radius: 26px;
    font-size: calc(var(--cw) * 0.0227);
  }
  .plan-kicker {
    font-size: calc(var(--cw) * 0.0284);
  }
  .plan-price {
    font-size: calc(var(--cw) * 0.1362);
  }
  .plan-notes {
    gap: calc(var(--cw) * 0.0142);
    margin-top: calc(var(--cw) * 0.0284 - var(--gap));
    font-size: calc(var(--cw) * 0.0284);
  }
  .plan-note + .plan-note {
    font-size: calc(var(--cw) * 0.0227);
  }
  .plan-items {
    max-width: calc(var(--cw) * 0.773);
  }
}
@media (min-width: 768px) {
  .plans {
    grid-template-columns: 1fr 1fr;
  }
}

/* "Have a question?": the testimonial card shape, Blue Concrete with the calc
   sheet behind. From here down the desktop page sits on Concrete. */
.ask {
  padding-bottom: 0;
  background: transparent;
}
.ask-card {
  position: relative;
  overflow: hidden;
}
.ask-media {
  position: absolute;
  left: -35%;
  top: -10%;
  width: 170%;
  max-width: none;
  height: auto;
  /* The file's glyphs sit at about a fifth of black over the blue. */
  opacity: 0.2;
  pointer-events: none;
}
.ask-title,
.ask-cta {
  position: relative;
}
.ask-title {
  margin: 0;
  font-size: calc(32px + 16 * var(--t));
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.ask-card {
  gap: 40px;
}
/* The file sets the title and button about 19px below the card's centre. */
.ask-title,
.ask-cta {
  translate: 0 calc(19 * var(--t));
}
.ask-cta {
  font-size: 20px;
}
.tail-ctas .big-ctas {
  padding-top: calc(50px + 50 * var(--t));
}
/* The file leaves 100px under the big buttons before the footer (50 on phones,
   counting the footer's own 10). */
.tail-ctas:not(.sec-ctas) {
  padding-bottom: calc(40px + 60 * var(--t));
}
@media (max-width: 767px) {
  .ask .quote-card {
    gap: 40px;
  }
  .ask-media {
    left: calc(50% - 570px);
    top: calc(50% - 570px);
    width: 1141px;
    opacity: 0.3;
  }
  .grey-tail .ask {
    padding-bottom: 50px;
  }
}
@media (min-width: 768px) {
  .ask-media {
    left: -9.5%;
    top: -64.6%;
    width: 118.2%;
  }
  .grey-tail {
    background: var(--concrete-100);
  }
  .grey-tail .ask {
    padding-bottom: 100px;
  }
  .grey-tail .tail-ctas .big-ctas {
    padding-top: 10px;
  }
  main:has(.grey-tail) + .footer {
    background: var(--concrete-100);
  }
}

/* ------------------------------------------------------------------ dark pages
   body.theme-dark (Security): black page, cream ink, dark footer. */
body.theme-dark {
  --bg: var(--black);
  --ink: var(--paper-25);
  --line: rgba(255, 254, 247, 0.14);
}
.theme-dark :focus-visible {
  outline-color: var(--blue-concrete-100);
}
.theme-dark .tag-clear {
  border-color: currentColor;
}
.theme-dark .footer-link:hover {
  color: var(--steel-50);
}
.btn-slate {
  background: var(--slate-100);
  color: var(--paper-25);
}
.btn-slate:hover {
  background: var(--lime-100);
  color: var(--black);
}
.inline-link {
  color: var(--blue-concrete-100);
  transition: color 0.3s var(--ease);
}
.inline-link:hover {
  color: var(--paper-25);
  text-decoration: underline;
}

/* ------------------------------------------------------------------ security */
.p-hero-dark {
  background: var(--steel-100);
  color: var(--paper-25);
}
.p-hero-dark .p-hero-media {
  left: calc(-51px + 429 * var(--t));
  top: calc(-101px + 11 * var(--t));
  width: calc(777px + 291 * var(--t));
}
.sec-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 60px;
  padding: 40px var(--margin) 0;
}
.sec-lede {
  max-width: 824px;
  font-size: calc(24px + 12 * var(--t));
  line-height: 1;
  letter-spacing: -0.02em;
}
.qa {
  display: flex;
  flex-direction: column;
  gap: 100px;
  margin: calc(50px + 50 * var(--t)) 0 0;
  padding: 0 var(--margin);
}
.qa-row {
  display: flex;
  flex-direction: column;
  gap: 50px;
  padding-top: 20px;
  border-top: 0.5px solid var(--ink);
}
.qa-q {
  font-size: calc(20px + 12 * var(--t));
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.qa-a {
  margin: 0;
  max-width: 585px;
  font-size: calc(16px + 4 * var(--t));
  line-height: 1;
  letter-spacing: -0.02em;
}
.ask-dark {
  margin-top: calc(50px + 50 * var(--t));
  padding: calc(50px + 50 * var(--t)) 0;
  background: var(
    --black
  ); /* covers the column lines, as the file's section does */
}
.ask-dark .ask-card {
  background: var(--steel-100);
  color: var(--paper-25);
}
/* The file's glyphs read slightly lighter than the grey card. */
.ask-dark .ask-media {
  filter: invert(1);
  opacity: 0.12;
}
.sec-ctas .big-ctas {
  padding-top: 0;
}
@media (min-width: 768px) {
  .sec-intro,
  .qa-row {
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }
  .sec-intro .tag {
    grid-column: 1 / 5;
    justify-self: start;
  }
  .sec-lede {
    grid-column: 5 / -1;
  }
  .qa-q {
    grid-column: 1 / 7;
  }
  .qa-a {
    grid-column: 7 / -1;
    font-weight: 400;
  }
  /* Security's answers alternate Regular and Medium in the file. */
  .theme-dark .qa-row:nth-child(even) .qa-a {
    font-weight: 500;
  }
}
@media (max-width: 767px) {
  .sec-ctas .big-ctas {
    padding-top: 50px;
  }
  .theme-dark .footer {
    padding-top: 60px;
  }
}

/* ------------------------------------------------------------------ integrations */
.p-hero-lime {
  background: var(--lime-100);
}
.p-hero-lime .p-hero-media {
  left: calc(59px + 377 * var(--t));
  top: calc(-204px - 279 * var(--t));
  width: calc(638px + 373 * var(--t));
}
.int-intro .sec-lede {
  font-size: calc(24px + 8 * var(--t));
}
@media (min-width: 768px) {
  .p-hero-lime .p-hero-title span,
  .p-hero-slate .p-hero-title span {
    max-width: 38.7%;
  }
  .p-hero-dark .p-hero-title,
  .p-hero-lime .p-hero-title {
    font-size: 4.576vw; /* 65.9 of 1440 */
  }
  .p-hero-lime .p-hero-title span {
    top: calc(50% + 2.08vw);
  }
  .br-m {
    display: none;
  }
}

/* The tool cloud: glass tiles round the Prove mark over the concrete photo.
   Desktop scales the file's 1420 x 880 stage to the page; phones show the
   centre of the mobile frame's 1291 x 800 stage at actual size. */
.cloud {
  --u: calc(100cqw / 1420);
  container-type: inline-size;
  position: relative;
  overflow: hidden;
  margin: calc(50px + 50 * var(--t)) var(--margin) 0;
  aspect-ratio: 1420 / 880;
  border-radius: 2px;
  background: var(--white);
}
.cloud-photo {
  position: absolute;
  left: calc(-19.9 * var(--u));
  top: calc(-13.6 * var(--u));
  width: calc(1459.9 * var(--u));
  height: calc(909.7 * var(--u));
  max-width: none;
}
.cloud-tiles {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cloud-tile {
  position: absolute;
  left: calc(var(--x) * var(--u));
  top: calc(var(--y) * var(--u));
  width: calc(100 * var(--u));
  height: calc(100 * var(--u));
  display: grid;
  place-items: center;
  border-radius: calc(19 * var(--u));
  background: rgba(255, 254, 247, 0.3);
  /* The file's frosted glass fully hides the photo's edges inside each tile. */
  -webkit-backdrop-filter: blur(22px) saturate(1.15);
  backdrop-filter: blur(22px) saturate(1.15);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.6),
    0 6px 18px rgba(0, 0, 0, 0.06);
  translate: 0 calc(var(--p, 0) * var(--depth, 0) * 1px);
  transition: transform 0.4s var(--ease);
}
/* Twinkle in: tiles fade up from small, staggered, the first time the cloud
   shows (site.js adds .in; without script or with reduced motion they just show). */
.cloud[data-twinkle] .cloud-tile:not(.cloud-prove) {
  opacity: 0;
  scale: 0.6;
}
.cloud.in .cloud-tile:not(.cloud-prove) {
  animation: twinkle 0.9s var(--ease) var(--delay) forwards;
}
@keyframes twinkle {
  0% {
    opacity: 0;
    scale: 0.6;
  }
  55% {
    opacity: 1;
    scale: 1.08;
  }
  100% {
    opacity: 1;
    scale: 1;
  }
}
.cloud-tile img {
  width: 100%;
  height: 100%;
}
.cloud-prove {
  width: calc(140 * var(--u));
  height: calc(140 * var(--u));
  border-radius: calc(26 * var(--u));
  background: var(--black);
  color: var(--paper-25);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  box-shadow: none;
}
.cloud-mark {
  width: calc(79 * var(--u));
  height: calc(79 * var(--u));
}
.cloud-text {
  padding: 0 8%;
  color: var(--paper-25);
  font-size: calc(15 * var(--u));
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
}
.cloud-word {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45em;
  color: var(--ink);
  font-size: calc(17 * var(--u));
  line-height: 1;
  letter-spacing: -0.02em;
  text-align: center;
}
.cloud-tile .cloud-word-brand {
  width: 3.4em;
  height: auto;
}
@media (hover: hover) and (pointer: fine) {
  .cloud-tile:not(.cloud-prove):hover {
    transform: translateY(-6%) scale(1.06);
  }
}
@media (max-width: 767px) {
  .cloud {
    --u: 1px;
    margin: 50px 0 0;
    height: 1075px;
    aspect-ratio: auto;
    border-radius: 0;
  }
  /* The photo grows to cover the three extra rows of tiles, about the same centre. */
  .cloud-photo {
    left: calc(50% - 878.4px);
    width: 1757px;
    height: 1095px;
  }
  .cloud-tile {
    left: calc(50% - 645px + var(--mx) * 1px);
    top: calc(var(--my) * 1px);
    width: calc(var(--ms) * 1px);
    height: calc(var(--ms) * 1px);
    border-radius: calc(var(--ms) * 0.19px);
  }
  .cloud-text {
    font-size: calc(var(--ms) * 0.15px);
  }
  .cloud-word {
    font-size: calc(var(--ms) * 0.17px);
  }
}

.int-groups {
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding: calc(50px + 50 * var(--t)) var(--margin);
}
.int-group {
  display: flex;
  flex-direction: column;
  gap: calc(50px + 10 * var(--t));
  padding-top: 20px;
  border-top: 0.5px solid var(--black);
}
.int-head {
  display: flex;
  flex-direction: column;
  gap: 50px;
}
.int-title {
  max-width: 478px;
  font-size: 32px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.int-lede {
  max-width: 585px;
  font-size: calc(16px + 4 * var(--t));
  line-height: 1;
  letter-spacing: -0.02em;
}
.int-sets {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.int-set {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.int-set-title {
  font-size: 20px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.int-list {
  display: flex;
  flex-direction: column;
  gap: calc(5px - 1 * var(--t));
  margin: 0;
  padding: 0;
  list-style: none;
}
.int-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 337px;
  font-size: calc(16px + 4 * var(--t));
  line-height: 1;
  letter-spacing: -0.02em;
}
.int-set-top li {
  align-items: flex-start;
}
.int-set-top li::before {
  margin-top: calc(0.5lh - 2.5px);
}
.int-list li::before {
  content: "";
  flex: none;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: currentColor;
}
.ask-lime .ask-card {
  background: var(--lime-100);
}
@media (min-width: 768px) {
  .int-head {
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }
  .int-title {
    grid-column: 1 / 7;
  }
  .int-lede {
    grid-column: 7 / -1;
  }
  /* Set names and lists split the lede's half: lists start on column 10. */
  .int-set {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: var(--gutter);
  }
  .int-list li {
    font-weight: 400;
  }
}
@media (min-width: 1024px) {
  .int-sets {
    padding-left: calc(50% + var(--gutter) / 2);
  }
  .int-set {
    column-gap: var(--gutter);
  }
}
/* From the question card down the page sits on Concrete on phones too. */
@media (max-width: 767px) {
  .grey-tail-all {
    background: var(--concrete-100);
  }
  .int-set {
    padding-left: 4px;
  }
  .grey-tail-all .ask {
    padding-bottom: 50px;
  }
  .grey-tail-all .tail-ctas {
    padding-bottom: 50px;
  }
  .grey-tail-all .big-ctas .btn-black {
    background: var(--slate-100);
  }
  .grey-tail-all .big-ctas .btn-black:hover {
    background: var(--lime-100);
  }
  main:has(.grey-tail-all) + .footer {
    background: var(--concrete-100);
  }
}

/* ------------------------------------------------------------------ faq */
.p-hero-slate {
  background: var(--slate-100);
  color: var(--paper-25);
}
.p-hero-slate .p-hero-media {
  left: calc(131px + 341 * var(--t));
  top: -31px;
  width: calc(515px + 725 * var(--t));
  /* The file: 80% with exposure +1 over the Slate (the asset is pre-lightened). */
  opacity: 0.8;
}
@media (min-width: 768px) {
  .p-hero-slate .p-hero-title span {
    top: calc(50% + 2.08vw); /* the file sets it ~30px below centre */
  }
}
@media (max-width: 767px) {
  .p-hero-slate .p-hero-title span {
    display: block;
    max-width: 320px;
  }
}
.faq {
  padding-top: calc(50px - 10 * var(--t));
}
.faq-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 0 var(--margin);
}
.faq .qa {
  margin-top: 100px;
}
.faq .qa-a {
  font-weight: 500;
}
@media (min-width: 768px) {
  .faq .qa-q {
    max-width: 462px; /* the file's question boxes wrap at 462 */
  }
}
.faq + .closing {
  padding-top: calc(100px + 40 * var(--t));
}

/* ------------------------------------------------------------------ request a demo */
.btn-cream[aria-current="page"] {
  background: var(--black);
  color: var(--paper-25);
}
.demo-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin: 12px var(--margin) 0;
  padding: 158px 9px 45px;
  border-radius: 5px;
  background: var(--green-100);
  color: var(--paper-25);
}
.demo-hero > :not(.demo-media) {
  position: relative;
}
.demo-media {
  position: absolute;
  left: calc(-563px + 320 * var(--t));
  top: calc(-732px - 99 * var(--t));
  width: calc(1510px + 396 * var(--t));
  max-width: none;
  height: auto;
  opacity: 0.35;
  pointer-events: none;
}
.demo-copy {
  display: flex;
  flex-direction: column;
  gap: calc(50px + 27 * var(--t));
}
.demo-title {
  max-width: 560px;
  font-family: var(--serif);
  font-size: calc(48px + 16 * var(--t));
  font-weight: 350;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.demo-lede {
  max-width: 487px;
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.02em;
}
.demo-card {
  /* The file's chamfer runs 166 of the card's 704. */
  --a: calc(min(100vw - 37px, 640px) * 0.2358);
  width: 100%;
  max-width: 640px;
  align-self: center;
  background: rgba(255, 254, 247, 0.5);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: var(--black);
}
.demo-form {
  display: flex;
  flex-direction: column;
  gap: calc(10px + 10 * var(--t));
  padding: 9.375% 6.5%;
}
.demo-tag {
  align-self: center;
}
.demo-field {
  display: flex;
  flex-direction: column;
  gap: calc(5px + 5 * var(--t));
  min-width: 0;
}
.demo-field label {
  font-family: var(--mono);
  font-size: 16px;
  /* Caps only: the file sets these labels on their cap height. */
  line-height: 0.7;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.demo-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: calc(5px + 5 * var(--t));
}
.demo-field input,
.demo-field select {
  width: 100%;
  margin: 0;
  /* The file's 31px phone fields (56 on desktop); the text stays 16px so
     phones do not zoom into the field. */
  height: calc(31px + 25 * var(--t));
  padding: 0 calc(10.4px + 9.6 * var(--t));
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: var(--radius);
  background: transparent;
  color: var(--black);
  font: inherit;
  font-size: calc(16px + 4 * var(--t));
  line-height: 1;
  letter-spacing: -0.02em;
  transition: border-color 0.2s var(--ease);
}
.demo-field input::placeholder {
  color: var(--black-50);
  opacity: 1;
}
.demo-field select {
  appearance: none;
  padding-right: calc(40px + 16 * var(--t));
  background:
    transparent
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M.5.5l9.5 11L19.5.5' fill='none' stroke='%23000'/%3E%3C/svg%3E")
    no-repeat right calc(12px + 8 * var(--t)) center / calc(14px + 6 * var(--t))
    auto;
}
.demo-field select:invalid {
  color: var(--black-50);
}
.demo-field option {
  color: var(--black);
}
.demo-field input:hover,
.demo-field select:hover,
.demo-field input:focus,
.demo-field select:focus {
  border-color: var(--black);
}
.demo-submit {
  align-self: center;
}
.demo-submit:disabled {
  cursor: default;
  opacity: 0.6;
}
.demo-note {
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
}
.demo-note:empty {
  display: none;
}
.demo-trust {
  display: flex;
  flex-direction: column;
  gap: calc(50px - 27 * var(--t));
  font-size: 16px;
}
/* A still row of the Home logo cards at 45% (125 x 84, 9.4 apart), clipped to
   647 and fading to the green at both ends, as the file's gradient does. */
.demo-logos {
  max-width: 647px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 50%,
    transparent
  );
  mask-image: linear-gradient(90deg, transparent, #000 50%, transparent);
}
.demo-logo-row {
  zoom: 0.45;
  display: flex;
  gap: 20.9px;
  width: max-content;
}
@media (max-width: 1023px) {
  .demo-logos {
    max-width: none;
    margin-inline: -9px;
  }
  .demo-logo-row {
    zoom: 0.3623;
  }
}
@media (min-width: 1024px) {
  .demo-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) calc((100vw - 20px) * 0.4958);
    grid-template-areas: "copy card" "trust card";
    grid-template-rows: auto 1fr;
    column-gap: 16px;
    padding: 140px calc((100vw - 20px) * 0.0246) 56px
      calc((100vw - 20px) * 0.0176);
    color: var(--black);
  }
  .demo-copy {
    grid-area: copy;
    padding-top: 113px;
  }
  .demo-card {
    --a: calc((100vw - 20px) * 0.4958 * 0.2358);
    max-width: none;
    aspect-ratio: 1; /* the file's 704 square */
    grid-area: card;
    align-self: center;
  }
  .demo-trust {
    grid-area: trust;
    align-self: end;
    margin: 0 0 59px -7px;
  }
  .demo-trust p {
    margin-left: 7px;
  }
}
@media (max-width: 767px) {
  main:has(.demo-hero) + .footer {
    padding-top: 60px;
  }
  /* The phone frame scales the form down: a 22px tag and a 21px button. */
  .demo-tag {
    padding: 5px;
    gap: 5px;
  }
  .demo-tag .tag-dot {
    width: 3px;
    height: 3px;
  }
  .demo-submit {
    padding: 4.9px;
    font-size: 16px;
  }
}

/* ------------------------------------------------------------------ terms of service
   A Blue Concrete band, the effective date and title, then one row per clause:
   number, heading and clauses across the 12 columns on desktop, stacked on phones. */
.t-hero {
  position: relative;
  overflow: hidden;
  height: 204px;
  margin: 12px var(--margin) 0;
  border-radius: 5px;
  background: var(--blue-concrete-100);
}
.t-hero-media {
  position: absolute;
  left: calc(59px + 377 * var(--t));
  top: calc(-204px - 279 * var(--t));
  width: calc(638px + 373 * var(--t));
  max-width: none;
  height: auto;
}
.t-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 40px var(--margin) 0;
}
@media (min-width: 768px) {
  .t-intro .tag {
    margin-left: 4px; /* x14 in the file */
  }
}
.t-title {
  margin: calc(50px - 15 * var(--t)) 0 0;
  font-family: var(--serif);
  font-size: calc(48px + 16 * var(--t));
  font-weight: 350;
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.terms {
  display: flex;
  flex-direction: column;
  gap: calc(50px + 50 * var(--t));
  padding: calc(90px + 10 * var(--t)) calc(var(--margin) + 2px)
    calc(100px + 40 * var(--t));
}
.terms-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  scroll-margin-top: 80px;
}
.terms-head {
  margin: 0;
  font-size: 24px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.terms-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
}
.terms-body p,
.terms-body ul {
  margin: 0;
}
.terms-body strong {
  font-weight: 700;
}
.terms-body a {
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.terms-body a:hover {
  text-decoration-thickness: 2px;
}
.terms-body ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 0 15px;
  list-style: none;
}
.terms-body li {
  position: relative;
}
.terms-body li::before {
  content: "";
  position: absolute;
  left: -15px;
  top: 0.35em;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: currentColor;
}
@media (min-width: 768px) {
  .terms {
    padding-inline: var(--margin);
  }
  .terms-row {
    display: grid;
    grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
    column-gap: var(--gutter);
    align-items: start;
  }
  .terms-head {
    grid-column: 1 / 7;
    display: grid;
    grid-template-columns: subgrid;
  }
  .terms-head > :last-child {
    grid-column: 2 / -1;
  }
  .terms-body {
    grid-column: 7 / -1;
  }
}
@media (min-width: 1024px) {
  .terms-body {
    grid-column: 7 / 12;
  }
  .terms-body ul {
    max-width: calc(80% - 15px);
  }
}
