/* ==========================================================================
   Grommet About page — /pages/about

   Built to match thegrommet.com as it actually ships today, not the Style
   Guide PDF. The two disagree: the guide (07.10.2024) specifies SF Pro
   Display and #006162, while the live site runs Poppins + Inter on white
   with #0A888D. A shopper arrives here from the live site, so the live site
   wins. The partner program's stylesheet follows the PDF, which is why this
   page needed its own sheet rather than another extension of that one.

   Carried over from the partner program by request: the scrolling product
   marquee, the lite video embed, the stat band, the signpost band and the
   decorative circles derived from the logo mark. All restyled to the tokens
   below.

   Contrast note that shapes the whole palette: #0A888D is 4.32:1 on white,
   which clears AA for large text and graphics but fails it for body text.
   So the live teal is the GRAPHIC accent — badges, icons, rules, display
   type — and --teal-deep (#006162, 7.3:1 against white) carries anything
   small: buttons, links, labels.
   ========================================================================== */

:root {
  /* Brand, from the live site */
  --teal: #0a888d;
  --teal-deep: #006162;
  --teal-ink: #06494c;
  --teal-tint: #e7f3f4;
  --teal-tint-deep: #d3e9ea;

  /* Ink and surface, from the live site */
  --ink: #1a1a1a;
  --ink-soft: #222222;
  --body: #4a5056;
  --muted: #6b7177; /* 5.3:1 on white */
  --surface: #f8f9fc;
  --line: #e8ebef;
  --line-strong: #d6dbe1;

  /* Style Guide accents. Flat photo backdrops and card tints only, never
     type colors — they are all too light to carry text. */
  --tan: #bba288;
  --tan-tint: #f1eae4;
  --cool: #c9cad4;
  --cool-tint: #eef0f5;
  --blue: #a9babf;
  --blue-tint: #e9eff0;
  --pink: #dfbbbb;
  --pink-tint: #f9eff0;
  --olive: #a4a386;
  --olive-tint: #eeeee6;

  --display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Editorial type ramp. The old page set body at 14px across a 105
     character measure; this is sized for reading. */
  --fs-display: clamp(33px, 23.4px + 3.07vw, 62px);
  --fs-h2: clamp(26px, 20.7px + 1.7vw, 42px);
  --fs-h3: clamp(19px, 17.5px + 0.48vw, 23.5px);
  --fs-lede: clamp(18px, 17.1px + 0.29vw, 21px);
  --fs-body: clamp(16.5px, 15.9px + 0.19vw, 18px);
  --fs-sm: clamp(14.5px, 14.2px + 0.11vw, 15.5px);
  --fs-xs: clamp(13px, 12.8px + 0.06vw, 13.6px);
  --fs-kicker: clamp(11.5px, 11.2px + 0.1vw, 12.5px);
  --fs-stat: clamp(25px, 13px + 1.8vw, 38px);
  --fs-quote: clamp(20px, 17.7px + 0.74vw, 27px);

  /* Rhythm */
  /* 1056 is what thegrommet.com caps its own content at, measured on the
     live site. The page was running 1120, wider than the site it is going
     onto. */
  --shell: 1056px;
  --measure: 36em; /* ~70 characters at --fs-body */
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(44px, 32.6px + 3.6vw, 78px);
  --radius: 10px; /* the live site's card radius */
  --radius-lg: 18px;
  --tile: clamp(104px, 80px + 6.2vw, 164px);
  --tile-gap: clamp(10px, 8.4px + 0.5vw, 15px);
}

/* ------------------------------------------------------------------ reset */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

img {
  height: auto;
}

figure,
blockquote {
  margin: 0;
}

a {
  color: var(--teal-deep);
  text-decoration: none;
}

a:hover {
  color: var(--teal-ink);
}

button {
  font: inherit;
}

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

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

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  background: var(--teal-deep);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 12px;
  color: #fff;
}

