/* AFOS page layouts, second generation (first pass, November 2026).

   Loaded after main.css on pages whose <body> has the class "v2".
   main.css keeps the header, the footer, the buttons and the form fields.
   This file adds one layout per page type:

     t-home      Home
     t-product   Features
     t-plans     Plans
     t-audience  Feed mills, later consultants, farms and universities

   Rules of this file:
   - logical properties only, so Arabic mirrors without extra rules
   - text widths in px, never in ch (1ch is far wider than a letter in Manrope)
   - no fixed heights on text boxes, German runs about 35% longer
   - nothing moves on its own */

/* ---------- Tokens ---------- */
body.v2 {
  --container: 1280px;
  --blue: #006aa6;
  --blue-tint: #eaf4fb;
  --control: #7f8a94;
  --ok: #2e7d32;
  --hair: rgb(22 35 46 / 0.12);
  --shadow-shot: 0 16px 40px -16px rgb(22 35 46 / 0.22);
  --w-body: 580px;
  --w-lede: 640px;
  --sec: clamp(56px, 7vw, 96px);
}

/* Anchors and focused controls land below the sticky header. Browsers
   without :has() get the offset on the anchor targets only. */
.v2 main [id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

@supports selector(:root:has(body)) {
  :root:has(body.v2) {
    scroll-padding-top: calc(var(--header-h) + 12px);
  }

  .v2 main [id] {
    scroll-margin-top: 0;
  }
}

/* ---------- Header on v2 pages ---------- */
/* The logo already links to the home page. Without the Home item the bar
   has room for the demo button. */
@media (min-width: 1081px) {
  .v2 .nav-list > li:first-child {
    display: none;
  }
}

.header-demo {
  display: none;
  min-height: 44px;
  padding-block: 9px;
  flex-shrink: 0;
}

/* The second button needs room. English and Chinese labels fit from 1240 px,
   Arabic from 1320 px, German from 1400 px. Spanish, Portuguese and Serbian
   labels do not fit beside the menu at any width, so there the demo button
   stays in the phone menu, in the page and in the footer. */
@media (min-width: 1240px) {
  .v2:lang(en) .header-demo,
  .v2:lang(zh) .header-demo {
    display: inline-flex;
  }
}

@media (min-width: 1320px) {
  .v2:lang(ar) .header-demo {
    display: inline-flex;
  }
}

@media (min-width: 1400px) {
  .v2:lang(de) .header-demo {
    display: inline-flex;
  }
}

/* Phones: the main button stays in the bar. The language name gives way,
   the globe opens the same menu. */
@media (max-width: 1080px) {
  /* A label this small needs the deeper orange to stay readable (4.6:1) */
  .v2 .header-cta {
    display: inline-flex;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 0.9375rem;
    background: #d4410d;
  }
}

@media (max-width: 520px) {
  .v2 .header-bar {
    gap: 8px;
  }

  .v2 .header-end {
    gap: 6px;
  }

  .v2 .logo-link img {
    width: 92px;
  }

  .v2 .locale-dd > summary {
    font-size: 0;
    gap: 0;
    padding: 10px;
  }

  .v2 .locale-dd .globe {
    width: 20px;
    height: 20px;
  }

  /* A long label (Serbian) takes two lines and stays in the bar */
  .v2 .header-cta {
    max-width: 44vw;
    white-space: normal;
    text-align: center;
    text-wrap: balance;
    line-height: 1.15;
  }

  /* The globe no longer sits at the edge of the bar, so the list of
     languages hangs from the bar itself */
  .v2 .locale-panel {
    position: fixed;
    inset-inline: 12px;
    inset-block-start: calc(var(--header-h) - 6px);
    min-width: 0;
  }
}

.v2 .nav-toggle {
  flex: none;
}

/* The open menu covers these two. They must not take the focus there. */
@media (max-width: 1080px) {
  .nav-open .v2 .header-cta,
  .nav-open .v2 .locale-dd {
    visibility: hidden;
  }
}

@media (max-width: 340px) {
  .v2 .header-cta {
    display: none;
  }
}

@media (max-width: 400px) {
  .v2 .logo-link img {
    width: 84px;
  }

  .v2 .header-cta {
    max-width: 8em;
    padding: 8px 12px;
    font-size: 0.875rem;
  }
}

/* ---------- Type roles ---------- */
.v2 .t-display,
.v2 .t-h1 {
  font-weight: 800;
  letter-spacing: -0.022em;
  hyphens: auto;
  hyphenate-limit-chars: 14 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
  overflow-wrap: break-word;
}

.v2 .t-display {
  font-size: clamp(2.25rem, 4.2vw, 3.25rem);
  line-height: 1.07;
}

.v2 .t-h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.14;
}

.v2 .t-h2 {
  font-size: clamp(1.625rem, 2.5vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.v2 .t-h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.36;
}

.v2 .t-lede {
  font-size: 1.25rem;
  line-height: 1.5;
  color: var(--ink);
  max-width: var(--w-lede);
}

.v2 main :is(h2, h3, h4, dt, label, .ptab-name, .ptab-for, .spot-name, .chip) {
  overflow-wrap: break-word;
  hyphens: auto;
  hyphenate-limit-chars: 14 4 4;
  -webkit-hyphenate-limit-before: 4;
  -webkit-hyphenate-limit-after: 4;
}

.v2 main .dot {
  color: var(--orange);
}

.v2 .btn-secondary {
  border-color: var(--control);
}

.v2 .btn-secondary:hover {
  border-color: var(--ink);
}

.v2 .prose p {
  max-width: var(--w-body);
}

.v2 .prose p + p {
  margin-block-start: 12px;
}

.v2 .prose a:not(.btn) {
  color: var(--blue);
  text-underline-offset: 3px;
}

.v2 .prose a:not(.btn):hover {
  color: var(--ink);
}

/* Link with an arrow that is always there */
.v2 .more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.v2 .more-link svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .v2 .more-link svg {
  transform: scaleX(-1);
}

.v2 a.more-link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Sections ---------- */
.v2 .sec {
  padding-block: var(--sec);
}

.v2 .sec-field {
  background: var(--field);
}

.v2 .sec-head {
  margin-block-end: clamp(28px, 3.4vw, 44px);
}

.v2 .sec-head p {
  margin-block-start: 14px;
  max-width: var(--w-lede);
}

.v2 .sec-cta {
  margin-block-start: clamp(28px, 3.4vw, 44px);
}

.v2 main .btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Screenshots ---------- */
.v2 .shot {
  margin: 0;
  border: 1px solid rgb(22 35 46 / 0.16);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-shot);
}

.v2 .shot img {
  display: block;
  width: 100%;
  height: auto;
}

.v2 .shot-caption {
  margin-block-start: 10px;
  font-size: 0.9375rem;
  line-height: 1.47;
  color: var(--faint);
}

.js .v2 [data-zoom] {
  cursor: zoom-in;
}

