html,
body {
  margin: 0;
  min-height: 100%;
}

:root {
  --text-page-gutter: clamp(12px, 2.2vw, 28px);
}

body {
  background: #02050d;
}

.top-bar {
  position: sticky;
  top: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  display: grid;
  /* Menu (with Contact Us) centered in the space between the logo and the language slider. */
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(10px, 2vw, 28px);
  padding: 16px calc(clamp(10px, 2.4vw, 30px) + var(--text-page-gutter));
  background: rgba(2, 5, 13, 0.92);
  backdrop-filter: blur(4px);
  overflow: visible;
  transition: transform 220ms ease;
  will-change: transform;
}

.top-bar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(39, 200, 255, 0.02) 0%, rgba(39, 200, 255, 0.35) 45%, rgba(0, 232, 183, 0.35) 55%, rgba(0, 232, 183, 0.02) 100%);
}

.top-bar.is-hidden {
  transform: translateY(-115%);
}

.brand-home {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  text-decoration: none;
}

.logo-mark {
  display: block;
  width: clamp(132px, 22vw, 236px);
  height: auto;
}

.top-nav {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-self: center;
  gap: clamp(10px, 2.6vw, 34px);
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(10px, 1.25vw, 14px);
  font-weight: 400;
  letter-spacing: 0.01em;
  white-space: nowrap;
  margin: 0;
}

.nav-item {
  position: relative;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  height: 14px;
}

.nav-trigger {
  color: #f5f7fb;
  text-decoration: none;
  white-space: nowrap;
}

.nav-popup {
  position: absolute;
  left: 50%;
  top: calc(100% + 14px);
  z-index: 220;
  width: min(330px, 72vw);
  padding: 14px 16px;
  border: 1px solid rgba(120, 139, 163, 0.35);
  border-radius: 10px;
  background: rgba(5, 11, 22, 0.97);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.36);
  color: #dbe4ef;
  font-size: clamp(14px, 0.98vw, 18px);
  line-height: 1.58;
  white-space: normal;
  overflow-wrap: anywhere;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  /* Closing waits a moment, so a slightly off-course mouse doesn't lose the box. */
  transition: opacity 160ms ease 220ms, transform 180ms ease 220ms, visibility 0s linear 400ms;
}

/* Invisible bridge over the gap between the menu word and its box, the box's full width,
   so the mouse can travel to any part of the box without it closing. */
.nav-popup::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 16px;
}

.nav-popup p {
  margin: 0;
}

.nav-popup-link {
  display: inline-block;
  margin-top: 10px;
  color: #27c8ff;
  text-decoration: none;
  font-size: clamp(13px, 0.9vw, 16px);
}

.nav-popup-link:hover,
.nav-popup-link:focus-visible {
  color: #68dcff;
}

.nav-item:hover .nav-popup,
.nav-item:focus-within .nav-popup,
.nav-popup:hover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 160ms ease, transform 180ms ease, visibility 0s linear 0s;
}

/* Only one box at a time: while another menu word is hovered, the others close at once. */
.top-nav:hover .nav-item:not(:hover) .nav-popup {
  transition-delay: 0s;
}

.nav-trigger:hover,
.nav-trigger:focus-visible {
  color: #27c8ff;
}

.contact-btn {
  justify-self: end;
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  gap: clamp(4px, 0.6vw, 8px);
  min-height: 27px;
  padding: 0 clamp(5px, 0.65vw, 9px);
  border: 1px solid #7a8391;
  border-radius: 3px;
  color: #e9edf4;
  text-decoration: none;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(10px, 1.25vw, 14px);
  font-weight: 400;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, #020a17 0%, #010612 100%);
  box-shadow:
    inset 0 1px 0 rgba(205, 214, 225, 0.16),
    0 0 0 1px rgba(15, 24, 39, 0.35);
  white-space: nowrap;
}

/* Language slider: on its own at the right, vertically centered in the bar. */
.top-actions {
  justify-self: end;
  align-self: center;
  display: inline-flex;
  align-items: center;
}

.lang-toggle {
  position: relative;
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  width: 52px;
  height: 18px;
  padding: 0;
  border: 1px solid rgba(122, 131, 145, 0.6);
  border-radius: 999px;
  background: rgba(2, 10, 23, 0.9);
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 8px;
  letter-spacing: 0.06em;
  cursor: pointer;
}

.lang-toggle-knob {
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc(50% - 2px);
  height: calc(100% - 4px);
  border-radius: 999px;
  background: rgba(0, 170, 220, 0.35);
  box-shadow: inset 0 0 0 1px rgba(63, 220, 255, 0.55);
  transition: transform 180ms ease;
}

.lang-toggle[data-lang="en"] .lang-toggle-knob {
  transform: translateX(100%);
}

.lang-toggle-opt {
  position: relative;
  text-align: center;
  color: rgba(221, 232, 245, 0.55);
  transition: color 180ms ease;
}

.lang-toggle[data-lang="fr"] .lang-toggle-opt[lang="fr"],
.lang-toggle[data-lang="en"] .lang-toggle-opt[lang="en"] {
  color: #ffffff;
}

.lang-toggle:hover {
  border-color: #95a0af;
}

.lang-toggle:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 2px;
}

.i18n-pending body {
  visibility: hidden;
}

.contact-btn:hover,
.contact-btn:focus-visible {
  border-color: #95a0af;
  color: #ffffff;
}

.contact-arrow {
  color: #00d6ff;
  font-size: 16px;
  line-height: 1;
  transform: translateY(-1px);
}

.page-empty {
  --lens-radius: calc(clamp(170px, 17vw, 280px) * 0.62);
  --lens-threshold: 50%; /* divider position: exact middle (keep in sync with script.js) */
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.page-empty::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.page-empty::before {
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(2, 7, 16, 0.72) 0%, rgba(2, 7, 16, 0.68) 40%, rgba(2, 7, 16, 0.42) 62%, rgba(2, 7, 16, 0.46) 100%),
    radial-gradient(circle at 14% 12%, rgba(0, 202, 255, 0.19) 0%, rgba(0, 202, 255, 0.05) 24%, rgba(0, 202, 255, 0) 55%),
    url("assets/website assets/original legacy factory.png") 100% center / cover no-repeat;
}

/* Magnifier. Everything that moves is its own layer, moved by script.js with transforms only,
   so following the mouse never triggers layout or repainting:
   - .lens-clip: the right half (from the divider), clips the lens at the divider;
   - .lens-view: the round window with the soft edge, moved to the pointer;
   - .lens-view-img: the modern image, the full size of the hero, moved the opposite way so it
     stays put while the window slides over it;
   - .lens-reticle: the ring and crosshair. */
.lens-clip {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: var(--lens-threshold);
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
  opacity: 0;
  transition: opacity 180ms ease;
}

.page-empty.is-lens-active .lens-clip {
  opacity: 1;
}

.lens-view {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--lens-radius) * 2);
  height: calc(var(--lens-radius) * 2);
  overflow: hidden;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 1) 0 78%, rgba(0, 0, 0, 0.65) 86%, rgba(0, 0, 0, 0) 100%);
  mask-image: radial-gradient(circle closest-side, rgba(0, 0, 0, 1) 0 78%, rgba(0, 0, 0, 0.65) 86%, rgba(0, 0, 0, 0) 100%);
  will-change: transform;
}

.lens-view-img {
  position: absolute;
  left: 0;
  top: 0;
  /* the hero's size, set by script.js */
  width: var(--stage-w, 100vw);
  height: var(--stage-h, 100vh);
  background:
    linear-gradient(90deg, rgba(3, 10, 20, 0.32) 0%, rgba(3, 10, 20, 0.15) 55%, rgba(3, 10, 20, 0.18) 100%),
    url("assets/website assets/modernv3original.png") 100% center / cover no-repeat;
  will-change: transform;
}

.lens-reticle {
  position: absolute;
  left: 0;
  top: 0;
  width: calc(var(--lens-radius) * 2);
  height: calc(var(--lens-radius) * 2);
  /* position: the `translate` property, set by script.js; `scale` animates the pop-in */
  scale: 0.9;
  will-change: transform;
  opacity: 0;
  border-radius: 50%;
  border: 2px solid rgba(0, 214, 255, 0.95);
  box-shadow:
    0 0 0 1px rgba(0, 214, 255, 0.35) inset,
    0 0 18px rgba(0, 214, 255, 0.55),
    0 0 36px rgba(0, 214, 255, 0.24);
  overflow: hidden;
  pointer-events: none;
  z-index: 3;
  transition: opacity 160ms ease, scale 180ms ease;
}

.lens-reticle::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(76, 226, 255, 0.56);
  border-radius: 50%;
}

.lens-reticle::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 214, 255, 0.96), rgba(0, 214, 255, 0.96)) center / 1px 14px no-repeat,
    linear-gradient(to right, rgba(0, 214, 255, 0.96), rgba(0, 214, 255, 0.96)) center / 14px 1px no-repeat;
}

.page-empty.is-lens-active .lens-reticle {
  opacity: 1;
  scale: 1;
}

.lens-occluder {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: var(--lens-threshold);
  pointer-events: none;
  z-index: 4;
  background:
    linear-gradient(90deg,
      rgba(2, 7, 16, 0.07) 0%,
      rgba(2, 7, 16, 0.1) 18%,
      rgba(2, 7, 16, 0.15) 36%,
      rgba(2, 7, 16, 0.23) 54%,
      rgba(2, 7, 16, 0.33) 72%,
      rgba(2, 7, 16, 0.45) 86%,
      rgba(2, 7, 16, 0.58) 100%),
    radial-gradient(circle at 18% 12%, rgba(0, 202, 255, 0.16) 0%, rgba(0, 202, 255, 0.06) 28%, rgba(0, 202, 255, 0) 62%);
}

.lens-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--lens-threshold);
  width: 2px;
  pointer-events: none;
  z-index: 5;
  transform: translateX(-50%);
  background: linear-gradient(to bottom, rgba(0, 214, 255, 0), rgba(0, 214, 255, 0.9) 12%, rgba(0, 214, 255, 0.9) 88%, rgba(0, 214, 255, 0));
  box-shadow: 0 0 18px rgba(0, 214, 255, 0.35);
  opacity: 0.9;
}

