/* components.css: the component library. Every component is a class with BEM-ish
   element and modifier names. Colours, radii, type and spacing come from tokens only.

   Index
   1. Buttons            .btn
   2. Inputs             .input .field
   3. Eyebrow            .eyebrow
   4. Badges             .badge .tag
   5. Cards              .card .card-group .plan
   6. Check list         .checklist
   7. Window             .window
   8. Site nav           .nav
   9. Sub nav            .subnav
  10. Logo strip         .logo-strip
  11. Quote              .quote
  12. Stat               .stat
  13. FAQ                .faq
  14. Compare table      .compare
  15. Tiles              .tile
  16. Footer             .footer
  17. Media              .media .shader-frame
*/

/* 1. Buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--control-md); padding: 10px var(--space-3); border-radius: var(--radius-sm); border: 1px solid transparent;  /* no fixed height: padding sets the size (14px label + 10px above and below + 1px borders = 36px) and the control token is only a floor, so a wrapped label or a larger icon grows the button instead of overflowing it */
  font-family: var(--font-body); font-size: var(--text-body-sm-size); letter-spacing: 0; line-height: 1;  /* GT Standard, sentence case (was uppercase mono) */
  text-align: center; cursor: pointer; text-decoration: none; user-select: none;
  transition: background-color var(--motion-duration-fast) ease, color var(--motion-duration-fast) ease, border-color var(--motion-duration-fast) ease, transform var(--motion-duration-fast) ease;
}
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; pointer-events: none; }
.btn--sm { min-height: var(--control-sm); padding: 8px var(--space-2); font-size: var(--text-mono-size); }
.btn--lg { min-height: var(--control-lg); padding: 11px var(--space-4); font-size: var(--text-body-size); }
.btn--block { width: 100%; }

.btn--primary { background: var(--color-primary); color: var(--color-primary-fg); border-color: var(--color-primary); }
.btn--primary:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: var(--color-primary-fg); }
.btn--primary:active { background: var(--color-primary-active); border-color: var(--color-primary-active); }

.btn--outline { background: var(--color-bg-blur); color: var(--color-ink); border-color: color-mix(in oklab, var(--color-ink) 36%, transparent); }  /* a lighter edge than the label; it firms up on hover */
.btn--outline:hover { background: color-mix(in oklab, var(--color-bg) 88%, var(--color-ink)); color: var(--color-ink); border-color: color-mix(in oklab, var(--color-ink) 60%, transparent); }

.btn--ghost { background: transparent; color: var(--color-ink); }
.btn--ghost:hover { background: var(--color-hover); color: var(--color-ink); }

.btn--inverse { background: var(--color-ink); color: var(--color-bg); border-color: var(--color-ink); }
.btn--inverse:hover { background: color-mix(in oklab, var(--color-ink) 85%, var(--color-bg)); color: var(--color-bg); }

.btn__icon { width: 14px; height: 14px; flex: none; }
/* Lucide icons (ds.js > DS.icons). <i data-icon="arrow-right"></i> is filled with the inline SVG; the glyph sits on the text's
   cap height, 1em square, 2px round strokes in currentColor. --icon-size overrides. */
.icon { display: inline-block; width: var(--icon-size, 1em); height: var(--icon-size, 1em); flex: none; vertical-align: -0.15em; }
.icon svg { display: block; width: 100%; height: 100%; }  /* both sets fill the box: Lucide strokes and the filled glyph set alike */
.icon--glyph svg { fill: currentColor; }
.tile__mark .icon { --icon-size: 56%; color: var(--palette-zero); }  /* a glyph on a tile's ink disc, same inset as a logo */
.btn .icon { --icon-size: 14px; margin-right: -2px; }
.btn--xs .icon, .btn--sm .icon { --icon-size: 12px; }
.btn--lg .icon, .btn--xl .icon { --icon-size: 16px; }
.icon-btn .icon, .pager__arrow .icon { --icon-size: 16px; }
.icon-btn--xs .icon, .pager--xs .pager__arrow .icon { --icon-size: 12px; }

/* Icon-only square button (carousel arrows, copy). */
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: var(--control-md); height: var(--control-md); border-radius: var(--radius-sm); border: 1px solid var(--color-line); color: var(--color-ink); background: transparent; transition: background var(--motion-duration-fast) ease, opacity var(--motion-duration-fast) ease; }
.icon-btn:hover { background: var(--color-hover); color: var(--color-ink); }
.icon-btn:disabled { opacity: .3; pointer-events: none; }

/* 2. Inputs -------------------------------------------------------------- */
.input {
  display: block; width: 100%; height: var(--control-lg); padding: 0 var(--space-3);
  background: var(--color-bg-blur); color: var(--color-ink); border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 13px; line-height: 1;
  transition: border-color var(--motion-duration-fast) ease, box-shadow var(--motion-duration-fast) ease;
}
.input::placeholder { color: var(--color-muted); }
.input:hover { border-color: var(--color-line-strong); }
.input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 25%, transparent); }
.input--sm { height: var(--control-md); }
textarea.input { height: auto; min-height: 96px; padding: 10px 12px; line-height: 1.5; resize: vertical; }
select.input { appearance: none; padding-right: 32px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%23888' stroke-width='1.3'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }

.field { display: flex; flex-direction: column; gap: 6px; }
.field__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.field__hint { font-family: var(--font-body); font-size: 12px; color: var(--color-muted); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
/* Form: the lead-capture layout (Hardened Images demo request, the partner application) built from the atoms above:
   .field rows, pairs in a .form-grid, an optional mono group title, a .check row for consent, and an action row with the
   button and the small print. Put the form on a .card (card--raised card--roomy) when it sits beside copy in a split;
   required fields take .field--required, which draws the asterisk after the label. */
.form { display: flex; flex-direction: column; gap: var(--space-6); }
.form__head { display: flex; flex-direction: column; gap: var(--space-2); }
.form__group { display: flex; flex-direction: column; gap: var(--space-3); }
.form__group-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-ink); }
.field--required .field__label::after { content: " *"; color: var(--color-tertiary); }
.form__actions { display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.form__note { font-family: var(--font-body); font-size: 12px; line-height: 1.5; color: var(--color-muted); }
/* Check: a labelled checkbox (consent lines, option lists). The box follows the input's border and focus ring; the tick
   is drawn, so it takes the primary colour in both themes. */
.check { display: flex; gap: var(--space-3); align-items: flex-start; font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--color-body); cursor: pointer; }
.check input { appearance: none; flex: none; width: 16px; height: 16px; margin: 2px 0 0; border: 1px solid var(--color-line-strong); border-radius: 3px; background: var(--color-bg-blur); display: grid; place-content: center; cursor: pointer; transition: border-color var(--motion-duration-fast) ease, background-color var(--motion-duration-fast) ease, box-shadow var(--motion-duration-fast) ease; }
.check input::after { content: ""; width: 8px; height: 4px; border-left: 1.5px solid var(--color-primary-fg); border-bottom: 1.5px solid var(--color-primary-fg); transform: translateY(-1px) rotate(-45deg); opacity: 0; transition: opacity var(--motion-duration-fast) ease; }
.check input:hover { border-color: var(--color-ink); }
.check input:checked { background: var(--color-primary); border-color: var(--color-primary); }
.check input:checked::after { opacity: 1; }
.check input:focus-visible { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-primary) 25%, transparent); }
.check a { color: var(--color-ink); text-decoration: underline; text-underline-offset: 2px; }

/* 3. Eyebrow ------------------------------------------------------------- */
/* Section kicker. Plain by default; --boxed adds the outlined chip with orange corner marks. */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--text-eyebrow-family); font-size: var(--text-eyebrow-size); font-weight: var(--text-eyebrow-weight); line-height: var(--text-eyebrow-leading); letter-spacing: var(--text-eyebrow-tracking); text-transform: uppercase; color: var(--color-muted); }
.eyebrow--ink { color: var(--color-ink); }
.card > .eyebrow, .stack > .eyebrow { align-self: flex-start; }  /* in a flex column the chip hugs its copy instead of stretching */
.eyebrow--tertiary { color: var(--color-tertiary); }
/* Boxed eyebrow (the section kicker): <span class="eyebrow eyebrow--boxed">Why Docker</span> */
.eyebrow--boxed { position: relative; width: max-content; max-width: 100%; align-self: flex-start; justify-self: start; padding: 1px 5px; border: 1px solid color-mix(in oklab, currentColor 32%, transparent); border-radius: var(--radius-md); font-family: var(--font-display); font-size: var(--text-mono-sm-size); font-weight: 500; letter-spacing: .04em; color: var(--color-ink); }  /* section kicker: GT Planar caps in a rounded hairline box (6px corners), the rule a step lighter than the text; hugs its text in any container */
.eyebrow--boxed::before, .eyebrow--boxed::after, .eyebrow__corner { display: none; }  /* the old corner squares: markup may still carry an .eyebrow__corner, so it stays harmless */
/* A status pill beside a boxed eyebrow ("New", "Now free") is drawn at the eyebrow's size and rounding, so the pair reads as one row (bundle 11, 2026-11-16). */
.eyebrow--boxed + .badge { padding: 1px 5px; border: 1px solid transparent; border-radius: var(--radius-md); font-family: var(--font-display); font-size: var(--text-mono-sm-size); font-weight: 500; line-height: var(--text-eyebrow-leading); letter-spacing: .04em; }
.eyebrow--boxed + .badge--outline { border-color: color-mix(in oklab, currentColor 32%, transparent); }
.eyebrow__dot { width: 6px; height: 6px; border-radius: var(--radius-full); background: var(--color-accent); flex: none; }

/* 4. Badges -------------------------------------------------------------- */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 8px; border-radius: var(--radius-sm); font-family: var(--font-mono); font-size: 11px; line-height: 1.5; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.badge--allow { background: var(--color-badge-allow-bg); color: var(--color-badge-allow-fg); }
.badge--scope { background: var(--color-badge-scope-bg); color: var(--color-badge-scope-fg); }
.badge--deny  { background: var(--color-badge-deny-bg);  color: var(--color-badge-deny-fg); }
.badge--neutral { background: var(--color-panel); color: var(--color-muted); }
.badge--new { padding: 3px 5px; font-size: var(--text-micro-size); line-height: var(--text-micro-leading); background: var(--color-primary); color: var(--color-primary-fg); border-radius: var(--radius-sm); }
.badge--pill { border-radius: var(--radius-pill); }
.badge--outline { background: transparent; border: 1px solid var(--color-line); color: var(--color-ink); }

/* Keyboard hint, e.g. [P] in the nav. */
.kbd { color: var(--color-muted); font-family: var(--font-mono); }

/* 5. Cards --------------------------------------------------------------- */
/* One Card. Fill, border and radius are fixed; content is composed from the
   element classes. Add .card--interactive when the whole card is a link or button:
   it gets the hard offset shadow on hover. Static cards get a soft lift. */
.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  padding: var(--space-8) var(--space-6);
  background: var(--color-surface); color: var(--color-ink);
  border: 1px solid var(--color-line); border-radius: var(--radius-sm);
  transition: background-color .25s ease, border-color .25s ease, transform .35s var(--motion-ease-out), box-shadow .35s ease;
}
.card--tight { padding: var(--space-5) var(--space-5); }
.card--roomy { padding: var(--space-10) var(--space-8); }
.card--flush { padding: 0; }
.card--transparent { background: transparent; }
.card--panel { background: var(--color-panel); border-color: var(--color-line-soft); }
.card--raised { background: var(--color-surface-raised); }
.card--rounded { border-radius: var(--radius-card); }  /* 24px corners: the hero plan cards on Pricing */

/* Static hover: soft lift (feature cards). */
.card--hover:hover, .card--hover[data-hov] { background: var(--color-surface-raised); transform: translateY(-4px); box-shadow: var(--shadow-card-lift); z-index: 1; }

/* Interactive hover: hard offset shadow (plan cards, link cards). */
.card--interactive { cursor: pointer; transition: transform .2s var(--motion-ease-out), box-shadow .2s var(--motion-ease-out), border-color .2s ease, background-color .25s ease; }
.card--interactive:hover, .card--interactive:focus-within { transform: translate(-4px, -6px); box-shadow: var(--shadow-card-hard); border-color: var(--color-line-strong); }

.card__eyebrow { font-family: var(--text-eyebrow-family); font-size: var(--text-eyebrow-size); font-weight: var(--text-eyebrow-weight); line-height: var(--text-eyebrow-leading); letter-spacing: var(--text-eyebrow-tracking); text-transform: uppercase; color: var(--color-muted); }
.card__eyebrow--tertiary { color: var(--color-tertiary); }
.card__title { font-family: var(--text-h3-family); font-size: var(--text-h3-size); font-weight: var(--text-h3-weight); line-height: var(--text-h3-leading); letter-spacing: var(--text-h3-tracking); color: var(--color-ink); margin-top: 6px; }
.card__eyebrow + .card__title { margin-top: 6px; }
.card__title:first-child { margin-top: 0; }
.card__body { font-family: var(--text-body-family); font-size: var(--text-body-size); line-height: var(--text-body-leading); color: var(--color-body); margin-top: 14px; }
.card__body--sm { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-leading); }
.card__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); margin-top: 12px; }
.card__footer { margin-top: auto; padding-top: var(--space-8); }
.card__footer--tight { padding-top: var(--space-5); }
/* Illustrated card: the drawing sits in flow above the copy, centred in whatever space the card leaves it, and the copy
   hugs the foot: title, then the hover copy opening beneath it, then the link (no auto margin on the footer, or the title
   would be pushed to the top). Per-drawing width via --illo-w on the element. ds.js refits each SVG's viewBox to its
   drawing, so the box is the drawing and it centres. The text paints above the drawing if the two ever meet on a short
   card. Used in a .card-group--cycle on Home and AI Governance. */