/* -------------------------------------------------------------- primitives */

.section {
  padding: var(--section-y) var(--gutter);
}

/* A section that carries on the background of the one above it does not need
   a second full gap — one break between them reads as one break. */
.section--seam {
  padding-top: clamp(14px, 8px + 1.9vw, 34px);
}

.shell {
  max-width: var(--shell);
  margin-inline: auto;
  position: relative;
}

/* A column sized for reading rather than for filling the shell. */
.measure {
  max-width: var(--measure);
}

.kicker {
  font-family: var(--sans);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--teal-deep);
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--body);
}

.prose {
  display: flex;
  flex-direction: column;
  gap: 1.1em;
  max-width: var(--measure);
}

.prose p {
  font-size: var(--fs-body);
  line-height: 1.7;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

/* Teal alone is 1.1:1 against the body text around it, so links inside a
   paragraph carry an underline. Same reason as the FAQ answers. */
.prose a,
.lede a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.prose a:hover,
.lede a:hover {
  color: var(--teal-ink);
}

/* The teal rule under a payoff clause. One per heading, never more. */
.u {
  text-decoration-line: underline;
  text-decoration-color: var(--teal);
  text-decoration-thickness: 0.07em;
  text-underline-offset: 0.11em;
  text-decoration-skip-ink: none;
}

/* Buttons. --teal-deep, not the live teal: white on #0A888D is 4.32:1,
   which fails AA at button text sizes. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--teal-deep);
  color: #fff;
  font-family: var(--sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.005em;
  padding: 15px 30px;
  min-height: 50px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover {
  background: var(--teal-ink);
  color: #fff;
}

.btn:active {
  transform: translateY(1px);
}

.btn--ghost {
  background: #fff;
  color: var(--teal-deep);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.btn--ghost:hover {
  background: var(--teal-tint);
  color: var(--teal-ink);
  box-shadow: inset 0 0 0 1.5px var(--teal);
}

.btn--onDark {
  background: #fff;
  color: var(--teal-deep);
}

.btn--onDark:hover {
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn__arrow {
  font-size: 1em;
  line-height: 1;
}

/* The upvote badge. The site's single most recognizable element, and this
   page is largely about what it does, so it recurs as a motif. */
.upvote-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--sz, 44px);
  height: var(--sz, 44px);
  border-radius: 50%;
  background: var(--teal);
  flex: none;
}

.upvote-badge svg {
  width: 52%;
  height: 52%;
}

.upvote-badge--lg {
  --sz: clamp(56px, 48px + 2.1vw, 76px);
}