/* Subtle invitation in the middle of the right half; fades out while the lens is in use. */
.lens-hint {
  position: absolute;
  /* --hint-y is set by script.js: the middle of the hero text on the left */
  top: var(--hint-y, 50%);
  left: calc(var(--lens-threshold) + (100% - var(--lens-threshold)) / 2);
  z-index: 2;
  margin: 0;
  white-space: nowrap;
  line-height: 1.5;
  transform: translate(-50%, -50%);
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(14px, 1.5vw, 22px);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  color: #dff6ff;
  text-shadow: 0 0 2px rgba(2, 7, 16, 0.9), 0 2px 10px rgba(2, 7, 16, 0.9), 0 0 24px rgba(0, 170, 220, 0.35);
  pointer-events: none;
  /* Own layer, and not painted at all once faded, so the moving lens never repaints its glow. */
  will-change: opacity;
  transition: opacity 220ms ease, visibility 0s linear 0s;
}

.page-empty.is-lens-active .lens-hint {
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

/* No lens on touch screens, so no invitation either. */
@media (hover: none) {
  .lens-hint {
    display: none;
  }
}

.hero-panel {
  position: relative;
  z-index: 6;
  box-sizing: border-box;
  width: min(620px, calc(var(--lens-threshold) - clamp(4px, 0.8vw, 12px)));
  padding-top: clamp(72px, 14vh, 140px);
  padding-right: calc(clamp(18px, 5vw, 84px) + var(--text-page-gutter));
  padding-bottom: clamp(80px, 14vh, 150px);
  padding-left: calc(clamp(18px, 5vw, 84px) + var(--text-page-gutter));
  color: #e9eff7;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.hero-surtext {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  font-size: clamp(9px, 0.9vw, 11px);
  color: #1fd6ff;
}

.hero-surtext::before {
  content: "";
  display: inline-block;
  width: clamp(28px, 3.6vw, 44px);
  height: 1px;
  margin-right: 12px;
  margin-bottom: 4px;
  background: rgba(31, 214, 255, 0.82);
}

.hero-title {
  margin: 22px 0 0;
  max-width: 17ch;
  font-weight: 350;
  line-height: 1.06;
  font-size: clamp(32px, 5.1vw, 66px);
  color: #f5f8fd;
}

.hero-subtext {
  margin: 28px 0 0;
  max-width: 50ch;
  font-size: clamp(13px, 1.1vw, 18px);
  line-height: 1.52;
  color: rgba(220, 232, 244, 0.9);
}

.systems-buffer {
  position: relative;
  z-index: 2;
  padding: clamp(46px, 6vw, 84px) clamp(32px, 4vw, 68px) clamp(50px, 6.5vw, 94px);
  background:
    radial-gradient(circle at 84% 16%, rgba(0, 208, 255, 0.12) 0%, rgba(0, 208, 255, 0) 36%),
    radial-gradient(circle at 14% 82%, rgba(0, 147, 255, 0.1) 0%, rgba(0, 147, 255, 0) 40%),
    linear-gradient(180deg, rgba(4, 12, 26, 0.98) 0%, rgba(3, 11, 27, 1) 100%);
  border-top: 1px solid rgba(90, 114, 144, 0.32);
  overflow: visible;
}

.systems-buffer::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(-39px, -4vw, -26px);
  height: clamp(41px, 5vw, 64px);
  pointer-events: none;
  background: linear-gradient(180deg, rgba(2, 7, 16, 0) 0%, rgba(3, 10, 22, 0.58) 44%, rgba(4, 12, 26, 0.98) 100%);
  filter: blur(14px);
  opacity: 0.95;
}

.systems-buffer::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(transparent 96%, rgba(140, 167, 205, 0.09) 100%);
  background-size: 100% 14px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.55) 35%, rgba(0, 0, 0, 0.9) 100%);
  opacity: 0.3;
}

.systems-inner {
  width: min(1600px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  padding-right: var(--text-page-gutter);
  padding-left: var(--text-page-gutter);
  position: relative;
  z-index: 1;
}

.systems-kicker {
  margin: 0 0 clamp(18px, 2.6vw, 34px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(11px, 0.85vw, 15px);
  color: #1fd6ff;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.systems-kicker::before {
  content: "";
  display: inline-block;
  width: clamp(14px, 1.8vw, 22px);
  height: 1px;
  margin-right: 6px;
  margin-bottom: 2px;
  background: rgba(31, 214, 255, 0.82);
}

.systems-grid {
  display: grid;
  gap: clamp(36px, 4.5vw, 80px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
}

.systems-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 2vw, 30px);
  border: 1px solid rgba(93, 117, 150, 0.35);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(9, 21, 43, 0.94) 0%, rgba(5, 14, 31, 0.97) 100%),
    radial-gradient(circle at 92% -20%, rgba(34, 215, 255, 0.12) 0%, rgba(34, 215, 255, 0.04) 36%, rgba(34, 215, 255, 0) 82%);
  box-shadow:
    inset 0 1px 0 rgba(194, 217, 242, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.3);
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.systems-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 200, 255, 0) 0%, rgba(39, 200, 255, 0.88) 48%, rgba(0, 232, 183, 0.65) 100%);
}

.systems-card::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  right: -105px;
  bottom: -105px;
  border-radius: 50%;
  background: radial-gradient(circle at 100% 100%, rgba(27, 218, 255, 0.07) 0%, rgba(27, 218, 255, 0.04) 30%, rgba(27, 218, 255, 0.015) 52%, rgba(27, 218, 255, 0.004) 68%, rgba(27, 218, 255, 0) 88%);
  filter: blur(12px);
  pointer-events: none;
  z-index: -1;
}

.systems-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 170, 220, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(210, 226, 244, 0.18),
    0 20px 38px rgba(0, 0, 0, 0.34);
}

.systems-card-title {
  margin: 0;
  max-width: none;
  width: 100%;
  text-align: center;
  white-space: nowrap;
  color: #f5f8fd;
  font-size: clamp(26px, 2.15vw, 42px);
  line-height: 1.15;
  font-weight: 350;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Titles sit on two centered lines in a two-line area, so the lists below stay aligned.
   English: one word per line. French titles are longer, so they wrap where they need to. */
html:lang(en) .systems-card-title,
html:lang(fr) .systems-card-title {
  white-space: normal;
  text-wrap: balance;
  min-height: 2.3em;
  display: flex;
  align-items: center;
  justify-content: center;
}

html:lang(en) .systems-card-title {
  width: min-content;
  margin-inline: auto;
}

.systems-list {
  margin: clamp(16px, 1.6vw, 22px) 0 0;
  padding-left: 0;
  list-style: none;
  color: rgba(221, 232, 245, 0.92);
  font-size: clamp(17px, 1.28vw, 24px);
  line-height: 1.58;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.systems-list li {
  position: relative;
  padding-left: 16px;
}

.systems-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.66em;
  width: 6px;
  height: 6px;
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
  background: linear-gradient(180deg, rgba(42, 219, 255, 1) 0%, rgba(0, 188, 255, 0.72) 100%);
  box-shadow: 0 0 5px rgba(26, 208, 255, 0.22);
}

.systems-list li + li {
  margin-top: 11px;
}

.systems-card-link {
  margin-top: auto;
  padding-top: 16px;
  align-self: flex-start;
  color: #27c8ff;
  text-decoration: none;
  font-size: clamp(17px, 1.25vw, 23px);
  letter-spacing: 0.02em;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.systems-card-link:hover,
.systems-card-link:focus-visible {
  color: #68dcff;
}

.case-studies {
  position: relative;
  z-index: 2;
  padding: clamp(34px, 4.8vw, 72px) clamp(18px, 4vw, 68px) clamp(56px, 6vw, 78px);
  background:
    radial-gradient(circle at 16% 12%, rgba(0, 194, 255, 0.11) 0%, rgba(0, 194, 255, 0.04) 22%, rgba(0, 194, 255, 0) 44%),
    linear-gradient(180deg, rgba(3, 11, 24, 0.98) 0%, rgba(4, 12, 26, 1) 100%);
  border-top: 1px solid rgba(90, 114, 144, 0.32);
}

.case-studies-inner {
  width: min(1360px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  padding-right: var(--text-page-gutter);
  padding-left: var(--text-page-gutter);
}

.case-header {
  margin-bottom: clamp(20px, 2.8vw, 38px);
}

.case-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(10px, 0.85vw, 13px);
  color: #1fd6ff;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.case-kicker::before {
  content: "";
  display: inline-block;
  width: clamp(18px, 2.2vw, 28px);
  height: 1px;
  margin-right: 8px;
  margin-bottom: 2px;
  background: rgba(31, 214, 255, 0.82);
}

.case-header h2 {
  margin: 0;
  max-width: 40ch;
  font-size: clamp(34px, 3.9vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 600;
  color: #edf5fd;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(18px, 2vw, 28px);
}

.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(18px, 1.6vw, 22px) 0 0;
  border: none;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
  overflow: visible;
}

.case-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, rgba(39, 200, 255, 0.2) 0%, rgba(39, 200, 255, 0.95) 42%, rgba(0, 232, 183, 0.7) 100%);
}

.case-card:hover {
  transform: none;
  border-color: transparent;
  box-shadow: none;
}

.case-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 12px;
  color: rgba(197, 214, 232, 0.8);
  font-size: clamp(12px, 0.9vw, 15px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.case-index {
  color: #1fd6ff;
}

.case-card h3 {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 34px);
  line-height: 1.18;
  font-weight: 350;
  color: #f3f7fd;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.case-title-row {
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
}

.case-toggle {
  display: inline-flex;
  flex-shrink: 0;
  white-space: nowrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #27c8ff;
  cursor: pointer;
  font-size: clamp(14px, 1.02vw, 20px);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: none;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.case-toggle-arrow {
  display: inline-block;
  transition: transform 180ms ease;
}

.case-toggle[aria-expanded="true"] .case-toggle-arrow {
  transform: rotate(180deg);
}

.case-toggle:hover,
.case-toggle:focus-visible {
  color: #68dcff;
}

.case-toggle:focus-visible {
  outline: 1px solid rgba(111, 211, 255, 0.58);
  outline-offset: 3px;
}

.case-body[hidden] {
  display: none;
}

.case-summary {
  margin: 12px 0 0;
  max-width: 760px;
  color: rgba(216, 226, 240, 0.83);
  font-size: clamp(15px, 1.08vw, 20px);
  line-height: 1.65;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.case-flow {
  width: min(700px, 100%);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px auto 0;
}

.flow-step {
  width: min(100%, 700px);
  margin: 0 auto;
}

.flow-card {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.4vw, 20px);
  width: 100%;
  box-sizing: border-box;
  min-height: 0;
  padding: 12px 16px 12px 12px;
  border: 1px solid rgba(126, 149, 180, 0.38);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(11, 21, 37, 0.96) 0%, rgba(8, 15, 29, 0.98) 100%);
  color: #edf6ff;
  box-shadow: inset 0 1px 0 rgba(197, 222, 255, 0.08);
}