.card--illustrated { min-height: 320px; justify-content: flex-end; overflow: hidden; }
.card--illustrated .card__title:first-of-type { margin-top: 0; }
.card--illustrated .card__footer { margin-top: 0; }
.card--illustrated .card__title, .card--illustrated .card__more, .card--illustrated .card__footer { position: relative; }
.card__illo { width: 100%; flex: 1 0 auto; display: flex; justify-content: center; align-items: flex-start; padding: var(--space-4) 0 var(--space-10); color: var(--color-ink); pointer-events: none; transition: color .35s ease; --bg: var(--color-surface); }
.card--hover:hover .card__illo, .card--hover[data-hov] .card__illo { --bg: var(--color-surface-raised); }
.card__illo svg { display: block; width: auto; height: clamp(140px, 14vw, 210px); max-width: var(--illo-w, 52%); overflow: visible; }  /* sized by height, so a set of drawings shares one scale and stays clear of the title at every card width */
/* Expandable extra copy revealed on hover (grid-template-rows trick). */
.card__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .35s var(--motion-ease-out), opacity .3s ease; }
.card__more > * { overflow: hidden; }
.card--hover:hover .card__more, .card--hover[data-hov] .card__more, .card[data-active] .card__more { grid-template-rows: 1fr; opacity: 1; }
[data-illo][data-drawn] [data-draw] { transition: none; }  /* after the draw-in: without this, ending the hover march starts a 1.4s stroke-dashoffset transition from the animated value back to 0 and the outline visibly redraws */

/* Joined card group: cards share borders and only the outer corners are rounded. */
.card-group { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
.card-group > .card { border-radius: 0; }
.card-group > .card + .card { margin-left: -1px; }
.card-group > .card:first-child { border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.card-group > .card:last-child  { border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.card-group--4 { --cols: 4; }
.card-group--2 { --cols: 2; }
@media (max-width: 1023px) { .card-group--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-group--4 > .card + .card { margin-left: 0; } .card-group--4 > .card { margin: -1px 0 0 -1px; } }
@media (max-width: 767px) {
  .card-group { grid-template-columns: 1fr; }
  .card-group > .card + .card { margin-left: 0; margin-top: -1px; }
  .card-group > .card:first-child { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .card-group > .card:last-child  { border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
}

/* Cycling group shell (AI Governance capabilities today — Why Docker on Home retired its auto-rotate on 2026-11-17).
   The auto-cycle JS (`DS.cycleGroups`) is gone; the only remaining consumer opts out via `data-cycle-static`. These
   rules provide the hover shape: tall illustrated cards, a big foot-aligned title, `.card__more` reveal on hover,
   `.card__footer` link opacity on hover. No lift or shadow on hover: either would re-rasterise the hairline drawing. */
.card-group--cycle > .card { min-height: clamp(440px, 34vw, 640px); padding: var(--space-10) var(--space-8); }
.card-group--cycle > .card--hover:hover, .card-group--cycle > .card--hover[data-hov] { transform: none; box-shadow: none; z-index: auto; }
.card-group--cycle .card__title { font-size: var(--text-h2-sm-size); line-height: 1.05; letter-spacing: var(--text-h2-sm-tracking); margin-top: 0; }
/* Ponyo local patch: body copy is always visible on cycle cards (vs DS default which gates body behind hover/active). Only the "Learn more" link + bg tint + illo animations respond to active state. */
.card-group--cycle .card__more { padding-top: var(--space-2); grid-template-rows: 1fr; opacity: 1; }
.card-group--cycle .card__footer { padding-top: var(--space-5); opacity: 0; transition: opacity .3s ease; }
.card-group--cycle .card--hover:hover .card__footer, .card-group--cycle .card--hover[data-hov] .card__footer { opacity: 1; }

/* Plan card content (Pricing). Composes .card .card--interactive. */
.plan { padding: var(--space-7) var(--space-6) var(--space-6); }
.plan__price { display: flex; align-items: baseline; gap: 10px; margin-top: 10px; font-family: var(--text-h2-sm-family); font-size: var(--text-h2-sm-size); font-weight: var(--text-h2-sm-weight); line-height: 1; letter-spacing: var(--text-h2-sm-tracking); color: var(--color-ink); }
.card__eyebrow + .plan__price { margin-top: 6px; }  /* price used as the card title */
.plan__price small { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.plan__group { margin-top: var(--space-7); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); }
.plan__group + .checklist { margin-top: 12px; }
.plan .checklist { margin-top: var(--space-7); }
.plan__note { margin-top: 16px; font-family: var(--font-body); font-size: 12px; color: var(--color-muted); }
/* Hero plan card (Pricing): title and boxed eyebrow on one row, button and note on one row. */
.plan__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-2); flex-wrap: wrap; }
.plan__head .card__title { margin-top: 0; }
.plan__footer { display: flex; align-items: center; gap: var(--space-4); flex-wrap: wrap; }
.plan__footer .plan__note { margin-top: 0; flex: 1 1 200px; font-size: 13px; line-height: 1.5; }

/* Blog card (horizontal accordion carousel). Width comes from --w set in markup/JS. */
.blog-card { position: relative; flex: none; width: var(--w, 98px); height: 100%; border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; background: var(--color-surface); transition: width .5s var(--motion-ease-out); }
.blog-card::after { content: ''; position: absolute; inset: 0; background: color-mix(in oklab, var(--palette-zero) 0%, transparent); transition: background .3s ease; }
.blog-card:hover { width: calc(var(--w, 98px) + 20px); }
.blog-card:hover::after { background: color-mix(in oklab, var(--palette-zero) 8%, transparent); }
.blog-card img { width: 100%; height: 100%; object-fit: cover; }
.blog-card__date { position: absolute; left: 16px; bottom: 16px; z-index: 1; background: var(--color-surface); color: var(--color-ink); }
.blog-card__whale { position: absolute; right: 16px; bottom: 16px; width: 28px; aspect-ratio: 1252 / 758; z-index: 1; background: var(--color-logo-icon); -webkit-mask: url('/asset?u=https%3A%2F%2Fwww.docker.com%2Fapp%2Fthemes%2Fponyo%2Fassets%2Fblocks%2Frebrand%2Fsource%2Fassets%2Fwhale-mark.svg') center / contain no-repeat; mask: url('/asset?u=https%3A%2F%2Fwww.docker.com%2Fapp%2Fthemes%2Fponyo%2Fassets%2Fblocks%2Frebrand%2Fsource%2Fassets%2Fwhale-mark.svg') center / contain no-repeat; }  /* Ponyo local patch — whale-mark.svg lives in the rebrand source/assets since the DS port never copied it to design-system/assets. See SKILL.md "Local DS patches". */
/* Pager: dots plus previous/next arrows for carousels. Dots and arrows are two outlined groups
   on the panel surface, the height of a button. aria-current="true" marks the active dot.
   <div class="pager"><div class="pager__dots" role="group"><button class="pager__dot" aria-current="true"></button>…</div>
   <div class="pager__arrows"><button class="pager__arrow">←</button><button class="pager__arrow">→</button></div></div> */
.pager { display: flex; justify-content: space-between; align-items: center; gap: var(--space-4); }
.pager__dots { display: flex; align-items: center; gap: 6px; height: var(--control-md); padding: 0 var(--space-3); border: 1px solid var(--color-line-soft); border-radius: var(--radius-sm); background: var(--color-panel); }
.pager__dot { width: 6px; height: 6px; border-radius: var(--radius-sm); background: color-mix(in oklab, var(--color-ink) 30%, transparent); transition: width var(--motion-duration-base) var(--motion-ease-out), background-color var(--motion-duration-fast) ease; }
.pager__dot[aria-current="true"] { width: var(--space-8); background: var(--color-ink); }
.pager__arrows { display: flex; border: 1px solid var(--color-line-soft); border-radius: var(--radius-sm); overflow: hidden; background: var(--color-panel); }
.pager__arrow { width: var(--control-md); height: var(--control-md); color: var(--color-ink); font-size: var(--text-mono-size); transition: opacity var(--motion-duration-fast) ease; }
.pager__arrow:hover { background: var(--color-hover); }
.pager__arrow:disabled { opacity: .3; cursor: default; background: transparent; }
.pager__arrow + .pager__arrow { border-left: 1px solid var(--color-line-soft); }

/* 6. Check list ---------------------------------------------------------- */
.checklist { display: flex; flex-direction: column; gap: 10px; font-family: var(--font-body); font-size: 14px; line-height: 1.5; color: var(--color-body); }
.checklist > li { display: flex; gap: 10px; align-items: flex-start; }
.checklist > li::before { content: ''; flex: none; width: 14px; height: 14px; margin-top: 4px; background: currentColor; color: var(--color-check); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.2l2.6 2.6L10 3.4' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat; }
.checklist--lg { font-size: var(--text-body-size); line-height: var(--text-body-leading); gap: var(--space-3); }
.checklist--lg > li::before { width: 16px; height: 16px; }
.checklist--boxed > li::before { -webkit-mask: none; mask: none; background: none; border: 1px solid var(--color-check); border-radius: var(--radius-xs); width: 14px; height: 14px; position: relative; }
.checklist--boxed > li { position: relative; }
.checklist--boxed > li::after { content: ''; position: absolute; left: 0; top: 4px; width: 14px; height: 14px; background: var(--color-check); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2L9 3.8' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / 10px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6.2l2 2L9 3.8' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E") center / 10px no-repeat; }
.checklist--success > li::before, .checklist--success > li::after { color: var(--color-success); background-color: var(--color-success); }

/* 7. Window -------------------------------------------------------------- */
/* Terminal / app mock. Tokens are the --color-win-* family so a window can sit on
   any background. Add .window--dark to force the dark window on a light page. */
.window {
  position: relative; width: 100%; z-index: 1;
  background: var(--color-win-bg); color: var(--color-win-ink);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-window);
  font-family: var(--font-mono); font-size: 13px; line-height: 1.7;
}
.window--flush { box-shadow: none; outline: none; }
.window--dark {
  --color-win-bg: var(--palette-ink); --color-win-ink: var(--palette-zero); --color-win-muted: var(--palette-slate-300);
  --color-win-line: color-mix(in oklab, var(--palette-zero) 10%, transparent); --color-win-line2: color-mix(in oklab, var(--palette-zero) 18%, transparent); --color-win-dot: var(--palette-slate-700); --color-win-accent: var(--palette-blue-200);
  --color-badge-allow-bg: color-mix(in oklab, var(--palette-green-500) 16%, transparent); --color-badge-allow-fg: var(--palette-green-300);
  --color-badge-scope-bg: color-mix(in oklab, var(--palette-blue-500) 24%, transparent); --color-badge-scope-fg: var(--palette-blue-200);
  --color-badge-deny-bg: color-mix(in oklab, var(--palette-red-500) 18%, transparent); --color-badge-deny-fg: var(--palette-red-300);
  --shadow-window: 0 24px 60px -20px color-mix(in oklab, var(--palette-ether) 70%, transparent), 0 0 0 1px color-mix(in oklab, var(--palette-zero) 22%, transparent);
}
.theme-dark .window, [data-theme="dark"] .window { outline: 1px solid color-mix(in oklab, var(--palette-zero) 24%, transparent); outline-offset: -1px; }
.window__bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--color-win-line); }
.window__dots { display: flex; gap: 6px; flex: none; }
.window__dots i { width: 8px; height: 8px; border-radius: var(--radius-full); background: var(--color-win-dot); }
.window__title { flex: 1; text-align: center; font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-win-muted); margin-right: 36px; }
.window__body { padding: 18px 20px; }
.window__body--tight { padding: 14px 16px; }
.window__line { display: grid; grid-template-columns: auto auto 1fr; gap: 14px; align-items: baseline; padding: 6px 0; }
.window__key { color: var(--color-win-muted); }
.window__val { color: var(--color-win-ink); overflow-wrap: anywhere; }
.window__sub { display: block; color: var(--color-win-accent); font-size: 11px; margin-top: 2px; }
.window__muted { color: var(--color-win-muted); }
.window__accent { color: var(--color-win-accent); }
.window__comment { color: var(--color-comment); }
.window__prompt { color: var(--color-win-muted); margin-right: 8px; }
.window__cursor { display: inline-block; width: 7px; height: 1em; vertical-align: -2px; background: var(--color-win-ink); animation: blink 1s steps(1) infinite; }
.window__rule { border: 0; border-top: 1px solid var(--color-win-line); margin: 8px 0; }
.window__ln { color: var(--color-win-muted); width: 2ch; text-align: right; margin-right: 16px; display: inline-block; }
/* Stacked window pair (hero mocks): b overlaps a from the bottom right. */
.window-stack { position: relative; }
.window-stack .window + .window { margin-top: 12px; z-index: 2; }
/* Content-driven, not a grid size: below 1200px the offset windows get too narrow inside a split. */
@media (min-width: 1200px) { .window-stack .window:first-child { width: 88%; } .window-stack .window + .window { width: 78%; margin: -14px 0 0 auto; } }

/* 8. Site nav ------------------------------------------------------------ */
/* Floating bar over the hero. Mounted by js/chrome.js into <header data-site-nav>. */
.nav { --nav-motion: calc(var(--motion-duration-base) * 1.5); position: sticky; top: 0; z-index: 20; height: var(--layout-nav-height); margin-bottom: calc(-1 * var(--layout-nav-height)); pointer-events: none; }
.nav__bar {
  position: absolute; top: 12px; left: var(--grid-margin); right: var(--grid-margin); max-width: var(--layout-container); margin: 0 auto;  /* on the content grid */
  display: flex; flex-direction: column; pointer-events: auto;
  background: var(--color-nav-bg); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border: 1px solid color-mix(in oklab, var(--color-line) 50%, transparent); border-radius: var(--radius-lg); box-shadow: var(--shadow-nav);
  color: var(--color-ink); transition: background-color .35s ease, color .35s ease, transform var(--nav-motion) var(--motion-ease-out), border-radius var(--nav-motion) var(--motion-ease-out), box-shadow var(--nav-motion) var(--motion-ease-out);
}
.nav__row { display: flex; align-items: center; min-height: 56px; padding: 0 8px; }
.nav__logo { display: flex; align-items: center; padding: 0 16px 0 8px; flex: none; }
.nav__logo img { height: 15px; }
/* Optional site label beside the wordmark (the partner site's modified nav sets DS_NAV.label). */
.nav__logo-label { margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--color-line-strong); font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); white-space: nowrap; }
@media (max-width: 599px) { .nav__logo-label { display: none; } }
.nav__links { display: flex; margin-left: auto; align-self: stretch; flex: 0 1 auto; min-width: 0; overflow: auto; scrollbar-width: none; font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: -0.03em; }
.nav__links::-webkit-scrollbar { display: none; }
.nav__link { display: flex; align-items: center; gap: 8px; padding: 0 18px; white-space: nowrap; color: inherit; }
/* Current page (ds.js sets aria-current="page" on the link whose file matches the page): the label reads in Medium and its
   shortcut key takes the tertiary blue, so the page you are on is marked without a dot. */
