@font-face {
  font-family: "Inter";
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand: #00AEEF;
  --brand-ink: #006f9a;
  --navy: #12324a;
  --navy-soft: #4a6275;
  --mid: #8fa6b6;
  --bg: #ffffff;
  --bg-soft: #e6f1f8;
  --line: #b4cbda;
  --navy-deep: #0b2638;
  --radius: 12px;
  --radius-pill: 999px;
  --gutter: 16px;
  --max: 1120px;
  /* One rhythm for every page: grid gap, card padding, section height. */
  --gap: 1.5rem;
  --card-pad: 1.5rem;
  --section-y: clamp(3.5rem, 7vw, 5.5rem);
  --shadow: 0 14px 36px rgba(18, 50, 74, 0.2);
  --font-head: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: var(--font-head);
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.1rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--brand-ink);
}

img,
video,
svg {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(2.5rem, 6vw, 4.5rem);
}

.section.soft {
  background: var(--bg-soft);
}

.lead {
  font-size: 1.2rem;
  color: var(--navy-soft);
  max-width: 46rem;
}

.skip-link {
  position: absolute;
  left: 8px;
  top: -48px;
  background: var(--navy);
  color: #fff;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  z-index: 100;
}

.skip-link:focus {
  top: 8px;
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

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

/* ---------- Layout rhythm ---------- */
main > .section {
  padding-block: var(--section-y);
  background: var(--bg);
}

/* Sections alternate white / light blue. The hero is the first section, so
   odd ones after it are the tinted ones. */
main > .section:nth-of-type(odd):not(.cta-band) {
  background: var(--bg-soft);
}

.section h2 {
  max-width: 40rem;
}

/* A short brand-cyan bar under every section title gives the page structure and colour. */
.section h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 2px;
  background: var(--brand);
}

.cta-band h2::after {
  margin-inline: auto;
}

.feature-list li,
.combine-list li {
  border-top: 4px solid var(--brand);
}

.pain-list li {
  border-left: 4px solid var(--brand);
}

.card,
.pain-list li,
.feature-list li,
.combine-list li,
.step-list li,
.tech-grid li,
.use-block {
  box-shadow: 0 2px 10px rgba(18, 50, 74, 0.08);
}

.section .lead {
  margin-bottom: 2rem;
}

.split {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split.wide-left {
    grid-template-columns: 1.2fr 1fr;
  }
}

/* One grid and one card for every list on the site. */
.pain-list,
.module-grid,
.feature-list,
.shot-grid,
.combine-list,
.device-grid,
.ref-grid,
.step-list,
.tech-grid {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.card,
.pain-list li,
.feature-list li,
.combine-list li,
.step-list li,
.tech-grid li {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
}

.card h3,
.pain-list h3,
.feature-list h3,
.step-list h3,
.tech-grid h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.card p:last-child,
.pain-list p,
.feature-list p,
.step-list p,
.tech-grid p {
  margin: 0;
}

.pain-list p,
.feature-list p,
.module-card p,
.spec-list {
  color: var(--navy-soft);
}

.feature-list h3,
.tech-grid h3 {
  color: var(--brand-ink);
}

/* ---------- Header and navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 1rem;
}

.logo img {
  display: block;
}

.site-nav,
.site-nav > ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

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

.site-nav a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  padding-block: 0.4rem;
}

.site-nav a[aria-current="page"] {
  color: var(--brand-ink);
  box-shadow: 0 2px 0 var(--brand-ink);
}

.site-nav .lang-switch {
  border: 1px solid var(--navy-soft);
  border-radius: var(--radius-pill);
  padding: 0.3rem 0.9rem;
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  font: inherit;
  font-weight: 700;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.1rem;
  color: var(--navy);
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    padding: 1rem var(--gutter) 1.5rem;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }
}

/* ---------- Heroes ---------- */
.hero,
.page-hero,
.home-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 5rem) clamp(3.25rem, 7vw, 5.5rem);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 90% at 88% 15%, rgba(0, 174, 239, 0.32), transparent 62%),
    radial-gradient(45% 70% at 0% 100%, rgba(0, 174, 239, 0.16), transparent 60%);
}

.hero > .container {
  position: relative;
}

.hero h1,
.page-hero h1 {
  color: #fff;
}

.hero .lead {
  color: #d3e5f0;
}

.hero .eyebrow {
  color: var(--brand);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .hero:not(.no-visual) .hero-grid {
    grid-template-columns: 1.05fr 1fr;
  }
}