.v2 [data-zoom]:focus-visible {
  outline: 2px solid var(--orange-press);
  outline-offset: 3px;
}

/* Lists with a tick */
.v2 .ticks {
  display: grid;
  gap: 10px 32px;
}

.v2 .ticks li {
  position: relative;
  padding-inline-start: 28px;
  line-height: 1.5;
}

.v2 .ticks li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-block-start: 0.38em;
  width: 13px;
  height: 7px;
  /* a tick is the same sign in every script, so its two strokes are fixed */
  border-left: 2.4px solid var(--ok);
  border-bottom: 2.4px solid var(--ok);
  transform: rotate(-45deg);
}

/* =====================================================================
   T1  HOME
   ===================================================================== */
.t-home .h-hero {
  padding-block: clamp(28px, 4vw, 56px) clamp(36px, 4.4vw, 56px);
}

/* The heading and the buttons at the start side, the text beside them.
   Below 1000 px one column, in reading order. */
.h-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.h-hero-copy {
  margin-block-start: 22px;
}

.h-hero-copy .h-more {
  margin-block-start: 10px;
  max-width: var(--w-body);
}

.h-hero-act {
  margin-block-start: 28px;
}

.h-hero-act .cta-note {
  margin-block-start: 16px;
}

.h-hero-act .cta-note a {
  white-space: nowrap;
  margin-inline-start: 0;
}

@media (min-width: 1000px) {
  .h-hero-top {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "head copy"
      "act  copy";
    column-gap: clamp(32px, 4.5vw, 64px);
  }

  .h-hero-top > h1 {
    grid-area: head;
  }

  .h-hero-copy {
    grid-area: copy;
    align-self: end;
    margin-block-start: 0;
  }

  .h-hero-act {
    grid-area: act;
  }
}

/* The whole window of the program, as wide as the text above it.
   Phones get a part of it that can be read (picture element in the page). */
.v2 .h-hero-shot {
  direction: ltr;
  margin-block-start: clamp(28px, 3.6vw, 48px);
}

.v2 .h-hero-shot picture {
  display: block;
}

.t-home .logo-strip {
  margin-block-start: clamp(36px, 4.4vw, 60px);
  padding-block-start: 24px;
  border-block-start: 1px solid var(--line);
  text-align: start;
}

.t-home .logo-strip-label {
  margin: 0 0 18px;
}

.t-home .logo-strip-list {
  justify-content: space-between;
  gap: 18px clamp(16px, 2.2vw, 32px);
}

.t-home .logo-strip-list img {
  height: 34px;
}

.t-home .logo-strip-list img.is-tall {
  height: 44px;
}

.t-home .logo-strip-list img.is-short {
  height: 25px;
}

@media (max-width: 1080px) {
  .t-home .logo-strip-list {
    justify-content: flex-start;
    gap: 18px 32px;
  }
}

@media (max-width: 640px) {
  .t-home .logo-strip-list {
    gap: 16px 24px;
  }

  .t-home .logo-strip-list img {
    height: 26px;
  }

  .t-home .logo-strip-list img.is-tall {
    height: 34px;
  }

  .t-home .logo-strip-list img.is-short {
    height: 20px;
  }
}

/* Audience doors */
.doors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.door:hover {
  border-color: var(--control);
  box-shadow: 0 1px 2px rgb(22 35 46 / 0.08);
}

.door h3 a {
  color: inherit;
  text-decoration: none;
}

.door h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

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

.door h3 a:focus-visible::after {
  outline: 2px solid var(--orange-press);
  outline-offset: -2px;
}

.door:hover .more-link {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.door-photo {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.door-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 24px 24px;
}

.door-body p {
  line-height: 1.55;
}

.door-body .more-link {
  margin-block-start: auto;
  padding-block-start: 6px;
}

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

  .door {
    flex-direction: row;
  }

  .door-photo {
    width: 34%;
    aspect-ratio: auto;
    min-height: 100%;
  }
}

@media (max-width: 560px) {
  .door {
    flex-direction: column;
  }

  .door-photo {
    display: none;
  }
}

/* Switcher: a short list on one side, one large screen on the other.
   Without JavaScript every item is open and stacked. With it, the first
   item is open from the first paint (class is-open in the markup). */
.sw-item {
  border-block-start: 1px solid var(--hair);
}

.sw-item:last-child {
  border-block-end: 1px solid var(--hair);
}

.sw-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  padding: 18px 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink);
  text-align: start;
  cursor: pointer;
}

.sw-btn:disabled,
.sw-btn[aria-disabled="true"] {
  color: var(--ink);
  cursor: default;
}

.sw-btn .sw-ico {
  width: 26px;
  height: 26px;
  flex: none;
  margin-block-start: 1px;
  stroke: var(--faint);
}

.sw-btn .sw-ico svg {
  display: block;
  width: 100%;
  height: 100%;
  stroke: inherit;
}

.sw-btn .sw-chev {
  width: 20px;
  height: 20px;
  flex: none;
  margin-inline-start: auto;
  margin-block-start: 4px;
  stroke: var(--faint);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease-out);
}

html:not(.js) .sw-btn .sw-chev {
  display: none;
}

.js .sw-item.is-open .sw-btn .sw-ico {
  stroke: var(--blue);
}

.js .sw-item.is-open .sw-btn .sw-chev {
  transform: rotate(180deg);
}

.js .sw-btn:not([aria-disabled="true"]):hover .sw-ico,
.js .sw-btn:not([aria-disabled="true"]):hover .sw-chev {
  stroke: var(--ink);
}

.sw-text {
  padding-inline-start: 40px;
  padding-block-end: 22px;
}

.sw-text p {
  max-width: 500px;
}

.sw-text p + p {
  margin-block-start: 12px;
}

.v2 .sw-shot {
  margin-block-end: 24px;
  padding: clamp(10px, 1.6vw, 20px);
}

html:not(.js) .sw-shot {
  max-width: 760px;
}

.js .sw-item:not(.is-open) .sw-panel {
  display: none;
}

@media (min-width: 900px) {
  .js .sw {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    column-gap: clamp(32px, 4.5vw, 64px);
    grid-auto-rows: min-content;
    align-items: start;
  }

  .js .sw-item,
  .js .sw-item.is-open .sw-panel {
    display: contents;
  }

  .js .sw-h,
  .js .sw-text {
    grid-column: 1;
  }

  .js .sw-h {
    border-block-start: 1px solid var(--hair);
  }

  .js .sw-item:first-child .sw-h {
    border-block-start: 0;
  }

  .js .v2 .sw-shot {
    grid-column: 2;
    grid-row: 1 / span 12;
    margin: 0;
    aspect-ratio: 1.4;
    display: grid;
    place-items: center;
  }

  .js .v2 .sw-shot img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
}

/* Overview video */
.h-video {
  background: var(--navy);
  color: #fff;
}