.nav__link[aria-current="page"], .nav__drawer-link[aria-current="page"] { font-weight: 500; }
.nav__link[aria-current="page"] .kbd, .nav__drawer-link[aria-current="page"] .kbd { color: var(--color-tertiary); }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--color-link-hover); }
.nav__actions { display: flex; align-items: center; gap: 6px; padding-left: 8px; flex: none; }
/* Theme toggle: a 36x20 switch with a square knob. */
.theme-toggle { display: flex; align-items: center; gap: 8px; height: 36px; padding: 0 8px; font-family: var(--font-mono); font-size: 12px; letter-spacing: -0.03em; text-transform: uppercase; color: inherit; }
.theme-toggle__track { position: relative; width: 36px; height: 20px; border-radius: 4px; border: 1px solid var(--color-line-strong); display: inline-block; }
.theme-toggle__knob { position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: 2px; background: currentColor; transition: left .2s; }
.theme-toggle[aria-checked="true"] .theme-toggle__knob { left: 18px; }
.theme-toggle__label { display: inline-block; width: 5ch; text-align: left; }
.theme-toggle__label::after { content: 'Light'; }
.theme-toggle[aria-checked="true"] .theme-toggle__label::after { content: 'Dark'; }
/* Mega menu. */
.nav__menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .32s var(--motion-ease-out); }
.nav__menu[data-open] { grid-template-rows: 1fr; }
.nav__menu-clip { overflow: hidden; min-height: 0; }
.nav__menu-grid[hidden] { display: none; }
.nav__menu-grid { margin: 0 8px; padding: 28px 24px 36px; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 40px; }
.nav__group { display: flex; flex-direction: column; gap: 28px; border-top: 1px solid var(--color-line); padding-top: 16px; }
.nav__group-label { font-family: var(--font-mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-muted); }
.nav__item { display: flex; flex-direction: column; gap: 4px; margin: -8px -10px; padding: 8px 10px; border-radius: var(--radius-md); color: inherit; }
.nav__item:hover { background: var(--color-hover); color: inherit; }
.nav__item-name { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 15px; letter-spacing: -0.02em; color: var(--color-ink); }
.nav__item-desc { font-family: var(--font-body); font-size: 13px; line-height: 1.5; color: var(--color-body); }
/* Over a dark band the light-mode nav re-themes itself (js sets data-over-dark). */
.nav[data-over-dark] .nav__bar { --color-nav-bg: color-mix(in oklab, var(--palette-ink) 60%, transparent); --color-ink: var(--palette-zero); --color-body: var(--palette-slate-200); --color-muted: var(--palette-slate-400); --color-line: color-mix(in oklab, var(--palette-zero) 18%, transparent); --color-line-strong: color-mix(in oklab, var(--palette-zero) 30%, transparent); --color-hover: color-mix(in oklab, var(--palette-zero) 7%, transparent); --color-bg: var(--palette-ink); --color-bg-blur: color-mix(in oklab, var(--palette-ether) 72%, transparent); --color-link-hover: var(--palette-blue-200); --logo-invert: 1; }
/* Hamburger + drawer. Below lg the five links move into the drawer (the row cannot hold logo,
   links and actions under 1024px); below sm the three action buttons join them. */
.nav__burger { display: none; flex: none; margin-left: 8px; border-color: transparent; background: transparent; }
.nav__burger-bars { display: flex; flex-direction: column; gap: 4px; width: 16px; }
.nav__burger-bars i { display: block; height: 1.5px; background: currentColor; border-radius: 1px; transition: transform var(--motion-duration-base) var(--motion-ease-out), opacity var(--motion-duration-fast) ease; transform-origin: center; }
.nav[data-drawer-open] .nav__burger-bars i:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav[data-drawer-open] .nav__burger-bars i:nth-child(2) { opacity: 0; }
.nav[data-drawer-open] .nav__burger-bars i:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }
.nav__drawer { display: none; grid-template-rows: 0fr; transition: grid-template-rows var(--motion-duration-base) var(--motion-ease-out); }
.nav__drawer[data-open] { grid-template-rows: 1fr; }
.nav__drawer-clip { overflow: hidden; min-height: 0; }
.nav__drawer-links { display: flex; flex-direction: column; padding: 8px 8px 0; }
.nav__drawer-link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); padding: 14px 16px; border-top: 1px solid var(--color-line-soft); font-family: var(--text-label-family); font-size: var(--text-mono-size); letter-spacing: var(--text-label-tracking); text-transform: uppercase; color: inherit; }
.nav__drawer-link:hover { color: var(--color-link-hover); }
.nav__drawer-link .kbd { font-size: var(--text-mono-sm-size); }
/* Links that carry a mega menu expand in the drawer (native <details>): the summary is styled as a drawer link with a
   chevron; inside, an "All …" link then the menu's groups as mono labels over display-face item names. */
.nav__drawer-group > summary { list-style: none; cursor: pointer; }
.nav__drawer-group > summary::-webkit-details-marker { display: none; }
.nav__drawer-meta { display: inline-flex; align-items: center; gap: 10px; }
.nav__drawer-chev { --icon-size: 14px; color: var(--color-muted); transition: transform var(--motion-duration-fast) var(--motion-ease-out); }
.nav__drawer-group[open] > summary .nav__drawer-chev { transform: rotate(180deg); }
.nav__drawer-sub { display: flex; flex-direction: column; gap: var(--space-5); padding: 2px 16px 20px; }
.nav__drawer-subgroup { display: flex; flex-direction: column; }
.nav__drawer-sublabel { font-family: var(--font-mono); font-size: var(--text-mono-sm-size); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); padding: 6px 0 4px; }
.nav__drawer-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-family: var(--font-display); font-size: 15px; letter-spacing: -0.02em; color: var(--color-ink); }
.nav__drawer-item:hover { color: var(--color-link-hover); }
.nav__drawer-item--all { font-family: var(--font-mono); font-size: var(--text-mono-sm-size); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-body); }
.nav__drawer-actions { display: none; flex-wrap: wrap; gap: 8px; padding: 16px; border-top: 1px solid var(--color-line-soft); margin: 8px 8px 8px; }
.nav__drawer-actions .btn { flex: 1 1 auto; }
@media (max-width: 1023px) {
  .nav__links, .nav__menu { display: none !important; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: inline-flex; }
  .nav__drawer { display: grid; }
}
@media (max-width: 767px) {  /* SM and XS: nav buttons move into the drawer so the bar never overflows */
  .nav__actions { display: none; }
  .nav__burger { margin-left: auto; }
  .nav__drawer-actions { display: flex; }
  .nav__logo { padding-right: 8px; }
}

/* 9. Sub nav ------------------------------------------------------------- */
/* Sticky in-page navigation under the main nav (Pricing, Sandboxes). JS marks the active link. */
.subnav-wrap { --nav-motion: calc(var(--motion-duration-base) * 1.5); position: sticky; top: var(--layout-nav-height); z-index: 19; display: grid; grid-template-rows: 0fr; margin-bottom: calc(-1 * (var(--control-xl) + 1px)); transition: grid-template-rows var(--nav-motion) var(--motion-ease-out), top var(--nav-motion) var(--motion-ease-out); }  /* closed (0fr) at the top of the page; ds.js opens it (data-subnav-open on .nav) as soon as the page scrolls */
.nav[data-subnav-open] ~ .subnav-wrap { grid-template-rows: 1fr; }  /* like .nav, takes no space in the flow: the page (and its grid) runs underneath it */
.subnav-clip { overflow: hidden; min-height: 0; }
/* The sub-nav is the second row of the floating nav: it starts at .nav__bar's left edge and hugs its links (Figma: Sub-nav
   hugs), joined to the bar's bottom edge, on a slightly darker surface. Links are mono eyebrows; the current one is ink with a bar on the row's bottom edge. */
.subnav { display: flex; align-items: center; max-width: calc(var(--layout-container) + 2 * var(--grid-margin)); margin: 0 auto; padding: 0 var(--grid-margin); overflow: visible; transform: translateY(-8px); transition: transform var(--nav-motion) var(--motion-ease-out); }  /* the bar never runs wider than the nav bar: its links scroll inside it (.subnav__scroll) */
.nav[data-subnav-open] ~ .subnav-wrap .subnav { transform: none; }  /* 16px insets outside the container width, exactly like .nav__bar. Transform-only entrance: an opacity animation would make this a backdrop root and kill the bar's blur. */
.subnav__scroll { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: var(--space-1); padding-right: var(--space-3); overflow-x: auto; scrollbar-width: none; }  /* the links scroll; the pill stays put */
.subnav__scroll::-webkit-scrollbar { display: none; }
.subnav__scroll > * { flex: none; }
/* Feather: when more links wait off-screen, the row fades out toward that edge (ds.js sets data-more / data-less). */
.subnav__scroll[data-more] { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 44px), transparent); }
.subnav__scroll[data-less] { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px); mask-image: linear-gradient(to right, transparent, #000 44px); }
.subnav__scroll[data-less][data-more] { -webkit-mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); mask-image: linear-gradient(to right, transparent, #000 44px, #000 calc(100% - 44px), transparent); }
.subnav__bar { flex: 1 1 auto; width: 100%; min-width: 0; display: flex; align-items: center; gap: var(--space-1); padding: 0 0 0 var(--space-4); min-height: var(--control-xl); background: color-mix(in oklab, color-mix(in oklab, var(--color-surface) 97%, var(--color-ink)) 60%, var(--color-nav-bg)); backdrop-filter: blur(24px) saturate(1.2); -webkit-backdrop-filter: blur(24px) saturate(1.2); border: 1px solid color-mix(in oklab, var(--color-line) 50%, transparent); border-top: 0; border-radius: 0 0 var(--radius-lg) var(--radius-lg); box-shadow: var(--shadow-nav); color: var(--color-ink); }  /* no top border: the nav bar's bottom border is the hairline between the rows; the two rows share one outer shadow, carried here */
/* Product name: the supplied outlined mark (inline SVG, drawn in currentColor so it follows ink) or, for pages without one,
   the name set in the same 3px-radius outlined box. */
.subnav__title { display: inline-flex; align-items: center; margin-right: var(--space-4); color: var(--color-ink); white-space: nowrap; }
.subnav__title { padding: 1px 5px; border: 1px solid color-mix(in oklab, currentColor 32%, transparent); border-radius: var(--radius-md); font-family: var(--font-display); font-size: var(--text-mono-sm-size); font-weight: 500; line-height: var(--text-mono-sm-leading); letter-spacing: .04em; text-transform: uppercase; }  /* same drawing as .eyebrow--boxed */
.subnav__link { display: inline-flex; align-items: center; height: var(--control-xl); padding: 0 var(--space-3); font-family: var(--text-body-sm-family); font-size: var(--text-body-sm-size); letter-spacing: var(--text-body-sm-tracking); color: var(--color-muted); white-space: nowrap; box-shadow: inset 0 0 0 transparent; transition: color var(--motion-duration-fast) ease, box-shadow var(--motion-duration-fast) ease; }
.subnav__link:hover { color: var(--color-ink); }
.subnav__link[aria-current="true"], .subnav__link[data-active] { color: var(--color-ink); box-shadow: inset 0 -1px 0 var(--color-ink); }
.subnav__link--chip { border: 1px solid var(--color-ink); color: var(--color-ink); height: auto; padding: 4px 10px; box-shadow: none; }
/* With a sub-nav on the page the nav bar's bottom corners square off so the two rows read as one piece. */
.nav[data-subnav-open] .nav__bar { border-radius: var(--radius-lg) var(--radius-lg) 0 0; box-shadow: none; }  /* its bottom border is the hairline between the rows (and what makes the bar exactly nav-height tall, so the rows meet with no seam) */  /* no shadow falling onto the sub-nav row: the hairline marks the join and the sub-nav carries the outer shadow */
/* …and the first section gets the row's height added to its top padding, so the hero keeps its clearance below the chrome. */
body:has(.subnav-wrap) .subnav-wrap + .section { padding-top: calc(var(--space-32) + var(--control-xl) + 1px); }
/* Collapse on scroll (pages with a sub-nav; ds.js DS.navCollapse). Scrolling down tucks the nav bar up out of view and the
   sub-nav row slides into its 12px slot, taking the full rounded corners and a top hairline; any scroll up brings the bar back. */
.nav[data-collapsed] .nav__bar { transform: translateY(calc(-100% - 14px)); pointer-events: none; }
.nav[data-collapsed] ~ .subnav-wrap { top: 12px; }
.nav[data-collapsed] ~ .subnav-wrap .subnav__bar { border-radius: var(--radius-lg); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--color-line) 50%, transparent), var(--shadow-nav); }
@media (prefers-reduced-motion: reduce) { .nav__bar, .subnav-wrap, .subnav { transition: none; } }
/* XS: the page label comes off the row so the tab links have the width; the row keeps its left padding as the margin. */
@media (max-width: 599px) { .subnav__title { display: none; } }
/* Over a Docker-blue band the nav tints blue (js sets data-over-primary): the bar is Base at 60% over the band's blur, text
   and lines go Zero, and the primary button inverts to a Zero pill with blue text so it still reads as the main action. */