/* Decorative circles derived from the logo mark. */
.blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* ------------------------------------------------------------------- nav */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(1.6) blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav__inner {
  max-width: var(--shell);
  margin-inline: auto;
  padding: 13px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.nav__wordmark {
  width: clamp(104px, 96px + 2.2vw, 128px);
  height: auto;
  flex: none;
}

.nav__rule {
  width: 1px;
  height: 19px;
  background: var(--line-strong);
  flex: none;
}

.nav__label {
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
}

.btn--nav {
  font-size: var(--fs-xs);
  padding: 10px clamp(14px, 9px + 1.3vw, 22px);
  min-height: 44px;
  gap: 8px;
  white-space: nowrap;
}

@media (max-width: 460px) {
  .nav__rule,
  .nav__label {
    display: none;
  }

  .btn--nav .btn__arrow {
    display: none;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  overflow: hidden;
  background: #fff;
  padding: clamp(34px, 24px + 3.1vw, 68px) var(--gutter)
    clamp(40px, 30px + 3.1vw, 72px);
}

.hero__blob--tl {
  top: -280px;
  left: 50%;
  transform: translateX(-62%);
  width: clamp(560px, 420px + 36vw, 1000px);
  height: clamp(560px, 420px + 36vw, 1000px);
  background: var(--teal-tint);
  opacity: 0.55;
}

.hero__blob--br {
  bottom: -210px;
  right: -150px;
  width: clamp(280px, 220px + 15vw, 420px);
  height: clamp(280px, 220px + 15vw, 420px);
  background: var(--tan-tint);
  opacity: 0.7;
  display: none;
}

.hero__head {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 12px + 0.6vw, 20px);
  text-align: center;
}

/* The one H1: the kicker above the quote. Small on purpose — it is there
   for search and AI answers, not for drama. */
.hero h1.hero__kicker {
  font-family: var(--sans);
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.09em;
  line-height: 1.55;
  text-transform: uppercase;
  color: var(--teal-deep);
  max-width: 38em;
}

/* The display line. Largest type on the page, and a paragraph, not a
   heading — it is a display line, not a document heading. */
.hero__display {
  font-family: var(--display);
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.028em;
  color: var(--ink);
  max-width: 16em;
  text-wrap: balance;
}

.hero__media {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: clamp(28px, 20px + 2.5vw, 52px) auto 0;
}

.hero__story {
  position: relative;
  z-index: 1;
  margin: clamp(34px, 26px + 2.5vw, 60px) auto 0;
  text-align: left;
}

.hero__story .prose {
  margin-inline: auto;
}

.hero__story-lead {
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* --------------------------------------------------------- lite video */

.lite-yt {
  position: relative;
}

.lite-yt__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink);
  cursor: pointer;
  box-shadow: 0 18px 50px -24px rgba(26, 26, 26, 0.45);
}

.lite-yt__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* White, not teal. The poster is a dark teal panel, so a teal button
   vanished into it; white reads against any frame the thumbnail is ever
   swapped for. */
.lite-yt__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: clamp(62px, 52px + 2.8vw, 88px);
  height: clamp(62px, 52px + 2.8vw, 88px);
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 34px -6px rgba(0, 0, 0, 0.55);
  transition: transform 0.18s ease, background 0.18s ease;
}

.lite-yt__frame:hover .lite-yt__play {
  transform: scale(1.07);
  background: var(--teal-tint);
}

/* --------------------------------------------------------------- marquee */

.marquee {
  --mq-pad: clamp(30px, 24px + 1.9vw, 52px);
  position: relative;
  background: var(--surface);
  border-block: 1px solid var(--line);
  padding: var(--mq-pad) 0;
  overflow: hidden;
}

.mq {
  position: relative;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  overflow: hidden;
}

.mq + .mq {
  margin-top: var(--tile-gap);
}

.mq__track {
  display: flex;
  width: max-content;
  animation: mq-slide 46s linear infinite;
}

.mq--rev .mq__track {
  animation-direction: reverse;
  animation-duration: 54s;
}

.mq__tile {
  flex: none;
  width: var(--tile);
  height: var(--tile);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-right: var(--tile-gap);
}

.mq__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* WCAG 2.2.2: motion that runs longer than five seconds needs a pause
   control. Reduced motion already stops it, but that is a preference, not a
   control, so the button is there for everybody else. */
.marquee.is-paused .mq__track {
  animation-play-state: paused;
}

/* Floats over the bottom-right of the lower row, aligned to the content
   edge, so the band keeps equal padding above and below the photos. */
.mq__controls {
  position: absolute;
  z-index: 1;
  right: max(var(--gutter), (100% - var(--shell)) / 2);
  bottom: calc(var(--mq-pad) + 12px);
}

.mq__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  cursor: pointer;
}

.mq__toggle:hover {
  border-color: var(--teal-deep);
}

.mq__toggle-icon {
  width: 10px;
  height: 12px;
  flex: none;
}

@keyframes mq-slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------- 2 the record */

/* Three statements, not a panel of stat tiles. White, so the weight comes
   from the rules and the figures rather than from a block of fill. */
.facts {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: clamp(44px, 34px + 3.1vw, 78px) var(--gutter);
}