.hero.no-visual {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.hero.no-visual .hero-copy {
  max-width: 46rem;
}

.hero-visual {
  background: radial-gradient(circle at 50% 30%, #ffffff 0%, #dcebf5 100%);
  border-radius: 18px;
  padding: 1rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.hero-visual img,
.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

/* Cutout photos float on the navy: no card, only a soft shadow under the product. */
.hero-visual.bare {
  background: none;
  box-shadow: none;
  padding: 0;
}

.hero-visual.bare img {
  border-radius: 0;
  filter: drop-shadow(0 28px 30px rgba(0, 0, 0, 0.5));
}

.hero-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  align-items: center;
}

.hero-photos img {
  max-height: 300px;
  object-fit: contain;
}

.hero .button.ghost {
  border-color: #fff;
  color: #fff;
}

.hero .button.ghost:hover {
  background: #fff;
  color: var(--navy);
}

.hero-chips,
.hero .learn-index ul {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.hero-chips a,
.hero .learn-index a {
  display: inline-block;
  padding: 0.35rem 0.95rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.hero-chips a:hover,
.hero .learn-index a:hover {
  background: #fff;
  color: var(--navy);
}

.home-hero-shot img,
.shot-grid img,
.photo-frame img {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo-frame.wide {
  margin-top: 2rem;
}

.photo-frame.wide img {
  aspect-ratio: 21 / 9;
  max-height: 420px;
}

.video-frame {
  margin-top: 1.5rem;
}

.video-frame video {
  display: block;
  width: 100%;
  max-width: 960px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  background: var(--navy);
}

/* Photographs keep a fixed shape so cropping is deliberate, never accidental. */
.photo-frame img {
  aspect-ratio: 4 / 3;
  max-height: 460px;
  object-fit: cover;
}

/* The coin photo is a macro shot: keep it small so it does not blow up. */
.tags-hero .hero-visual {
  max-width: 260px;
  margin-inline: auto;
}

/* Small looping clip tucked into the lower-right corner of the SureKits hero, at its native width. */
.surekits-hero .hero-visual {
  position: relative;
}

.hero-clip {
  position: absolute;
  right: 0;
  bottom: -1.2rem;
  width: clamp(156px, 31%, 247px);
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.5);
  background: #0b2638;
}

.hero-clip video {
  display: block;
  width: 100%;
  aspect-ratio: 408 / 720;
  object-fit: contain;
}

/* Product cutouts are shown whole, with no frame and no cropping. */
.photo-frame.product img {
  aspect-ratio: auto;
  max-height: none;
  object-fit: contain;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: drop-shadow(0 22px 24px rgba(11, 38, 56, 0.28));
}

.module-hero-art {
  max-width: 520px;
}

.eyebrow {
  color: var(--brand-ink);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.82rem;
  margin-bottom: 0.75rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.75rem;
}

/* ---------- Buttons ---------- */
.button {
  display: inline-block;
  background: var(--brand);
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--brand);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.button:hover {
  box-shadow: var(--shadow);
}

.button.ghost {
  background: transparent;
  border-color: var(--navy);
}

/* ---------- Home ---------- */
.module-card {
  text-decoration: none;
  color: var(--navy);
  display: block;
}

.module-card:hover {
  border-color: var(--brand-ink);
  box-shadow: 0 0 0 2px var(--brand-ink);
}

.module-art {
  margin: calc(var(--card-pad) * -0.5) calc(var(--card-pad) * -0.5) 0.75rem;
}

.module-tag {
  color: var(--brand-ink);
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.ref-card {
  margin: 0;
}

.ref-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: var(--radius);
}

.ref-card figcaption,
.shot-grid figcaption {
  margin-top: 0.6rem;
  font-weight: 700;
}

.shot-grid figcaption {
  font-weight: 400;
  color: var(--navy-soft);
}

.shot-grid figure {
  margin: 0;
}

.cta-band {
  background: var(--navy);
  color: #fff;
  text-align: center;
}

.cta-band h2 {
  color: #fff;
  margin-inline: auto;
}

.cta-band .lead {
  color: #d5e6f0;
  margin-inline: auto;
}

/* ---------- Module and product pages ---------- */
.combine-list a {
  font-weight: 800;
  font-size: 1.1rem;
}

.combine-list p {
  margin: 0.4rem 0 0;
}

.choose-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  background: #fff;
  border: 1px solid var(--line);
}

.choose-table th,
.choose-table td {
  text-align: left;
  padding: 0.9rem 1.1rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.choose-table th {
  background: var(--bg-soft);
}

.step-list {
  counter-reset: step;
}

.step-list li {
  counter-increment: step;
  position: relative;
  padding-top: calc(var(--card-pad) + 2.6rem);
}

.step-list li::before {
  content: counter(step);
  position: absolute;
  top: var(--card-pad);
  left: var(--card-pad);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.tech-grid li {
  border-top: 4px solid var(--brand-ink);
}

/* Device rows: photo and specs side by side, alternating. */
.device-list {
  display: grid;
  gap: 4rem;
  margin-top: 2.5rem;
}

.device-row {
  display: grid;
  gap: 2.5rem;
  align-items: center;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .device-row {
    grid-template-columns: 1fr 1fr;
  }
  .device-row:nth-child(even) .device-photos {
    order: 2;
  }
}

.device-photos {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  display: grid;
  gap: 1rem;
  align-items: center;
}

.device-photos.two {
  grid-template-columns: 1.4fr 1fr;
}

.device-photos img {
  width: 100%;
  height: auto;
  max-height: 340px;
  object-fit: contain;
  border-radius: calc(var(--radius) / 2);
}

.device-body h3 {
  font-size: 1.9rem;
  margin-bottom: 0.75rem;
}

.device-lead {
  font-size: 1.1rem;
  color: var(--navy);
}

.chips {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chips li {
  background: var(--navy);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
}

.spec-list {
  padding-left: 1.1rem;
  margin: 0.75rem 0 0;
}

.spec-list li {
  margin-bottom: 0.35rem;
}

/* ---------- Dropdown menus ---------- */
.has-sub {
  position: relative;
}

/* Top-level links fill the header height so the pointer never leaves the item
   on its way down to the panel. */
.site-nav > ul > li > a {
  display: inline-block;
  padding-block: 1.5rem;
}

.sub-toggle {
  display: none;
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 320px;
  margin: 0;
  padding: 0.75rem;
  list-style: none;
  display: grid;
  gap: 0.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--brand);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 24px 50px rgba(11, 38, 56, 0.22);
  visibility: hidden;
  opacity: 0;
}

#sub-sigame,
#sub-learn {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 600px;
}

#sub-surekits {
  left: auto;
  right: 0;
}

.has-sub:hover > .submenu,
.has-sub:has(:focus-visible) > .submenu,
.has-sub.open > .submenu {
  visibility: visible;
  opacity: 1;
}

.submenu {
  counter-reset: sm;
  padding: 0.6rem;
  gap: 0 0.5rem;
}

.submenu li {
  counter-increment: sm;
  border-bottom: 1px solid #e3edf4;
}

#sub-learn li:nth-last-child(-n+1),
#sub-sigame li:nth-last-child(-n+1),
#sub-surekits li:last-child {
  border-bottom: 0;
}

.submenu a {
  position: relative;
  display: block;
  padding: 0.7rem 0.8rem 0.7rem 2.5rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  box-shadow: none;
}

.submenu a::before {
  content: counter(sm, decimal-leading-zero);
  position: absolute;
  left: 0.8rem;
  top: 0.78rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--brand-ink);
}

.submenu a:hover,
.submenu a:focus-visible {
  background: var(--bg-soft);
}

.submenu a:hover strong,
.submenu a:focus-visible strong {
  color: var(--brand-ink);
}

.submenu strong {
  display: block;
  font-size: 0.97rem;
  font-weight: 650;
  line-height: 1.3;
}

.submenu span {
  display: block;
  color: var(--navy-soft);
  font-size: 0.9rem;
  font-weight: 400;
}

@media (max-width: 760px) {
  .site-nav > ul > li > a {
    padding-block: 0.4rem;
  }

  .has-sub {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
  }

  .sub-toggle {
    display: inline-grid;
    place-items: center;
    width: 2.4rem;
    height: 2.4rem;
    border: 1px solid var(--line);
    border-radius: 50%;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
  }

  .sub-toggle::before {
    content: "";
    width: 0.55rem;
    height: 0.55rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
  }

  .has-sub.open > .sub-toggle::before {
    transform: rotate(-135deg);
  }

  .submenu,
  #sub-sigame,
  #sub-learn,
  #sub-surekits {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    width: 100%;
    min-width: 0;
    margin-top: 0.5rem;
    grid-template-columns: 1fr;
    box-shadow: none;
    border-radius: var(--radius);
    background: var(--bg-soft);
  }

  .has-sub.open > .submenu {
    display: grid;
  }
}