.nav[data-over-primary] .nav__bar { --color-nav-bg: color-mix(in oklab, var(--palette-blue-500) 60%, transparent); --color-ink: var(--palette-zero); --color-body: color-mix(in oklab, var(--palette-zero) 84%, transparent); --color-muted: color-mix(in oklab, var(--palette-zero) 72%, transparent); --color-line: color-mix(in oklab, var(--palette-zero) 28%, transparent); --color-line-strong: color-mix(in oklab, var(--palette-zero) 45%, transparent); --color-hover: color-mix(in oklab, var(--palette-zero) 10%, transparent); --color-bg: var(--palette-blue-500); --color-bg-blur: color-mix(in oklab, var(--palette-blue-500) 72%, transparent); --color-link-hover: var(--palette-zero); --color-tertiary: var(--palette-zero); --color-primary: var(--palette-zero); --color-primary-hover: var(--palette-blue-100); --color-primary-active: var(--palette-blue-200); --color-primary-fg: var(--palette-blue-500); --logo-invert: 1; }
.subnav-wrap[data-over-primary] .subnav__bar { --color-nav-bg: color-mix(in oklab, var(--palette-blue-500) 60%, transparent); --color-surface: var(--palette-blue-500); --color-ink: var(--palette-zero); --color-body: color-mix(in oklab, var(--palette-zero) 84%, transparent); --color-muted: color-mix(in oklab, var(--palette-zero) 72%, transparent); --color-line: color-mix(in oklab, var(--palette-zero) 28%, transparent); --color-line-strong: color-mix(in oklab, var(--palette-zero) 45%, transparent); --color-hover: color-mix(in oklab, var(--palette-zero) 10%, transparent); --color-bg: var(--palette-blue-500); }
/* Over a dark band the sub-nav re-themes with the nav (ds.js mirrors data-over-dark onto .subnav-wrap). */
.subnav-wrap[data-over-dark] .subnav__bar { --color-nav-bg: color-mix(in oklab, var(--palette-ink) 60%, transparent); --color-surface: var(--palette-ink); --color-ink: var(--palette-zero); --color-body: var(--palette-slate-200); --color-muted: var(--palette-slate-400); --color-line: color-mix(in oklab, var(--palette-zero) 18%, transparent); --color-line-strong: color-mix(in oklab, var(--palette-zero) 30%, transparent); --color-hover: color-mix(in oklab, var(--palette-zero) 7%, transparent); --color-bg: var(--palette-ink); --color-accent: var(--color-accent); }

/* 10. Logo strip --------------------------------------------------------- */
/* Bordered row of customer logos; --ticker turns it into a draggable marquee. */
.logo-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.logo-cell { position: relative; display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 24px; border-left: 1px solid var(--color-line); transition: background .2s ease; }
.logo-cell:first-child { border-left: 0; }
.logo-cell:hover { background: color-mix(in oklab, var(--color-accent) 2%, transparent); }
.logo-cell img { max-height: 28px; width: auto; }
.logo-cell__corner { position: absolute; width: 2px; height: 2px; background: var(--color-accent); opacity: 0; transition: opacity .2s ease; }
.logo-cell__corner--tl { left: 1px; top: 1px; } .logo-cell__corner--tr { right: 1px; top: 1px; } .logo-cell__corner--bl { left: 1px; bottom: 1px; } .logo-cell__corner--br { right: 1px; bottom: 1px; }
.logo-cell:hover .logo-cell__corner { opacity: 1; }
.logo-ticker { overflow: hidden; cursor: grab; user-select: none; border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.logo-ticker__track { display: flex; width: max-content; will-change: transform; }
.logo-ticker .logo-cell { width: 220px; flex: none; }
/* Logo swap: a fixed row of equal cells that fills its container, one logo each, where every few seconds one cell
   trades its logo for one from the pool (fade and a short lift). For a hero, where the strip has to fit the first
   screen; the ticker stays for long rows elsewhere. Markup: .logo-swap[data-logo-swap][data-cells="5"] holding the
   pool of <img data-mono> logos (more than cells, so a swap never shows the same logo twice); DS.logoSwap builds the
   cells and runs the cycle, pausing off-screen and standing still under reduced motion. */
.logo-swap { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border-top: 1px solid var(--color-line); border-bottom: 1px solid var(--color-line); }
.logo-swap__cell { position: relative; min-height: 96px; border-left: 1px solid var(--color-line); overflow: hidden; }
.logo-swap > img { display: none; }  /* the pool waits unseen until DS.logoSwap has built the cells, so nothing flashes at natural size on load */
.logo-swap__cell:first-child { border-left: 0; }
.logo-swap--plain, .logo-swap--plain .logo-swap__cell { border: 0; }  /* no rules: logos float on the band */
.logo-swap__cell img { position: absolute; inset: 0; margin: auto; height: var(--h, 24px); width: auto; max-width: 56%; object-fit: contain; opacity: 0; transform: translateY(12px); transition: opacity .55s var(--motion-ease-out), transform .55s var(--motion-ease-out); }
.logo-swap__cell img.is-in { opacity: 1; transform: none; }
.logo-swap__cell img.is-out { opacity: 0; transform: translateY(-12px); }
@media (max-width: 1023px) { .logo-swap__cell:nth-child(n+5) { display: none; } }  /* four cells on MD */
@media (max-width: 599px) { .logo-swap__cell:nth-child(n+4) { display: none; } }   /* three on XS */

/* 11. Quote -------------------------------------------------------------- */
.quote { display: flex; flex-direction: column; gap: 24px; }
.quote__text { font-family: var(--font-display); font-weight: 300; font-size: clamp(20px, 2vw, 28px); line-height: 1.4; letter-spacing: -0.01em; color: var(--color-ink); text-wrap: balance; }
.quote__text::before { content: '\201C'; } .quote__text::after { content: '\201D'; }
.quote__who { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); font-size: 13px; color: var(--color-body); }
.quote__who img { width: 32px; height: 32px; border-radius: var(--radius-full); object-fit: cover; }
.quote__who b { font-weight: 600; color: var(--color-ink); }
/* Rotating quotes (DS.quoteRotator): panels stack in one grid cell and crossfade; the logo strip doubles as the tab list,
   with a progress line along the top of the active tab. Inactive logos sit at 45%. */
.quote-panels { display: grid; }
.quote-panels > .quote { grid-area: 1 / 1; transition: opacity var(--motion-duration-slow) var(--motion-ease-out), transform var(--motion-duration-slow) var(--motion-ease-out); }
.quote-panels > .quote:not(.is-active) { opacity: 0; transform: translateY(8px); pointer-events: none; }
.quote-tab { cursor: pointer; appearance: none; background: none; border: 0; border-left: 1px solid var(--color-line); font: inherit; color: inherit; }
.quote-tab img { opacity: .45; transition: opacity var(--motion-duration-base) ease; }
.quote-tab:hover img, .quote-tab:focus-visible img, .quote-tab[aria-selected="true"] img { opacity: 1; }
.quote-tab:focus-visible { outline: 2px solid var(--color-tertiary); outline-offset: -2px; }
.quote-tab__progress { position: absolute; left: -1px; top: -1px; height: 1px; width: calc(100% + 2px); background: var(--color-tertiary); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity .25s ease; z-index: 1; }
.quote-tab[aria-selected="true"] .quote-tab__progress { opacity: 1; }
.quote-tab__label { font-family: var(--font-mono); font-size: var(--text-mono-sm-size); letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); transition: color var(--motion-duration-base) ease; }  /* text tab for a partner without a logo */
.quote-tab:hover .quote-tab__label, .quote-tab[aria-selected="true"] .quote-tab__label { color: var(--color-ink); }
/* Tabbed quotes: logos as tabs with a progress line, panels fade in. */

/* 12. Stat --------------------------------------------------------------- */
.stat { display: flex; flex-direction: column; gap: 14px; padding: var(--space-8) var(--space-6); border-left: 1px solid var(--color-line); }
.stat:first-child { border-left: 0; }
.stat__value { font-family: var(--text-stat-family); font-size: var(--text-stat-size); font-weight: var(--text-stat-weight); line-height: 1; letter-spacing: var(--text-stat-tracking); color: var(--color-ink); font-variant-numeric: tabular-nums; }
.stat__value--sm { font-size: clamp(32px, 3.6vw, 52px); }
.stat__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); max-width: 24ch; }
.stat__label b { color: var(--color-tertiary); font-weight: 400; }
/* Odometer (DS.countUp): each digit of a stat is a 1em window over a column of 0..n that rolls up on first view. */
.odo-host .odo__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.odo-host { position: relative; }
.odo__vis { display: inline-flex; }
.odo { display: inline-block; height: 1em; overflow: hidden; }
.odo__strip { display: block; transform: translateY(0); transition: transform var(--motion-duration-reveal) var(--motion-ease-out); }
.odo__strip > span { display: block; height: 1em; }
.odo-done .odo__strip { transform: translateY(calc(var(--odo-n) * -1em)); }
.stat-row { display: grid; grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); }
.stat-row--3 { --cols: 3; }
@media (max-width: 767px) { .stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stat-row--3 { grid-template-columns: 1fr; } .stat-row .stat { border-left: 0; border-top: 1px solid var(--color-line); } }
@media (max-width: 599px) { .stat-row .stat { padding-inline: var(--space-4); } .stat-row .stat__value { font-size: clamp(40px, 13vw, 56px); } }

/* 13. FAQ ---------------------------------------------------------------- */
/* Native <details>/<summary> accordion. */
/* FAQ: each question is its own rounded surface card with a +/− toggle; the open card shows its answer. */
.faq { display: flex; flex-direction: column; gap: var(--space-3); }
.faq__item { background: var(--color-surface); border-radius: var(--radius-lg); }  /* 8px at every size and state */
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: var(--space-6); padding: var(--space-5) var(--space-6); cursor: pointer; list-style: none; font-family: var(--text-h4-family); font-size: var(--text-h4-size); font-weight: var(--text-h4-weight); line-height: var(--text-h4-leading); letter-spacing: var(--text-h4-tracking); color: var(--color-ink); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after { content: '+'; flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: var(--radius-sm); background: var(--color-panel); font-family: var(--text-mono-family); font-size: var(--text-mono-size); line-height: 1; color: var(--color-ink); }
.faq__item[open] .faq__q::after { content: '\2212'; }
.faq__a { padding: 0 var(--space-6) var(--space-6); max-width: 60ch; font-family: var(--text-body-sm-family); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-leading); color: var(--color-body); }
.faq-grid { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); column-gap: var(--grid-gutter); row-gap: var(--space-8); align-items: start; }
.faq-grid > * { min-width: 0; grid-column: span 4; } .faq-grid > :last-child { grid-column: span 8; }
@media (max-width: 1023px) { .faq-grid > * { grid-column: span 3; } .faq-grid > :last-child { grid-column: span 5; } }
@media (max-width: 767px) { .faq-grid > *, .faq-grid > :last-child { grid-column: 1 / -1; } }

/* 14. Compare table ------------------------------------------------------ */
/* Borderless comparison: horizontal dividers between rows only, logo column heads, and our column lifted on a
   rounded blue pill (.compare__pill) that ds.js sizes over the .is-docker cells. Wrap the table in .compare-scroll
   so it scrolls sideways on narrow screens; the pill scrolls with it. Mark the Docker <th> and <td>s .is-docker. */
.compare-scroll { position: relative; overflow-x: auto; }
.compare { position: relative; z-index: 1; width: 100%; border-collapse: separate; border-spacing: 0; font-family: var(--font-body); font-size: var(--text-body-size); line-height: var(--text-body-leading); color: var(--color-body); }
.compare th, .compare td { padding: var(--space-5) var(--space-8); border: 0; border-bottom: 1px solid var(--color-line); text-align: left; vertical-align: middle; font-weight: 400; background: none; }
.compare thead th { height: 72px; padding-block: var(--space-3); border-bottom: 0; text-align: center; }
.compare thead img { height: 24px; width: auto; margin: 0 auto; }
.compare tbody th { padding-left: var(--space-2); padding-right: var(--space-4); color: var(--color-body); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare .is-docker { color: var(--color-ink); }
.compare__pill { position: absolute; top: 0; z-index: 0; pointer-events: none; border-radius: var(--radius-card); border: 1px solid color-mix(in oklab, var(--color-primary) 20%, transparent); background: linear-gradient(to bottom, color-mix(in oklab, var(--color-primary) 30%, transparent), color-mix(in oklab, var(--color-primary) 10%, transparent)); }

/* 15. Tiles -------------------------------------------------------------- */
/* Small bordered square used for agent logos and OS pickers. */
.tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; aspect-ratio: 1; min-width: 0; padding: 18px 12px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-surface); color: var(--color-ink); transition: transform .3s var(--motion-ease-out), background .25s ease, border-color .25s ease, z-index 0s; }
.tile img, .tile svg { width: 36px; height: 36px; object-fit: contain; transition: transform .3s var(--motion-ease-out); }
.tile__label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-muted); text-align: center; }
.tile:hover { z-index: 20; background: var(--color-surface-raised); border-color: var(--color-line-strong); }
.tile:hover img { transform: translateY(-4px); }
/* Plate: the mark sits on a graphite disc at half the icon size, as in the Figma Tile (its Agent logo is
   color/surface pinned to the Dark mode, so the disc is graphite in both themes). Mono marks go paper. */
.tile__mark { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: var(--radius-full); background: var(--palette-ink); transition: transform .3s var(--motion-ease-out); }
.tile .tile__mark img, .tile .tile__mark svg { width: 50%; height: 50%; transition: none; }
.tile .tile__mark img[data-mono] { filter: brightness(0) invert(1); }
.tile:hover .tile__mark { transform: translateY(-4px); }
.tile:hover .tile__mark img { transform: none; }
.tile-row { display: flex; gap: 12px; }
.tile-row .tile { width: 112px; flex: none; }
/* Logo stack: round agent marks overlapping in a pill, for a hero line that says "these agents" without
   a logo row. Same disc as .tile__mark (graphite, mono marks go paper) so the two read as one family; the
   ring between marks is the pill's own fill. --light puts a mark on a Zero disc (mono marks go ink, colour
   marks keep their colour); --mark-bg on a mark sets a brand disc (Claude's terracotta). Hover fans the
   marks apart a little. Sizes: --xs 24px marks, default 32px, --lg 40px. */
.logo-stack, ul.logo-stack { --stack-bg: var(--color-bg); --mark: 32px; --mark-overlap: -8px; --stack-pad: 4px; display: inline-flex; align-items: center; margin: 0; padding: var(--stack-pad); list-style: none; border: 1px solid var(--color-line); border-radius: var(--radius-pill); background: var(--stack-bg); }
.logo-stack__mark { display: grid; place-items: center; flex: none; width: var(--mark); height: var(--mark); border-radius: var(--radius-full); background: var(--mark-bg, var(--palette-ink)); box-shadow: 0 0 0 2px var(--stack-bg); transition: margin-left .35s var(--motion-ease-out); }
.logo-stack__mark + .logo-stack__mark { margin-left: var(--mark-overlap); }
.logo-stack:hover .logo-stack__mark + .logo-stack__mark { margin-left: calc(var(--mark-overlap) / 2); }
.logo-stack__mark img, .logo-stack__mark svg { width: 56%; height: 56%; object-fit: contain; }
.logo-stack__mark img[data-mono] { filter: brightness(0) invert(1); }
.logo-stack__mark--light { --mark-bg: var(--palette-zero); }
.logo-stack__mark--light img[data-mono] { filter: brightness(0); }
.logo-stack--xs { --mark: 24px; --mark-overlap: -6px; --stack-pad: 3px; }
.logo-stack--lg { --mark: 40px; --mark-overlap: -10px; --stack-pad: 5px; }