.facts__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(30px, 24px + 1.9vw, 46px);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* The reveal. Each item is one step behind the one before it. */
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 120ms);
}

.fact__rule {
  display: block;
  height: 3px;
  width: 0;
  border-radius: 2px;
  background: var(--teal);
  transition: width 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--i) * 120ms + 120ms);
}

.fact__figure {
  font-family: var(--display);
  font-size: var(--fs-stat);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--teal-deep);
}

.fact__line {
  font-size: var(--fs-body);
  line-height: 1.55;
  color: var(--body);
  max-width: 30ch;
}

.facts__list.is-in .fact {
  opacity: 1;
  transform: none;
}

.facts__list.is-in .fact__rule {
  width: 64px;
}

/* Nothing to reveal if motion is unwelcome: it is simply already there. */
@media (prefers-reduced-motion: reduce) {
  .fact {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fact__rule {
    width: 64px;
    transition: none;
  }
}

/* ------------------------------------------------------ section headings */

.sec-head {
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 12px + 0.5vw, 19px);
  max-width: 44rem;
  margin-bottom: clamp(30px, 22px + 2.3vw, 56px);
}

.sec-head h2,
.prose-section h2 {
  font-size: var(--fs-h2);
}

.sec-head--center {
  align-items: center;
  text-align: center;
  margin-inline: auto;
}

/* -------------------------------------------------------- 3 origin story */

.origin {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 24px + 1.9vw, 52px);
}

.origin__media {
  max-width: 420px;
  width: 100%;
}

.origin__figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.origin__figure figcaption {
  margin-top: 10px;
  font-size: var(--fs-xs);
  color: var(--muted);
}

.origin h2 {
  font-size: var(--fs-h2);
  margin-bottom: 0.45em;
}

/* ----------------------------------------------------------- 4 discovery */

.discovery {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.discovery__grid {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 22px + 1.9vw, 48px);
}

.discovery h2 {
  font-size: var(--fs-h2);
  margin-bottom: 0.45em;
}

/* The pull line. A display line, not a heading. */
.pull {
  font-family: var(--display);
  font-size: var(--fs-quote);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--ink);
  border-left: 4px solid var(--teal);
  padding-left: clamp(16px, 13px + 0.8vw, 24px);
  margin-block: 0.3em;
}

/* The trending demo. Three rows, an upvote lands on the Negg, it takes the
   top spot. Row height and gap are fixed so the swap is one translate of
   exactly one step in each direction, with no measuring at runtime. */
.vote-demo {
  --row-h: 82px;
  --row-gap: 10px;
  --step: calc(var(--row-h) + var(--row-gap));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(18px, 15px + 0.9vw, 24px);
  max-width: 420px;
}

.vote-demo__label {
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.vote-demo__list {
  display: flex;
  flex-direction: column;
  gap: var(--row-gap);
}

.vote-row {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  height: var(--row-h);
  padding-right: 6px;
  border-radius: var(--radius);
  transition: transform 0.95s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.6s ease, background 0.6s ease;
}

.vote-row__shot {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--cool-tint);
}