.v2 .h-video.sec {
  padding-block: clamp(40px, 5vw, 64px);
}

.h-video-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.v2 .h-video h2 {
  color: #fff;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.h-video .video-facade {
  box-shadow: none;
  border: 1px solid rgb(255 255 255 / 0.18);
}

.h-video :focus-visible {
  outline-color: #fff;
}

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

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.quote {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  break-inside: avoid;
}

.quote-logo {
  height: 40px;
  display: flex;
  align-items: center;
}

.quote-logo img {
  max-height: 40px;
  width: auto;
  max-width: 170px;
  filter: grayscale(1);
  opacity: 0.8;
  mix-blend-mode: multiply;
}

.quote blockquote {
  margin: 0;
}

.quote-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink);
  margin-block-end: 10px;
}

.q-text p {
  line-height: 1.6;
}

.q-text p + p {
  margin-block-start: 10px;
}

.q-text.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  overflow: hidden;
}

.q-more {
  align-self: flex-start;
  min-height: 44px;
  margin-block-start: 2px;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
}

.q-more:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: auto;
  padding-block-start: 16px;
  border-block-start: 1px solid var(--line);
}

.quote .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex: none;
}

.quote cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.quote .where {
  display: block;
  font-size: 0.9375rem;
  color: var(--faint);
  line-height: 1.4;
}

.js .quotes:not(.is-all) .quote.is-more {
  display: none;
}

.quotes-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  margin-block-start: clamp(24px, 3vw, 36px);
}

html:not(.js) .quotes-foot .btn {
  display: none;
}

.proof-line {
  font-weight: 700;
  color: var(--ink);
}

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

/* =====================================================================
   T2  PRODUCT OVERVIEW (Features)
   ===================================================================== */
.p-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(28px, 3.4vw, 40px);
}

.p-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 16px clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.p-head-intro .t-lede + p {
  margin-block-start: 10px;
}

.p-head-intro .btn-row {
  margin-block-start: 24px;
}

/* Four highlighted functions, each a door to its row */
.spots {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-block-start: clamp(32px, 4vw, 48px);
}

.spot {
  display: block;
  text-decoration: none;
  color: var(--ink);
}

.spot-img {
  display: block;
  aspect-ratio: 16 / 10;
  border: 1px solid rgb(22 35 46 / 0.16);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  transition: border-color 0.15s var(--ease-out), box-shadow 0.15s var(--ease-out);
}

.spot-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
}

.spot:hover .spot-img {
  border-color: var(--control);
  box-shadow: var(--shadow-shot);
}

.spot-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-block-start: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
}

.spot-name svg {
  width: 18px;
  height: 18px;
  flex: none;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Jump links to the groups */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: clamp(28px, 3.4vw, 40px);
  padding-block-start: 20px;
  border-block-start: 1px solid var(--line);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 7px 16px;
  border: 1px solid var(--control);
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  background: var(--paper);
}

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

.chip .chip-n {
  font-weight: 600;
  color: var(--faint);
}

@media (max-width: 720px) {
  .chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 36px), transparent);
    padding-inline-end: 36px;
  }

  .chips::-webkit-scrollbar {
    display: none;
  }

  [dir="rtl"] .chips {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 36px), transparent);
  }

  .chip {
    flex: none;
    min-height: 44px;
  }
}

/* Groups: the name stays in view on the left, the rows run on the right */
.p-groups {
  background: var(--field);
  padding-block: clamp(12px, 2vw, 24px) var(--sec);
}

.fx-group {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 12px clamp(24px, 3vw, 48px);
  padding-block-start: clamp(28px, 3.4vw, 44px);
}

.fx-group > h2 {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 28px);
  align-self: start;
}

.fx-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}

.fx-row + .fx-row {
  border-block-start: 1px solid var(--line);
}


.fx-row > summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 20px;
  align-items: center;
  padding: 18px 24px;
  cursor: pointer;
  list-style: none;
}

.fx-row > summary::-webkit-details-marker {
  display: none;
}

.fx-row > summary:hover {
  background: rgb(22 35 46 / 0.025);
}

.fx-row > summary:focus-visible {
  outline: 2px solid var(--orange-press);
  outline-offset: -2px;
  border-radius: 10px;
}

.fx-name {
  grid-column: 1;
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink);
}

.fx-gain {
  grid-column: 1;
  line-height: 1.55;
  max-width: 640px;
}

.fx-chev {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease-out);
}

.fx-row[open] > summary .fx-chev {
  transform: rotate(180deg);
}

.fx-row[open] > summary .fx-gain {
  display: none;
}

.fx-row[open] > summary {
  padding-block-end: 6px;
}

/* Edition of the function: a quiet column beside the name, easy to scan down the list */
.fx-row > summary {
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.fx-ed {
  grid-column: 2;
  grid-row: 1 / span 2;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--faint);
  white-space: nowrap;
}

.fx-chev {
  grid-column: 3;
}

@media (max-width: 1180px) {
  .fx-row > summary {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .fx-name {
    grid-row: 1;
  }

  .fx-ed {
    grid-column: 1;
    grid-row: 2;
    white-space: normal;
  }

  .fx-gain {
    grid-row: 3;
  }

  .fx-chev {
    grid-column: 2;
    grid-row: 1 / span 3;
  }
}

.fx-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px 40px;
  padding: 4px 24px 28px;
}

.fx-body.has-side {
  grid-template-columns: minmax(0, 1fr) minmax(0, 360px);
  align-items: start;
}

.fx-body .prose p {
  max-width: 620px;
}

.fx-fig {
  margin: 0;
  max-width: 760px;
}

.fx-body.has-side .fx-fig {
  max-width: none;
}

/* Custom features and cloud */
.also {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 12px clamp(24px, 3vw, 48px);
  padding-block-start: clamp(36px, 4.4vw, 56px);
}

.also-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 40px;
  align-items: center;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.also-box .prose p {
  max-width: 620px;
}

.also-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.also-more {
  grid-column: 2;
  margin-block-start: 4px;
}

@media (max-width: 1000px) {
  .p-head-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .fx-group,
  .also {
    grid-template-columns: minmax(0, 1fr);
  }

  .fx-group > h2 {
    position: static;
  }

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

  .also-more {
    grid-column: 1;
  }

  .also-actions {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .fx-row > summary {
    padding: 16px 18px;
    gap: 4px 12px;
  }

  .fx-body,
  .fx-body.has-side {
    grid-template-columns: minmax(0, 1fr);
    padding: 4px 18px 22px;
  }

  .fx-body.has-side .fx-fig {
    max-width: 420px;
  }
}

/* =====================================================================
   T3  PLANS
   ===================================================================== */
.pl-head {
  padding-block: clamp(28px, 4vw, 52px) clamp(40px, 5vw, 72px);
}

.pl-head h1 {
  max-width: 900px;
}

.pl-head .t-lede {
  margin-block-start: 14px;
}

.picker {
  margin-block-start: clamp(24px, 3vw, 36px);
}

.picker-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

html:not(.js) .picker-tabs {
  display: none;
}

html:not(.js) .picker-body {
  align-items: start;
}

html:not(.js) .price-card {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 16px);
}