/* Segmented control (OS picker). */
.segmented { display: inline-flex; padding: 3px; gap: 2px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-panel); }
.segmented__btn { height: var(--control-xs); padding: 0 var(--space-3); border-radius: 2px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--color-muted); }
.segmented__btn[aria-pressed="true"] { background: var(--color-bg); color: var(--color-ink); box-shadow: 0 1px 2px color-mix(in oklab, var(--palette-ether) 8%, transparent); }

/* Copyable command line. */
.cmd { display: flex; align-items: center; gap: 16px; padding: 12px 12px 12px 16px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); background: var(--color-panel); font-family: var(--font-mono); font-size: 13px; color: var(--color-ink); }
.cmd__text { flex: 1; overflow-wrap: anywhere; }
.cmd__text::before { content: '$ '; color: var(--color-muted); }

/* 16. Footer ------------------------------------------------------------- */
/* Always dark: chrome.js adds class="footer theme-dark". The footer is a rounded panel inset
   from the viewport; above it a huge, low-contrast "docker" wordmark rises from behind the
   panel as the footer scrolls into view. ds.js (DS.footerMark) writes --footer-p (0..1). */
.footer { position: relative; background: var(--color-bg); color: var(--color-ink); font-family: var(--text-body-sm-family); font-size: var(--text-caption-size); padding: 0; overflow: hidden; --footer-p: 0; }  /* full bleed: the panel behaves like a scrolled-in section (data-sec), sliding up with 48px top corners that square off as it settles */
.footer a { color: var(--color-ink); transition: color .15s ease; }
.footer a:hover { color: var(--color-link-hover); }
.footer__stage { position: relative; height: clamp(120px, 19.5vw, 400px); pointer-events: none; user-select: none; overflow: hidden; isolation: isolate; }
/* The shader fills the stage; the cover layer above it (twice the stage height, so it still covers the stage when slid down)
   is an SVG rect masked by the wordmark, so the letters are holes that show the shader. The rect is painted the colour of
   the section above the footer (--footer-above, set by ds.js from that section's computed background; Ether until it runs),
   so the band the word rises through reads as that section continuing and the word pops out of the panel (2026-11-04;
   before, an Ether layer with a darken blend, which could only paint a dark band). */
.footer__shader { position: absolute; inset: 0; }
.footer__mark-layer { position: absolute; left: 0; right: 0; top: calc(-100% - 2px); bottom: -2px; transform: translateY(calc((1 - var(--footer-p)) * 50%)); transition: transform .4s cubic-bezier(.22, 1, .36, 1); will-change: transform; }  /* 2px past both ends of a double-height box: slid down by half its height (rest) its top lands exactly on the stage's top edge, so no strip of shader shows as a hairline where the band meets the section above (it did, 1px, 2026-11-04) */
.footer__mark-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.footer__mark-fill { fill: var(--footer-above, var(--palette-ether)); }  /* no transition: the band is that colour from the first paint (chrome.js sets --footer-above as it mounts the footer), never seen changing into it */
.footer__mark { font-family: var(--font-display); font-weight: 400; font-size: min(30vw, 620px); letter-spacing: -0.04em; }  /* SVG text inside the mask: black = hole */
@media (prefers-reduced-motion: reduce) { .footer__mark-layer { transform: none; transition: none; } }
/* The Ether layer runs 2px past the stage floor and the panel tucks 1px under it, so a fractional slide offset never
   leaves a hairline of shader showing along the panel's top edge. */
.footer__panel { position: relative; z-index: 1; margin-top: -1px; background: var(--color-surface); border-radius: calc((1 - var(--footer-p)) * var(--radius-3xl)) calc((1 - var(--footer-p)) * var(--radius-3xl)) 0 0; overflow: hidden; --footer-pad-x: var(--grid-inset); padding: var(--space-10) var(--footer-pad-x) var(--space-12); will-change: border-radius; }  /* the columns inside start on the grid margin; corners follow --footer-p like a data-sec band */
.footer__cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--space-8) var(--space-5); }  /* Ponyo: five columns (Products, Resources, Pricing, Company, Social); the DS has six, with Features */
@media (max-width: 1023px) { .footer__cols { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
/* Compact footer (fewer than five columns, e.g. the partner site): columns take a third each. */
.footer__cols--compact { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-8) var(--space-10); }
@media (max-width: 599px) { .footer__cols--compact { grid-template-columns: 1fr 1fr; } }
.footer__col { display: flex; flex-direction: column; gap: var(--space-1); font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-leading); }
.footer__col a { color: color-mix(in oklab, var(--color-ink) 82%, transparent); }
.footer__col a:hover { color: var(--color-ink); }
.footer__heading { font-weight: 600; color: var(--color-ink); margin-bottom: 4px; }
.footer__subheading { font-weight: 600; color: var(--color-ink); margin: 20px 0 4px; }
.footer__mobi { display: block; width: 28px; aspect-ratio: 96 / 55; margin: var(--space-12) 0 var(--space-6); background: var(--color-logo-icon); -webkit-mask: url('/asset?u=https%3A%2F%2Fwww.docker.com%2Fapp%2Fthemes%2Fponyo%2Fassets%2Fdesign-system%2Fassets%2Fmobi.svg') left center / contain no-repeat; mask: url('/asset?u=https%3A%2F%2Fwww.docker.com%2Fapp%2Fthemes%2Fponyo%2Fassets%2Fdesign-system%2Fassets%2Fmobi.svg') left center / contain no-repeat; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; padding-top: var(--space-6); border-top: 1px solid var(--color-line-soft); font-size: var(--text-caption-size); color: var(--color-muted); }
.footer__legal a { color: var(--color-muted); }
.footer__legal a:hover { color: var(--color-ink); }
.footer__legal-links { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.footer__legal-links > * + *::before { content: '|'; margin-right: 10px; color: var(--color-muted); }
.footer__notice { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border: 1px solid var(--color-line); border-radius: var(--radius-sm); font-family: var(--text-mono-sm-family); font-size: var(--text-mono-sm-size); letter-spacing: 0.02em; text-transform: uppercase; color: var(--color-muted) !important; }
.footer__notice:hover { border-color: var(--color-ink); color: var(--color-ink) !important; }
@media (max-width: 599px) {
  .footer__panel { padding-top: var(--space-8); }
  .footer__mobi { display: block; width: 28px; aspect-ratio: 96 / 55; margin: var(--space-12) 0 var(--space-6); background: var(--color-logo-icon); -webkit-mask: url('/asset?u=https%3A%2F%2Fwww.docker.com%2Fapp%2Fthemes%2Fponyo%2Fassets%2Fdesign-system%2Fassets%2Fmobi.svg') left center / contain no-repeat; mask: url('/asset?u=https%3A%2F%2Fwww.docker.com%2Fapp%2Fthemes%2Fponyo%2Fassets%2Fdesign-system%2Fassets%2Fmobi.svg') left center / contain no-repeat; }
}

/* 17b. Feature scroll ------------------------------------------------------ */
/* Sticky copy on the left, a stack of square cards scrolling on the right. ds.js marks the
   item whose card is nearest the viewport centre as active (its paragraph opens) and drives
   each item's progress line (--p). Clicking an item scrolls its card into view.
   <div class="feature-scroll" data-feature-scroll>
     <div class="feature-scroll__copy"> …section-head… <div class="feature-scroll__list"> <div class="feature-scroll__item" data-fs-item> … </div> </div> </div>
     <div class="feature-scroll__cards"> <figure class="feature-scroll__card" data-fs-card><img …></figure> … </div>
   </div> */
.feature-scroll { display: grid; grid-template-columns: repeat(var(--grid-columns), minmax(0, 1fr)); column-gap: var(--grid-gutter); row-gap: var(--space-10); align-items: start; }
.feature-scroll > * { min-width: 0; } .feature-scroll > :first-child { grid-column: span 5; } .feature-scroll > :last-child { grid-column: span 7; }
.feature-scroll__copy { position: sticky; top: calc(var(--layout-nav-height) + var(--space-10)); display: flex; flex-direction: column; gap: var(--space-10); }
.feature-scroll__list { display: flex; flex-direction: column; }
.feature-scroll__item { position: relative; padding: var(--space-5) 0 var(--space-5); border-bottom: 1px solid var(--color-line); cursor: pointer; outline-offset: 6px; }
.feature-scroll__item:first-child { border-top: 1px solid var(--color-line); }
.feature-scroll__title { font-family: var(--text-h3-family); font-size: var(--text-h3-size); font-weight: var(--text-h3-weight); line-height: var(--text-h3-leading); letter-spacing: var(--text-h3-tracking); color: var(--color-ink); transition: color var(--motion-duration-fast) ease; }
.feature-scroll__item:not([data-active]) .feature-scroll__title { color: var(--color-body); }
.feature-scroll__item:hover .feature-scroll__title { color: var(--color-ink); }
.feature-scroll__more { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows var(--motion-duration-base) var(--motion-ease-out), opacity var(--motion-duration-base) ease; }
.feature-scroll__more > * { overflow: hidden; }
.feature-scroll__more p { padding-top: var(--space-3); }
.feature-scroll__item[data-active] .feature-scroll__more { grid-template-rows: 1fr; opacity: 1; }
/* Progress line: the dark portion of the divider grows as the card passes the viewport centre. */
.feature-scroll__progress { position: absolute; left: 0; bottom: -1px; height: 1px; width: 100%; background: var(--color-ink); transform-origin: left; transform: scaleX(var(--p, 0)); opacity: 0; transition: opacity var(--motion-duration-fast) ease; }
.feature-scroll__item[data-active] .feature-scroll__progress { opacity: 1; }
.feature-scroll__cards { display: flex; flex-direction: column; gap: var(--space-6); align-items: flex-end; }
/* LG+: the cards scroll as a plain column; ds.js snaps the page so the nearest card sits on the copy's sticky line once
   scrolling settles (the previous card having moved up by one step), and drives the active item from that geometry. */
.feature-scroll__card { width: min(100%, calc(100svh - var(--layout-nav-height) - 2 * var(--space-14))); aspect-ratio: 1; border-radius: var(--radius-2xl); overflow: hidden; background: var(--color-surface); box-shadow: var(--shadow-nav); transition: transform var(--motion-duration-slow) var(--motion-ease-out), opacity var(--motion-duration-slow) ease; }
.feature-scroll__card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.feature-scroll__card:not([data-active]) { opacity: .85; }  /* add .theme-dark in markup when the artwork is dark */
@media (max-width: 1023px) {
  .feature-scroll > :first-child, .feature-scroll > :last-child { grid-column: 1 / -1; }
  .feature-scroll__copy { position: static; }
  .feature-scroll__cards { align-items: stretch; }
  .feature-scroll__card { width: 100%; }
}
/* LG: the card fills its seven columns, so only the gutter separates it from the copy; inset the card column so the
   breathing room matches XL, where the viewport-height cap already leaves ~76px. */
@media (min-width: 1024px) and (max-width: 1439px) { .feature-scroll__cards { padding-left: var(--space-12); } }
/* MD and SM: the cards sit in one row, like .grid--3, and only stack on XS. All three are on screen at once here, so
   ds.js stops picking the active card by scroll position and the list items drive it. */
@media (max-width: 1023px) and (min-width: 600px) {
  .feature-scroll__cards { flex-direction: row; gap: var(--grid-gutter); }
  .feature-scroll__card { flex: 1 1 0; width: auto; min-width: 0; }
}

/* 17c. Bento ---------------------------------------------------------------- */
/* Six-column tile grid for stats, quotes and media (the proof block). Cells span with
   --span2 / --span3 and --tall; media is placed with bento__media--right / --bottom / --fill. */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: var(--grid-gutter); }  /* each bento column = 2 grid columns */
.bento__cell { position: relative; overflow: hidden; display: flex; flex-direction: column; min-width: 0; padding: var(--space-6); border-radius: var(--radius-xl); background: var(--color-surface); color: var(--color-ink); }
.bento__cell--span2 { grid-column: span 2; } .bento__cell--span3 { grid-column: span 3; } .bento__cell--tall { grid-row: span 2; }
.bento__cell--media { padding: 0; }
.bento__stat { font-family: var(--text-stat-family); font-weight: var(--text-stat-weight); font-size: var(--text-stat-size); line-height: var(--text-stat-leading); letter-spacing: var(--text-stat-tracking); font-variant-numeric: tabular-nums; }
.bento__label { margin-top: auto; padding-top: var(--space-6); font-family: var(--text-eyebrow-family); font-size: var(--text-eyebrow-size); line-height: var(--text-eyebrow-leading); letter-spacing: var(--text-eyebrow-tracking); text-transform: uppercase; max-width: 22ch; position: relative; z-index: 1; }
.bento__quote { font-family: var(--text-quote-family); font-size: var(--text-quote-size); font-weight: var(--text-quote-weight); line-height: var(--text-quote-leading); letter-spacing: var(--text-quote-tracking); max-width: 36ch; position: relative; z-index: 1; }
.bento__quote { padding-left: .5em; }  /* room for the hanging mark: it sits on the cell margin, the text is inset by its width */
.bento__quote::before { content: '\201C'; position: absolute; left: 0; top: 0; }
.bento__quote::after { content: '\201D'; }
.bento__quote--lg { font-size: clamp(26px, 2.6vw, 40px); line-height: 1.15; max-width: 24ch; }  /* the lead quote: a step up from the quote style, filling a tall cell on its own */
.bento__cell--quote { justify-content: space-between; }
.bento__who.bento__who--person { display: flex; align-items: center; gap: 12px; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: 13px; line-height: 1.4; color: var(--color-body); }  /* same row as .quote__who: photo, bold name with a comma, then the role */
.bento__who--person b { font-weight: 600; color: var(--color-ink); }
.bento__avatar { width: 32px; height: 32px; border-radius: var(--radius-full); object-fit: cover; flex: none; }
.bento__avatar, .quote__who img { filter: grayscale(1); }  /* portraits run black and white throughout */
.bento__who { margin-top: auto; padding-top: var(--space-6); font-family: var(--text-mono-sm-family); font-size: var(--text-mono-sm-size); line-height: var(--text-mono-sm-leading); letter-spacing: var(--text-mono-sm-tracking); text-transform: uppercase; position: relative; z-index: 1; }
.bento__media { position: absolute; display: block; object-fit: cover; pointer-events: none; }
.bento__media--right { top: 0; right: 0; bottom: 0; width: 46%; height: 100%; }
.bento__media--bottom { left: 0; right: 0; bottom: 0; width: 100%; height: 58%; object-position: center top; }
.bento__media--fill { inset: 0; width: 100%; height: 100%; }
/* Globe (Home > proof, the 27M cell): a cobe WebGL dot globe (js/cobe.js, wired by DS.globe) tinted from the tokens,
   vertically centred and bleeding off the right edge of the cell, with analytics badges pinned to real places that ride along as it turns; drag the sphere to spin it.
   On a blue surface DS.globe adds .globe--blend: the canvas screens onto the card, so the sphere is the card's own
   blue, a touch lighter at its centre, with light-blue land dots. */