/* One line, always: the swap maths assume every row is the same height. */
.vote-row__name {
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.vote-row__vote {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  min-width: 54px;
}

.vote-row .upvote-badge {
  --sz: 38px;
  position: relative;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.5s ease;
}

.vote-row .upvote-badge svg {
  position: absolute;
  width: 52%;
  height: 52%;
  transition: opacity 0.4s ease, transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.upvote-badge__check {
  opacity: 0;
  transform: scale(0.4);
}

.vote-row__count {
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

/* Only after the vote, so the row does not reserve a gap for it beforehand. */
.vote-row__voted {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  color: var(--teal-deep);
  opacity: 0;
  transform: translateY(-3px);
  transition: opacity 0.3s ease 0.15s, transform 0.3s ease 0.15s;
}

/* The vote landing. */
.vote-row--negg.is-voting .upvote-badge {
  transform: scale(1.45);
}

.vote-row--negg.is-voting .vote-row__count {
  animation: vote-tick 0.75s ease both;
}

@keyframes vote-tick {
  0% { transform: translateY(0); opacity: 1; }
  40% { transform: translateY(-7px); opacity: 0; }
  60% { transform: translateY(7px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

/* Voted: the arrow becomes a check and the badge goes pale, which is what the
   live site does once your vote is in. */
.vote-row--negg.is-voted .upvote-badge {
  background: var(--teal-tint);
}

.vote-row--negg.is-voted .upvote-badge__arrow {
  opacity: 0;
  transform: scale(0.5);
}

.vote-row--negg.is-voted .upvote-badge__check {
  opacity: 1;
  transform: scale(1);
}

.vote-row--negg.is-voted .vote-row__voted {
  opacity: 1;
  transform: translateY(0);
}

/* Confetti. Ten pieces on fixed angles, thrown once out of the badge. */
.confetti {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.confetti i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 9px;
  margin: -4px 0 0 -3px;
  border-radius: 1px;
  background: var(--c, var(--teal));
  opacity: 0;
}

.vote-row--negg.is-voting .confetti i {
  animation: confetti-pop 1.1s cubic-bezier(0.17, 0.89, 0.42, 1) forwards;
}

@keyframes confetti-pop {
  0% {
    opacity: 1;
    transform: rotate(var(--a)) translateY(0) rotate(0deg) scale(0.6);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: rotate(var(--a)) translateY(calc(-1 * var(--d))) rotate(220deg) scale(1);
  }
}

/* The swap. The Negg comes up one step, the row it passes goes down one. */
.vote-demo.is-swapped .vote-row--negg {
  transform: translateY(calc(-1 * var(--step)));
  background: var(--teal-tint);
  box-shadow: 0 10px 24px -16px rgba(0, 97, 98, 0.75);
}

.vote-demo.is-swapped .vote-row[data-row="pulse"] {
  transform: translateY(var(--step));
}

@media (prefers-reduced-motion: reduce) {
  .vote-row,
  .vote-row .upvote-badge,
  .vote-row .upvote-badge svg,
  .vote-row__voted {
    transition: none;
  }

  .vote-row--negg.is-voting .vote-row__count,
  .vote-row--negg.is-voting .confetti i {
    animation: none;
  }

  .confetti {
    display: none;
  }
}

/* --------------------------------------------------- 4b three more ways */

.ways {
  background: #fff;
}

.ways__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 22px + 1.2vw, 38px);
}

.way {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

/* One frame shape for all three, so a vertical video still, a row of
   thumbnails and a set of chips still read as one row. */
.way__media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(16px, 13px + 0.9vw, 24px);
}

/* Clips are 1080x1920, so the frames are the shape of the thing itself, and
   there are three of them fanned because every product page has them —
   one lonely thumbnail undersold that. */
.way__reels {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.way__reel {
  position: relative;
  display: block;
  height: 84%;
  aspect-ratio: 9 / 16;
  border-radius: 10px;
  overflow: hidden;
  background: var(--tan-tint);
  box-shadow: 0 10px 26px -14px rgba(26, 26, 26, 0.6);
  flex: none;
}

/* The outer two tuck behind the middle one. */
.way__reel:first-child {
  transform: rotate(-4deg);
  margin-right: -7%;
  z-index: 0;
}

.way__reel:last-child {
  transform: rotate(4deg);
  margin-left: -7%;
  z-index: 0;
}

.way__reel--mid {
  height: 100%;
  z-index: 1;
  box-shadow: 0 14px 32px -12px rgba(26, 26, 26, 0.65);
}

.way__reel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.way__play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.5);
}

/* A guide on a phone, running off the bottom of the frame: the top of the
   page is the part worth reading, and the overflow says there is more. */
.way__media--phone {
  align-items: flex-start;
  padding-bottom: 0;
}

.way__phone {
  display: block;
  width: 58%;
  max-width: 190px;
  border: 5px solid var(--ink);
  border-bottom: none;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  box-shadow: 0 14px 32px -14px rgba(26, 26, 26, 0.6);
}

.way__phone img {
  width: 100%;
  display: block;
}

.way__media--tags {
  align-items: center;
}

.way__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

/* The tags are the illustration and the link at once: there is no tag index
   page on the site to point at, so each chip goes to its own. */
/* 44px tall because they are links people tap, which is the page's floor
   everywhere else. At the font size that reads as generous padding rather
   than a chunky button. */
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1;
  color: var(--teal-deep);
  background: #fff;
  border: 1px solid var(--teal-tint-deep);
  border-radius: 999px;
  padding: 0 15px;
}

.chip:hover {
  background: var(--teal-tint);
  border-color: var(--teal);
  color: var(--teal-ink);
}

.way__title {
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 4px;
}

.way__copy {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--body);
  flex: 1;
}

.way__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--teal-deep);
}