.ptab {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  padding: 14px 16px 16px;
  border: 1px solid var(--control);
  border-radius: 12px;
  background: var(--paper);
  font: inherit;
  color: inherit;
  text-align: start;
  cursor: pointer;
  transition: border-color 0.15s var(--ease-out), background-color 0.15s var(--ease-out);
}

.ptab:hover {
  border-color: var(--control);
}

.ptab-name {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--ink);
  overflow-wrap: anywhere;
}

.ptab-for {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--body);
}

.ptab[aria-selected="true"] {
  background: var(--blue-tint);
  border-color: var(--blue);
  box-shadow: inset 0 0 0 1px var(--blue);
}

.picker-body {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px;
  margin-block-start: 16px;
  align-items: stretch;
}

.ppanel {
  display: flex;
  flex-direction: column;
  padding: 28px 28px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

/* With the tiles above, the selected tile already names the edition */
@media (min-width: 621px) {
  .js .ppanel-head {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .js .ppanel .ticks {
    margin-block-start: 0;
  }
}

@media (min-width: 1001px) {
  .js .picker-body {
    min-height: 430px;
  }
}

.picker-panels {
  display: grid;
  gap: 16px;
}

.js .ppanel:not(.is-on) {
  display: none;
}

.ppanel-for {
  margin-block-start: 4px;
  color: var(--body);
}

.ppanel .ticks {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-block-start: 22px;
}

.ppanel .ticks li.is-base {
  font-weight: 700;
  color: var(--ink);
}

.ppanel .ticks.is-short {
  grid-template-columns: minmax(0, 1fr);
}

.ppanel .ticks {
  margin-block-end: 24px;
}

.ppanel-foot {
  margin-block-start: auto;
  padding-block-start: 18px;
  border-block-start: 1px solid var(--line);
}

/* The price request is the one dark block of the page */
.price-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--navy);
  color: rgb(255 255 255 / 0.86);
}

.price-card h2 {
  color: #fff;
}

.price-card > p {
  margin-block-start: 8px;
  line-height: 1.55;
}

.price-card form {
  margin-block-start: 20px;
}

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

.price-card .form-field {
  display: grid;
  gap: 6px;
  min-width: 0;
  margin: 0;
}

.price-card label {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
}

.price-card input,
.price-card select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
}

.price-card .form-submit {
  width: 100%;
  margin-block-start: 16px;
}

.price-card :focus-visible {
  outline-color: #fff;
}

.price-card-foot {
  margin-block-start: 14px;
  font-size: 0.9375rem;
}

.price-card-foot a {
  color: #fff;
  font-weight: 700;
  text-underline-offset: 3px;
}

/* Terms of the price model */
.terms-lead {
  font-family: var(--display);
  color: var(--ink);
}

.terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 48px);
  margin: clamp(20px, 2.6vw, 32px) 0 0;
}

.terms > div {
  padding-block: 18px;
  border-block-start: 1px solid var(--hair);
}

.terms dt {
  font-weight: 700;
  color: var(--ink);
}

.terms dd {
  margin: 4px 0 0;
  line-height: 1.55;
}

.terms dd::first-letter {
  text-transform: uppercase;
}

/* Comparison table */
.v2 #compare {
  padding-block: var(--sec) clamp(32px, 4vw, 56px);
}

.cmp-pick {
  display: none;
}

.v2 #compare .sec-head {
  margin-block-end: 20px;
}

@media (min-width: 861px) {
  .v2 .compare-scroll {
    overflow: visible;
    max-width: none;
    border: 0;
    border-radius: 0;
  }

  .v2 .compare-table {
    border: 1px solid var(--line);
    border-radius: 12px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
  }

  .v2 .compare-table thead th:first-child {
    width: 40%;
  }

  .v2 .compare-table thead th:not(:first-child) {
    width: 12%;
    padding-inline: 8px;
  }

  .v2 .compare-table thead th {
    inset-block-start: var(--header-h);
    z-index: 2;
  }

  .v2 .compare-table thead th:first-child {
    border-start-start-radius: 11px;
  }

  .v2 .compare-table thead th:last-child {
    border-start-end-radius: 11px;
  }

  .v2 .compare-table tbody tr:last-child th {
    border-end-start-radius: 11px;
  }

  .v2 .compare-table tbody tr:last-child td:last-child {
    border-end-end-radius: 11px;
  }

  .v2 .compare-table[data-col="1"] tbody td:nth-child(2),
  .v2 .compare-table[data-col="2"] tbody td:nth-child(3),
  .v2 .compare-table[data-col="3"] tbody td:nth-child(4),
  .v2 .compare-table[data-col="4"] tbody td:nth-child(5),
  .v2 .compare-table[data-col="5"] tbody td:nth-child(6) {
    background: var(--blue-tint);
  }

  .v2 .compare-table[data-col="1"] thead th:nth-child(2),
  .v2 .compare-table[data-col="2"] thead th:nth-child(3),
  .v2 .compare-table[data-col="3"] thead th:nth-child(4),
  .v2 .compare-table[data-col="4"] thead th:nth-child(5),
  .v2 .compare-table[data-col="5"] thead th:nth-child(6) {
    box-shadow: inset 0 -4px 0 var(--petal);
  }
}

.v2 .tick-yes {
  color: var(--ok);
}

.v2 .tick-no {
  color: rgb(22 35 46 / 0.65);
}

/* Phones: one edition at a time. The menu that chooses it stays in view. */
@media (max-width: 860px) {
  .js .cmp-pick {
    position: sticky;
    inset-block-start: var(--header-h);
    z-index: 3;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding-block: 10px;
    background: var(--paper);
    border-block-end: 1px solid var(--line);
  }

  .cmp-pick label {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ink);
  }

  .cmp-pick select {
    width: 100%;
    min-height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--control);
    border-radius: 8px;
    background: #fff;
    font: inherit;
    font-size: 1rem;
    color: var(--ink);
  }

  .js .v2 .compare-scroll {
    overflow: visible;
    border-start-start-radius: 0;
    border-start-end-radius: 0;
    border-block-start: 0;
  }

  .js .v2 .compare-table {
    min-width: 0;
  }

  .js .v2 .compare-table thead,
  .js .v2 .compare-table tbody td {
    display: none;
  }

  .js .v2 .compare-table[data-col="1"] tbody td:nth-child(2),
  .js .v2 .compare-table[data-col="2"] tbody td:nth-child(3),
  .js .v2 .compare-table[data-col="3"] tbody td:nth-child(4),
  .js .v2 .compare-table[data-col="4"] tbody td:nth-child(5),
  .js .v2 .compare-table[data-col="5"] tbody td:nth-child(6) {
    display: table-cell;
    width: 76px;
    padding-inline: 8px;
  }

  .js .v2 .compare-table tbody th {
    position: static;
    box-shadow: none;
    overflow-wrap: anywhere;
  }

  .js .v2 .compare-table .cat-toggle {
    position: static;
    width: 100%;
  }

  .js .v2 .compare-table .cat-toggle svg {
    margin-inline-start: auto;
  }
}