.globe { position: absolute; top: -40%; right: -30%; height: 180%; aspect-ratio: 1; pointer-events: none; }  /* the sphere fills 80% of the canvas; it runs a little off the top, bottom and right of the cell */
.globe__canvas { pointer-events: auto; cursor: grab; touch-action: none; }
.globe.is-dragging .globe__canvas { cursor: grabbing; }
.globe__canvas { display: block; width: 100%; height: 100%; opacity: 0; transition: opacity .9s var(--motion-ease-out); }
.globe--blend .globe__canvas { mix-blend-mode: screen; }
.globe.is-ready .globe__canvas { opacity: 1; }
.globe__badge { position: absolute; left: 0; top: 0; will-change: transform, opacity; display: inline-flex; pointer-events: none; align-items: center; gap: var(--space-2); padding: 8px 12px; border-radius: var(--radius-md); background: var(--palette-ether); color: var(--palette-zero); box-shadow: 0 10px 28px color-mix(in oklab, var(--palette-ether) 28%, transparent); font-family: var(--font-body); font-size: 13px; line-height: 1; white-space: nowrap; transform: translate3d(var(--x, 0px), var(--y, 0px), 0) translate(-50%, calc(-100% - 14px)); opacity: 0; transition: opacity .35s var(--motion-ease-out); }  /* DS.globe sets --x/--y (px) from the pinned location every frame and --v from how far it faces the viewer; moved by transform so the per-frame update never lays out */
.globe.is-ready .globe__badge { opacity: var(--v, 1); }
.globe__badge.is-behind { opacity: 0 !important; }
.globe__badge::after { content: ''; position: absolute; left: 50%; top: calc(100% + 8px); width: 10px; height: 10px; border-radius: var(--radius-full); background: var(--palette-green-500); transform: translateX(-50%); box-shadow: 0 0 0 4px color-mix(in oklab, var(--palette-green-500) 30%, transparent); }  /* the marker the badge points at */
.globe__city { font-size: 11px; color: color-mix(in oklab, var(--palette-zero) 60%, transparent); }
.globe__num { font-weight: 700; font-size: 16px; font-variant-numeric: tabular-nums; min-width: 3.4ch; display: inline-block; }
.globe__num.is-bump { animation: globe-bump .5s var(--motion-ease-out); }
.globe__trend { display: inline-flex; align-items: center; gap: 1px; color: var(--palette-green-500); font-size: 12px; font-weight: 600; }
.globe__trend .icon { --icon-size: 12px; }
@keyframes globe-bump { 0% { color: var(--palette-green-500); scale: 1.1; } 100% { color: inherit; scale: 1; } }
@media (max-width: 767px) { .globe { right: -40%; } }
/* Badge row: a label plus outlined tiles with centred marks. */
.bento__badges { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--grid-gutter); margin-top: var(--space-10); }  /* 3 grid columns each */
.bento__badges-label { display: flex; flex-direction: column; justify-content: center; gap: var(--space-2); }
.bento__mark { height: 26px; width: auto; align-self: flex-start; }  /* small inline mark above the badge-row label */
.bento__badge { min-height: 150px; display: grid; place-items: center; border: 1px solid var(--color-line); border-radius: var(--radius-xl); }
.bento__badge img { height: 92px; width: auto; }
@media (max-width: 1023px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(220px, auto); }
  .bento__cell--span2, .bento__cell--span3 { grid-column: span 1; } .bento__cell--tall { grid-row: span 1; min-height: 420px; }
  .bento__badges { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bento__badges-label { grid-column: 1 / -1; }
}
@media (max-width: 599px) { .bento, .bento__badges { grid-template-columns: 1fr; } }