.way__link:hover {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* ------------------------------------------------------------- 5 beliefs */

.beliefs {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 14px + 0.6vw, 22px);
}

.belief {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 20px + 1.2vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.belief__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-tint);
  flex: none;
}

.belief .belief__head {
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.belief p {
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--body);
}

/* -------------------------------------------------------------- 6 makers */

.makers {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 18px + 1.2vw, 32px);
}

.maker {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 14px + 0.6vw, 20px);
}

/* The photo repeats the product link's destination, so it is taken out of
   the accessibility tree and the tab order in the markup. One link per card. */
.maker__shot {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--cool-tint);
}

.maker__shot img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.maker:hover .maker__shot img {
  transform: scale(1.03);
}

.maker__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.maker__body p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--body);
  flex: 1;
}

.maker__body strong {
  display: block;
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 0.35em;
}

.maker__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--teal-deep);
}

.maker__link:hover {
  color: var(--teal-ink);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.makers__cta {
  display: flex;
  margin-top: clamp(26px, 22px + 1.2vw, 38px);
}

.makers__cta .btn {
  width: 100%;
}

/* ------------------------------------------------------------ 7 signpost */

/* Visually distinct from the story either side of it, and deliberately
   quieter than a hero: no display type, no decorative circles. */
.signpost {
  position: relative;
  background: var(--teal-deep);
  padding: clamp(36px, 29px + 2.2vw, 62px) var(--gutter);
  overflow: hidden;
}

.signpost__grid {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 17px + 0.9vw, 28px);
}

.signpost__copy {
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 38em;
}

.signpost__kicker {
  font-size: var(--fs-kicker);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-tint-deep);
}

.signpost h2 {
  font-size: clamp(24px, 20.4px + 1.15vw, 34px);
  color: #fff;
}

.signpost__body {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--teal-tint);
}

.signpost__action {
  display: flex;
}

.signpost__blob {
  top: -170px;
  right: -120px;
  width: 400px;
  height: 400px;
  background: #0b6f70;
  opacity: 0.55;
}

/* -------------------------------------------------------------- 8 people */

.people {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 24px + 2.5vw, 56px);
}

.person {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 14px + 0.6vw, 22px);
}

.person__photo {
  width: clamp(140px, 42vw, 260px);
  flex: none;
}

.person__photo img,
.person__photo .ph {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

.person__copy {
  display: flex;
  flex-direction: column;
  gap: 13px;
  /* Caps the quote's measure on a wide screen without boxing it in. */
  max-width: 44rem;
}

.person__quote p {
  font-family: var(--display);
  font-size: var(--fs-quote);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.018em;
  color: var(--ink);
}

.person__bio {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--body);
}

/* ------------------------------------------------- 9 launched here first */