/* Slim closing strip */
.strip {
  border-block-start: 1px solid var(--line);
  background: var(--paper);
  padding-block: clamp(36px, 4.4vw, 56px);
}

.strip-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 40px;
}

.strip .proof-line {
  margin-block-end: 10px;
  font-weight: 600;
  color: var(--faint);
}

.strip .cta-note {
  margin-block-start: 8px;
}

@media (min-width: 1001px) and (max-width: 1180px) {
  .price-card .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 1000px) {
  .picker-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

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

@media (max-width: 620px) {
  .picker-tabs {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .ptab {
    gap: 2px;
    padding: 12px 14px;
  }

  .ppanel,
  .price-card {
    padding: 22px 18px;
  }

  .ppanel .ticks,
  .price-card .form-grid,
  .terms {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   T4  AUDIENCE PAGE
   ===================================================================== */
.aud-tabs {
  border-block-end: 1px solid var(--line);
  background: var(--paper);
}

.aud-tabs-row {
  display: flex;
  align-items: center;
  gap: 4px 6px;
  padding-block-start: 3px;
  overflow-x: auto;
  scrollbar-width: none;
}

.aud-tabs-row::-webkit-scrollbar {
  display: none;
}

.aud-tabs-label {
  flex: none;
  margin-inline-end: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--faint);
}

.aud-tabs a {
  flex: none;
  padding: 14px 12px 12px;
  border-block-end: 3px solid transparent;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--body);
  text-decoration: none;
  white-space: nowrap;
}

/* a row without a label starts at the edge of the text column */
.aud-tabs-row > a:first-child {
  margin-inline-start: -12px;
}

.aud-tabs a:hover {
  color: var(--ink);
}

.aud-tabs a[aria-current="page"] {
  color: var(--ink);
  font-weight: 700;
  border-block-end-color: var(--blue);
}

.aud-hero {
  padding-block: clamp(32px, 4.4vw, 60px) clamp(40px, 5vw, 72px);
}

.aud-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 6fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.aud-hero-copy .t-lede {
  margin-block-start: 20px;
}

.aud-hero-copy .btn-row {
  margin-block-start: 28px;
}

.aud-photo {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 12px;
}

/* Universities: who already teaches with AFOS, in place of a photo */
.aud-proof {
  padding: clamp(24px, 3vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
}

.aud-proof-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
  margin: 22px 0;
  padding: 0;
  list-style: none;
}

.aud-proof-logos img {
  height: 40px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.aud-proof p {
  max-width: var(--w-body);
}

/* Needs by topic: the rows on one side, one screen on the other */
.aud-needs {
  background: var(--field);
}

.need-group {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 24px clamp(28px, 4.5vw, 64px);
  align-items: start;
  padding-block: clamp(28px, 3.4vw, 44px);
  border-block-start: 1px solid var(--hair);
}

.need-group.is-first {
  border-block-start: 0;
  padding-block-start: 0;
}

.need-group.is-last {
  padding-block-end: 0;
}

.need-group.is-flip {
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
}

.need-group.is-flip .need-side {
  order: -1;
}

.need-label {
  margin-block-end: 10px;
}

.need {
  border-block-start: 1px solid var(--hair);
}

.need:last-of-type {
  border-block-end: 1px solid var(--hair);
}

.need > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
}

.need-title {
  min-width: 0;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: inherit;
}

.need > summary::-webkit-details-marker {
  display: none;
}

.need > summary:hover {
  color: var(--blue);
}

.need > summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease-out);
}

.need[open] > summary svg {
  transform: rotate(180deg);
}

.need-body {
  padding-block-end: 18px;
}

.v2 .need-side {
  margin: 0;
  padding-block-start: 6px;
}

/* One quote from the same kind of company */
.peer {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 20px clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.peer-logo img {
  max-height: 64px;
  width: auto;
  max-width: 200px;
}

.peer blockquote {
  margin: 0;
}

.peer .quote-title {
  font-size: 1.375rem;
  line-height: 1.36;
}

.peer blockquote p {
  max-width: 640px;
  line-height: 1.6;
}

.peer blockquote .quote-title ~ p + p {
  margin-block-start: 12px;
}

.peer-who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 20px;
}

.peer-who .avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.peer-who cite {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.3;
}

.peer-who .where {
  display: block;
  font-size: 0.9375rem;
  color: var(--faint);
}

/* Closing panel: which edition, then the action */
.closing {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.closing-fit {
  padding: clamp(24px, 3vw, 40px);
  background: var(--paper);
}

.closing-fit .prose {
  margin-block-start: 14px;
}

.closing-fit .btn-row {
  margin-block-start: 22px;
}

.closing-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3vw, 40px);
  background: var(--navy);
  color: rgb(255 255 255 / 0.86);
}

.closing-cta h2 {
  color: #fff;
}

.closing-cta .btn-row {
  margin-block-start: 22px;
}

.closing-cta .cta-note {
  margin-block-start: 14px;
  color: rgb(255 255 255 / 0.86);
}

.closing-cta :focus-visible {
  outline-color: #fff;
}

.closing-note {
  margin-block-start: 20px;
}

/* Pages without the edition text: the action alone */
.closing.is-single {
  grid-template-columns: minmax(0, 1fr);
}

.closing.is-single .closing-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "head buttons"
    "note buttons";
  column-gap: 40px;
  align-items: center;
}

.closing.is-single .closing-cta h2 {
  grid-area: head;
}

.closing.is-single .closing-cta .btn-row {
  grid-area: buttons;
  margin-block-start: 0;
}

.closing.is-single .closing-cta .cta-note {
  grid-area: note;
}

@media (max-width: 900px) {
  .closing.is-single .closing-cta {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "head"
      "buttons"
      "note";
  }

  .closing.is-single .closing-cta .btn-row {
    margin-block-start: 22px;
  }

  .aud-hero-grid,
  .need-group,
  .need-group.is-flip,
  .peer,
  .closing {
    grid-template-columns: minmax(0, 1fr);
  }

  .need-group.is-flip .need-side {
    order: 0;
  }

  .need-side {
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  /* Phones: title, one sentence and the buttons come first */
  .aud-photo {
    display: none;
  }

  .peer .quote-title {
    font-size: 1.25rem;
  }

  .aud-tabs-row {
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
    padding-inline-end: 40px;
  }

  [dir="rtl"] .aud-tabs-row {
    -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent);
    mask-image: linear-gradient(to left, #000 calc(100% - 40px), transparent);
  }
}

/* =====================================================================
   T5  SEGMENT PAGE (species or product)
   The needs are all visible, like a specification sheet. A page that has
   a screen of a formula for its species shows it beside them.
   ===================================================================== */
.seg-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(36px, 4.4vw, 60px);
}