/* 17. Media -------------------------------------------------------------- */
.media { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-surface); }
.media img, .media video { width: 100%; height: 100%; object-fit: cover; }
.media--square { aspect-ratio: 1; }
.media--wide { aspect-ratio: 16 / 9; }
/* Full-bleed animated shader frame with content layered on top. */
.shader-frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); min-height: 420px; display: grid; place-items: center; padding: clamp(24px, 4vw, 64px) clamp(0px, 3vw, 48px); }
.shader-frame > flowing-shader { position: absolute; inset: 0; z-index: 0; }
.shader-frame > * { position: relative; z-index: 1; }
.shader-frame > flowing-shader { z-index: 0; }
.shader-frame__layer { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.shader-frame__layer[data-active] { opacity: 1; }
/* Figures that are inverted in dark mode (line drawings on light paper). */
.theme-dark img[data-fig], [data-theme="dark"] img[data-fig] { filter: invert(1) hue-rotate(180deg); mix-blend-mode: screen; }

/* 18. Banner ------------------------------------------------------------- */
/* One-line strip above the nav: a short tag, the message, a link, and a close button. It sits in normal flow before the
   sticky nav (so it scrolls away and the nav then sticks at the top as usual) and is as short as the small controls
   allow (32px). All type is mono. The strip takes the hero's theme (chrome.js adds .theme-dark over a dark hero), so it sits on
   the dark secondary surface above a dark hero and the light one above a light hero. Every tone shares that surface and the accessible link blue; only the tag differs:
   the default is the quiet one (body text, no tag), --promo has the blue tag, --warning the red one. chrome.js renders it on every docker.com page from its DEFAULT_BANNER (a page sets window.DS_BANNER to replace
   it, or null for none) before the nav, and ds.js (DS.banners) closes it: the strip collapses and the id is remembered in localStorage, so it stays
   away on later visits. No hairline: the tone divides it from the page. */
.banner { position: absolute; top: 0; left: 0; right: 0; z-index: 21; display: flex; align-items: center; justify-content: center; gap: var(--space-3); min-height: var(--space-8); padding: var(--space-1) calc(var(--control-xs) + var(--space-6)) var(--space-1) var(--space-4); background: var(--color-surface); color: var(--color-body); font-family: var(--font-mono); font-size: var(--text-mono-sm-size); letter-spacing: 0.04em; line-height: 1.3; transition: height var(--motion-duration-base) var(--motion-ease-out), opacity var(--motion-duration-base) ease, transform calc(var(--motion-duration-base) * 1.7) var(--motion-ease-expo); }
.banner__tag { flex: none; padding: 2px 6px; border-radius: var(--radius-sm); background: color-mix(in oklab, var(--color-ink) 8%, transparent); color: var(--color-ink); font-family: var(--font-mono); font-size: var(--text-micro-size); line-height: var(--text-micro-leading); letter-spacing: 0.06em; text-transform: uppercase; }
.banner__text { color: inherit; white-space: nowrap; }
.banner__text b { color: var(--color-ink); font-weight: 500; }
.banner .arrow-link { color: var(--color-link); font-size: inherit; letter-spacing: inherit; text-transform: none; gap: 6px; white-space: nowrap; }  /* the link reads as part of the sentence: same case and size, only the arrow marks it */
.banner__close { position: absolute; right: var(--space-3); top: 50%; transform: translateY(-50%); border-color: transparent; color: var(--color-muted); }
.banner__close:hover { color: var(--color-ink); }
.banner--promo { color: var(--color-ink); }  /* same secondary surface as the default; the blue tag and link carry the promotion */
.banner--promo .banner__tag { background: var(--color-primary); color: var(--color-primary-fg); }
.banner--warning { color: var(--color-ink); }  /* same surface and link as every tone; the red tag is the signal */
.banner--warning .banner__tag { background: var(--palette-red-500); color: var(--palette-zero); }
.banner--inline { position: relative; inset: auto; z-index: auto; }  /* a sample in the flow (docs): no page shift, no scroll-away */
.banner.is-closing { opacity: 0; overflow: hidden; }
/* The strip is out of the flow (absolute at the document's top, so it scrolls away with the page) and only ever moves by
   transform: nothing reflows. Away (ds.js, DS.banners: as soon as the page scrolls) it slides up off the top; after a beat
   at the very top it slides back down, and the page eases down by the strip's height to make room (--banner-shift,
   set by ds.js on <html>). */
.banner.is-away { transform: translateY(-100%); pointer-events: none; }
/*
body > :not(.banner):not(.view-toggle):not(.view-veil):not(.grid-overlay):not(script):not(style) { translate: 0 var(--banner-shift, 0px); transition: translate calc(var(--motion-duration-base) * 1.7) var(--motion-ease-expo); }
body::before { content: ''; position: fixed; z-index: 0; top: 0; left: 0; right: 0; height: var(--banner-shift, 0px); background: var(--banner-bg, transparent); transition: height calc(var(--motion-duration-base) * 1.7) var(--motion-ease-expo); pointer-events: none; }
@media (prefers-reduced-motion: reduce) { body > *, body::before { transition: none; } }
*/
@media (max-width: 599px) { .banner { justify-content: flex-start; gap: var(--space-2); padding-left: var(--space-3); } .banner__text, .banner .arrow-link { white-space: normal; } }  /* one line on wide screens; phones let the sentence wrap rather than run under the close button */
@media (prefers-reduced-motion: reduce) { .banner { transition: none; } }

/* 20. Size variants ------------------------------------------------------- */
/* Every component takes --xs and --lg (buttons and inputs also --sm). Heights follow the
   --control-* scale (xs 28 · sm 32 · md 36 · lg 40 · xl 44) so mixed controls line up in a
   row; type steps through the mono-sm / mono / caption / body / body-lg / h4 / h3 / h2-sm styles. */
/* Buttons and icon buttons */
.btn--xs { min-height: var(--control-xs); padding: 7px var(--space-2); gap: 6px; font-size: 12px; }
.btn--xl { min-height: var(--control-xl); padding: 13px var(--space-5); font-size: 16px; }
.icon-btn--xs { width: var(--control-xs); height: var(--control-xs); }
.icon-btn--lg { width: var(--control-lg); height: var(--control-lg); }
/* Inputs and fields. Inputs sit one step taller than buttons (text needs the room), so pair an input
   with the next button size: input--xs + btn--sm, input--sm + btn, input + btn--lg, input--lg + btn--xl. */
.input--xs { height: var(--control-sm); padding: 0 var(--space-2); font-size: var(--text-mono-sm-size); }
.input--lg { height: var(--control-xl); padding: 0 var(--space-4); font-size: var(--text-body-size); }
textarea.input--xs { min-height: 72px; } textarea.input--lg { min-height: 160px; }
.field--xs .field__label { font-size: var(--text-micro-size); } .field--lg .field__label { font-size: var(--text-mono-size); }
/* Eyebrow */
.eyebrow--xs { font-size: var(--text-mono-sm-size); gap: 6px; } .eyebrow--xs.eyebrow--boxed { padding: 0 4px; font-size: 10px; border-radius: 4px; }
.eyebrow--lg { font-size: var(--text-mono-size); gap: 10px; } .eyebrow--lg.eyebrow--boxed { padding: 2px 8px; font-size: var(--text-eyebrow-size); border-radius: var(--radius-lg); }
.eyebrow--xs .eyebrow__dot { width: 4px; height: 4px; } .eyebrow--lg .eyebrow__dot { width: 8px; height: 8px; }
/* Badge */
.badge--xs { padding: 1px 5px; font-size: var(--text-micro-size); line-height: var(--text-mono-sm-leading); gap: 4px; }
.badge--lg { padding: 5px var(--space-3); font-size: var(--text-mono-size); gap: 8px; }
/* Card: --xs is the compact card (tight padding, H4 title, small body); --lg the feature card. */
.card--xs { padding: var(--space-4); }
.card--xs .card__title { font-size: var(--text-h4-size); line-height: var(--text-h4-leading); letter-spacing: var(--text-h4-tracking); }
.card--xs .card__body { font-size: var(--text-body-sm-size); line-height: var(--text-body-sm-leading); margin-top: var(--space-2); }
.card--xs .card__footer { padding-top: var(--space-4); }
.card--lg { padding: var(--space-10) var(--space-8); }
.card--lg .card__title { font-size: var(--text-h2-sm-size); font-weight: var(--text-h2-sm-weight); line-height: var(--text-h2-sm-leading); letter-spacing: var(--text-h2-sm-tracking); }
.card--lg .card__body { font-size: var(--text-body-lg-size); margin-top: var(--space-4); }
.card--lg .card__footer { padding-top: var(--space-10); }
/* Check list */
.checklist--xs { font-size: var(--text-caption-size); line-height: var(--text-caption-leading); gap: var(--space-2); }
.checklist--xs > li { gap: var(--space-2); }
.checklist--xs > li::before, .checklist--xs.checklist--boxed > li::after { width: 12px; height: 12px; margin-top: 3px; }
.checklist--lg > li::before, .checklist--lg.checklist--boxed > li::after { width: 16px; height: 16px; }
/* Window */
.window--xs { font-size: var(--text-mono-sm-size); line-height: var(--text-mono-sm-leading); border-radius: var(--radius-md); }
.window--xs .window__bar { padding: var(--space-2) var(--space-3); gap: var(--space-2); }
.window--xs .window__body { padding: var(--space-3) var(--space-4); }
.window--xs .window__title { font-size: var(--text-micro-size); }
.window--lg { font-size: var(--text-caption-size); line-height: var(--text-mono-leading); border-radius: var(--radius-xl); }
.window--lg .window__bar { padding: var(--space-4) var(--space-5); }
.window--lg .window__body { padding: var(--space-6) var(--space-8); }
.window--lg .window__title { font-size: var(--text-mono-size); }
/* Tiles */
.tile--xs { gap: var(--space-2); padding: var(--space-3) var(--space-2); } .tile-row .tile--xs { width: 72px; }
.tile--xs img, .tile--xs svg, .tile--xs .tile__mark { width: 24px; height: 24px; } .tile--xs .tile__label { font-size: var(--text-micro-size); }
.tile--lg { gap: var(--space-5); padding: var(--space-6) var(--space-4); } .tile-row .tile--lg { width: 160px; }
.tile--lg img, .tile--lg svg, .tile--lg .tile__mark { width: 56px; height: 56px; } .tile--lg .tile__label { font-size: var(--text-mono-size); }
/* Segmented control: the whole control matches a button of the same size (3px frame). */
.segmented--xs .segmented__btn { height: calc(var(--control-xs) - 8px); padding: 0 var(--space-2); font-size: var(--text-micro-size); }
.segmented--lg .segmented__btn { height: calc(var(--control-lg) - 8px); padding: 0 var(--space-4); font-size: var(--text-mono-size); }
/* Command line */
.cmd--xs { gap: var(--space-2); padding: var(--space-1) var(--space-1) var(--space-1) var(--space-3); font-size: var(--text-mono-sm-size); }
.cmd--lg { gap: var(--space-5); padding: var(--space-4) var(--space-4) var(--space-4) var(--space-5); font-size: var(--text-mono-size); }
/* Logo strip and ticker */
.logo-strip--xs .logo-cell, .logo-ticker--xs .logo-cell { min-height: var(--space-16); padding: var(--space-3) var(--space-4); }
.logo-strip--xs .logo-cell img, .logo-ticker--xs .logo-cell img { max-height: 18px; }
.logo-strip--lg .logo-cell, .logo-ticker--lg .logo-cell { min-height: var(--space-32); padding: var(--space-8); }
.logo-strip--lg .logo-cell img, .logo-ticker--lg .logo-cell img { max-height: 40px; }
.logo-ticker--xs .logo-cell { width: 160px; } .logo-ticker--lg .logo-cell { width: 280px; }
/* Quote */
.quote--xs { gap: var(--space-4); } .quote--xs .quote__text { font-size: var(--text-body-lg-size); line-height: var(--text-body-leading); }
.quote--lg { gap: var(--space-8); } .quote--lg .quote__text { font-size: var(--text-h2-sm-size); line-height: var(--text-h2-sm-leading); letter-spacing: var(--text-h2-sm-tracking); }
/* Stat */
.stat--xs { gap: var(--space-2); padding: var(--space-5) var(--space-4); } .stat--xs .stat__value { font-size: var(--text-h1-size); } .stat--xs .stat__label { font-size: var(--text-mono-sm-size); }
.stat--lg { gap: var(--space-5); padding: var(--space-10) var(--space-8); } .stat--lg .stat__value { font-size: calc(var(--text-stat-size) * 1.25); } .stat--lg .stat__label { font-size: var(--text-mono-size); }
/* FAQ */
.faq--xs { gap: var(--space-2); }
.faq--xs .faq__q { padding: var(--space-3) var(--space-4); gap: var(--space-4); font-size: var(--text-body-size); letter-spacing: var(--text-h4-tracking); }
.faq--xs .faq__q::after { width: 18px; height: 18px; font-size: var(--text-mono-sm-size); }
.faq--xs .faq__a { padding: 0 var(--space-4) var(--space-4); font-size: var(--text-caption-size); line-height: var(--text-caption-leading); }
.faq--lg { gap: var(--space-4); }
.faq--lg .faq__q { padding: var(--space-6) var(--space-8); font-size: var(--text-h3-size); line-height: var(--text-h3-leading); letter-spacing: var(--text-h3-tracking); }
.faq--lg .faq__q::after { width: 28px; height: 28px; }
.faq--lg .faq__a { padding: 0 var(--space-8) var(--space-8); font-size: var(--text-body-size); line-height: var(--text-body-leading); }
/* Pager */
.pager--xs .pager__dots { height: var(--control-xs); padding: 0 var(--space-2); gap: 4px; } .pager--xs .pager__dot { width: 4px; height: 4px; } .pager--xs .pager__dot[aria-current="true"] { width: var(--space-5); }
.pager--xs .pager__arrow { width: var(--control-xs); height: var(--control-xs); font-size: var(--text-mono-sm-size); }
.pager--lg .pager__dots { height: var(--control-xl); padding: 0 var(--space-4); gap: 8px; } .pager--lg .pager__dot { width: 8px; height: 8px; } .pager--lg .pager__dot[aria-current="true"] { width: var(--space-10); }
.pager--lg .pager__arrow { width: var(--control-xl); height: var(--control-xl); font-size: var(--text-body-size); }
/* Compare table */
.compare--xs { font-size: var(--text-caption-size); } .compare--xs th, .compare--xs td { padding: var(--space-3) var(--space-4); } .compare--xs thead th { height: 48px; } .compare--xs thead img { height: 16px; } .compare--xs tbody th { padding-left: var(--space-1); }
.compare--lg { font-size: var(--text-body-lg-size); } .compare--lg th, .compare--lg td { padding: var(--space-6) var(--space-10); } .compare--lg thead th { height: 88px; } .compare--lg thead img { height: 28px; }
/* Bento */
.bento--xs { grid-auto-rows: minmax(180px, auto); gap: var(--space-3); } .bento--xs .bento__cell { padding: var(--space-4); border-radius: var(--radius-lg); }
.bento--xs .bento__stat { font-size: var(--text-h1-size); } .bento--xs .bento__quote { font-size: var(--text-body-lg-size); line-height: var(--text-body-leading); } .bento--xs .bento__label, .bento--xs .bento__who { padding-top: var(--space-4); }
.bento--lg { grid-auto-rows: minmax(320px, auto); gap: var(--space-5); } .bento--lg .bento__cell { padding: var(--space-8); border-radius: var(--radius-2xl); }
.bento--lg .bento__quote { font-size: var(--text-lead-lg-size); } .bento--lg .bento__label, .bento--lg .bento__who { padding-top: var(--space-8); }
/* Blog card: the carousel sets --w; sizes adjust the corner radius and chip insets. */
.blog-card--xs { border-radius: var(--radius-md); } .blog-card--xs .blog-card__date, .blog-card--xs .blog-card__whale { left: var(--space-2); right: auto; bottom: var(--space-2); } .blog-card--xs .blog-card__whale { left: auto; right: var(--space-2); width: 20px; }
.blog-card--lg { border-radius: var(--radius-xl); } .blog-card--lg .blog-card__date { left: var(--space-6); bottom: var(--space-6); } .blog-card--lg .blog-card__whale { right: var(--space-6); bottom: var(--space-6); width: 36px; }
/* Feature scroll */
.feature-scroll--xs .feature-scroll__item { padding: var(--space-3) 0; } .feature-scroll--xs .feature-scroll__title { font-size: var(--text-h4-size); line-height: var(--text-h4-leading); letter-spacing: var(--text-h4-tracking); }
.feature-scroll--xs .feature-scroll__card { width: min(100%, 360px); border-radius: var(--radius-xl); } .feature-scroll--xs .feature-scroll__more p { font-size: var(--text-body-sm-size); }
.feature-scroll--lg .feature-scroll__item { padding: var(--space-7) 0; } .feature-scroll--lg .feature-scroll__title { font-size: var(--text-h2-sm-size); font-weight: var(--text-h2-sm-weight); line-height: var(--text-h2-sm-leading); letter-spacing: var(--text-h2-sm-tracking); }
.feature-scroll--lg .feature-scroll__more p { font-size: var(--text-body-lg-size); }

/* Machine view (DS.machine). The Human / Machine pill sits fixed at the bottom centre of every page; in machine
   mode the page is replaced by its own content serialised to Markdown in a mono column, with a copy button.
   Both pieces are .theme-dark islands so they read the same on every page. */
.view-toggle { position: fixed; left: 50%; bottom: var(--space-5); z-index: 60; transform: translateX(-50%); display: flex; align-items: center; gap: var(--space-2); padding: 3px 3px 3px 3px; border-radius: var(--radius-md); background: var(--color-surface); color: var(--color-ink); border: 1px solid var(--color-line); box-shadow: var(--shadow-nav); font-family: var(--font-mono); font-size: var(--text-mono-sm-size); letter-spacing: 0.06em; text-transform: uppercase; }
.view-toggle__group { position: relative; display: flex; align-items: center; }
.view-toggle__thumb { position: absolute; top: 0; left: 0; height: 100%; width: var(--w, 0px); transform: translateX(var(--x, 0px)); border-radius: var(--radius-sm); background: var(--color-hover); transition: transform .4s var(--motion-ease-out), width .4s var(--motion-ease-out); }
.view-toggle__opt { position: relative; display: inline-flex; align-items: center; gap: 6px; height: var(--control-xs); padding: 0 var(--space-3) 0 var(--space-2); border-radius: var(--radius-sm); color: var(--color-muted); transition: color var(--motion-duration-fast) ease, background-color var(--motion-duration-fast) ease; }
.view-toggle__opt:hover { color: var(--color-ink); }
.view-toggle__opt[aria-checked="true"] { color: var(--color-ink); }
.view-toggle__opt:active { transform: scale(.96); }
.view-toggle__opt { transition: color var(--motion-duration-fast) ease, transform .15s var(--motion-ease-out); }
.view-toggle__dot { width: 8px; height: 8px; border-radius: var(--radius-full); border: 1px solid currentColor; }
.view-toggle__dot { transition: background-color .25s ease, box-shadow .25s ease; }
.view-toggle__opt[aria-checked="true"] .view-toggle__dot { background: currentColor; box-shadow: inset 0 0 0 2px var(--color-surface); }
.view-toggle__kbd { padding-right: var(--space-2); color: var(--color-muted); border-left: 1px solid var(--color-line); padding-left: var(--space-2); }
.view-toggle__kbd .kbd { font-size: inherit; }
@media (max-width: 599px) { .view-toggle__kbd { display: none; } }
/* Docked: in the footer's legal row, left of the privacy notice; flat, no float shadow. */
.view-toggle--docked { position: static; transform: none; box-shadow: none; z-index: auto; background: transparent; box-sizing: border-box; height: 26px; padding: 2px; border-radius: var(--radius-sm); }  /* 26px tall, the same as the privacy notice beside it */
.view-toggle--docked .view-toggle__opt { height: 20px; }
.view-toggle--docked .view-toggle__thumb { border-radius: 2px; }
.footer__legal-end { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }

/* Crossfade between the two views: a fixed veil in the destination's page colour fades up, the swap happens underneath, then it fades away. */
.view-veil { position: fixed; inset: 0; z-index: 55; pointer-events: none; opacity: 0; transition: opacity .32s var(--motion-ease-out); }
.view-veil.is-on { opacity: 1; transition-duration: .24s; }
@keyframes machineIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.machine-view.is-entering .machine__col { animation: machineIn .5s var(--motion-ease-out) both; }
@media (prefers-reduced-motion: reduce) { .view-veil { transition: none; } .machine-view.is-entering .machine__col { animation: none; } .view-toggle__thumb { transition: none; } }
html[data-view="machine"] body > :not(.machine-view):not(.view-toggle):not(.view-veil) { display: none !important; }
html[data-view="machine"] body { background: var(--palette-ether); }
.machine-view { display: none; min-height: 100svh; background: var(--color-bg); color: var(--color-body); font-family: var(--font-mono); font-size: var(--text-mono-size); line-height: 1.6; -webkit-font-smoothing: antialiased; }
html[data-view="machine"] .machine-view { display: block; }
.machine__col { max-width: 720px; margin: 0 auto; padding: var(--space-8) var(--space-6) calc(var(--space-16) + var(--control-xs)); border-left: 1px solid var(--color-line-soft); border-right: 1px solid var(--color-line-soft); min-height: 100svh; }
.machine__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding-bottom: var(--space-6); margin-bottom: var(--space-6); border-bottom: 1px solid var(--color-line-soft); }
.machine__meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.machine__title { color: var(--color-ink); }
.machine__src, .machine__note { font-size: var(--text-mono-sm-size); color: var(--color-muted); overflow-wrap: anywhere; }
.machine__copy { flex: none; }
.machine__body { display: flex; flex-direction: column; gap: var(--space-2); overflow-wrap: anywhere; }
.machine__body > .is-untyped { display: none; }
.machine__cursor { display: inline-block; width: .6em; height: 1.05em; margin-left: 1px; vertical-align: -0.18em; background: var(--color-ink); animation: blink 1s steps(1) infinite; }
.machine__h { color: var(--color-ink); margin-top: var(--space-6); }
.machine__h--1 { margin-top: var(--space-8); }
.machine__h + .machine__h { margin-top: var(--space-2); }
.machine__li { padding-left: calc(var(--space-4) * var(--d, 0)); }
.machine__quote { color: var(--color-muted); }
.machine__cta { align-self: flex-start; }
.machine__cta a { display: inline-block; background: var(--color-ink); color: var(--color-bg); padding: 0 6px; }
.machine__cta a .machine__url { color: var(--color-bg); opacity: .55; }
.machine__code { margin: var(--space-2) 0; padding: var(--space-4); background: var(--color-panel); border: 1px solid var(--color-line-soft); border-radius: var(--radius-sm); overflow: auto; font: inherit; font-size: var(--text-mono-sm-size); line-height: 1.5; color: var(--color-code); }
.machine-view a { color: var(--color-ink); text-decoration: none; }
.machine-view a:hover { color: var(--color-tertiary); }
.machine__url { color: var(--color-muted); }
.machine-view code { font: inherit; color: var(--color-comment); }
.machine-view ::selection { background: var(--color-ink); color: var(--color-bg); }