.alumni {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.alumni__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 10px + 0.6vw, 18px);
}

/* A tile each, so five lockups with nothing in common — different aspect
   ratios, different colours, one of them a solid yellow block — still read
   as one row. */
.alumni__item {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 3 / 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(16px, 13px + 0.9vw, 26px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.alumni__item:hover {
  border-color: var(--line-strong);
  box-shadow: 0 10px 24px -20px rgba(26, 26, 26, 0.55);
}

/* Every file is trimmed to its own mark, so one pair of caps sizes all five.
   Without that trim SimpliSafe's ink filled 15% of its canvas and it came
   out a third the size of the others. Width binds on the wide wordmarks,
   height on the square lockups. */
.alumni__item img {
  width: auto;
  max-width: 86%;
  max-height: 58px;
  object-fit: contain;
}

@media (min-width: 560px) {
  .alumni__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 860px) {
  .alumni__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .alumni__item img {
    max-height: 52px;
  }
}

/* --------------------------------------------------------------- 10 cta */

.closer {
  background: var(--teal-tint);
}

.closer__inner {
  max-width: 44rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(16px, 14px + 0.6vw, 22px);
}

.closer h2 {
  font-size: var(--fs-h2);
}

.closer__body {
  font-size: var(--fs-lede);
  line-height: 1.55;
  color: var(--body);
}

.closer__body a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* --------------------------------------------------------------- 11 faq */

.faq h2 {
  font-size: var(--fs-h2);
  margin-bottom: clamp(26px, 20px + 1.7vw, 46px);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 clamp(32px, 24px + 2.2vw, 56px);
}

.faq__item {
  display: flex;
  flex-direction: column;
  gap: 7px;
  border-top: 1px solid var(--line-strong);
  padding: clamp(17px, 15px + 0.5vw, 22px) 0;
}

/* The questions ship as paragraphs: the page carries one H1 and nothing
   below H2. */
.faq__q {
  font-family: var(--display);
  font-size: var(--fs-h3);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--ink);
}

.faq__a {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--body);
}

.faq__a a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* ------------------------------------------------------------ 12 footer */

.footer {
  background: var(--ink);
  padding: clamp(34px, 28px + 1.9vw, 54px) var(--gutter);
}

.footer__inner {
  max-width: var(--shell);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 600;
}

.footer__tag {
  display: block;
  margin-top: 7px;
  font-size: var(--fs-xs);
  color: #9aa1a8;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
}

.footer__links a,
.footer__links button {
  font-size: var(--fs-sm);
  color: #e3e7ea;
}

/* "Your Privacy Choices" opens the OneTrust preference centre, so it is a
   button, styled to sit in the row as a link. */
.footer__links button {
  padding: 0;
  border: 0;
  background: none;
  font-family: inherit;
  line-height: inherit;
  cursor: pointer;
}

.footer__links a:hover,
.footer__links button:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.footer__legal {
  font-size: var(--fs-xs);
  line-height: 1.6;
  color: #9aa1a8; /* 4.6:1 on --ink */
}

/* Focus on dark bands. The global ring is --teal-deep, which disappears on
   the teal signpost and opt-in sections and is under 3:1 on the ink footer,
   so those bands use white. */
.signpost :focus-visible,
.optin :focus-visible,
.footer :focus-visible {
  outline-color: #fff;
}

/* ------------------------------------------------- asset placeholders */

/* Temporary frames for photos that do not exist yet. Each is replaced by an
   <img> with real alt text at the same aspect ratio. */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  background: var(--cool-tint);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 18px;
  text-align: center;
}

.ph--4x5 {
  aspect-ratio: 4 / 5;
}

.ph--16x9 {
  aspect-ratio: 16 / 9;
}

.ph__label {
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.07em;
  line-height: 1.6;
  text-transform: uppercase;
  /* --muted is only 4.32:1 against the tint these sit on. */
  color: var(--body);
}