.seg-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.seg-grid.has-shot {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.seg-cells {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0 clamp(24px, 3vw, 40px);
}

.has-shot .seg-cells {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.seg-cell {
  padding-block: 20px 24px;
  border-block-start: 1px solid var(--hair);
}

.seg-cell h3 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink);
}

.seg-cell p {
  margin-block-start: 6px;
  font-size: 1rem;
  line-height: 1.55;
}

.seg-cell a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.seg-cell a:hover {
  color: var(--ink);
}

.v2 .seg-shot {
  direction: ltr;
}

.seg-shot picture {
  display: block;
}

/* The screen stays in view while the needs are read, on windows tall enough for it */
@media (min-width: 901px) and (min-height: 940px) {
  .v2 .seg-shot {
    position: sticky;
    inset-block-start: calc(var(--header-h) + 24px);
  }
}

@media (max-width: 900px) {
  .seg-grid.has-shot {
    grid-template-columns: minmax(0, 1fr);
  }

  .seg-cells,
  .has-shot .seg-cells {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .v2 .seg-shot {
    order: -1;
    max-width: 560px;
  }
}

@media (max-width: 640px) {
  .seg-cells,
  .has-shot .seg-cells {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   T7  SWITCH AND COMPARISON
   A list to check on one side, the switch and the action on the other.
   ===================================================================== */
.alt-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(36px, 4.4vw, 60px);
}

.alt-head .t-lede {
  margin-block-start: 18px;
  max-width: 760px;
}

.alt-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 32px clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.fit-list {
  margin: clamp(20px, 2.6vw, 32px) 0 0;
  padding: 0;
  list-style: none;
}

.fit-list li {
  position: relative;
  padding-block: 18px 20px;
  padding-inline-start: 44px;
  border-block-start: 1px solid var(--hair);
}

.fit-list li:last-child {
  border-block-end: 1px solid var(--hair);
}

.fit-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 6px;
  inset-block-start: 25px;
  width: 17px;
  height: 9px;
  border-left: 2.6px solid var(--ok);
  border-bottom: 2.6px solid var(--ok);
  transform: rotate(-45deg);
}

.fit-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.fit-list p {
  margin-block-start: 4px;
  max-width: var(--w-body);
}

.fit-list a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.alt-how {
  padding: clamp(24px, 3vw, 36px);
  border-radius: 12px;
  background: var(--navy);
  color: rgb(255 255 255 / 0.86);
}

.alt-how h2 {
  color: #fff;
}

.how-list {
  display: grid;
  gap: 12px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.how-list li {
  position: relative;
  padding-inline-start: 26px;
  line-height: 1.5;
}

.how-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 2px;
  inset-block-start: 0.4em;
  width: 12px;
  height: 6px;
  border-left: 2.2px solid #fff;
  border-bottom: 2.2px solid #fff;
  transform: rotate(-45deg);
}

.alt-how .btn-row {
  flex-direction: column;
  align-items: stretch;
  margin-block-start: 24px;
}

/* a long label (German) wraps inside the panel */
.alt-how .btn-row .btn {
  white-space: normal;
  text-align: center;
}

.alt-how :focus-visible {
  outline-color: #fff;
}

/* trademark line under the list */
.t-alt .closing-note {
  font-size: 0.9375rem;
  color: var(--faint);
}

@media (min-width: 901px) {
  .alt-how {
    position: sticky;
    inset-block-start: calc(var(--header-h) + 24px);
  }
}

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

/* =====================================================================
   T11  FREQUENTLY ASKED QUESTIONS
   Topics on one side, questions on the other, all closed.
   ===================================================================== */
.faq-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(32px, 4vw, 52px);
}

.faq-head .t-lede {
  margin-block-start: 18px;
  max-width: 760px;
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 24px clamp(24px, 3vw, 48px);
  align-items: start;
}

.faq-nav {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 24px);
}

.faq-nav ul {
  display: grid;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.faq-nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 9px 14px;
  margin-inline-start: -14px;
  border-radius: 8px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}

.faq-nav a:hover {
  background: rgb(22 35 46 / 0.06);
}

.faq-nav .n {
  font-size: 0.9375rem;
  color: var(--faint);
}

.faq-group + .faq-group {
  margin-block-start: clamp(28px, 3.4vw, 44px);
}

.faq-group > h2 {
  margin-block-end: 12px;
}

.qa-list {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}

.qa + .qa {
  border-block-start: 1px solid var(--line);
}

.qa > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 24px;
  cursor: pointer;
  list-style: none;
}

.qa > summary::-webkit-details-marker {
  display: none;
}

.qa > summary:hover {
  background: rgb(22 35 46 / 0.025);
}

.qa > summary:focus-visible {
  outline: 2px solid var(--orange-press);
  outline-offset: -2px;
  border-radius: 10px;
}

.qa-q {
  min-width: 0;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.qa > summary svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease-out);
}

.qa[open] > summary svg {
  transform: rotate(180deg);
}

.qa[open] > summary {
  padding-block-end: 8px;
}

.qa-a {
  padding: 0 24px 22px;
}

.v2 .qa-a p {
  max-width: 680px;
}

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

  .faq-nav {
    position: static;
  }

  .faq-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .faq-nav a {
    min-height: 40px;
    margin: 0;
    padding: 7px 14px;
    border: 1px solid var(--control);
    border-radius: 999px;
    background: var(--paper);
    font-size: 0.9375rem;
  }

  .qa > summary {
    padding: 15px 18px;
  }

  .qa-a {
    padding: 0 18px 20px;
  }
}

/* =====================================================================
   T12  FORM PAGE (demo request)
   What follows on one side, the form on the other. On phones the form
   comes right after the first sentence.
   ===================================================================== */
.t-form main {
  background: var(--field);
}

.f-page {
  padding-block: clamp(32px, 4.4vw, 64px) clamp(48px, 6vw, 88px);
}

.f-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "intro form"
    "next  form";
  gap: 0 clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.f-intro {
  grid-area: intro;
}

.f-next {
  grid-area: next;
}

.f-card {
  grid-area: form;
  padding: clamp(22px, 2.6vw, 36px);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  box-shadow: 0 16px 40px -24px rgb(22 35 46 / 0.25);
}

.f-intro .t-lede {
  margin-block-start: 18px;
}

/* What happens after the request: a real sequence, so it is numbered */
.steps {
  counter-reset: step;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.steps li {
  counter-increment: step;
  position: relative;
  min-height: 34px;
  padding-block-end: 22px;
  padding-inline-start: 52px;
  line-height: 1.5;
  color: var(--ink);
}

.steps li::before {
  content: counter(step);
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: -5px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: var(--paper);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--blue);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  inset-inline-start: 17px;
  inset-block: 31px 2px;
  width: 1px;
  background: var(--hair);
}