/* Era cards (Home > Era of Trust). The three feature-scroll illustrations rebuilt as live components: a dark square
   card with a dot grid, a title row with a real secondary button, and an interactive stage. Sizes are in container
   units so the card scales like the artwork did. ds.js > DS.eraCards wires the behaviour. */
.era { container-type: inline-size; position: relative; display: flex; flex-direction: column; background: var(--palette-ink); color: var(--palette-zero); padding: 2.2cqw 2.4cqw; isolation: isolate; }
.era::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: radial-gradient(color-mix(in oklab, var(--palette-zero) 7%, transparent) 1px, transparent 1.5px); background-size: 3.1cqw 3.1cqw; background-position: 1.5cqw 1.5cqw; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 60%, transparent 100%); mask-image: linear-gradient(to bottom, #000 0, #000 60%, transparent 100%); }
.era > * { position: relative; z-index: 1; }
.era__head { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); }
/* Card title shared by every feature-scroll card (Home era cards, Sandboxes capability cards): display face, regular, sized
   in container units so it scales with the card. The card must be a container (container-type: inline-size). */
.feature-scroll__card-title, .era__title { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 6.4cqw; line-height: 1.05; letter-spacing: -0.02em; }
.era__title { color: var(--palette-zero); }
.era__head .btn { flex: none; }
.era__stage { position: relative; flex: 1; min-height: 0; }

/* Isolation: three sandbox windows fanned back and up; the front one holds the agents. The stack cycles on its own; it is not interactive. */
.era-sbx { position: absolute; inset: 0; }
.era-sbx__win { position: absolute; left: 0; bottom: 3%; width: 70%; aspect-ratio: 1.52; --i: 0; transform: translate(calc(var(--i) * 17%), calc(var(--i) * -22%)); z-index: calc(3 - var(--i)); border-radius: 4.2cqw; background: color-mix(in oklab, var(--palette-ether) 80%, transparent); border: 1px solid color-mix(in oklab, var(--palette-ink) 92%, var(--palette-blue-500)); box-shadow: 0 2.6cqw 6cqw -2cqw color-mix(in oklab, var(--palette-ether) 70%, transparent); backdrop-filter: blur(2px); -webkit-backdrop-filter: blur(2px); overflow: hidden; pointer-events: none; transition: transform .7s var(--motion-ease-out), filter .7s var(--motion-ease-out), opacity .7s var(--motion-ease-out), border-color .4s ease; filter: blur(calc(var(--i) * 1px)) brightness(calc(1 - var(--i) * .14)); }
.era-sbx__win::before { content: ''; position: absolute; inset: 2.2cqw; border-radius: 3cqw; border: 1px solid color-mix(in oklab, color-mix(in oklab, var(--palette-ink) 92%, var(--palette-blue-500)) 80%, transparent); pointer-events: none; }
.era-sbx__name { position: absolute; left: 6%; top: 9%; font-family: var(--font-display); font-weight: 400; font-size: 4.6cqw; letter-spacing: -0.015em; color: var(--palette-zero); }
.era-sbx__noise { position: absolute; inset: 2.6cqw; margin: 0; overflow: hidden; font-family: var(--font-mono); font-size: 1.15cqw; line-height: 1.45; letter-spacing: 0; color: color-mix(in oklab, var(--palette-zero) 11%, transparent); white-space: pre-wrap; overflow-wrap: anywhere; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%); mask-image: linear-gradient(to bottom, transparent 0, #000 22%, #000 100%); pointer-events: none; user-select: none; }
.era-sbx__win:not(.is-front) .era-sbx__noise, .era-sbx__win:not(.is-front) .era-chip { opacity: 0; }
.era-chip { position: absolute; left: var(--x); top: var(--y); width: 24cqw; aspect-ratio: 147 / 39; display: block; color: var(--palette-zero); transition: opacity .5s ease, transform .5s var(--motion-ease-out); animation: eraDrift 7s ease-in-out infinite; animation-delay: var(--d, 0s); }  /* the supplied agent frame: a chamfered plate with a hex badge for the mark */
.era-chip__frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.era-chip__plate { fill: color-mix(in oklab, var(--palette-ink) 96%, var(--palette-blue-500)); stroke: color-mix(in oklab, var(--palette-zero) 18%, var(--palette-ink)); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.era-chip__hex { fill: none; stroke: color-mix(in oklab, var(--palette-zero) 18%, var(--palette-ink)); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.era-chip__mark { position: absolute; left: 14.3%; top: 48.7%; transform: translate(-50%, -50%); display: grid; place-items: center; width: 2.9cqw; height: 2.9cqw; color: var(--palette-zero); }
.era-chip__mark img, .era-chip__mark .icon { width: 100%; height: 100%; --icon-size: 100%; }
.era-chip__mark img { filter: brightness(0) invert(1); }
.era-chip__label { position: absolute; left: 30%; top: 50%; transform: translateY(-50%); font-family: var(--font-mono); font-size: 2.8cqw; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: color-mix(in oklab, var(--palette-brand-neutral) 85%, var(--palette-ether)); }
@keyframes eraDrift { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(0, -1.2cqw); } }

/* Speed: a line chart that draws itself in, with a threshold rule and a marker you can drag along the line. */
.era-chart { position: absolute; inset: 8% 0 0; display: grid; grid-template-rows: 1fr auto; }
.era-chart__plot { position: relative; min-height: 0; touch-action: none; cursor: crosshair; }
.era-chart__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.era-chart__rule { stroke: color-mix(in oklab, var(--palette-zero) 34%, transparent); stroke-width: 2; stroke-dasharray: 0 7; stroke-linecap: round; }
.era-chart__line { fill: none; stroke: var(--palette-blue-400); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.era.in .era-chart__line { animation: eraDraw 2.2s var(--motion-ease-out) both; }
@keyframes eraDraw { from { stroke-dashoffset: var(--L); } to { stroke-dashoffset: 0; } }
.era-chart__dot { fill: var(--palette-zero); stroke: var(--palette-ink); stroke-width: 2; }
.era-chart__tip { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, calc(-100% - 3.4cqw)); display: inline-flex; align-items: center; gap: 1.4cqw; padding: 1.4cqw 2.2cqw; border-radius: 1.6cqw; background: var(--palette-ether); color: var(--palette-zero); font-family: var(--font-body); font-size: 3.6cqw; font-weight: 500; line-height: 1; white-space: nowrap; box-shadow: 0 1cqw 3cqw color-mix(in oklab, var(--palette-ether) 50%, transparent); transition: left .12s linear, top .12s linear; pointer-events: none; }
.era-chart__tip::after { content: ''; position: absolute; left: 50%; top: 100%; width: 2cqw; height: 1.2cqw; transform: translateX(-50%); background: var(--palette-ether); clip-path: polygon(0 0, 100% 0, 50% 100%); }
.era-chart__tip .icon { --icon-size: 3.4cqw; display: grid; place-items: center; width: 4.2cqw; height: 4.2cqw; border-radius: var(--radius-full); background: var(--palette-green-300); color: var(--palette-ether); padding: .5cqw; box-sizing: border-box; }
.era-chart__tip .icon svg { width: 100%; height: 100%; }
.era-chart__axis { display: flex; justify-content: space-between; padding: 2.4cqw 0 0; font-family: var(--font-mono); font-size: 1.9cqw; letter-spacing: 0.08em; text-transform: uppercase; color: color-mix(in oklab, var(--palette-zero) 50%, transparent); }
@media (prefers-reduced-motion: reduce) { .era.in .era-chart__line { animation: none; stroke-dashoffset: 0 !important; } .era-chip { animation: none; } }

/* Policy: a console that keeps logging. Rows type in on view; a new decision slides in every few seconds. */
.era-log { position: absolute; left: 0; right: -6%; top: 5%; bottom: 4%; display: flex; flex-direction: column; justify-content: center; padding: 1cqw; border-radius: 4.2cqw; background: color-mix(in oklab, var(--palette-ether) 90%, transparent); border: 1px solid color-mix(in oklab, var(--palette-ink) 92%, var(--palette-blue-500)); box-shadow: 0 2.6cqw 6cqw -2cqw color-mix(in oklab, var(--palette-ether) 70%, transparent); overflow: hidden; }
.era-log__inner { position: absolute; inset: 2.2cqw; border-radius: 3.2cqw; background: color-mix(in oklab, var(--palette-ink) 96%, var(--palette-blue-500)); overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding: 0 3cqw; }
.era-log__row { display: grid; grid-template-columns: 22% 17% 1fr; align-items: center; gap: 2cqw; padding: 3cqw 0; border-top: 1px solid color-mix(in oklab, var(--palette-zero) 8%, transparent); animation: eraRow .6s var(--motion-ease-out) both; transition: background-color .25s ease; }
.era-log__row:first-child { border-top: 0; }
.era-log__row:hover { background: color-mix(in oklab, var(--palette-zero) 3%, transparent); }
.era-log__row.is-leaving { animation: eraRowOut .4s var(--motion-ease-out) both; }
@keyframes eraRow { from { opacity: 0; transform: translateY(1.5cqw); } to { opacity: 1; transform: none; } }
@keyframes eraRowOut { to { opacity: 0; transform: translateY(-1.5cqw); } }
.era-log__time { font-family: var(--font-body); font-size: 2.5cqw; color: color-mix(in oklab, var(--palette-slate-700) 55%, var(--palette-slate-400)); font-variant-numeric: tabular-nums; }
.era-log__badge { justify-self: start; padding: .9cqw 2cqw; border-radius: 1.4cqw; font-family: var(--font-mono); font-size: 2.2cqw; letter-spacing: .06em; text-transform: uppercase; line-height: 1.5; }
.era-log__badge--allow { background: color-mix(in oklab, var(--palette-green-300) 55%, var(--palette-zero)); color: var(--palette-green-700); }
.era-log__badge--sign { background: color-mix(in oklab, var(--palette-blue-200) 55%, var(--palette-zero)); color: var(--palette-blue-800); }
.era-log__badge--scope { background: color-mix(in oklab, var(--palette-blue-200) 80%, var(--palette-zero)); color: var(--palette-blue-800); }
.era-log__badge--attest { background: color-mix(in oklab, var(--palette-green-300) 45%, var(--palette-blue-100)); color: var(--palette-green-700); }
.era-log__text { font-family: var(--font-body); font-size: 2.5cqw; line-height: 1.35; color: var(--palette-zero); }
.era-log__sub { display: block; color: color-mix(in oklab, var(--palette-slate-700) 55%, var(--palette-slate-400)); }

/* CTA band: the blue closing panel (Figma: Reform Explorations 86:26193, first used on Sandboxes). A dark .section carries
   .cta-band and insets the panel 16px (space/4) from the viewport, like the footer; the panel is .theme-primary so every
   token inside re-resolves to the blue band values. Two slots: .cta-band__lead on the left (a command + hint, or a title +
   lead) and .cta-band__action on the right (a title and/or buttons). Stacks below LG.
     <section class="section section--dark theme-dark cta-band">
       <div class="container"><div class="cta-band__panel theme-primary">
         <div class="cta-band__lead">…</div>
         <div class="cta-band__action"><h2 class="cta-band__title">Talk to sales</h2><a class="btn btn--xl cta-band__go" href="…"><i data-icon="chevron-right"></i></a></div>
       </div></div>
     </section> */
.cta-band { padding: var(--space-4); }
.cta-band > .container { max-width: none; padding-inline: 0; }
.cta-band__panel { --cta-pad-x: min(var(--space-12), max(var(--space-6), calc(var(--grid-inset) - var(--space-4)))); max-width: var(--layout-container); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: var(--space-10); padding: var(--space-16) var(--cta-pad-x); border-radius: var(--radius-3xl); background: var(--color-bg); color: var(--color-ink); }  /* capped at the content width (1344) and centred; below the cap it sits 16px from the viewport and its side padding brings the content to the grid margin, up to 48px once capped */
.cta-band__lead { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); min-width: 0; }
.cta-band__lead--copy { align-items: flex-start; gap: var(--space-4); max-width: var(--layout-prose); }  /* title + lead variant */
.cta-band__lead--copy .t-body-lg { color: var(--palette-blue-100); }
.cta-band__cmd { gap: clamp(var(--space-6), 6vw, 80px); padding: var(--space-6) var(--space-6) var(--space-6) var(--space-10); border: 1px solid var(--color-line); border-radius: var(--radius-2xl); background: transparent; font-size: var(--text-quote-size); letter-spacing: -0.02em; line-height: 1; }
.cta-band__cmd .cmd__text { white-space: nowrap; flex: none; } .cta-band__cmd .cmd__text::before { content: none; }
.cta-band__cmd .btn { font-size: var(--text-body-size); letter-spacing: 0; padding-inline: var(--space-5); border-radius: var(--radius-lg); }
.cta-band__hint { color: var(--palette-blue-300); text-align: center; }
.cta-band__action { display: flex; align-items: center; gap: clamp(var(--space-6), 4vw, 64px); flex: none; }
.cta-band__title { font-family: var(--text-h2-sm-family); font-size: var(--text-h2-sm-size); font-weight: var(--text-h2-sm-weight); line-height: var(--text-h2-sm-leading); letter-spacing: var(--text-h2-sm-tracking); color: inherit; }  /* the action title is a step below the lead's H2 */
.cta-band__go { display: inline-flex; align-items: center; gap: var(--space-3); padding: 0 var(--space-3); border-radius: var(--radius-lg); background: var(--palette-blue-600); color: var(--palette-zero); }
.cta-band__go:hover { background: var(--palette-blue-700); color: var(--palette-zero); }
.cta-band__go > span { padding-left: var(--space-2); }
@media (max-width: 1023px) { .cta-band__panel { flex-direction: column; align-items: stretch; gap: var(--space-10); } .cta-band__lead { align-items: stretch; } .cta-band__lead--copy { max-width: none; } .cta-band__cmd { justify-content: space-between; } .cta-band__action { justify-content: space-between; } }
@media (max-width: 767px) { .cta-band__panel { padding-block: var(--space-12); border-radius: var(--radius-2xl); } .cta-band__cmd { gap: var(--space-4); padding: var(--space-4) var(--space-3) var(--space-4) var(--space-5); border-radius: var(--radius-xl); font-size: var(--text-body-lg-size); } .cta-band__cmd .btn { padding-inline: var(--space-3); } }