/* ---------- "How it works" ---------- */
.learn-index ul {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.learn-index a {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid var(--navy-soft);
  border-radius: var(--radius-pill);
  text-decoration: none;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  background: #fff;
}

.learn-index a:hover {
  background: var(--navy);
  color: #fff;
}

@media (min-width: 900px) {
  .split.reverse .concept-text {
    order: 2;
  }
}

.step-no {
  color: var(--brand-ink);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.concept-text {
  max-width: 34rem;
}

.concept-art {
  margin: 0;
}

.concept-art svg,
.concept-art img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}

.concept-art figcaption {
  margin-top: 0.6rem;
  color: var(--navy-soft);
}

.callout {
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  border-left: 4px solid var(--brand-ink);
  background: #fff;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-weight: 600;
  color: var(--navy);
}

.mini-title {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
  margin: 1.5rem 0 0.5rem;
}

.concept-steps {
  padding-left: 1.3rem;
  margin: 0 0 1rem;
}

.concept-steps li {
  margin-bottom: 0.6rem;
  padding-left: 0.25rem;
}

.concept-steps li::marker {
  color: var(--brand-ink);
  font-weight: 800;
}

.example-box {
  margin: 1.25rem 0 0.5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px dashed var(--brand-ink);
  border-radius: var(--radius);
}

.example-box strong {
  color: var(--brand-ink);
}

.example-box p {
  margin: 0.4rem 0 0;
}

.limits {
  margin: 0 0 0.5rem;
  padding-left: 1.2rem;
  color: var(--navy-soft);
}

.tag-cards {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0;
  display: grid;
  gap: 0.9rem;
}

.tag-card {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--brand);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
}