.f-proof {
  margin-block-start: 10px;
  padding-block-start: 22px;
  border-block-start: 1px solid var(--hair);
}

.f-proof-label {
  font-size: 0.9375rem;
  color: var(--faint);
}

.f-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.f-logos img {
  width: auto;
  height: 28px;
  mix-blend-mode: multiply;
}

.f-logos img.is-tall {
  height: 36px;
}

.f-logos img.is-short {
  height: 21px;
}

.v2 .f-alt {
  margin-block-start: 26px;
}

.v2 .f-alt a {
  margin-inline-start: 0;
  white-space: nowrap;
}

.f-card .opt {
  font-weight: 500;
  color: var(--faint);
}

.f-card .form-submit {
  width: 100%;
}

@media (max-width: 900px) {
  .f-grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas:
      "intro"
      "form"
      "next";
  }

  .f-card {
    margin-block-start: 24px;
  }
}

@media (max-width: 560px) {
  /* one field per row, so a placeholder is never cut */
  .f-card .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* =====================================================================
   T8  GUIDE
   One column for reading, the list of sections beside it.
   ===================================================================== */
.g-head {
  padding-block: clamp(28px, 4vw, 52px) clamp(28px, 3.4vw, 44px);
  border-block-end: 1px solid var(--line);
}

.g-grid {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 12px clamp(24px, 3vw, 48px);
  align-items: start;
}

.g-crumb {
  padding-block-start: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
}

.g-crumb a {
  color: var(--blue);
  text-underline-offset: 3px;
}

.g-title {
  max-width: 760px;
}

.g-title .t-lede {
  margin-block-start: 18px;
}

.g-main {
  padding-block: clamp(32px, 4vw, 56px) clamp(24px, 3vw, 40px);
}

.g-toc {
  position: sticky;
  inset-block-start: calc(var(--header-h) + 24px);
}

.g-toc-label {
  margin-block-end: 10px;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink);
}

.g-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  border-inline-start: 1px solid var(--line);
}

.g-toc a {
  display: block;
  padding: 7px 0 7px 16px;
  margin-inline-start: -1px;
  border-inline-start: 2px solid transparent;
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--body);
  text-decoration: none;
}

[dir="rtl"] .g-toc a {
  padding: 7px 16px 7px 0;
}

.g-toc a:hover {
  color: var(--ink);
  border-inline-start-color: var(--blue);
}

.g-article {
  max-width: 700px;
}

.g-part + .g-part {
  margin-block-start: clamp(28px, 3.4vw, 40px);
}

.g-part h2 {
  margin-block-end: 12px;
}

.v2 .g-article p,
.v2 .g-article li {
  max-width: 680px;
  font-size: 1.0625rem;
  line-height: 1.65;
}

.g-article ul {
  display: grid;
  gap: 8px;
  margin: 12px 0;
  padding-inline-start: 22px;
  list-style: disc;
}

.g-article li::marker {
  color: var(--faint);
}

.g-article p + p,
.g-article ul + p {
  margin-block-start: 12px;
}

/* The worked example and the part about AFOS stand out from the reading */
.g-box {
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: 12px;
}

.g-example {
  border: 1px solid var(--line);
  background: var(--field);
}

.g-afos {
  background: var(--blue-tint);
}

.g-next-sec {
  padding-block: 8px clamp(40px, 5vw, 64px);
}

.g-next {
  grid-column: 2;
  max-width: 700px;
}

.g-next-card {
  display: grid;
  gap: 6px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--body);
  text-decoration: none;
  transition: border-color 0.15s var(--ease-out);
}

.g-next-card:hover {
  border-color: var(--control);
}

.g-next-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink);
}

.g-next-title svg {
  width: 20px;
  height: 20px;
  flex: none;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .g-next-title svg {
  transform: scaleX(-1);
}

.g-next > p {
  margin-block-start: 16px;
}

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

  .g-toc {
    position: static;
    padding-block-end: 8px;
  }

  .g-next {
    grid-column: 1;
  }
}

/* =====================================================================
   T6  HUB (Industries)
   Large cards, the title and the link at the bottom lead to the page.
   ===================================================================== */
.hub-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(32px, 4vw, 48px);
}

.hub-head .t-lede {
  margin-block-start: 18px;
  max-width: 760px;
}

.hub-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block-start: 28px;
}

.hub-chips-label {
  margin-inline-end: 6px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--faint);
}

.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.hub-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
  transition: border-color 0.15s var(--ease-out);
}

.hub-card.is-link:hover {
  border-color: var(--control);
}

.hub-photo {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.hub-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 10px;
  padding: 22px 24px 24px;
}

.hub-body h2 a {
  color: var(--ink);
  text-decoration: none;
}

/* the title link covers the card. Links inside the text stay on top of it */
.hub-card.is-link .hub-body h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hub-body p {
  font-size: 1rem;
  line-height: 1.55;
}

.hub-body p a {
  position: relative;
  z-index: 1;
  color: var(--blue);
  text-underline-offset: 3px;
}

.hub-in {
  padding-block-start: 10px;
  border-block-start: 1px solid var(--hair);
}

.hub-body .more-link,
.hub-children {
  margin-block-start: auto;
  padding-block-start: 6px;
}

.hub-children {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.v2 .hub-children a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-weight: 700;
  color: var(--blue);
  text-decoration: none;
}

.hub-children a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hub-children svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .hub-children svg {
  transform: scaleX(-1);
}

.hub-card :focus-visible {
  outline: 2px solid var(--orange-press);
  outline-offset: 3px;
}

@media (max-width: 1000px) {
  .hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

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

  .hub-photo {
    aspect-ratio: 2 / 1;
  }
}

/* =====================================================================
   T10  FACT SHEET
   One table: the topic on one side, the statement on the other.
   ===================================================================== */
.fs-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(32px, 4vw, 48px);
}

.fs-head-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 40px;
}

.fs-head .t-lede {
  margin-block-start: 18px;
  max-width: 760px;
}

.fs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  overflow: hidden;
}

.fs-table th,
.fs-table td {
  padding: 18px 24px;
  text-align: start;
  vertical-align: top;
}

.fs-table tr + tr th,
.fs-table tr + tr td {
  border-block-start: 1px solid var(--line);
}

.fs-table th {
  width: 30%;
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.45;
  color: var(--ink);
}

.fs-table td p {
  max-width: 680px;
  line-height: 1.6;
}

.fs-table td p + p {
  margin-block-start: 8px;
}

@media (max-width: 640px) {
  .fs-table,
  .fs-table tbody,
  .fs-table tr,
  .fs-table th,
  .fs-table td {
    display: block;
    width: auto;
  }

  .fs-table th {
    padding-block-end: 4px;
  }

  .fs-table td {
    padding-block-start: 0;
  }

  .fs-table tr + tr td {
    border-block-start: 0;
  }
}