/* Step illustration: cyan line art, teal accents, soft fills, on a tinted tile. */
.flow-art {
  flex: 0 0 auto;
  width: clamp(76px, 6.4vw, 96px);
  height: clamp(76px, 6.4vw, 96px);
  padding: 10px;
  box-sizing: border-box;
  border: 1px solid rgba(39, 200, 255, 0.28);
  border-radius: 10px;
  background: radial-gradient(circle at 30% 25%, rgba(39, 200, 255, 0.16), rgba(39, 200, 255, 0.03) 70%);
  color: #27c8ff;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.flow-art .a {
  stroke: #00e8b7;
}

.flow-art .f {
  fill: rgba(39, 200, 255, 0.22);
  stroke: none;
}

.flow-text {
  min-width: 0;
}

.flow-card span {
  display: inline-block;
  margin-bottom: 3px;
  color: #edf6ff;
  font-size: clamp(17px, 1.25vw, 25px);
  line-height: 1.2;
  letter-spacing: 0.04em;
  font-weight: 600;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.flow-card p {
  margin: 0;
  color: rgba(221, 231, 242, 0.88);
  font-size: clamp(13px, 0.96vw, 15px);
  line-height: 1.45;
  letter-spacing: 0.01em;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.flow-arrow {
  align-self: center;
  color: #27c8ff;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1;
  text-align: center;
  margin: 0 auto;
}

.case-teaser {
  margin: 14px 0 0;
  color: rgba(221, 231, 242, 0.9);
  font-size: clamp(17px, 1.15vw, 22px);
  line-height: 1.6;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.basic-page {
  min-height: calc(100vh - 80px);
  padding: clamp(36px, 6vw, 78px) clamp(18px, 4vw, 68px) clamp(50px, 7vw, 96px);
  background:
    radial-gradient(circle at 85% 18%, rgba(0, 194, 255, 0.11) 0%, rgba(0, 194, 255, 0) 34%),
    radial-gradient(circle at 12% 82%, rgba(0, 153, 255, 0.12) 0%, rgba(0, 153, 255, 0) 38%),
    linear-gradient(180deg, rgba(3, 10, 23, 0.98) 0%, rgba(4, 12, 26, 1) 100%);
}

.basic-page-inner {
  width: min(1240px, 100%);
  margin: 0 auto;
  box-sizing: border-box;
  padding-right: var(--text-page-gutter);
  padding-left: var(--text-page-gutter);
}

.basic-kicker {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #1fd6ff;
  font-size: clamp(12px, 0.95vw, 15px);
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.basic-title {
  margin: 0;
  max-width: 20ch;
  color: #f3f7fd;
  font-size: clamp(36px, 4.2vw, 68px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 350;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.basic-copy {
  margin: 20px 0 0;
  max-width: 70ch;
  color: rgba(221, 232, 245, 0.92);
  font-size: clamp(16px, 1.2vw, 23px);
  line-height: 1.62;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.what-page .basic-title {
  max-width: 16ch;
}

.what-lead {
  max-width: 74ch;
}

.what-context {
  margin-top: clamp(26px, 3.6vw, 46px);
}

.what-context-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 28px);
}

.what-context-card {
  position: relative;
  overflow: hidden;
  padding: clamp(16px, 1.4vw, 24px);
  border: 1px solid rgba(93, 117, 150, 0.35);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(9, 21, 43, 0.94) 0%, rgba(5, 14, 31, 0.97) 100%),
    radial-gradient(circle at 92% -20%, rgba(34, 215, 255, 0.12) 0%, rgba(34, 215, 255, 0.04) 36%, rgba(34, 215, 255, 0) 82%);
  box-shadow:
    inset 0 1px 0 rgba(194, 217, 242, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.26);
}

.what-context-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(39, 200, 255, 0) 0%, rgba(39, 200, 255, 0.88) 48%, rgba(0, 232, 183, 0.65) 100%);
}

.what-context-title {
  margin: 0;
  color: #f3f7fd;
  font-size: clamp(21px, 1.55vw, 30px);
  line-height: 1.2;
  font-weight: 420;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.what-context-copy {
  margin: 10px 0 0;
  color: rgba(221, 232, 245, 0.9);
  font-size: clamp(14px, 0.95vw, 18px);
  line-height: 1.55;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.what-method {
  margin-top: clamp(34px, 4vw, 56px);
}

.what-method-heading {
  margin: 0;
  color: #edf5fd;
  font-size: clamp(28px, 2.4vw, 44px);
  line-height: 1.14;
  font-weight: 350;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.careers-section {
  margin-top: clamp(34px, 4vw, 56px);
}

.careers-list li {
  font-size: clamp(16px, 1.1vw, 19px);
}

.what-method-intro {
  max-width: 76ch;
}

.method-column-headings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  margin: clamp(24px, 3.4vw, 44px) 0 0;
}

.method-column-title {
  margin: 0;
  color: #edf5fd;
  font-size: clamp(18px, 1.45vw, 26px);
  line-height: 1.25;
  font-weight: 450;
  text-align: center;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.method-list {
  display: grid;
  gap: clamp(14px, 1.7vw, 22px);
  margin: 14px 0 0;
  padding-left: 0;
  list-style: none;
}

.method-list li {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
  align-items: stretch;
}

.method-element,
.method-outcome {
  min-width: 0;
  padding: clamp(16px, 1.5vw, 24px);
  border-radius: 8px;
  border: 1px solid rgba(93, 117, 150, 0.35);
  background:
    linear-gradient(180deg, rgba(8, 18, 37, 0.95) 0%, rgba(5, 13, 28, 0.98) 100%),
    radial-gradient(circle at 102% 0%, rgba(35, 210, 255, 0.12) 0%, rgba(35, 210, 255, 0) 36%);
  box-shadow: inset 0 1px 0 rgba(196, 220, 246, 0.08);
}

.method-element {
  display: grid;
  grid-template-columns: clamp(52px, 4vw, 66px) minmax(0, 1fr);
  gap: clamp(14px, 1.8vw, 24px);
  align-items: start;
}

.method-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(44px, 3.3vw, 56px);
  height: clamp(44px, 3.3vw, 56px);
  border-radius: 50%;
  border: 1px solid rgba(73, 203, 255, 0.44);
  color: #7ee4ff;
  font-size: clamp(14px, 1.02vw, 18px);
  line-height: 1;
  letter-spacing: 0.04em;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: linear-gradient(180deg, rgba(11, 38, 68, 0.86) 0%, rgba(7, 23, 44, 0.96) 100%);
}

.method-step-title,
.method-outcome-title {
  margin: 0;
  color: #f3f7fd;
  font-size: clamp(22px, 1.62vw, 32px);
  line-height: 1.24;
  font-weight: 450;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.method-element .basic-copy,
.method-outcome-copy {
  margin-top: 10px;
  color: rgba(221, 232, 245, 0.92);
  max-width: none;
  font-size: clamp(15px, 1.02vw, 19px);
  line-height: 1.55;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}


@media (prefers-reduced-motion: no-preference) {
  .systems-card {
    animation: systemsCardFadeIn 520ms ease both;
  }

  .systems-card:nth-child(2) {
    animation-delay: 70ms;
  }

  .systems-card:nth-child(3) {
    animation-delay: 140ms;
  }
}

@keyframes systemsCardFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.eval-page .basic-title {
  max-width: 22ch;
}

.eval-lead {
  max-width: 60ch;
}

.eval-form {
  max-width: 880px;
  margin: clamp(32px, 4vw, 56px) auto 0;
}

.eval-selection-title {
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1fd6ff;
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 400;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eval-grid {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(93, 117, 150, 0.28);
}

.eval-card {
  border-bottom: 1px solid rgba(93, 117, 150, 0.28);
}

/* The whole row is the label, so clicking anywhere toggles the checkbox */
.eval-option {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  column-gap: clamp(14px, 1.8vw, 24px);
  align-items: center;
  padding: clamp(14px, 1.3vw, 18px) clamp(14px, 1.8vw, 24px);
  cursor: pointer;
  transition: background-color 160ms ease;
}

.eval-option:hover {
  background-color: rgba(39, 200, 255, 0.04);
}

.eval-option:has(.eval-check:checked) {
  background-color: rgba(39, 200, 255, 0.07);
}

.eval-number {
  color: #4fd8ff;
  font-size: 13px;
  letter-spacing: 0.06em;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eval-text {
  display: block;
  min-width: 0;
}

.eval-title {
  display: block;
  color: #f3f7fd;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.3;
  font-weight: 420;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-count {
  margin-left: 4px;
  color: rgba(126, 228, 255, 0.75);
  font-size: 0.72em;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.eval-copy {
  display: block;
  margin: 3px 0 0;
  color: rgba(200, 214, 232, 0.72);
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-check {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #00c8f0;
  cursor: pointer;
}

.eval-check:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 3px;
}

.eval-contact {
  margin-top: clamp(28px, 3.4vw, 44px);
}

.eval-contact-label {
  display: block;
  color: #f3f7fd;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.3;
  font-weight: 420;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-contact-copy {
  margin: 4px 0 0;
  color: rgba(200, 214, 232, 0.72);
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.eval-email {
  flex: 1 1 280px;
  min-width: 0;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid rgba(93, 117, 150, 0.55);
  border-radius: 3px;
  color: #f3f7fd;
  background: rgba(4, 12, 26, 0.9);
  font-size: 15px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.eval-email::placeholder {
  color: rgba(170, 186, 206, 0.5);
}

.eval-email:focus {
  outline: none;
  border-color: #3fdcff;
  box-shadow: 0 0 0 3px rgba(0, 214, 255, 0.18);
}

.eval-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid rgba(73, 203, 255, 0.6);
  border-radius: 3px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(8, 30, 56, 0.95) 0%, rgba(3, 14, 30, 0.98) 100%);
  font-size: 15px;
  letter-spacing: 0.01em;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.eval-start:not(:disabled):hover,
.eval-start:focus-visible {
  border-color: #3fdcff;
  box-shadow: 0 0 16px rgba(0, 214, 255, 0.25);
}

.eval-start:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 2px;
}

.eval-start:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.eval-start-arrow {
  color: #00d6ff;
  font-size: 16px;
  line-height: 1;
  transition: transform 160ms ease;
}

.eval-start:not(:disabled):hover .eval-start-arrow {
  transform: translateX(3px);
}

.eval-status {
  margin: 10px 0 0;
  min-height: 1.4em;
  color: rgba(200, 214, 232, 0.6);
  font-size: 13px;
  line-height: 1.4;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-status.is-ready {
  color: #7ee4ff;
}

/* The one line saying the assessments are free, above the five cards. */
.eval-free-note {
  margin: 6px 0 14px;
  color: rgba(200, 214, 232, 0.72);
  font-size: 14px;
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Quick scan (featured, top of evaluation page) ----------------- */
.eval-free {
  max-width: 880px;
  box-sizing: border-box;
  margin: clamp(32px, 4vw, 56px) auto 0;
  padding: clamp(20px, 2.4vw, 32px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "text  areas"
    "start areas";
  align-items: start;
  column-gap: clamp(24px, 3.2vw, 48px);
  row-gap: clamp(16px, 1.8vw, 22px);
  border: 1px solid rgba(73, 203, 255, 0.45);
  border-radius: 4px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(0, 200, 240, 0.10) 0%, rgba(0, 200, 240, 0) 60%),
    linear-gradient(180deg, rgba(8, 24, 46, 0.7) 0%, rgba(3, 12, 26, 0.7) 100%);
  box-shadow: 0 0 28px rgba(0, 214, 255, 0.08);
}

.eval-free-kicker {
  margin: 0 0 8px;
  color: #1fd6ff;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 12px;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.eval-free-title {
  margin: 0;
  color: #f3f7fd;
  font-size: clamp(22px, 1.8vw, 28px);
  line-height: 1.25;
  font-weight: 420;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-free-copy {
  margin: 8px 0 0;
  max-width: 58ch;
  color: rgba(200, 214, 232, 0.78);
  font-size: clamp(14px, 0.95vw, 16px);
  line-height: 1.5;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-free-text {
  grid-area: text;
}

.eval-free-areas {
  grid-area: areas;
  align-self: center;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.eval-free-areas li {
  padding: 5px 14px;
  text-align: center;
  white-space: nowrap;
  border: 1px solid rgba(93, 117, 150, 0.45);
  border-radius: 999px;
  color: rgba(200, 214, 232, 0.85);
  font-size: 12px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-free-start {
  grid-area: start;
  justify-self: start;
  white-space: nowrap;
}

.eval-divider {
  max-width: 880px;
  margin: clamp(36px, 4.4vw, 60px) auto 0;
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(200, 214, 232, 0.6);
  font-size: 13px;
  letter-spacing: 0.04em;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.eval-divider::before,
.eval-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(93, 117, 150, 0.28);
}

/* The full-assessment form follows the divider, so it needs less space above */
.eval-divider + .eval-form {
  margin-top: clamp(18px, 2vw, 28px);
}

@media (max-width: 640px) {
  .eval-free {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "areas"
      "start";
  }

  .eval-free-areas li {
    text-align: left;
  }

  .eval-free-start {
    width: 100%;
  }
}

/* ---- Assessment page ---------------------------------------------------- */

.assess-segment {
  padding: clamp(20px, 2.4vw, 30px) 0;
  border-top: 1px solid rgba(93, 117, 150, 0.28);
}

.assess-segment:last-child {
  border-bottom: 1px solid rgba(93, 117, 150, 0.28);
}

.assess-segment-index {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #1fd6ff;
  font-size: 12px;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.assess-segment-title {
  margin: 6px 0 0;
  color: #f3f7fd;
  font-size: clamp(20px, 1.5vw, 26px);
  line-height: 1.25;
  font-weight: 420;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-group {
  margin: clamp(26px, 3vw, 36px) 0 0;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(93, 117, 150, 0.2);
  color: #7ee4ff;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.assess-question {
  min-width: 0;
  margin: clamp(16px, 1.8vw, 22px) 0 0;
  padding: 0;
  border: 0;
}

.assess-question-text {
  padding: 0;
  color: rgba(221, 232, 245, 0.92);
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.5;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-hint {
  margin: 4px 0 0;
  color: rgba(126, 228, 255, 0.75);
  font-size: 12px;
  letter-spacing: 0.02em;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-hint-note {
  max-width: 640px;
  color: rgba(200, 214, 232, 0.6);
  letter-spacing: 0;
  line-height: 1.45;
}

.assess-choices {
  display: grid;
  gap: 6px;
  max-width: 640px;
  margin-top: 12px;
}

.assess-choice-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border: 1px solid rgba(93, 117, 150, 0.35);
  border-radius: 3px;
  background: rgba(4, 12, 26, 0.6);
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.assess-choice-option:hover {
  border-color: rgba(73, 203, 255, 0.55);
}

.assess-choice-option:has(input:checked) {
  border-color: rgba(63, 220, 255, 0.85);
  background: rgba(0, 170, 220, 0.12);
}

.assess-input-choice {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: #00c8f0;
  cursor: pointer;
}

.assess-input-choice:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 3px;
}

.assess-choice-text {
  color: rgba(221, 232, 245, 0.9);
  font-size: 14px;
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-question.is-missing .assess-choice-option {
  border-color: rgba(255, 138, 128, 0.6);
}

.assess-scale {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  max-width: 420px;
  margin-top: 12px;
}

.assess-option {
  position: relative;
  display: block;
  cursor: pointer;
}

/* Visually hidden but still focusable and announced */
.assess-radio {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.assess-option-value {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  border: 1px solid rgba(93, 117, 150, 0.55);
  border-radius: 3px;
  color: rgba(221, 232, 245, 0.85);
  background: rgba(4, 12, 26, 0.9);
  font-size: 15px;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.assess-option:hover .assess-option-value {
  border-color: rgba(73, 203, 255, 0.6);
}

.assess-radio:checked + .assess-option-value {
  border-color: #3fdcff;
  color: #ffffff;
  background: rgba(0, 170, 220, 0.22);
}

.assess-radio:focus-visible + .assess-option-value {
  outline: 2px solid #3fdcff;
  outline-offset: 2px;
}

.assess-scale-ends {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  max-width: 420px;
  margin-top: 8px;
  color: rgba(200, 214, 232, 0.6);
  font-size: 12px;
  line-height: 1.4;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-scale-ends span:last-child {
  text-align: right;
}

.assess-question.is-missing .assess-option-value {
  border-color: rgba(255, 138, 128, 0.7);
}

.assess-question.is-missing .assess-question-text::after {
  content: " (required)";
  color: #ff9d94;
  font-size: 0.85em;
}

.assess-email {
  color: #f3f7fd;
  font-weight: 500;
}

.eval-status.is-error {
  color: #ff9d94;
}

.assess-message {
  max-width: 880px;
}

.assess-message:focus {
  outline: none;
}

.assess-back {
  margin-top: 24px;
  text-decoration: none;
}

.assess-includes {
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.assess-includes li {
  position: relative;
  padding: 6px 0 6px 22px;
  color: #f3f7fd;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 1px;
  background: #1fd6ff;
}

.assess-details {
  margin-top: clamp(24px, 3vw, 36px);
}

.assess-details-actions {
  margin-top: 0;
}

.assess-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 16px;
  max-width: 720px;
  margin-top: 16px;
}

.assess-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.assess-field label {
  color: rgba(200, 214, 232, 0.85);
  font-size: 14px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-field .eval-email {
  flex: none;
  width: 100%;
}

.assess-field .eval-email.is-invalid,
.book-field .is-invalid {
  border-color: #ff9d94;
  box-shadow: 0 0 0 1px #ff9d94;
  background: rgba(255, 93, 93, 0.06);
}

.assess-optional {
  color: rgba(200, 214, 232, 0.55);
}

.assess-details .eval-contact-row {
  margin-top: 20px;
}

@media (max-width: 640px) {
  .assess-fields {
    grid-template-columns: 1fr;
  }
}

.assess-next {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  margin-top: clamp(28px, 3.4vw, 44px);
}

.assess-next-card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: clamp(18px, 1.8vw, 24px);
  border: 1px solid rgba(93, 117, 150, 0.4);
  border-radius: 3px;
  background: linear-gradient(180deg, rgba(8, 30, 56, 0.55) 0%, rgba(3, 14, 30, 0.75) 100%);
  text-decoration: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.assess-next-card:hover,
.assess-next-card:focus-visible {
  border-color: rgba(73, 203, 255, 0.75);
  box-shadow: 0 0 0 1px rgba(73, 203, 255, 0.2), 0 10px 26px rgba(0, 0, 0, 0.3);
}

.assess-next-card:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 3px;
}

.assess-next-title {
  color: #f3f7fd;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.3;
  font-weight: 420;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-next-copy {
  flex: 1;
  color: rgba(200, 214, 232, 0.72);
  font-size: clamp(13px, 0.9vw, 15px);
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.assess-next-arrow {
  margin-top: 8px;
  color: #4fd8ff;
  font-size: 18px;
  transition: transform 160ms ease;
}

.assess-next-card:hover .assess-next-arrow {
  transform: translateX(4px);
}

.assess-test-note {
  max-width: 60ch;
  margin: 18px 0 0;
  padding: 10px 14px;
  border-left: 2px solid rgba(255, 196, 92, 0.8);
  color: rgba(255, 225, 170, 0.9);
  background: rgba(255, 196, 92, 0.06);
  font-size: 13px;
  line-height: 1.5;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ---- Discovery call booking --------------------------------------------- */

.book-lead {
  max-width: 60ch;
}

.book-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: 1040px;
  margin-top: clamp(30px, 3.8vw, 50px);
}

.book-col {
  min-width: 0;
}

.book-step {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(93, 117, 150, 0.28);
  color: #f3f7fd;
  font-size: clamp(17px, 1.2vw, 20px);
  line-height: 1.3;
  font-weight: 420;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.book-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(73, 203, 255, 0.5);
  color: #7ee4ff;
  font-size: 13px;
  font-weight: 400;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Calendar */
.book-cal {
  max-width: 420px;
}

.book-cal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.book-cal-month {
  margin: 0;
  color: #f3f7fd;
  font-size: 16px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.book-cal-nav {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(93, 117, 150, 0.45);
  border-radius: 3px;
  color: #dbe6f2;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 140ms ease, color 140ms ease;
}

.book-cal-nav:hover:not(:disabled) {
  border-color: #3fdcff;
  color: #ffffff;
}

.book-cal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}

.book-cal-weekdays,
.book-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.book-cal-weekdays span {
  padding: 4px 0;
  text-align: center;
  color: rgba(200, 214, 232, 0.55);
  font-size: 12px;
  letter-spacing: 0.04em;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.book-day {
  position: relative;
  aspect-ratio: 1 / 1;
  min-width: 0;
  border: 1px solid transparent;
  border-radius: 3px;
  color: #e6eef8;
  background: rgba(39, 200, 255, 0.05);
  font-size: 14px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.book-day.is-blank {
  background: transparent;
}

.book-day:hover:not(:disabled) {
  border-color: rgba(73, 203, 255, 0.6);
}

.book-day:disabled {
  color: rgba(200, 214, 232, 0.25);
  background: transparent;
  cursor: default;
}

.book-day.is-today::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #1fd6ff;
  transform: translateX(-50%);
}

.book-day.is-selected {
  border-color: #3fdcff;
  color: #ffffff;
  background: rgba(0, 170, 220, 0.28);
}

.book-day:focus-visible,
.book-time:focus-visible,
.book-cal-nav:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 2px;
}

/* Time slots */
.book-times {
  max-width: 420px;
  margin-top: 22px;
}

.book-times-label {
  margin: 0 0 10px;
  color: rgba(221, 232, 245, 0.92);
  font-size: 14px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.book-time-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.book-time {
  min-height: 36px;
  border: 1px solid rgba(93, 117, 150, 0.45);
  border-radius: 3px;
  color: rgba(221, 232, 245, 0.9);
  background: rgba(4, 12, 26, 0.6);
  font-size: 13px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  transition: border-color 140ms ease, background-color 140ms ease;
}

.book-time:hover {
  border-color: rgba(73, 203, 255, 0.6);
}

.book-time.is-selected {
  border-color: #3fdcff;
  color: #ffffff;
  background: rgba(0, 170, 220, 0.28);
}

.book-note {
  margin: 12px 0 0;
  color: rgba(200, 214, 232, 0.55);
  font-size: 12px;
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Contact fields */
.book-fields {
  display: grid;
  gap: 14px;
}

.book-label {
  display: block;
  margin-bottom: 6px;
  color: rgba(221, 232, 245, 0.92);
  font-size: 14px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.book-input {
  display: block;
  width: 100%;
}

.book-select {
  color-scheme: dark;
  cursor: pointer;
}

.book-select:invalid {
  color: rgba(170, 186, 206, 0.6);
}

.book-select option {
  color: #f3f7fd;
  background: #06101f;
}

.book-summary {
  margin: 22px 0 14px;
  color: rgba(200, 214, 232, 0.6);
  font-size: 14px;
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.book-summary.is-set {
  color: #7ee4ff;
}

.book-submit {
  width: 100%;
}

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

.contact-lead {
  max-width: 60ch;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 64px);
  max-width: 1040px;
  margin-top: clamp(30px, 3.8vw, 50px);
}

.contact-form {
  min-width: 0;
}

.contact-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.contact-optional {
  color: rgba(200, 214, 232, 0.5);
  font-size: 13px;
}

.contact-textarea {
  min-height: 150px;
  padding: 10px 14px;
  line-height: 1.5;
  resize: vertical;
}

.contact-file {
  display: block;
  width: 100%;
  color: rgba(221, 232, 245, 0.85);
  font-size: 14px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
}

.contact-file::file-selector-button {
  margin-right: 12px;
  padding: 8px 14px;
  border: 1px solid rgba(73, 203, 255, 0.55);
  border-radius: 3px;
  color: #e9edf4;
  background: rgba(8, 30, 56, 0.9);
  font: inherit;
  cursor: pointer;
  transition: border-color 140ms ease;
}

.contact-file:hover::file-selector-button {
  border-color: #3fdcff;
}

.contact-file:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 3px;
}

.contact-submit {
  width: 100%;
  margin-top: 22px;
}

.contact-side {
  min-width: 0;
}

.contact-links {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(93, 117, 150, 0.28);
}

.contact-links li {
  border-bottom: 1px solid rgba(93, 117, 150, 0.28);
}

.contact-link {
  display: block;
  padding: 14px 4px;
  text-decoration: none;
  transition: background-color 140ms ease;
}

.contact-link:hover {
  background-color: rgba(39, 200, 255, 0.04);
}

.contact-link:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: 2px;
}

.contact-link-title {
  display: block;
  color: #f3f7fd;
  font-size: 16px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.contact-link-title::after {
  content: " \2192";
  color: #00d6ff;
}

.contact-link-copy {
  display: block;
  margin-top: 3px;
  color: rgba(200, 214, 232, 0.65);
  font-size: 13px;
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (max-width: 820px) {
  .top-bar {
    column-gap: 10px;
    padding: 14px calc(10px + var(--text-page-gutter));
  }

  .logo-mark {
    width: 124px;
  }

  .top-nav {
    gap: 9px;
    font-size: 10px;
    margin: 0;
  }

  /* Anchor popups to the full-width top bar (not the small menu word) so they
     stay centered on screen and never stick out past the right edge. */
  .top-nav,
  .nav-item {
    position: static;
  }

  .nav-item::after {
    display: none;
  }

  .nav-popup {
    left: 50%;
    top: 100%;
    box-sizing: border-box;
    width: min(330px, calc(100vw - 32px));
    transform: translateX(-50%) translateY(-8px);
  }

  /* Here the box hangs from the bottom of the bar, further from the menu word. */
  .nav-popup::before {
    height: 26px;
  }

  .nav-item:hover .nav-popup,
  .nav-item:focus-within .nav-popup,
  .nav-popup:hover {
    transform: translateX(-50%) translateY(0);
  }

  .contact-btn {
    min-height: 24px;
    padding: 0 5px;
    gap: 4px;
    font-size: 10px;
  }

  .contact-arrow {
    font-size: 11px;
  }

  .page-empty::before {
    background:
      linear-gradient(90deg, rgba(2, 7, 16, 0.86) 0%, rgba(2, 7, 16, 0.78) 52%, rgba(2, 7, 16, 0.74) 100%),
      radial-gradient(circle at 20% 10%, rgba(0, 202, 255, 0.16) 0%, rgba(0, 202, 255, 0) 54%),
      url("assets/website assets/original legacy factory.png") 100% center / cover no-repeat;
  }

  .lens-view-img {
    background:
      linear-gradient(90deg, rgba(3, 10, 20, 0.28) 0%, rgba(3, 10, 20, 0.13) 58%, rgba(3, 10, 20, 0.16) 100%),
      url("assets/website assets/modernv3original.png") 100% center / cover no-repeat;
  }

  .hero-panel {
    padding-top: clamp(56px, 11vh, 94px);
    padding-right: 14px;
    padding-bottom: clamp(70px, 12vh, 110px);
    padding-left: 14px;
  }

  .hero-surtext {
    letter-spacing: 0.12em;
  }

  .hero-subtext {
    max-width: 40ch;
  }

  .systems-buffer {
    padding-top: 24px;
    padding-right: 12px;
    padding-bottom: 31px;
    padding-left: 12px;
  }

  .systems-kicker {
    font-size: clamp(10px, 1.45vw, 12px);
  }

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

  .systems-card {
    border-radius: 6px;
    padding: 14px;
  }

  .systems-card-title {
    font-size: clamp(15px, 2.3vw, 21px);
  }

  .systems-list {
    font-size: clamp(11px, 1.55vw, 13px);
    line-height: 1.45;
  }

  .systems-card-link {
    font-size: clamp(11px, 1.55vw, 13px);
  }

  .systems-card:hover {
    transform: none;
  }

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

  .method-element {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .method-step-number {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 640px) {
  .contact-layout,
  .contact-row {
    grid-template-columns: 1fr;
  }

  .book-layout {
    grid-template-columns: 1fr;
  }

  .book-cal,
  .book-times {
    max-width: none;
  }

  .book-time-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .systems-grid {
    grid-template-columns: 1fr;
  }

  .what-context-grid {
    grid-template-columns: 1fr;
  }

  .eval-option {
    grid-template-columns: 26px minmax(0, 1fr) auto;
  }

  .eval-start {
    flex: 1 1 100%;
  }

  .assess-next {
    grid-template-columns: 1fr;
  }

  .method-list li {
    grid-template-columns: 1fr;
  }

  .method-element {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

/* ---- Results report (built by report.js) ---------------------------------- */
/* Benchmark colours, from far below (1) to high above average (5) */
.assess-report {
  --band-1: #ff5d5d;
  --band-2: #ff9a3c;
  --band-3: #f2c94c;
  --band-4: #3fd0c9;
  --band-5: #3ee58a;
  --report-text: #f3f7fd;
  --report-muted: rgba(200, 214, 232, 0.72);
  --report-line: rgba(93, 117, 150, 0.28);
  --report-track: rgba(93, 117, 150, 0.25);
}

.assess-report .band-1 { --band: var(--band-1); }
.assess-report .band-2 { --band: var(--band-2); }
.assess-report .band-3 { --band: var(--band-3); }
.assess-report .band-4 { --band: var(--band-4); }
.assess-report .band-5 { --band: var(--band-5); }

.assess-report:focus {
  outline: none;
}

.report-intro {
  max-width: 880px;
}

.report-toolbar {
  margin-top: 22px;
}

.report-body {
  display: grid;
  gap: clamp(20px, 2.4vw, 32px);
  max-width: 1200px;
  margin-top: clamp(32px, 4vw, 52px);
}

.report-page {
  box-sizing: border-box;
  padding: clamp(22px, 3vw, 44px);
  border: 1px solid rgba(73, 203, 255, 0.28);
  border-radius: 4px;
  background: linear-gradient(180deg, rgba(8, 24, 46, 0.6) 0%, rgba(3, 12, 26, 0.6) 100%);
  color: var(--report-text);
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.report-page-head {
  padding-bottom: 14px;
  margin-bottom: clamp(20px, 2.4vw, 28px);
  border-bottom: 1px solid var(--report-line);
}

.report-page-kicker {
  margin: 0 0 6px;
  color: #1fd6ff;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  font-family: "Roboto Light", "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.report-page-title {
  margin: 0;
  font-size: clamp(26px, 2.4vw, 34px);
  line-height: 1.2;
  font-weight: 400;
}

/* Page 1: score summary */
.report-summary {
  display: grid;
  grid-template-columns: clamp(150px, 18vw, 200px) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.report-doughnut {
  width: 100%;
  height: auto;
  display: block;
}

.report-doughnut-track,
.report-doughnut-value {
  fill: none;
  stroke-width: 14;
}

.report-doughnut-track {
  stroke: var(--report-track);
}

.report-doughnut-value {
  stroke: var(--band);
  stroke-linecap: round;
}

.report-doughnut-score {
  fill: var(--report-text);
  font-size: 30px;
  font-weight: 600;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.report-summary-label {
  margin: 0;
  color: var(--report-muted);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.report-band {
  margin: 4px 0 0;
  color: var(--band);
  font-size: clamp(24px, 2.2vw, 30px);
  line-height: 1.2;
  font-weight: 600;
}

.report-scale {
  margin-top: 14px;
  max-width: 460px;
}

.report-scale-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 3px;
}

.report-scale-seg {
  height: 8px;
  border-radius: 2px;
  background: var(--band);
  opacity: 0.28;
}

.report-scale-seg.is-current {
  opacity: 1;
}

.report-scale-marker {
  position: absolute;
  top: -5px;
  width: 4px;
  height: 18px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--report-text);
  box-shadow: 0 0 0 2px rgba(3, 12, 26, 0.9);
}

.report-scale-labels {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: 6px;
  color: var(--report-muted);
  font-size: 11px;
  text-align: center;
}

.report-scale-labels .is-current {
  color: var(--report-text);
  font-weight: 600;
}

.report-summary-copy {
  margin: 14px 0 0;
  color: var(--report-text);
  font-size: clamp(16px, 1.15vw, 18px);
  line-height: 1.55;
}

/* Page 1: point-form findings, large type */
.report-findings {
  margin-top: clamp(26px, 3vw, 38px);
}

.report-findings-title {
  margin: 0 0 12px;
  color: #1fd6ff;
  font-size: clamp(15px, 1.05vw, 17px);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.report-findings-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.report-findings-list li {
  position: relative;
  padding-left: 22px;
  font-size: clamp(18px, 1.35vw, 21px);
  line-height: 1.5;
}

.report-findings-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--band);
}

.report-finding-head {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.report-finding-head strong {
  font-weight: 600;
}

.report-finding-score {
  color: var(--band);
  font-weight: 600;
}

.report-finding-text {
  display: block;
  color: var(--report-text);
  opacity: 0.88;
}

/* Page 2: section scores and answers */
.report-section + .report-section {
  margin-top: clamp(22px, 2.6vw, 30px);
}

.report-section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(90px, 200px) auto auto;
  align-items: center;
  gap: 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--report-line);
}

.report-section-title {
  margin: 0;
  font-size: clamp(17px, 1.25vw, 20px);
  font-weight: 500;
}

.report-bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--report-track);
  overflow: hidden;
}

.report-bar-fill {
  display: block;
  height: 100%;
  border-radius: 4px;
  background: var(--band);
}

.report-section-score {
  font-size: 17px;
  font-weight: 600;
  min-width: 3.2em;
  text-align: right;
}

.report-section-band {
  color: var(--band);
  font-size: 13px;
  white-space: nowrap;
}

.report-answers {
  margin: 0;
  padding: 0 0 0 20px;
  color: var(--report-muted);
}

.report-answer {
  padding: 9px 0;
  border-bottom: 1px dashed rgba(93, 117, 150, 0.18);
  font-size: 14px;
  line-height: 1.45;
}

.report-answer-q {
  display: block;
  color: var(--report-muted);
}

.report-answer-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-top: 2px;
}

.report-answer-a {
  color: var(--report-text);
}

.report-answer-score {
  flex: none;
  color: var(--band);
  font-weight: 600;
}

.report-next-title {
  margin: clamp(40px, 5vw, 64px) 0 0;
  color: #f3f7fd;
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 400;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.report-next-title + .assess-next {
  margin-top: 16px;
}

@media (max-width: 640px) {
  .report-summary {
    grid-template-columns: 1fr;
    justify-items: center;
  }

  .report-doughnut {
    max-width: 180px;
  }

  .report-summary-text {
    width: 100%;
  }

  .report-section-head {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .report-section-head .report-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .report-section-band {
    display: none;
  }
}

/* ---- Top bar on phones: logo and Contact on one row, menu on its own row ---- */
@media (max-width: 640px) {
  .top-bar {
    grid-template-columns: auto auto;
    grid-template-areas:
      "brand contact"
      "nav   nav";
    justify-content: space-between;
    row-gap: 10px;
    padding-top: 12px;
    padding-bottom: 10px;
  }

  .brand-home {
    grid-area: brand;
  }

  .top-actions {
    grid-area: contact;
    justify-self: end;
  }

  /* The menu is the bar's bottom row here, so the gap to the box is small. */
  .nav-popup::before {
    height: 12px;
  }

  .top-nav {
    grid-area: nav;
    justify-self: stretch;
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 6px;
    column-gap: 12px;
    font-size: 12px;
  }
}

@media (max-width: 360px) {
  .top-nav {
    justify-content: center;
    font-size: 11px;
  }
}

/* ---- Print / Save as PDF: two pages per evaluation, on white ---------------- */
@media print {
  @page {
    size: A4;
    margin: 14mm 14mm 16mm;
  }

  body {
    background: #ffffff !important;
  }

  .top-bar,
  .report-intro,
  .assess-test-note,
  .report-next-title,
  .assess-next,
  #assess-intro,
  #assess-form,
  #assess-done,
  #assess-empty {
    display: none !important;
  }

  .basic-page {
    min-height: 0;
    padding: 0;
    background: none;
  }

  .basic-page-inner {
    width: 100%;
    padding: 0;
  }

  .assess-report {
    --report-text: #0d1726;
    --report-muted: #4a5a70;
    --report-line: #c9d3e0;
    --report-track: #e3e9f1;
    --band-1: #d93636;
    --band-2: #e27a12;
    --band-3: #c99a06;
    --band-4: #11998e;
    --band-5: #1a9f55;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .report-intro .basic-kicker,
  .report-page-kicker,
  .report-findings-title {
    color: #0b7fa8;
  }

  .report-intro .basic-title,
  .report-intro .eval-lead,
  .report-intro .assess-email {
    color: #0d1726;
  }

  .report-body {
    display: block;
    max-width: none;
    margin: 8mm 0 0;
  }

  .report-page {
    padding: 0;
    border: none;
    border-radius: 0;
    background: none;
  }

  .report-page + .report-page {
    break-before: page;
  }

  .report-summary {
    grid-template-columns: 52mm minmax(0, 1fr);
  }

  .report-scale-marker {
    box-shadow: 0 0 0 2px #ffffff;
  }

  .report-page-head {
    margin-bottom: 4mm;
    padding-bottom: 3mm;
  }

  .report-page-title {
    font-size: 18pt;
  }

  .report-summary-copy {
    font-size: 12pt;
  }

  .report-findings {
    margin-top: 6mm;
  }

  .report-findings-list {
    gap: 3mm;
  }

  .report-findings-list li {
    font-size: 12pt;
    break-inside: avoid;
  }

  /* Page 2: sections flow in two columns so all answers fit on one sheet */
  .report-sections {
    column-count: 2;
    column-gap: 7mm;
  }

  .report-section {
    display: inline-block;
    width: 100%;
    break-inside: avoid;
    margin: 0 0 2.5mm;
  }

  .report-section + .report-section {
    margin-top: 0;
  }

  .report-section-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 2mm 3mm;
  }

  .report-section-head .report-bar {
    grid-column: 1 / -1;
    grid-row: 2;
  }

  .report-section-band {
    display: none;
  }

  .report-section-title,
  .report-section-score {
    font-size: 10.5pt;
  }

  .report-answers {
    padding-left: 4mm;
  }

  .report-answer {
    padding: 0.6mm 0;
    font-size: 7.6pt;
    line-height: 1.22;
  }

  .report-answer-row {
    margin-top: 0;
  }
}

/* ---- Home: motto band above the hero ---- */
.motto-band {
  position: relative;
  z-index: 2;
  padding: clamp(26px, 4vw, 46px) calc(16px + var(--text-page-gutter));
  text-align: center;
  background:
    radial-gradient(60% 140% at 50% 0%, rgba(0, 202, 255, 0.12) 0%, rgba(0, 202, 255, 0) 70%),
    linear-gradient(180deg, #030a17 0%, #04101f 100%);
  border-bottom: 1px solid rgba(90, 114, 144, 0.32);
}

.motto-band::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1px;
  width: min(420px, 60vw);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(31, 214, 255, 0), rgba(31, 214, 255, 0.85), rgba(0, 232, 183, 0.85), rgba(0, 232, 183, 0));
}

.motto {
  position: relative;
  display: inline-block;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* Thin rails that fade out on either side of the motto. */
.motto::before,
.motto::after {
  content: "";
  position: absolute;
  top: 50%;
  width: clamp(28px, 9vw, 140px);
  height: 1px;
}

.motto::before {
  right: 100%;
  margin-right: 22px;
  background: linear-gradient(90deg, rgba(31, 214, 255, 0), rgba(31, 214, 255, 0.7));
}

.motto::after {
  left: 100%;
  margin-left: 22px;
  background: linear-gradient(90deg, rgba(0, 232, 183, 0.7), rgba(0, 232, 183, 0));
}

.motto p {
  margin: 0;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(23px, 3vw, 39px);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.01em;
  color: #ffffff;
  text-wrap: balance;
}

/* One uniform style for the whole motto: no highlighted words. */
.motto-tech,
.motto-human {
  color: inherit;
  font-weight: inherit;
}

@media (max-width: 640px) {
  .motto::before,
  .motto::after {
    display: none;
  }
}

/* ---- Home: offering summary under the motto ---- */
.offering {
  max-width: 1200px;
  margin: clamp(18px, 2.4vw, 28px) auto 0;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.offering-lead {
  max-width: 880px;
  margin: 0 auto 1.4em;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.45;
  color: rgba(214, 226, 240, 0.86);
  text-wrap: balance;
}

/* Three numbered dropdowns (01, 02, 03); each opens to its paragraph. */
.offering-steps {
  max-width: 780px;
  margin: 0 auto 1.4em;
  counter-reset: offering-step;
  text-align: left;
  border-top: 1px solid rgba(90, 140, 190, 0.22);
}

.offering-step {
  counter-increment: offering-step;
  border-bottom: 1px solid rgba(90, 140, 190, 0.22);
}

.offering-step summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 4px;
  font-size: clamp(15px, 1.4vw, 17px);
  font-weight: 600;
  color: #ffffff;
  cursor: pointer;
  list-style: none;
  transition: color 0.2s ease;
}

.offering-step summary::-webkit-details-marker {
  display: none;
}

.offering-step summary::before {
  content: counter(offering-step, decimal-leading-zero);
  flex: none;
  width: 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  color: #1fd6ff;
}

/* Chevron on the right; it turns when the dropdown is open. */
.offering-step summary::after {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-right: 1.5px solid rgba(31, 214, 255, 0.85);
  border-bottom: 1.5px solid rgba(31, 214, 255, 0.85);
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.offering-step[open] summary::after {
  transform: translateY(2px) rotate(-135deg);
}

.offering-step summary:hover {
  color: #1fd6ff;
}

.offering-step summary:focus-visible {
  outline: 2px solid #1fd6ff;
  outline-offset: 2px;
  border-radius: 6px;
}

.offering-step .offering-lead {
  max-width: none;
  margin: 0;
  padding: 0 4px 14px 41px;
  text-wrap: pretty;
}

.offering-lead-strong {
  color: #ffffff;
}

/* Two groups side by side. Subgrid lines up the subtitles and each row of points
   across both groups, so boxes in the same row are always the same height. */
.offering-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto repeat(3, auto);
  column-gap: 16px;
  text-align: left;
}

.offering-group {
  display: grid;
  grid-row: span 4;
  grid-template-rows: subgrid;
  row-gap: 10px;
  min-width: 0;
}

.offering-subtitle {
  position: relative;
  margin: 0 0 2px;
  padding-bottom: 8px;
  text-align: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #1fd6ff;
}

.offering-subtitle::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 48px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, rgba(31, 214, 255, 0), rgba(31, 214, 255, 0.8), rgba(0, 232, 183, 0));
}

.offering-list {
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offering-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  font-size: 14px;
  line-height: 1.3;
  color: #ffffff;
  border: 1px solid rgba(31, 214, 255, 0.35);
  border-radius: 14px;
  background: rgba(6, 18, 34, 0.5);
}

.offering-list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1fd6ff, #00e8b7);
}

@media (max-width: 640px) {
  .offering-groups {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 22px;
  }

  .offering-group,
  .offering-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .offering-list li {
    font-size: 13px;
  }
}

/* ---- Discovery call: details form and confirmation ---- */
.book-intro-copy {
  margin: -6px 0 0;
  color: rgba(200, 214, 232, 0.7);
  font-size: 14px;
  line-height: 1.5;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.book-details {
  margin-bottom: 18px;
}

.book-cal-title {
  margin: 26px 0 10px;
  color: #f3f7fd;
  font-size: 15px;
  font-weight: 600;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.book-add-cal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.book-add-btn {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(73, 203, 255, 0.55);
  border-radius: 3px;
  color: #dff6ff;
  background: rgba(0, 170, 220, 0.1);
  font-size: 14px;
  text-decoration: none;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: background-color 140ms ease, border-color 140ms ease;
}

.book-add-btn:hover,
.book-add-btn:focus-visible {
  border-color: #3fdcff;
  background: rgba(0, 170, 220, 0.24);
}

@media (max-width: 980px) {
  .book-details {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .book-details {
    grid-template-columns: 1fr;
  }
}

/* ---- Admin page ---- */
.admin-page {
  --admin-line: rgba(93, 117, 150, 0.3);
  --admin-muted: rgba(200, 214, 232, 0.66);
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.admin-loading,
.admin-empty {
  color: var(--admin-muted);
  font-size: 15px;
}

.admin-empty.is-error {
  color: #ff9d94;
}

.admin-login-form {
  display: grid;
  gap: 14px;
  max-width: 360px;
  margin-top: 22px;
}

.admin-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-btn {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(73, 203, 255, 0.55);
  border-radius: 3px;
  color: #dff6ff;
  background: rgba(0, 170, 220, 0.1);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.admin-btn:hover:not(:disabled) {
  border-color: #3fdcff;
  background: rgba(0, 170, 220, 0.22);
}

.admin-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.admin-btn-quiet {
  border-color: var(--admin-line);
  background: transparent;
  color: rgba(221, 232, 245, 0.85);
}

.admin-btn-danger {
  border-color: rgba(255, 120, 110, 0.6);
  background: rgba(255, 93, 93, 0.08);
  color: #ffd3cf;
}

.admin-btn-danger:hover:not(:disabled) {
  border-color: #ff9d94;
  background: rgba(255, 93, 93, 0.18);
}

.admin-tabs {
  display: flex;
  gap: 4px;
  margin: 28px 0 22px;
  border-bottom: 1px solid var(--admin-line);
}

.admin-tab {
  padding: 10px 16px;
  border: 0;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  background: none;
  color: var(--admin-muted);
  font: inherit;
  font-size: 15px;
  cursor: pointer;
}

.admin-tab.is-active {
  color: #f3f7fd;
  border-bottom-color: #1fd6ff;
}

.admin-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.admin-chip {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--admin-line);
  border-radius: 16px;
  background: transparent;
  color: rgba(221, 232, 245, 0.85);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
}

.admin-chip.is-active {
  border-color: #3fdcff;
  background: rgba(0, 170, 220, 0.2);
  color: #ffffff;
}

.admin-refresh {
  margin-left: auto;
  min-height: 32px;
}

.admin-zone {
  margin: 12px 0 0;
  color: var(--admin-muted);
  font-size: 13px;
}

.admin-bookings {
  margin-top: 8px;
}

.admin-day {
  margin-top: 22px;
}

.admin-day-title {
  margin: 0 0 8px;
  color: #1fd6ff;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-booking {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 6px 18px;
  align-items: start;
  padding: 14px 16px;
  border: 1px solid var(--admin-line);
  border-radius: 4px;
  background: rgba(4, 12, 26, 0.55);
}

.admin-booking + .admin-booking {
  margin-top: 8px;
}

.admin-booking.is-cancelled {
  opacity: 0.6;
}

.admin-booking.is-cancelled .admin-booking-time {
  text-decoration: line-through;
}

.admin-booking p {
  margin: 0;
}

.admin-booking-time {
  color: #f3f7fd;
  font-size: 16px;
  font-weight: 600;
}

.admin-booking-name {
  color: #f3f7fd;
  font-size: 16px;
}

.admin-booking-role,
.admin-booking-meta {
  color: var(--admin-muted);
  font-size: 14px;
}

.admin-booking-meta {
  margin-top: 4px !important;
  font-size: 12.5px;
}

.admin-booking-meta.is-warning {
  color: #ffc58a;
}

.admin-booking-links {
  margin-top: 4px !important;
  font-size: 14px;
}

.admin-booking-links a {
  color: #7fe6ff;
  text-decoration: none;
}

.admin-booking-links a:hover {
  text-decoration: underline;
}

.admin-sep {
  margin: 0 8px;
  color: var(--admin-muted);
}

.admin-confirm {
  max-width: 280px;
}

.admin-confirm-q,
.admin-confirm-status {
  font-size: 14px;
  color: rgba(221, 232, 245, 0.9);
}

.admin-confirm-status {
  margin-top: 6px !important;
  color: var(--admin-muted);
}

.admin-check {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0;
  color: rgba(221, 232, 245, 0.85);
  font-size: 14px;
}

.admin-confirm-row {
  display: flex;
  gap: 8px;
}

.admin-h2 {
  margin: 30px 0 6px;
  color: #f3f7fd;
  font-size: 19px;
  font-weight: 450;
}

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

.admin-help {
  margin: 0 0 14px;
  max-width: 70ch;
  color: var(--admin-muted);
  font-size: 14px;
  line-height: 1.5;
}

.admin-weekly {
  border-top: 1px solid var(--admin-line);
}

.admin-day-row {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--admin-line);
}

.admin-day-name {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: #f3f7fd;
  font-size: 15px;
  cursor: pointer;
}

.admin-day-row.is-closed .admin-day-name {
  color: var(--admin-muted);
}

.admin-day-ranges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}

.admin-closed {
  color: var(--admin-muted);
  font-size: 14px;
  line-height: 38px;
}

.admin-range {
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-time.eval-email {
  flex: none;
  width: 142px;
  padding-right: 8px;
  min-height: 38px;
  color-scheme: dark;
}

.admin-to {
  color: var(--admin-muted);
  font-size: 13px;
}

.admin-icon-btn {
  width: 30px;
  height: 30px;
  border: 1px solid var(--admin-line);
  border-radius: 50%;
  background: transparent;
  color: rgba(221, 232, 245, 0.8);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}

.admin-icon-btn:hover {
  border-color: #ff9d94;
  color: #ffd3cf;
}

.admin-link-btn {
  border: 0;
  padding: 6px 2px;
  background: none;
  color: #7fe6ff;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.admin-settings {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px 16px;
  max-width: 820px;
}

.admin-settings .eval-email,
.admin-dayoff-add .eval-email {
  flex: none;
  width: 100%;
  color-scheme: dark;
}

.admin-dayoff-add {
  display: flex;
  gap: 8px;
  max-width: 380px;
}

.admin-daysoff {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.admin-dayoff {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 6px 4px 12px;
  border: 1px solid var(--admin-line);
  border-radius: 18px;
  color: rgba(221, 232, 245, 0.9);
  font-size: 14px;
}

.admin-dayoff .admin-icon-btn {
  width: 24px;
  height: 24px;
  font-size: 14px;
}

.admin-save {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--admin-line);
}


/* Admin: calendar view */
.admin-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
}

.admin-view-switch {
  display: inline-flex;
  border: 1px solid var(--admin-line);
  border-radius: 4px;
  overflow: hidden;
}

.admin-view-btn {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: rgba(221, 232, 245, 0.8);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.admin-view-btn + .admin-view-btn {
  border-left: 1px solid var(--admin-line);
}

.admin-view-btn.is-active {
  background: rgba(0, 170, 220, 0.22);
  color: #ffffff;
}

.admin-view-btn:focus-visible {
  outline: 2px solid #3fdcff;
  outline-offset: -2px;
}

.admin-cal-layout {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}

.admin-cal-layout .book-day.is-empty {
  color: rgba(200, 214, 232, 0.3);
  background: transparent;
}

.admin-cal-layout .book-day.has-calls {
  border-color: rgba(73, 203, 255, 0.55);
  background: rgba(0, 170, 220, 0.16);
  color: #ffffff;
  font-weight: 600;
}

.admin-cal-layout .book-day.is-selected {
  border-color: #3fdcff;
  background: rgba(0, 170, 220, 0.34);
}

.admin-day-count {
  position: absolute;
  top: 3px;
  right: 3px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: #1fd6ff;
  color: #04101f;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 16px;
}

.admin-cal-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
  color: var(--admin-muted);
  font-size: 12.5px;
}

.admin-cal-legend li {
  display: flex;
  align-items: center;
  gap: 7px;
}

.admin-key {
  width: 14px;
  height: 14px;
  border-radius: 3px;
}

.admin-key.is-booked {
  border: 1px solid rgba(73, 203, 255, 0.55);
  background: rgba(0, 170, 220, 0.3);
}

.admin-key.is-open {
  background: rgba(39, 200, 255, 0.08);
}

.admin-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  min-height: 46px;
  padding: 4px;
}

.admin-slot-time {
  font-size: 13px;
}

.admin-slot-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 11.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.admin-slot.is-booked {
  border-color: #3fdcff;
  background: rgba(0, 170, 220, 0.3);
  color: #ffffff;
}

/* Open and closed times: clicking one closes it to visitors or reopens it. */
.admin-slot.is-open {
  border-style: dashed;
  color: rgba(200, 214, 232, 0.55);
}

.admin-slot.is-open:hover {
  border-color: rgba(73, 203, 255, 0.6);
  color: rgba(221, 232, 245, 0.9);
}

.admin-slot.is-closed {
  border-style: dashed;
  border-color: rgba(255, 120, 110, 0.4);
  background: rgba(255, 93, 93, 0.06);
  color: rgba(255, 211, 207, 0.6);
}

.admin-slot.is-closed .admin-slot-time {
  text-decoration: line-through;
}

.admin-slot.is-closed:hover {
  border-color: rgba(255, 120, 110, 0.75);
  color: #ffd3cf;
}

.admin-slot:disabled {
  opacity: 0.5;
  cursor: progress;
}

.admin-cal-bookings {
  margin-top: 18px;
}

.admin-cal-bookings .admin-booking {
  grid-template-columns: minmax(0, 1fr) auto;
}

.admin-cal-bookings .admin-booking-main {
  grid-column: 1;
}

.admin-cal-bookings .admin-booking-actions {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.admin-booking-links a {
  white-space: nowrap;
}

.admin-cal-bookings .admin-booking-time {
  white-space: nowrap;
}

.admin-booking.is-flash {
  animation: admin-flash 1.2s ease;
}

@keyframes admin-flash {
  0%, 40% { border-color: #3fdcff; box-shadow: 0 0 0 2px rgba(63, 220, 255, 0.35); }
  100% { border-color: var(--admin-line); box-shadow: none; }
}

@media (max-width: 900px) {
  .admin-cal-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .admin-booking,
  .admin-cal-bookings .admin-booking {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-settings {
    grid-template-columns: minmax(0, 1fr);
  }

  .admin-day-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* Admin: messages */
.admin-badge {
  display: inline-block;
  min-width: 18px;
  height: 18px;
  margin-left: 6px;
  padding: 0 5px;
  border-radius: 9px;
  background: #1fd6ff;
  color: #04101f;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  vertical-align: 1px;
}

.admin-messages {
  margin-top: 18px;
}

.admin-message {
  padding: 16px 18px;
  border: 1px solid var(--admin-line);
  border-left: 3px solid #1fd6ff;
  border-radius: 4px;
  background: rgba(4, 12, 26, 0.55);
}

.admin-message + .admin-message {
  margin-top: 10px;
}

.admin-message.is-handled {
  border-left-color: var(--admin-line);
  opacity: 0.72;
}

.admin-message p {
  margin: 0;
}

.admin-message-head {
  display: flex;
  justify-content: space-between;
  gap: 8px 18px;
  flex-wrap: wrap;
}

.admin-message-who {
  min-width: 0;
}

.admin-message-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.admin-topic {
  padding: 2px 9px;
  border: 1px solid var(--admin-line);
  border-radius: 11px;
  color: rgba(221, 232, 245, 0.85);
  font-size: 12px;
}

.admin-topic.is-careers {
  border-color: rgba(255, 197, 138, 0.6);
  color: #ffc58a;
}

.admin-message-date {
  color: var(--admin-muted);
  font-size: 12.5px;
}

.admin-message-body {
  margin-top: 12px !important;
  color: rgba(232, 240, 250, 0.92);
  font-size: 15px;
  line-height: 1.55;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.admin-message-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 14px;
}

.admin-message-foot .admin-booking-meta {
  margin-top: 0 !important;
}

.admin-msg-toggle {
  margin-left: auto;
}

.admin-resume {
  text-decoration: none;
}

@media (max-width: 720px) {
  .admin-message-side {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }
}

/* Contact form: message block above the shared details */
.contact-message-fields {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.contact-step-2 {
  margin-top: 34px;
}

.assess-field .contact-textarea {
  min-height: 150px;
  height: auto;
  padding: 10px 14px;
  line-height: 1.5;
  resize: vertical;
}

.assess-field .is-invalid,
.contact-message-fields .is-invalid {
  border-color: #ff9d94;
  box-shadow: 0 0 0 1px #ff9d94;
  background: rgba(255, 93, 93, 0.06);
}

.admin-nophone {
  color: #ffc58a;
}

/* Contact form: hidden spam trap */
.contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Admin: people & privacy */
.admin-btn-small {
  min-height: 30px;
  padding: 0 12px;
  font-size: 13px;
}

.admin-people-search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin-top: 12px;
}

.admin-people-search .eval-email {
  flex: 1;
  min-width: 0;
}

#admin-people-result {
  margin-top: 14px;
}

.admin-person {
  padding: 16px 18px;
  border: 1px solid var(--admin-line);
  border-radius: 4px;
  background: rgba(4, 12, 26, 0.55);
}

.admin-person p {
  margin: 0;
}

.admin-person-list {
  margin: 12px 0 0;
  padding-left: 20px;
  color: rgba(221, 232, 245, 0.88);
  font-size: 14px;
  line-height: 1.7;
}

.admin-person-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.admin-person-actions a {
  text-decoration: none;
}

.admin-consents-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
  color: var(--admin-muted);
  font-size: 14px;
}

.admin-consents-head a {
  text-decoration: none;
}

.admin-consents {
  margin-top: 10px;
}

.admin-consent {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 1fr) auto;
  gap: 4px 14px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--admin-line);
  font-size: 14px;
}

.admin-consent-who {
  color: #f3f7fd;
}

.admin-consent-email,
.admin-consent-date {
  color: var(--admin-muted);
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .admin-consent {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

/* "Your data" page */
.mydata-form {
  display: grid;
  gap: 14px;
  max-width: 460px;
  margin-top: 28px;
}

.mydata-help {
  max-width: 62ch;
  margin-top: 30px;
  color: rgba(200, 214, 232, 0.7);
  font-size: 14px;
  line-height: 1.55;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.mydata-help a {
  color: #7ee4ff;
}

.mydata-actions {
  margin-top: 24px;
}

.mydata-card {
  margin: 0 0 10px;
  padding: 14px 16px;
  border: 1px solid rgba(93, 117, 150, 0.3);
  border-radius: 4px;
  background: rgba(4, 12, 26, 0.55);
}

.mydata-card-title {
  margin: 0 0 8px !important;
  color: #f3f7fd !important;
  font-weight: 600;
}

.mydata-dl {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 4px 14px;
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.mydata-dl dt {
  color: rgba(200, 214, 232, 0.6);
}

.mydata-dl dd {
  margin: 0;
  color: rgba(221, 232, 245, 0.9);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

@media (max-width: 480px) {
  .mydata-dl {
    grid-template-columns: minmax(0, 1fr);
  }

  .mydata-dl dd {
    margin-bottom: 6px;
  }
}

/* Newsletter opt-in (unticked by default, separate consent) */
.form-optin {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: 62ch;
  margin: 18px 0 0;
  color: rgba(221, 232, 245, 0.85);
  font-size: 14px;
  line-height: 1.45;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
}

.form-optin input {
  flex: none;
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: #1fd6ff;
  cursor: pointer;
}

/* Privacy note under forms */
.form-privacy {
  margin: 14px 0;
  max-width: 62ch;
  color: rgba(200, 214, 232, 0.6);
  font-size: 12.5px;
  line-height: 1.5;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.form-privacy a {
  color: #7ee4ff;
}

/* Site footer */
.site-footer {
  border-top: 1px solid rgba(93, 117, 150, 0.25);
  background: #030a17;
}

.site-footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 24px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 22px clamp(18px, 4vw, 68px);
  box-sizing: border-box;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
}

.site-footer-copy {
  margin: 0;
  color: rgba(200, 214, 232, 0.55);
}

.site-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.site-footer-links a {
  color: rgba(221, 232, 245, 0.8);
  text-decoration: none;
}

.site-footer-links a:hover,
.site-footer-links a[aria-current="page"] {
  color: #7ee4ff;
}

/* Privacy policy page */
.legal-lead {
  max-width: 68ch;
}

.legal-updated {
  margin: 14px 0 0;
  color: rgba(200, 214, 232, 0.55);
  font-size: 13px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-toc {
  max-width: 760px;
  margin-top: 34px;
  padding: 18px 22px;
  border: 1px solid rgba(93, 117, 150, 0.3);
  border-radius: 4px;
  background: rgba(4, 12, 26, 0.55);
}

.legal-toc ol {
  columns: 2;
  column-gap: 32px;
  margin: 0;
  padding-left: 20px;
  color: rgba(200, 214, 232, 0.55);
  font-size: 14px;
  line-height: 1.9;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-toc a {
  color: rgba(221, 232, 245, 0.9);
  text-decoration: none;
}

.legal-toc a:hover {
  color: #7ee4ff;
}

.legal-body {
  max-width: 760px;
  font-family: "Segoe UI", "Roboto", -apple-system, BlinkMacSystemFont, sans-serif;
}

.legal-body section {
  margin-top: 40px;
  scroll-margin-top: 100px;
}

.legal-body h2 {
  margin: 0 0 12px;
  color: #f3f7fd;
  font-size: clamp(19px, 1.5vw, 24px);
  font-weight: 420;
}

.legal-body p,
.legal-body li {
  color: rgba(221, 232, 245, 0.88);
  font-size: 16px;
  line-height: 1.65;
}

.legal-body p {
  margin: 0 0 12px;
}

.legal-body ul {
  margin: 0 0 12px;
  padding-left: 22px;
}

.legal-body li + li {
  margin-top: 6px;
}

.legal-body strong {
  color: #f3f7fd;
  font-weight: 600;
}

.legal-body a {
  color: #7ee4ff;
}

.legal-table-wrap {
  margin: 4px 0 16px;
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}

.legal-table th,
.legal-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(93, 117, 150, 0.28);
  text-align: left;
  vertical-align: top;
  line-height: 1.55;
}

.legal-table thead th {
  color: #1fd6ff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.legal-table tbody th {
  width: 32%;
  color: #f3f7fd;
  font-weight: 500;
}

.legal-table td {
  color: rgba(221, 232, 245, 0.88);
}

.legal-contact {
  padding: 16px 20px;
  border-left: 3px solid #1fd6ff;
  background: rgba(4, 12, 26, 0.55);
}

@media (max-width: 640px) {
  .legal-toc ol {
    columns: 1;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
    width: auto;
  }

  .legal-table thead {
    display: none;
  }

  .legal-table tbody th {
    width: auto;
    padding-bottom: 2px;
    border-bottom: 0;
  }

  .legal-table td {
    padding-top: 2px;
  }
}

/* Anything marked hidden stays hidden, whatever its display style */
[hidden] {
  display: none !important;
}

.admin-dayoff-add .admin-btn {
  flex: none;
  white-space: nowrap;
}

.admin-dayoff-add .eval-email {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}