.tag-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.tag-card p {
  margin: 0;
  color: var(--navy-soft);
}

.table-wrap {
  margin-top: 2.5rem;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.learn-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.learn-table th,
.learn-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
}

.learn-table thead th {
  background: var(--navy);
  color: #fff;
}

.learn-table tbody th {
  color: var(--brand-ink);
  white-space: nowrap;
}

.learn-table tbody tr:nth-child(even) {
  background: var(--bg-soft);
}

.mini-steps {
  padding-left: 1.2rem;
  margin: 0 0 1rem;
}

.mini-steps li {
  margin-bottom: 0.5rem;
}

.use-blocks {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}

.use-block {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--card-pad);
  border-top: 4px solid var(--brand-ink);
}

.use-block h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.use-when {
  font-weight: 700;
  color: var(--brand-ink);
  margin-bottom: 0.25rem;
}

.use-note {
  color: var(--navy-soft);
  margin-bottom: 0;
}

.examples {
  display: grid;
  gap: var(--gap);
  margin-top: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}

.example {
  background: var(--bg-soft);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
}

.example h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.example p {
  margin: 0;
  color: var(--navy-soft);
}

.use-link {
  margin: 1.25rem 0 0;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
  max-width: 48rem;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list details p {
  margin: 0.75rem 0 0;
  color: var(--navy-soft);
}

/* ---------- SureKits ---------- */
.cycle-steps {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: grid;
  gap: 1rem;
  counter-reset: cycle;
}

.cycle-steps li {
  counter-increment: cycle;
  position: relative;
  padding: 0 0 0 3rem;
}

.cycle-steps li::before {
  content: counter(cycle);
  position: absolute;
  left: 0;
  top: 0;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.cycle-steps h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.cycle-steps p {
  margin: 0;
  color: var(--navy-soft);
}

.feature-list h3 a {
  color: var(--brand-ink);
}

.start-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 1.5rem;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  counter-reset: start;
}

.start-steps li {
  counter-increment: start;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-top: 4px solid var(--brand);
  padding: calc(var(--card-pad) + 2.6rem) var(--card-pad) var(--card-pad);
}

.start-steps li::before {
  content: counter(start);
  position: absolute;
  top: var(--card-pad);
  left: var(--card-pad);
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.start-steps h3 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.start-steps p {
  margin: 0;
  color: var(--navy-soft);
}

/* The 1080p presentation is the large video; the vertical, low-resolution collector clip stays
   close to its native size so it is never blown up or cropped. */
.video-pair {
  display: grid;
  gap: var(--gap);
  margin-top: 1.5rem;
  align-items: start;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .video-pair {
    grid-template-columns: minmax(0, 1fr);
  }
}

.video-pair.single {
  grid-template-columns: minmax(0, 300px);
}

.video-figure {
  margin: 0;
}

.video-figure.full {
  order: -1;
}

.video-figure .video-frame {
  margin-top: 0;
}

.video-figure.full video {
  width: 100%;
  max-width: none;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.video-figure.loop video {
  width: 100%;
  max-width: 300px;
  height: auto;
  aspect-ratio: 408 / 720;
  object-fit: contain;
  background: #000;
}

.video-figure figcaption,
.photo-pair figcaption,
.gallery figcaption {
  margin-top: 0.5rem;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.photo-pair,
.photo-trio {
  display: grid;
  gap: 1rem;
  align-items: start;
}

.photo-pair {
  grid-template-columns: 1fr 1fr;
}

.photo-trio {
  grid-template-columns: repeat(3, 1fr);
}

.photo-pair figure,
.photo-trio figure,
.gallery figure {
  margin: 0;
}

/* Product photographs are shown whole on white: nothing is cropped. */
.photo-pair img,
.photo-trio img,
.gallery img {
  width: 100%;
  height: auto;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.photo-pair img,
.photo-trio img {
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.gallery {
  display: grid;
  gap: var(--gap);
  margin-top: 1.5rem;
  grid-auto-flow: dense;
  align-items: center;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
}

.gallery figure.wide {
  grid-column: span 2;
}

@media (max-width: 640px) {
  .gallery figure.wide {
    grid-column: span 1;
  }
}

.install-steps {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  counter-reset: install;
}

.install-step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.75rem 0.75rem 1.1rem;
}

.install-step img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

.install-step h3 {
  font-size: 1.05rem;
  margin: 0.75rem 0 0.25rem;
}

.install-step p {
  margin: 0;
  color: var(--navy-soft);
}

.step-badge {
  position: absolute;
  z-index: 1;
  top: 1.1rem;
  left: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #d5e6f0;
  padding-block: 3rem 1.5rem;
}

.site-footer a {
  color: #fff;
}

.site-footer h2 {
  color: #fff;
  font-size: 1rem;
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.45rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-rights {
  margin-top: 2rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

/* ---------- Illustrations: static look, strong contrast ---------- */
.ill {
  width: 100%;
  height: auto;
  display: block;
}
.ill .f-brand { fill: var(--brand-ink); }
.ill .f-navy { fill: var(--navy); }
.ill .f-soft { fill: var(--bg-soft); }
.ill .f-line { fill: var(--mid); }
.ill .f-white { fill: #fff; }
.ill .s-brand { stroke: var(--brand-ink); }
.ill .s-navy { stroke: var(--navy); }
.ill .s-line { stroke: var(--navy-soft); }
.ill .s-white { stroke: #fff; }

/* Evidence page: notes under tables, ROI calculator and reference list. */
.evidence-notes {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

.evidence-notes li {
  margin-bottom: 0.4rem;
}

.roi {
  margin-top: 2rem;
  display: grid;
  gap: var(--gap);
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 960px) {
  .roi {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: start;
  }

  .roi-results {
    position: sticky;
    top: 6rem;
  }
}

.roi-example {
  grid-column: 1 / -1;
  margin: 0;
  justify-self: start;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.roi-inputs {
  display: grid;
  gap: var(--gap);
}

.roi fieldset {
  margin: 0;
  padding: var(--card-pad);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  display: grid;
  gap: 1rem;
}

.roi legend {
  padding: 0 0.5rem;
  font-weight: 800;
  color: var(--brand-ink);
}

.roi-field {
  display: grid;
  gap: 0.25rem;
}

.roi-label {
  font-weight: 700;
  color: var(--navy);
}

.roi-field input {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  color: var(--navy);
  background: #fff;
}

.roi-field input:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 1px;
}

.roi-field small {
  color: var(--navy-soft);
}

.roi-results {
  padding: var(--card-pad);
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
}

.roi-results h3 {
  margin: 0 0 1rem;
  color: #fff;
}

.roi-results dl {
  margin: 0;
}

.roi-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.roi-row dt {
  color: rgba(255, 255, 255, 0.85);
}

.roi-row dd {
  margin: 0;
  font-weight: 800;
  text-align: right;
  white-space: nowrap;
}

.roi-row.key dd {
  color: #7fd6ff;
  font-size: 1.15rem;
}

.roi-row dd.negative {
  color: #ffb4a8;
}

.roi-warning {
  min-height: 1.2rem;
  color: #ffd98a;
  font-weight: 700;
}

.roi-formula {
  margin: 1rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.refs {
  margin: 1.5rem 0 0;
  padding-left: 2.2rem;
  font-size: 0.92rem;
  color: var(--navy-soft);
}

.refs li {
  margin-bottom: 0.6rem;
  overflow-wrap: anywhere;
}

/* Flashes: the biggest possible gains stand out in the evidence tables. */
.flash-strip {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.flash-strip li {
  display: grid;
  gap: 0.2rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  border-left: 6px solid var(--brand);
}

.flash-strip strong {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.1;
  color: #7fd6ff;
}

.flash-strip span {
  color: rgba(255, 255, 255, 0.92);
}

.flash-strip em {
  font-style: normal;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffd98a;
}

.flash {
  position: relative;
  display: inline-grid;
  gap: 0;
  margin-top: 0.5rem;
  padding: 0.3rem 0.7rem;
  border-radius: 10px;
  background: var(--brand);
  color: var(--navy);
  overflow: hidden;
  white-space: normal;
}

.flash strong {
  font-size: 1.05rem;
  font-weight: 900;
}

.flash small {
  font-size: 0.75rem;
  font-weight: 700;
}

.learn-table tbody th {
  white-space: normal;
}

/* On wide screens the clip hangs below the right corner of the photo instead of covering it. */
@media (min-width: 900px) {
  .surekits-hero .hero-visual:has(.hero-clip) {
    margin-bottom: 9rem;
  }

  .hero-clip {
    right: -1rem;
    bottom: -10.5rem;
    width: clamp(156px, 26%, 221px);
  }
}

/* The badge always sits on its own line under the study name. */
.flash {
  display: grid;
  width: fit-content;
  max-width: 100%;
}

.learn-table .study {
  display: block;
}

/* Company pages: forms, narrow text columns and the privacy notice. */
.container.narrow {
  max-width: 820px;
}

.prose .updated {
  color: var(--navy-soft);
  font-weight: 700;
}

.prose-block {
  margin-top: 2rem;
}

.prose-block h2 {
  font-size: 1.4rem;
}

.contact-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 1.25rem;
}

.form-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr);
}

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

.field {
  display: grid;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  color: var(--navy);
  background: #fff;
}

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible,
.consent input:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 1px;
}

.field [aria-invalid="true"] {
  border-color: #b3261e;
}

.field small {
  font-weight: 400;
  color: var(--navy-soft);
}

.field .field-error,
.field-error {
  color: #b3261e;
  font-weight: 700;
  min-height: 1em;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.consent {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.consent input {
  margin-top: 0.3rem;
}

.form-status {
  margin: 0;
  font-weight: 700;
}

.form-status.ok {
  color: var(--brand-ink);
}

.form-status.bad {
  color: #b3261e;
}

/* SureKits topic grid: short entries that lead into the guide. */
.topic-grid {
  list-style: none;
  margin: 2rem 0;
  padding: 0;
  display: grid;
  gap: var(--gap);
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.topic-grid a {
  display: block;
  height: 100%;
  padding: var(--card-pad);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
  border-top: 5px solid var(--brand);
  text-decoration: none;
  color: var(--navy);
  box-shadow: none;
}

.topic-grid a:hover,
.topic-grid a:focus-visible {
  border-color: var(--brand-ink);
  transform: translateY(-2px);
}

.topic-grid h3 {
  margin: 0 0 0.4rem;
}

.topic-grid p {
  margin: 0;
  color: var(--navy-soft);
}

.roi-reset {
  margin-top: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  color: var(--link, inherit);
  font: inherit;
  font-size: 0.875rem;
  text-decoration: underline;
  cursor: pointer;
}

/* Final refinement layer: calmer type, more air, fewer heavy borders and shadows.
   Loaded after components.css so it only adjusts, never restructures. */

:root {
  --bg-soft: #edf4f9;
  --line: #d3e1ea;
  --gap: 1.75rem;
  --card-pad: 1.75rem;
  --section-y: clamp(4rem, 8vw, 6.5rem);
  --shadow: 0 12px 32px rgba(18, 50, 74, 0.14);
  --soft-shadow: 0 1px 2px rgba(18, 50, 74, 0.06), 0 10px 28px rgba(18, 50, 74, 0.05);
}

/* ---------- Type ---------- */
html {
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-size: 1.05rem;
  line-height: 1.7;
  font-feature-settings: "kern", "calt";
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h1 {
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

h2 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
}

h3 {
  font-weight: 650;
  letter-spacing: -0.012em;
  line-height: 1.3;
}

p,
li {
  text-wrap: pretty;
}

/* A comfortable reading width for running text. */
.section .container > p,
.prose p {
  max-width: 68ch;
}

.cta-band .container > p {
  margin-inline: auto;
}

.lead {
  font-weight: 400;
  line-height: 1.6;
}

.eyebrow {
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

table,
.roi-row dd,
.flash,
.flash-strip strong {
  font-variant-numeric: tabular-nums;
}

strong {
  font-weight: 650;
}

/* ---------- Calmer surfaces ---------- */
.section h2::after {
  width: 40px;
  height: 3px;
  margin-top: 0.85rem;
}

.feature-list li,
.combine-list li {
  border-top: 1px solid var(--line);
}

.pain-list li {
  border-left: 3px solid var(--brand);
}

.card,
.pain-list li,
.feature-list li,
.combine-list li,
.step-list li,
.tech-grid li,
.use-block {
  box-shadow: var(--soft-shadow);
}

.feature-list h3,
.tech-grid h3 {
  color: var(--navy);
}

.feature-list li > h3::before {
  content: "";
  display: block;
  width: 24px;
  height: 3px;
  margin-bottom: 0.75rem;
  border-radius: 2px;
  background: var(--brand);
}

.feature-list li > h3 a {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.topic-grid a {
  border-top: 1px solid var(--line);
  box-shadow: var(--soft-shadow);
}

.topic-grid a:hover,
.topic-grid a:focus-visible {
  border-color: var(--brand-ink);
  transform: none;
  box-shadow: 0 0 0 1px var(--brand-ink), var(--soft-shadow);
}

.flash-strip li {
  border-left-width: 4px;
}

.table-wrap,
.roi fieldset,
.faq-list details {
  box-shadow: var(--soft-shadow);
}

.callout {
  font-weight: 600;
  line-height: 1.55;
}

/* ---------- Buttons and navigation ---------- */
.button {
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  letter-spacing: -0.005em;
  transition: box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  box-shadow: 0 6px 18px rgba(18, 50, 74, 0.18);
}

.site-nav > ul > li > a {
  font-weight: 600;
  font-size: 0.98rem;
}

.submenu strong {
  font-weight: 600;
}

/* ---------- Hero ---------- */
.hero h1 {
  font-weight: 750;
}

.hero .lead {
  font-size: 1.15rem;
  line-height: 1.6;
}

.hero-chips a {
  font-weight: 600;
}

/* ---------- Footer ---------- */
.site-footer h2 {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* A whole-instrument photo that sits between two sections of text. */
.photo-band {
  margin: 2.5rem auto 0;
  max-width: 760px;
}

.photo-band img {
  display: block;
  width: 100%;
  border-radius: var(--radius);
  background: #fff;
}

/* Ergonomics: three small instruments and a zoom on where the tag sits. */
.ergo-demo {
  display: grid;
  gap: var(--gap);
  margin: 2.5rem 0 1.5rem;
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
  .ergo-demo {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  }
}

.ergo-demo figure {
  margin: 0;
}

.ergo-thumbs > div {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ergo-thumbs img,
.ergo-zoom img {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.ergo-demo figcaption {
  margin-top: 0.6rem;
  color: var(--navy-soft);
  font-size: 0.95rem;
}

/* Counting-time simulator and the "both technologies" highlight. */
.hybrid {
  margin: 2rem 0 0;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  border-left: 6px solid var(--brand);
}

.hybrid h3 {
  margin: 0 0 0.4rem;
  color: #7fd6ff;
}

.hybrid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
}

.sim-kit {
  display: grid;
  gap: 0.6rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: end;
}

.sim-kit strong {
  grid-column: 1 / -1;
  color: var(--brand-ink);
}

.sim-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.9rem;
  color: var(--navy-soft);
}

.sim-presets .chip {
  font: inherit;
  font-weight: 600;
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: #fff;
  color: var(--navy);
  cursor: pointer;
}

.sim-presets .chip[aria-pressed="true"] {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.sim-total {
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.85);
}

.sim-total strong {
  color: #7fd6ff;
}

.sim-row {
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.sim-row[hidden],
[data-saving-row][hidden] {
  display: none;
}

.sim-row h4,
.sim-sav {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 650;
  color: #fff;
}

.sim-sav {
  margin-top: 1.2rem;
}

.sim-bar {
  height: 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.sim-bar span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 4px;
  background: var(--brand);
}

.sim-row dl {
  display: grid;
  gap: 0.2rem;
  margin: 0.6rem 0 0;
}

.sim-row dl > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.92rem;
}

.sim-row dt {
  color: rgba(255, 255, 255, 0.78);
}

.sim-row dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.sim-savings {
  margin: 0;
}

@media (prefers-reduced-motion: no-preference) {
  /* Scroll reveal: reveal.js adds .reveal only to blocks that start below the
     fold, so nothing is ever hidden without JavaScript. */
  .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .reveal.in {
    opacity: 1;
    transform: none;
  }

  /* Hover and press feedback. */
  .button {
    transition: background-color 0.15s, box-shadow 0.15s, transform 0.15s;
  }
  .button:hover {
    transform: translateY(-1px);
  }
  .card,
  .feature-list li,
  .combine-list li,
  .pain-list li {
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  }
  .module-card:hover,
  .combine-list li:hover {
    transform: translateY(-4px);
  }

  /* Illustrations: dark strokes on light, so every moving part keeps contrast. */
  .a-flow {
    animation: ill-flow 1.1s linear infinite;
  }
  .a-ring {
    transform-box: fill-box;
    transform-origin: center;
    animation: ill-ring 2.6s ease-out infinite;
  }
  .a-ring.late {
    animation-delay: 1.3s;
  }
  .a-draw {
    stroke-dasharray: 1;
    animation: ill-draw 3.6s ease-in-out infinite;
  }
  .a-blink {
    animation: ill-blink 1.6s ease-in-out infinite;
  }
  .a-wave {
    animation: ill-wave 2.4s ease-in-out infinite;
  }
  .a-wave.w2 {
    animation-delay: 0.4s;
  }
  .a-wave.w3 {
    animation-delay: 0.8s;
  }
  /* Something moving through the scene, then starting over. */
  .a-travel {
    animation: ill-travel 4.2s ease-in-out infinite;
  }
  /* A marker going around a cycle. */
  .a-spin {
    transform-box: view-box;
    transform-origin: 240px 160px;
    animation: ill-spin 7s linear infinite;
  }
  /* Elements that appear one after another, like measurement points. */
  .a-pop {
    transform-box: fill-box;
    transform-origin: center;
    animation: ill-pop 4.8s ease-out infinite;
  }
  .a-pop.d1 {
    animation-delay: 0.2s;
  }
  .a-pop.d2 {
    animation-delay: 0.9s;
  }
  .a-pop.d3 {
    animation-delay: 1.6s;
  }
  .a-pop.d4 {
    animation-delay: 2.3s;
  }

  @keyframes ill-flow {
    to {
      stroke-dashoffset: -12;
    }
  }
  @keyframes ill-ring {
    0% {
      transform: scale(1);
      opacity: 0.9;
    }
    100% {
      transform: scale(2.6);
      opacity: 0;
    }
  }
  @keyframes ill-draw {
    0% {
      stroke-dashoffset: 1;
    }
    55%,
    100% {
      stroke-dashoffset: 0;
    }
  }
  @keyframes ill-blink {
    0%,
    100% {
      opacity: 1;
    }
    50% {
      opacity: 0.3;
    }
  }
  @keyframes ill-spin {
    to {
      transform: rotate(360deg);
    }
  }
  @keyframes ill-travel {
    0% {
      transform: translateX(0);
    }
    70%,
    100% {
      transform: translateX(300px);
    }
  }
  @keyframes ill-pop {
    0% {
      opacity: 0;
      transform: scale(0.6);
    }
    15%,
    80% {
      opacity: 1;
      transform: scale(1);
    }
    100% {
      opacity: 0;
      transform: scale(1);
    }
  }
  @keyframes ill-wave {
    0%,
    100% {
      opacity: 0.2;
    }
    40% {
      opacity: 1;
    }
  }
}

@media (prefers-reduced-motion: no-preference) {
  .flash::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.75) 50%, transparent 65%);
    transform: translateX(-120%);
    animation: flash-glint 3.6s ease-in-out infinite;
  }

  .flash-strip li:nth-child(2) strong {
    animation-delay: 0.3s;
  }

  .flash-strip strong {
    animation: flash-pulse 3.6s ease-in-out infinite;
  }

  @keyframes flash-glint {
    0%, 55% {
      transform: translateX(-120%);
    }
    80%, 100% {
      transform: translateX(120%);
    }
  }

  @keyframes flash-pulse {
    0%, 60%, 100% {
      transform: scale(1);
    }
    75% {
      transform: scale(1.06);
    }
  }
}