/* =====================================================================
   T9  CUSTOM SOLUTIONS (examples of custom work)
   A list of the examples at the top, then one row per example.
   ===================================================================== */
.cs-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(32px, 4vw, 52px);
}

.cs-head-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 28px clamp(28px, 4.5vw, 64px);
  align-items: end;
}

.cs-head .t-lede {
  margin-block-start: 18px;
}

.cs-more {
  margin-block-start: 10px;
  max-width: var(--w-body);
}

.cs-head .btn-row {
  margin-block-start: 26px;
}

.cs-index {
  margin: 0;
  padding: 0;
  list-style: none;
  border-block-start: 1px solid var(--line);
}

.cs-index a {
  display: block;
  padding: 11px 0;
  border-block-end: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
  text-decoration: none;
}

.cs-index a:hover {
  color: var(--blue);
}

/* white, so the illustrations with a white ground sit on the same colour */
.cs-list {
  border-block-start: 1px solid var(--line);
}

.cs-row {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.cs-row + .cs-row {
  margin-block-start: clamp(28px, 3.4vw, 44px);
  padding-block-start: clamp(28px, 3.4vw, 44px);
  border-block-start: 1px solid var(--hair);
}

.cs-row.is-flip {
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.cs-row.is-flip .cs-stage {
  order: 1;
}

.cs-stage img {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin-inline: auto;
}

.cs-body h2 {
  margin-block-end: 12px;
}

.cs-body .prose p + p {
  margin-block-start: 12px;
}

.cs-tech {
  margin-block-start: 16px;
  border-block-start: 1px solid var(--hair);
}

.cs-tech > summary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-block: 12px 4px;
  font-weight: 700;
  color: var(--blue);
  cursor: pointer;
  list-style: none;
}

.cs-tech > summary::-webkit-details-marker {
  display: none;
}

.cs-tech > summary svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s var(--ease-out);
}

.cs-tech[open] > summary svg {
  transform: rotate(180deg);
}

.cs-tech .prose {
  padding-block: 8px 4px;
}

.cs-tech .prose p {
  font-size: 1rem;
}

.cs-tech .prose p + p {
  margin-block-start: 10px;
}

@media (max-width: 900px) {
  .cs-head-grid,
  .cs-row,
  .cs-row.is-flip {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs-row.is-flip .cs-stage {
    order: 0;
  }

  .cs-stage img {
    max-width: 380px;
    margin-inline: 0;
  }
}

/* =====================================================================
   Rollout to the remaining pages (Nov 19): variants of the templates
   ===================================================================== */

/* T5: three needs in a row (TMR), needs as section headings where the page has no list heading */
.seg-cells.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.seg-cell h2 {
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1.36;
  color: var(--ink);
}

.tmr-shot {
  margin: clamp(28px, 3.4vw, 44px) 0 0;
}

.closing-fit .compare-scroll {
  margin-block-start: 22px;
}

.closing-fit .compare-table {
  min-width: 0;
  width: 100%;
}

/* T7: list without its own heading, panel with the buttons only, panel with the closing text */
.fit-list.is-first {
  margin-block-start: 0;
}

.alt-how.is-buttons .btn-row {
  margin-block-start: 0;
}

.how-note {
  margin-block-start: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

/* T6: cards without a photo (Guides) */
.hub-card.is-text .hub-body {
  padding: 24px 26px 26px;
}

.hub-arrow {
  margin-block-start: auto;
  padding-block-start: 6px;
}

.hub-arrow svg {
  width: 22px;
  height: 22px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

[dir="rtl"] .hub-arrow svg {
  transform: scaleX(-1);
}

/* T10: text blocks and the two-column split */
.fs-block {
  margin-block-start: clamp(24px, 3vw, 36px);
  max-width: 760px;
}

.fs-block .prose {
  margin-block-start: 10px;
}

.fs-block .btn-row {
  margin-block-start: 20px;
}

.fs-block.is-side {
  margin-block-start: 0;
}

.fs-split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 24px clamp(28px, 4.5vw, 64px);
  align-items: center;
}

.fs-split.is-top {
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: start;
}

.fs-label {
  margin-block-end: 14px;
}

.fs-fig {
  margin: 0;
}

@media (max-width: 900px) {
  .fs-split,
  .fs-split.is-top {
    grid-template-columns: minmax(0, 1fr);
  }

  .seg-cells.is-three {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* T12: contact details beside the form */
.f-info + .f-info {
  margin-block-start: 22px;
}

.f-next .f-info:first-child {
  margin-block-start: 30px;
}

.f-info p {
  margin-block-start: 6px;
  line-height: 1.55;
}

.f-info a {
  color: var(--blue);
  text-underline-offset: 3px;
}

/* Legal pages: one column for reading */
.lg-head {
  padding-block: clamp(32px, 4.4vw, 56px) clamp(24px, 3vw, 36px);
  border-block-end: 1px solid var(--line);
}

.lg-main {
  padding-block: clamp(32px, 4vw, 56px) clamp(48px, 6vw, 88px);
}

.lg-prose {
  max-width: 720px;
}

.v2 .lg-prose p {
  max-width: 720px;
  line-height: 1.65;
}

.lg-prose p + p {
  margin-block-start: 16px;
}

.lg-prose strong {
  color: var(--ink);
}

/* Thank you and not found */
.u-page {
  padding-block: clamp(40px, 6vw, 96px) clamp(56px, 8vw, 120px);
  min-height: 52vh;
}

.u-page .t-lede {
  margin-block-start: 18px;
}

.u-label {
  margin-block-start: 26px;
  font-weight: 600;
  color: var(--ink);
}

.u-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-block-start: 12px;
}

.u-page .btn-row {
  margin-block-start: 28px;
}

/* ---------- Full-size view of a screen ---------- */
.zoom-box {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: auto;
  overscroll-behavior: contain;
  background: rgb(22 35 46 / 0.9);
}

.zoom-box-in {
  display: grid;
  place-items: center;
  box-sizing: border-box;
  min-width: 100%;
  min-height: 100%;
  width: max-content;
  padding: 68px clamp(12px, 3vw, 40px) clamp(16px, 3vw, 40px);
}

.zoom-box img {
  display: block;
  max-width: none;
  height: auto;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 32px 64px -24px rgb(0 0 0 / 0.6);
}

.zoom-close {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 201;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--ink, #16232e);
  cursor: pointer;
}

.zoom-close svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.zoom-close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* ---------- Small screens, shared ---------- */
@media (max-width: 640px) {
  .v2 main .btn-row .btn {
    flex: 1 1 auto;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .v2 .sw-chev,
  .v2 .fx-chev,
  .v2 .need > summary svg,
  .v2 .qa > summary svg,
  .v2 .cs-tech > summary svg {
    transition: none;
  }
}