/* ====================================================== breakpoint: 700px */

@media (min-width: 520px) {
  .makers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 700px) {
  .beliefs,
  .ways__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .makers__cta .btn {
    width: auto;
  }

  .faq__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .person {
    flex-direction: row;
    align-items: flex-start;
    gap: clamp(22px, 14px + 1.4vw, 38px);
  }

  .person__photo {
    width: clamp(180px, 140px + 4vw, 240px);
  }

  .footer__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
  }
}

/* ====================================================== breakpoint: 900px */

@media (min-width: 900px) {
  .facts__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(28px, 10px + 2.9vw, 52px);
  }
}

@media (min-width: 880px) {
  .makers {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .hero__blob--br {
    display: block;
  }

  .origin {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(40px, 20px + 3.2vw, 76px);
  }

  .origin__media {
    width: 360px;
    flex: none;
    position: sticky;
    top: 104px;
  }

  .discovery__grid {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: clamp(40px, 20px + 3.2vw, 76px);
  }

  .vote-demo {
    flex: none;
    width: 380px;
    position: sticky;
    top: 104px;
  }

  .signpost__grid {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: clamp(32px, 16px + 2.6vw, 56px);
  }

  .signpost__action {
    flex: none;
  }
}

/* ---------------------------------------------------------- reduced motion */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mq__track {
    animation: none;
    transform: none;
  }

  .mq__controls {
    display: none;
  }

  /* Without the animation the duplicate tiles are dead weight, so the strip
     becomes a plain, scrollable row. */
  .mq {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ------------------------------------------------------------- guides */

.guides-section {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.guides {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 12px + 0.6vw, 22px);
}

.guide__link {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(10px, 9px + 0.3vw, 13px);
  color: inherit;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.guide__link:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -18px rgba(26, 26, 26, 0.5);
  color: inherit;
}

.guide__shot {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - 6px);
  background: var(--cool-tint);
}

.guide__name {
  font-family: var(--display);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--ink);
  margin-top: 2px;
}

/* The feed's shape: name, then one line of what it is. */
.guide__desc {
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--body);
}

.guides__all {
  display: flex;
  justify-content: center;
  margin-top: clamp(26px, 22px + 1.2vw, 38px);
}

/* ------------------------------------------------------------- opt-in */

.optin {
  background: var(--teal-deep);
}

.optin__inner {
  max-width: 40rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.optin h2 {
  font-size: clamp(24px, 20.4px + 1.15vw, 34px);
  color: #fff;
}

.optin__sub {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--teal-tint);
}

.optin__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-top: 6px;
}

.optin__field {
  flex: 1;
}

.optin__input {
  width: 100%;
  font-family: var(--sans);
  /* 16px floor: below that iOS Safari zooms the page on focus. */
  font-size: max(16px, var(--fs-sm));
  color: var(--ink);
  background: #fff;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 15px 24px;
  min-height: 50px;
}

.optin__input::placeholder {
  color: var(--muted);
}

.optin__input:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  border-color: var(--teal);
}

.optin__submit {
  background: #fff;
  color: var(--teal-deep);
  flex: none;
}

.optin__submit:hover {
  background: var(--teal-tint);
  color: var(--teal-ink);
}

.optin__submit[aria-busy="true"],
.optin__submit:disabled {
  opacity: 0.7;
  cursor: progress;
}

.optin__status {
  min-height: 1.5em;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--teal-tint);
}

/* #fff and this tint both clear 4.5:1 on --teal-deep. */
.optin__status[data-kind="error"] {
  color: #ffd9d4;
  font-weight: 600;
}

.optin__status[data-kind="success"] {
  color: #fff;
  font-weight: 600;
  font-size: var(--fs-lede);
}

/* The honeypot. Off-screen rather than display:none, which some bots skip. */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (min-width: 560px) {
  .optin__form {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 700px) {
  .guides {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .guides {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
