/* Generated from packages/ui-web/src/components.css by scripts/export-django-static.mjs. Edit the source. */
/* @aents/ui-web · component styles
 *
 * Every declaration reads a CSS variable published by tokens.ts. If a value here
 * is not a `var(--*)`, it is a layout constant (1px hairlines, percentages,
 * geometry), never a design decision. */

/* ---------------- Layout ---------------- */

.aents-container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--spacing-lg);
}

.aents-container--bleed {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(
    var(--spacing-lg),
    calc((100vw - var(--container)) / 2 + var(--spacing-lg))
  );
}

.aents-surface {
  background: var(--surface);
  border-style: solid;
  border-color: var(--border-subtle);
  border-radius: var(--radius-lg);
  transition:
    transform var(--duration-base) var(--easing-standard),
    box-shadow var(--duration-base) var(--easing-standard),
    border-color var(--duration-base) var(--easing-standard);
}

/* A surface in a state wears it on its edge. Mixed with the surface colour so
 * it reads as an edge, not as an alert: the words inside are the message. */
.aents-surface--tone-success {
  border-color: color-mix(in srgb, var(--success) 62%, var(--surface));
}
.aents-surface--tone-info {
  border-color: color-mix(in srgb, var(--info) 62%, var(--surface));
}
.aents-surface--tone-warning {
  border-color: color-mix(in srgb, var(--warning) 62%, var(--surface));
}
.aents-surface--tone-error {
  border-color: color-mix(in srgb, var(--error) 62%, var(--surface));
}

.aents-surface--interactive:hover {
  transform: translateY(-2px);
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
  box-shadow: var(--shadow-3);
}
.aents-surface--interactive:focus-within {
  border-color: var(--primary);
  box-shadow: var(--shadow-3);
}

.aents-divider {
  border: 0;
  background: var(--border-subtle);
}
.aents-divider--horizontal {
  height: 1px;
  width: 100%;
}
.aents-divider--vertical {
  width: 1px;
  align-self: stretch;
}

/* ---------------- Brand effects ---------------- */

/* Two panes of the same glass. `smoked` is the dark one that carries light copy
 * over imagery; `crystal` is the light one, first cut for the Aents QR preview:
 * the surface behind still shows through it, a sheen falls across the top-left
 * corner, and a hairline catches the light along two of its edges. */
.aents-glass-panel {
  --aents-glass-accent: var(--primary);
  /* How much white the crystal holds. A pane over a dark band takes more of it
     so the copy on top keeps its contrast. */
  --aents-glass-tint: 62%;
  position: relative;
  isolation: isolate;
}
.aents-glass-panel--smoked {
  border: 1px solid color-mix(in srgb, var(--white) 15%, transparent);
  background: color-mix(in srgb, var(--navy) 72%, transparent);
  backdrop-filter: blur(16px) saturate(125%);
  box-shadow: var(--shadow-3);
}
.aents-glass-panel--crystal {
  overflow: hidden;
  border: 1px solid
    color-mix(in srgb, var(--aents-glass-accent) 30%, var(--white));
  background:
    radial-gradient(
      circle at 12% 0,
      color-mix(in srgb, var(--white) 72%, transparent),
      transparent 34%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--aents-glass-accent) 8%, transparent),
      color-mix(in srgb, var(--aents-glass-accent) 8%, transparent)
    ),
    color-mix(in srgb, var(--white) var(--aents-glass-tint, 62%), transparent);
  backdrop-filter: blur(30px) saturate(165%);
  -webkit-backdrop-filter: blur(30px) saturate(165%);
  box-shadow:
    0 28px 70px color-mix(in srgb, var(--navy) 14%, transparent),
    0 12px 36px color-mix(in srgb, var(--aents-glass-accent) 8%, transparent),
    inset 0 1px 0 color-mix(in srgb, var(--white) 94%, transparent),
    inset 1px 0 0 color-mix(in srgb, var(--white) 62%, transparent);
}
/* The lit edge: an inner hairline that fades away as it turns the corner, so
   the pane reads as glass rather than as a second border. */
.aents-glass-panel--crystal::before {
  position: absolute;
  z-index: 2;
  inset: 1px;
  border: 1px solid color-mix(in srgb, var(--white) 64%, transparent);
  border-radius: inherit;
  mask-image: linear-gradient(135deg, black, transparent 48%, black);
  pointer-events: none;
  content: "";
}
.aents-glass-panel--crystal > * {
  position: relative;
  z-index: 1;
}
.aents-upload-visual {
  position: relative;
  display: grid;
  place-items: center;
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--primary) 18%, transparent);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow:
    var(--shadow-2),
    inset 0 1px 0 var(--white);
  animation: aents-upload-float 3.8s var(--easing-emphasis) infinite;
}
.aents-upload-visual--default {
  width: 82px;
  height: 82px;
}
.aents-upload-visual--compact {
  width: 68px;
  height: 68px;
}
.aents-upload-visual svg {
  position: relative;
  z-index: 1;
  width: 51%;
  height: 51%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aents-upload-visual__pulse {
  position: absolute;
  inset: -1px;
  border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent);
  border-radius: inherit;
  animation: aents-upload-pulse 2.8s var(--easing-decelerate) infinite;
}
@keyframes aents-upload-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}
@keyframes aents-upload-pulse {
  0% {
    opacity: 0.65;
    transform: scale(1);
  }
  70%,
  100% {
    opacity: 0;
    transform: scale(1.28);
  }
}
@media (prefers-reduced-motion: reduce) {
  .aents-upload-visual,
  .aents-upload-visual__pulse {
    animation: none;
  }
}

.aents-brand-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.16;
  background-image:
    linear-gradient(
      color-mix(in srgb, var(--lavender) 18%, transparent) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--lavender) 18%, transparent) 1px,
      transparent 1px
    );
  background-size: var(--space-16) var(--space-16);
  mask-image: linear-gradient(90deg, transparent, black 55%, transparent);
}

/* ---------------- Inputs ---------------- */

.aents-field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  /* A control follows the column it is given. Without this a field standing in
     a flex or grid track keeps that track from ever going below its own
     content — and a <button> such as the select trigger reports its entire
     label as its minimum width, so one long option widened the panel around
     it. The value inside already ends in an ellipsis. */
  min-width: 0;
}
.aents-field__label {
  color: var(--text-secondary);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.01em;
}
.aents-field__required {
  margin-inline-start: var(--spacing-xs);
  color: var(--error);
}
.aents-field__control {
  display: flex;
  align-items: center;
  min-height: var(--control-sm);
  padding-inline: var(--space-2);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  box-shadow: none;
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard),
    background-color var(--duration-fast) var(--easing-standard);
}
.aents-field__control:hover:not(.is-disabled):not(:focus-within) {
  border-color: var(--text-muted);
}
.aents-field__control:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 18%, transparent);
}
.aents-field__control.is-invalid {
  border-color: var(--error);
  background: color-mix(in srgb, var(--error) 3%, var(--surface));
}
.aents-field__control.is-invalid:focus-within {
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--error) 18%, transparent);
}
.aents-field__control.is-disabled {
  opacity: var(--disabled-opacity);
  cursor: not-allowed;
}
.aents-field__input {
  flex: 1;
  min-width: 0;
  min-height: calc(var(--control-sm) - 2px);
  padding: var(--space-2) var(--space-1);
  background: transparent;
  border: 0;
  color: var(--text);
  font: inherit;
  outline: 0;
}
/* A placeholder is an example, not a value. Held well under the muted text
   tone — and with Firefox's own dimming turned off so the result is the same
   everywhere — so a field showing one is never read as a field already filled
   in. */
.aents-field__input::placeholder {
  color: color-mix(in srgb, var(--text-muted) 55%, transparent);
  opacity: 1;
}
/* A growing control fills the box instead of sitting centred in it. */
.aents-field__control--multiline {
  align-items: stretch;
}
.aents-field__textarea {
  /* Only vertically: a horizontal drag would break the form's own column. */
  resize: vertical;
  min-height: calc(var(--type-body-line) * 3 + var(--spacing-md));
  font: inherit;
}
/* A field whose label is off-screen has nothing to space itself from. */
.aents-field--bare {
  gap: 0;
}
/* ---- Select ----------------------------------------------------------- */

/* The trigger is a button wearing the field chrome, so a dropdown and a text
   input in the same panel are the same height and the same shape. */
.aents-select__trigger {
  width: 100%;
  margin: 0;
  color: var(--text);
  font: inherit;
  text-align: start;
  appearance: none;
  cursor: pointer;
}
.aents-select__trigger[data-disabled] {
  cursor: not-allowed;
}
.aents-select__value {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* A dropdown with nothing chosen shows its placeholder at the same weight as a
   text field's, so an unanswered control never reads as an answered one. */
.aents-select__placeholder {
  color: color-mix(in srgb, var(--text-muted) 55%, transparent);
}
.aents-select__positioner {
  z-index: 60;
  /* The list never grows past the viewport: Base UI publishes the room it has
     as a custom property, and the popup scrolls inside it. */
  max-height: var(--available-height);
}
.aents-select__popup {
  overflow-y: auto;
  min-width: var(--anchor-width);
  max-height: var(--available-height);
  padding: var(--space-1);
  background: var(--background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-3);
  transform-origin: var(--transform-origin);
  transition:
    opacity var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-select__popup[data-starting-style],
.aents-select__popup[data-ending-style] {
  opacity: 0;
  transform: scale(0.97);
}
.aents-select__item {
  display: grid;
  grid-template-columns: var(--icon-base) 1fr;
  gap: var(--spacing-sm);
  align-items: center;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-xs);
  color: var(--text);
  cursor: pointer;
  user-select: none;
}
/* Base UI moves this attribute with the keyboard and the pointer alike, so the
   row under the cursor and the row the arrows are on are highlighted the same
   way. */
.aents-select__item[data-highlighted] {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
}
.aents-select__item[data-selected] {
  font-weight: var(--weight-semibold);
}
.aents-select__item[data-disabled] {
  opacity: var(--disabled-opacity);
  cursor: not-allowed;
}
.aents-select__check {
  display: grid;
  place-items: center;
  color: var(--primary);
  /* The column is always there; only the tick comes and goes. */
  visibility: hidden;
}
.aents-select__item[data-selected] .aents-select__check {
  visibility: visible;
}
.aents-select__item-text {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
@media (prefers-reduced-motion: reduce) {
  .aents-select__popup {
    transition: none;
  }
}

/* ---- Quantity stepper ------------------------------------------------- */

/* Sized like every other compact control of the system, so a stepper and a
   select standing side by side line up instead of missing each other by the
   8px between --control-sm and --touch-target. A coarse pointer grows it
   below. */
.aents-stepper__control {
  display: inline-grid;
  grid-template-columns: var(--control-sm) minmax(2.75rem, 1fr) var(
      --control-sm
    );
  align-items: stretch;
  /* Never narrower than its own three tracks: squeezed into a column that
     cannot hold them, the buttons compress and the glyphs slide off centre. */
  min-width: max-content;
  min-height: var(--control-sm);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  background: var(--surface);
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard);
}

@media (pointer: coarse) {
  .aents-stepper__control {
    grid-template-columns: var(--touch-target) minmax(2.75rem, 1fr) var(
        --touch-target
      );
    min-height: var(--touch-target);
  }
}
.aents-stepper__control:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 18%, transparent);
}
.aents-stepper__control.is-disabled {
  opacity: var(--disabled-opacity);
}
.aents-stepper__button {
  position: relative;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--easing-standard);
}

/* One bar for minus, two crossed for plus: same length, same thickness, same
   centre, whatever the font is doing. */
.aents-stepper__button::before,
.aents-stepper__button::after {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 1px;
  background: currentColor;
  content: "";
}

.aents-stepper__button::before {
  width: 0.7rem;
  height: 2px;
  transform: translate(-50%, -50%);
}

.aents-stepper__button--increase::after {
  width: 2px;
  height: 0.7rem;
  transform: translate(-50%, -50%);
}
.aents-stepper__button:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.aents-stepper__button:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}
.aents-stepper__input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-variant-numeric: tabular-nums;
  font-weight: var(--weight-semibold);
  text-align: center;
  /* The stepper buttons are the spinner; the native one would be a second. */
  appearance: textfield;
}
.aents-stepper__input::-webkit-outer-spin-button,
.aents-stepper__input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}
.aents-field__chevron {
  /* Decoration painted next to the control: clicks belong to the select. */
  pointer-events: none;
}
.aents-field__adornment {
  display: inline-flex;
  align-items: center;
  color: var(--text-muted);
}
.aents-field__message {
  min-height: var(--type-caption-line);
  color: var(--text-muted);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
}
/* For a field that shares its line with another control — a search box with the
 * button that submits it. There the reserved message line is in the way twice
 * over: it makes the field taller than the control beside it, so a button
 * aligned to the bottom of the row no longer sits on the control's line. This
 * lifts the message out of the field's box entirely, so the row is exactly as
 * tall as the control and nothing moves when the message changes.
 *
 * The room for the floating line is the container's to keep — padding under the
 * row, never a margin on the field, which flex alignment would count again. */
.aents-field--inline-message {
  position: relative;
}
.aents-field--inline-message > .aents-field__message {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  margin-top: var(--space-2);
}
.aents-field__message.is-error {
  color: var(--error);
}

.aents-form {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
}
.aents-form--compact {
  gap: var(--spacing-md);
}
.aents-form--relaxed {
  gap: var(--spacing-xl);
}
.aents-form-grid {
  display: grid;
  gap: var(--spacing-md);
}
.aents-form-grid--1 {
  grid-template-columns: minmax(0, 1fr);
}
.aents-form-grid__full {
  grid-column: 1 / -1;
}
.aents-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  padding-top: var(--spacing-sm);
}

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

@media (max-width: 639px) {
  .aents-form-actions > * {
    flex: 1 1 auto;
  }
}

.aents-check,
.aents-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-height: var(--touch-target);
  cursor: pointer;
  user-select: none;
}
.aents-check__label,
.aents-switch__label {
  cursor: inherit;
}
/* The box and the track are the buttons Base UI renders (it keeps its own
   hidden input for form submission, positioned off-screen by the library), so
   the state comes from its `data-*` attributes instead of from a `:checked`
   sibling selector. */
.aents-check__box {
  display: inline-grid;
  place-items: center;
  width: var(--icon-base);
  height: var(--icon-base);
  margin: 0;
  padding: 0;
  color: var(--on-primary);
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  appearance: none;
  cursor: inherit;
  transition:
    background-color var(--duration-fast) var(--easing-standard),
    border-color var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-check__box[data-checked],
.aents-check__box[data-indeterminate] {
  background: var(--primary);
  border-color: var(--primary);
}
/* The tick stays mounted so it can fade in rather than appear. */
.aents-check__indicator {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(0.7);
  transition:
    opacity var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-check__box[data-checked] .aents-check__indicator,
.aents-check__box[data-indeterminate] .aents-check__indicator {
  opacity: 1;
  transform: scale(1);
}
.aents-check__box:focus-visible,
.aents-switch__track:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.aents-check:active .aents-check__box:not([data-disabled]) {
  transform: scale(0.9);
}
.aents-check:has([data-disabled]),
.aents-switch:has([data-disabled]) {
  opacity: var(--disabled-opacity);
  cursor: not-allowed;
}

.aents-switch__track {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  width: var(--control-md);
  height: calc(var(--icon-base) + var(--space-1));
  margin: 0;
  padding: 2px;
  background: var(--border);
  border: 0;
  border-radius: var(--radius-full);
  appearance: none;
  cursor: inherit;
  transition:
    background-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard);
}
.aents-switch__thumb {
  width: var(--icon-md);
  height: var(--icon-md);
  background: var(--on-primary);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-2);
  transition: transform var(--duration-base) var(--easing-standard);
}
.aents-switch__track[data-checked] {
  background: var(--primary);
}
.aents-switch__track[data-checked] .aents-switch__thumb {
  transform: translateX(calc(var(--control-md) - var(--icon-md) - 4px));
}

/* ---- Ask (confirm / alert / prompt) ------------------------------------ */

/* The imperative dialogs are the shared Dialog with one difference: they are
   never wider than the question they ask, so a two-line confirmation does not
   open a panel the size of an editor. */
.aents-ask .aents-dialog__surface {
  width: min(28rem, 100%);
}
.aents-ask .aents-dialog__body:empty {
  display: none;
}
.aents-ask__form {
  display: grid;
  gap: var(--spacing-md);
}

/* ---------------- Navigation ---------------- */

.aents-topbar {
  width: 100%;
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--background) 92%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
}
.aents-topbar--sticky {
  position: sticky;
  top: 0;
  z-index: 20;
}
.aents-topbar--dark {
  color: var(--white);
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  border-bottom-color: color-mix(in srgb, var(--white) 10%, transparent);
}
.aents-topbar--dark :where(a, button) {
  color: color-mix(in srgb, var(--white) 70%, transparent);
}
.aents-topbar--dark :where(a, button):hover {
  color: var(--white);
}

.aents-language {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--surface) 84%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 8%, transparent);
}
/* The separator keeps spanning the full height of the control row. */
.aents-language__icon {
  display: grid;
  place-items: center;
  width: var(--control-sm);
  height: var(--touch-target);
  color: var(--primary);
  border-right: 1px solid var(--border-subtle);
}
/* WCAG 2.5.8: the pills stay compact but never fall below the touch target. */
.aents-language__option {
  min-inline-size: var(--touch-target);
  min-block-size: var(--touch-target);
  padding-inline: var(--spacing-sm);
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--radius-full);
  font-family: var(--font-mono);
  font-size: var(--type-caption-size);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--easing-standard),
    background-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-language__option:hover:not(.is-active) {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 7%, transparent);
}
/* White holds 4.5:1 on both ends of the purple-to-deep-purple pill; on the
   lavender end it fell to 2.7:1. */
.aents-language__option.is-active {
  color: var(--white);
  background: linear-gradient(135deg, var(--purple), var(--purple-deep));
  box-shadow: 0 4px 14px color-mix(in srgb, var(--purple) 32%, transparent);
}
.aents-language__option:active {
  transform: scale(0.94);
}
.aents-topbar--dark .aents-language {
  border-color: color-mix(in srgb, var(--white) 18%, transparent);
  background: color-mix(in srgb, var(--white) 5%, transparent);
}
.aents-topbar--dark .aents-language__icon {
  color: var(--lavender);
  border-right-color: color-mix(in srgb, var(--white) 12%, transparent);
}
.aents-topbar--dark .aents-language__option {
  color: color-mix(in srgb, var(--white) 62%, transparent);
}
.aents-topbar--dark .aents-language__option:hover:not(.is-active) {
  color: var(--white);
  background: color-mix(in srgb, var(--white) 7%, transparent);
}
.aents-topbar--dark .aents-language__option.is-active {
  color: var(--white);
}

.aents-tabs {
  display: inline-flex;
  /* Wrap instead of overflowing: in a narrow panel the group used to clip its
     last option, and a segmented control must never hide a choice. */
  flex-wrap: wrap;
  max-width: 100%;
  gap: var(--spacing-xs);
}
.aents-tabs--line {
  border-bottom: 1px solid var(--border-subtle);
}
.aents-tabs--pills {
  padding: var(--spacing-xs);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
}
.aents-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  min-height: var(--touch-target);
  padding-inline: var(--spacing-md);
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    color var(--duration-fast) var(--easing-standard),
    background-color var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-tabs--line .aents-tab {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
  box-shadow: inset 0 -2px transparent;
}
.aents-tab:hover:not(:disabled) {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}
.aents-tab.is-selected {
  color: var(--primary);
  font-weight: var(--weight-semibold);
}
.aents-tabs--line .aents-tab.is-selected {
  box-shadow: inset 0 -2px var(--primary);
}
.aents-tabs--pills .aents-tab.is-selected {
  color: var(--on-primary);
  background: var(--primary);
  box-shadow: var(--shadow-2);
}
/* Segmented: the mode switch of a working tool. An inset track — the same
   "well" language the option groups inside a panel use — and one raised thumb
   that slides under the active option. Squarer than the pills on purpose:
   switching what a panel *is* should not look like filtering a value. */
.aents-tabs--segmented {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 0;
  padding: var(--spacing-xs);
  background: var(--background);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: inset 0 1px 2px color-mix(in srgb, var(--navy) 6%, transparent);
}
.aents-tabs--segmented::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: var(--spacing-xs);
  bottom: var(--spacing-xs);
  left: var(--spacing-xs);
  width: calc(
    (100% - var(--spacing-xs) * 2) / max(1, var(--aents-tab-count, 1))
  );
  transform: translateX(calc(var(--aents-tab-index, 0) * 100%));
  background: var(--surface);
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: calc(var(--radius-lg) - var(--spacing-xs));
  box-shadow: var(--shadow-1);
  transition: transform var(--duration-fast) var(--easing-standard);
}
@media (prefers-reduced-motion: reduce) {
  .aents-tabs--segmented::before {
    transition: none;
  }
}
.aents-tabs--segmented .aents-tab {
  position: relative;
  z-index: 1;
  min-width: 0;
  border-radius: calc(var(--radius-lg) - var(--spacing-xs));
}
.aents-tabs--segmented .aents-tab.is-selected {
  color: var(--primary);
  font-weight: var(--weight-semibold);
}
.aents-tabs--segmented .aents-tab:hover:not(:disabled):not(.is-selected) {
  color: var(--text);
  background: color-mix(in srgb, var(--primary) 6%, transparent);
}
.aents-tab:active:not(:disabled) {
  transform: scale(0.97);
}
.aents-tab:disabled {
  opacity: var(--disabled-opacity);
  cursor: not-allowed;
}

.aents-breadcrumbs ol,
.aents-breadcrumbs li {
  display: flex;
  align-items: center;
}
.aents-breadcrumbs ol {
  gap: var(--spacing-xs);
  list-style: none;
}
.aents-breadcrumbs li {
  gap: var(--spacing-xs);
  color: var(--text-muted);
  font-size: var(--type-small-size);
}
.aents-breadcrumbs a {
  color: var(--primary);
}
.aents-breadcrumbs a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------------- Button ---------------- */

.aents-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  padding-inline: var(--spacing-md);
  font-weight: var(--weight-semibold);
  font-size: var(--type-body-size);
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  /* The label never leaves the painted box. `white-space: nowrap` means a
     button squeezed below its own label — a `minmax(0, 1fr)` track, a narrow
     flex basis — used to paint the text outside the pill instead of clipping
     it. Floored at its content, a bad layout overflows visibly, which is a
     bug someone fixes, rather than looking like broken text. */
  min-width: fit-content;
  transition:
    transform var(--duration-fast) var(--easing-standard),
    background-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard),
    opacity var(--duration-fast) var(--easing-standard);
}

.aents-btn--small {
  position: relative;
  min-height: var(--control-sm);
}
/* WCAG 2.5.8: the compact button keeps its painted height, the pointer target
   grows to the shared minimum through a transparent overlay. */
.aents-btn--small::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 100%;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  transform: translate(-50%, -50%);
}
.aents-btn--medium {
  min-height: var(--control-md);
}
.aents-btn--large {
  min-height: var(--control-lg);
  padding-inline: var(--spacing-lg);
  font-size: var(--type-bodyLarge-size);
}
.aents-btn--block {
  width: 100%;
}

.aents-btn:active:not(:disabled) {
  transform: scale(0.98);
}

.aents-btn:disabled,
.aents-btn.is-loading {
  opacity: var(--disabled-opacity);
  cursor: not-allowed;
}

.aents-btn--primary {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-2);
}
.aents-btn--primary:hover:not(:disabled) {
  background: var(--primary-pressed);
  box-shadow: var(--shadow-3);
}

.aents-btn--secondary {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border);
}
.aents-btn--secondary:hover:not(:disabled) {
  background: repeating-conic-gradient(
      var(--surface-alt) 0% 25%,
      var(--background) 0% 50%
    )
    0 0 / var(--space-4) var(--space-4);
  border-color: var(--primary);
}

/* Secondary actions inside dark bands need a real surface. Inverted tokens are
   intentionally translucent for cards, but applying them to a button made its
   hover look as if the control were disappearing into the band. */
.aents-invert .aents-btn--secondary {
  color: var(--navy);
  background: var(--white);
  border-color: color-mix(in srgb, var(--white) 78%, var(--navy));
  box-shadow: var(--shadow-1);
}
.aents-invert .aents-btn--secondary:hover:not(:disabled) {
  color: var(--navy);
  background: color-mix(in srgb, var(--white) 88%, var(--lavender));
  border-color: var(--lavender);
  box-shadow: var(--shadow-2);
}

.aents-btn--tertiary {
  background: transparent;
  color: var(--text);
}
.aents-btn--tertiary:hover:not(:disabled) {
  background: color-mix(in srgb, var(--primary) 12%, transparent);
  color: var(--primary);
}

.aents-btn--success {
  background: var(--success);
  color: var(--on-primary);
}
.aents-btn--danger {
  background: var(--error);
  color: var(--on-primary);
}

.aents-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition:
    background-color var(--duration-fast) var(--easing-standard),
    color var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
/* WCAG 2.5.8: every icon-only control keeps the minimum touch target. */
.aents-icon-btn--small {
  width: 3.5rem;
  height: 3.5rem;
}
.aents-icon-btn--medium {
  width: var(--control-md);
  height: var(--control-md);
}
.aents-icon-btn--large {
  width: var(--control-lg);
  height: var(--control-lg);
}
.aents-icon-btn:active:not(:disabled) {
  transform: scale(0.94);
}
.aents-icon-btn.is-selected {
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--primary);
}

/* ---------------- Spinner ---------------- */

.aents-spinner {
  display: inline-block;
  width: var(--icon-md);
  height: var(--icon-md);
  border: 2px solid color-mix(in srgb, currentColor 25%, transparent);
  border-top-color: currentColor;
  border-radius: var(--radius-full);
  animation: aents-spin var(--duration-extraSlow) linear infinite;
}

@keyframes aents-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------- Badge ---------------- */

.aents-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  border: 1px solid transparent;
  border-radius: var(--radius-full);
  padding: var(--spacing-xs) var(--spacing-sm);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-medium);
  color: var(--on-primary);
}
.aents-badge--primary {
  background: var(--primary);
}
.aents-badge--success {
  background: color-mix(in srgb, var(--success) 16%, var(--surface));
  border-color: color-mix(in srgb, var(--success) 35%, transparent);
  color: color-mix(in srgb, var(--success-strong) 75%, var(--text));
}
/* Small text on a 16% tint: the raw status hue reads at 1.7–2.8:1, even the
   strong tone stays under 4.5:1 (WCAG 1.4.3), so the label takes a quarter of
   the text colour. Both themes land above 5:1. */
.aents-badge--info {
  background: color-mix(in srgb, var(--info) 16%, var(--surface));
  border-color: color-mix(in srgb, var(--info) 35%, transparent);
  color: color-mix(in srgb, var(--info-strong) 75%, var(--text));
}
.aents-badge--warning {
  background: color-mix(in srgb, var(--warning) 16%, var(--surface));
  border-color: color-mix(in srgb, var(--warning) 35%, transparent);
  color: color-mix(in srgb, var(--warning-strong) 75%, var(--text));
}
.aents-badge--error {
  background: color-mix(in srgb, var(--error) 16%, var(--surface));
  border-color: color-mix(in srgb, var(--error) 35%, transparent);
  color: color-mix(in srgb, var(--error-strong) 75%, var(--text));
}
.aents-badge--neutral {
  background: var(--surface-alt);
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.aents-badge--subtle {
  background: transparent;
  border-color: var(--border);
  color: var(--text-secondary);
}
/* A status badge keeps its colour when it goes subtle. `subtle` takes the fill
 * away, not the meaning: for success, info, warning and error the colour is
 * half the message, and a grey chip saying "could improve" states nothing the
 * word beside it does not. Primary and neutral stay quiet — there the chip is
 * a label, not a state. */
.aents-badge--success.aents-badge--subtle {
  border-color: color-mix(in srgb, var(--success) 45%, transparent);
  color: color-mix(in srgb, var(--success-strong) 75%, var(--text));
}
.aents-badge--info.aents-badge--subtle {
  border-color: color-mix(in srgb, var(--info) 45%, transparent);
  color: color-mix(in srgb, var(--info-strong) 75%, var(--text));
}
.aents-badge--warning.aents-badge--subtle {
  border-color: color-mix(in srgb, var(--warning) 45%, transparent);
  color: color-mix(in srgb, var(--warning-strong) 75%, var(--text));
}
.aents-badge--error.aents-badge--subtle {
  border-color: color-mix(in srgb, var(--error) 45%, transparent);
  color: color-mix(in srgb, var(--error-strong) 75%, var(--text));
}

/* ---------------- Eyebrow ---------------- */

.aents-eyebrow {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  gap: var(--spacing-sm);
  font-family: var(--font-mono);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
  font-weight: var(--weight-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aents-eyebrow__mark {
  width: 1.5rem;
  height: 2px;
  flex: 0 0 auto;
  border-radius: var(--radius-full);
  background: currentColor;
  opacity: 0.72;
}

.aents-eyebrow--primary {
  color: var(--primary);
}
.aents-eyebrow--success {
  color: var(--success);
}
.aents-eyebrow--animated .aents-eyebrow__mark {
  background: linear-gradient(90deg, currentColor, var(--green), currentColor);
  background-size: 200% 100%;
  animation: aents-eyebrow-signal var(--duration-extraSlow)
    var(--easing-standard) infinite;
}
@keyframes aents-eyebrow-signal {
  to {
    background-position: -200% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aents-eyebrow--animated .aents-eyebrow__mark {
    animation: none;
  }
}

.aents-eyebrow--neutral {
  color: var(--text-secondary);
}

.aents-eyebrow--negative {
  color: color-mix(in srgb, var(--white) 84%, transparent);
}

/* ---------------- Account menu ---------------- */

.aents-account-menu {
  position: relative;
}
.aents-account-menu__login {
  display: inline-flex;
  min-height: var(--touch-target);
  align-items: center;
  padding-inline: var(--space-4);
  border: 1px solid color-mix(in srgb, var(--white) 22%, transparent);
  border-radius: var(--radius-full);
  color: var(--white);
  background: color-mix(in srgb, var(--white) 8%, transparent);
  font-size: max(0.8125rem, var(--type-small-size));
  font-weight: var(--weight-semibold);
  text-decoration: none;
}
.aents-account-menu__checking {
  display: inline-block;
  width: 6.5rem;
  height: var(--touch-target);
  border: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--white) 5%, transparent),
    color-mix(in srgb, var(--white) 12%, transparent),
    color-mix(in srgb, var(--white) 5%, transparent)
  );
  background-size: 200% 100%;
  animation: aents-account-checking 1.2s linear infinite;
}
@keyframes aents-account-checking {
  to {
    background-position: -200% 0;
  }
}
.aents-account-menu__login:hover {
  border-color: color-mix(in srgb, var(--white) 38%, transparent);
  background: color-mix(in srgb, var(--white) 14%, transparent);
}
.aents-account-menu > summary {
  display: inline-flex;
  min-height: var(--touch-target);
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-2);
  border: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  border-radius: var(--radius-full);
  color: var(--white);
  background: color-mix(in srgb, var(--white) 7%, transparent);
  cursor: pointer;
  list-style: none;
}
.aents-account-menu > summary::-webkit-details-marker {
  display: none;
}
.aents-account-menu > summary:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
}
.aents-account-menu > summary:focus-visible {
  outline: 2px solid var(--lavender);
  outline-offset: 2px;
}
.aents-account-menu__avatar {
  display: grid;
  width: calc(var(--control-sm) - var(--space-2));
  height: calc(var(--control-sm) - var(--space-2));
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: linear-gradient(145deg, var(--purple), var(--purple-400));
  font-size: var(--type-caption-size);
  font-weight: var(--weight-bold);
}
.aents-account-menu__user {
  max-width: 10rem;
  overflow: hidden;
  font-size: var(--type-small-size);
  font-weight: var(--weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aents-account-menu__chevron {
  width: 6px;
  height: 6px;
  margin-inline: var(--space-1);
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  rotate: 45deg;
  translate: 0 -2px;
  transition: rotate var(--duration-fast) var(--easing-standard);
}
.aents-account-menu[open] .aents-account-menu__chevron {
  rotate: 225deg;
  translate: 0 2px;
}
.aents-account-menu__popover {
  position: absolute;
  z-index: 50;
  inset-block-start: calc(100% + var(--space-2));
  inset-inline-end: 0;
  display: grid;
  min-width: 13rem;
  overflow: hidden;
  padding: var(--space-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--surface);
  box-shadow: 0 18px 48px color-mix(in srgb, var(--navy) 22%, transparent);
}
.aents-account-menu__identity {
  overflow: hidden;
  margin: var(--space-2);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-mono);
  font-size: var(--type-caption-size);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aents-account-menu__popover a,
.aents-account-menu__popover button {
  display: flex;
  width: 100%;
  min-height: var(--control-sm);
  align-items: center;
  padding-inline: var(--space-3);
  border: 0;
  border-radius: var(--radius-xs);
  color: var(--text);
  background: transparent;
  font: inherit;
  font-size: var(--type-small-size);
  text-align: start;
  text-decoration: none;
  cursor: pointer;
}
.aents-account-menu__popover a:hover,
.aents-account-menu__popover button:hover {
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 8%, transparent);
}

/* ---------------- Notice ---------------- */

.aents-notice {
  --aents-notice-color: var(--info);
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
  border: 1px solid var(--aents-notice-color);
  border-radius: var(--radius-md);
  color: var(--navy);
  background: var(--white);
  box-shadow: var(--shadow-1);
}
.aents-notice__icon {
  display: grid;
  place-items: center;
  width: 5.5rem;
  min-height: 5.5rem;
  align-self: center;
  flex: 0 0 5.5rem;
  color: var(--aents-notice-color);
}
.aents-status-glyph {
  display: block;
  width: 4rem;
  height: 4rem;
  color: var(--aents-notice-color, currentColor);
  flex-shrink: 0;
}

@media (max-width: 560px) {
  .aents-notice__icon {
    width: 4.75rem;
    min-height: 4.75rem;
    flex-basis: 4.75rem;
  }
  .aents-status-glyph {
    width: 3.5rem;
    height: 3.5rem;
  }
}
.aents-notice__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.aents-notice__body .aents-text {
  color: var(--navy);
}
.aents-notice__body .aents-notice__title {
  color: var(--aents-notice-color);
}
.aents-notice--success {
  --aents-notice-color: var(--success);
}
.aents-notice--info {
  --aents-notice-color: var(--info);
}
.aents-notice--warning {
  --aents-notice-color: var(--warning);
}
.aents-notice--error {
  --aents-notice-color: var(--error);
}

.aents-notice__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: var(--touch-target);
  min-height: var(--touch-target);
  background: none;
  border: 0;
  color: var(--text-muted);
  cursor: pointer;
}

/* ---------------- Skeleton ---------------- */

/* The public API is Aents; react-loading-skeleton draws the placeholders.
   These classes bind it to Aents tokens so consumers do not import or theme
   third-party classes. */
.aents-skeleton {
  --aents-skeleton-base: color-mix(in srgb, var(--text) 8%, var(--surface));
  --aents-skeleton-sheen: color-mix(in srgb, var(--text) 3%, var(--surface));
  display: block;
  line-height: 1;
}
.aents-skeleton--active {
  --aents-skeleton-base: color-mix(in srgb, var(--primary) 14%, var(--surface));
  --aents-skeleton-sheen: color-mix(in srgb, var(--primary) 5%, var(--surface));
}
.aents-skeleton .react-loading-skeleton {
  display: block;
  line-height: 1;
}
.aents-skeleton__line {
  min-width: 100%;
}

@media (prefers-reduced-motion: reduce) {
  .aents-skeleton .react-loading-skeleton {
    --pseudo-element-display: none;
  }
}

/* ---------------- Empty state ---------------- */

.aents-empty-state__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  padding-block: var(--spacing-xl);
  text-align: center;
}
.aents-empty-state__body--compact {
  padding-block: var(--spacing-lg);
}
.aents-empty-state__icon {
  display: inline-flex;
  color: var(--text-muted);
}
.aents-empty-state__action {
  margin-block-start: var(--spacing-xs);
}

/* ---------------- Skeleton list ---------------- */

/* Text lines take the room left by an optional leading media placeholder. */
.aents-skeleton-list__lines {
  flex: 1;
  min-width: 0;
}
/* Cards laid out in a wrapping row (KPI tiles) share the track evenly. */
.aents-skeleton-list--row > .aents-skeleton-list__item {
  flex: 1 1 var(--space-32);
}

/* ---------------- Status dot ---------------- */

.aents-dot {
  display: inline-block;
  width: var(--space-2);
  height: var(--space-2);
  border-radius: var(--radius-full);
  background: var(--text-muted);
}
.aents-dot--online {
  background: var(--success);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--success) 60%, transparent);
  animation: aents-pulse 2s var(--easing-decelerate) infinite;
}
.aents-dot--offline {
  background: var(--error);
}
.aents-dot--pending {
  background: var(--warning);
}

@keyframes aents-pulse {
  70% {
    box-shadow: 0 0 0 6px transparent;
  }
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
}

/* ---------------- Brand effects ---------------- */

.aents-gradient-text {
  background-image: linear-gradient(
    120deg,
    var(--grad-from),
    var(--grad-to) 70%
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  /* Keeps the text legible if background-clip is unavailable. */
  -webkit-text-fill-color: transparent;
}

@supports not (background-clip: text) {
  .aents-gradient-text {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
  }
}

.aents-glow {
  position: absolute;
  pointer-events: none;
  width: var(--glow-size);
  height: var(--glow-size);
  border-radius: var(--radius-full);
  opacity: var(--glow-opacity);
  background: radial-gradient(
    circle at center,
    var(--glow-from) 0%,
    var(--glow-to) 45%,
    transparent 70%
  );
  filter: blur(80px);
}

.aents-spotlight {
  position: relative;
  isolation: isolate;
  border-radius: var(--radius-lg);
  padding: 1px;
  background: linear-gradient(
    140deg,
    color-mix(in srgb, var(--grad-from) 55%, transparent),
    color-mix(in srgb, var(--grad-to) 25%, transparent) 55%,
    var(--border-subtle)
  );
  transition: transform var(--duration-base) var(--easing-standard);
}

.aents-spotlight--live:hover {
  transform: translateY(-3px);
}

.aents-spotlight__content {
  position: relative;
  height: 100%;
  background: var(--surface);
  border-radius: calc(var(--radius-lg) - 1px);
  padding: var(--spacing-lg);
}
.aents-spotlight--flush .aents-spotlight__content {
  overflow: hidden;
  padding: 0;
}

.aents-spotlight--live .aents-spotlight__content::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--easing-standard);
  background: radial-gradient(
    260px circle at var(--pointer-x, 50%) var(--pointer-y, 50%),
    color-mix(in srgb, var(--grad-from) 18%, transparent),
    transparent 65%
  );
}

.aents-spotlight--live:hover .aents-spotlight__content::before {
  opacity: 1;
}

.aents-ancestral-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  color: var(--lavender);
  opacity: 0.24;
}
.aents-ancestral-pattern svg {
  width: 112%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1;
  fill: none;
  transform: translateX(-5%);
  animation: aents-ancestral-drift 22s linear infinite alternate;
}
.aents-ancestral-pattern circle {
  fill: var(--green);
  stroke: none;
}
.aents-ancestral-pattern__signal {
  stroke: url(#aents-ancestral-light);
  stroke-width: 2;
  stroke-dasharray: 8 18;
  animation: aents-ancestral-signal 8s linear infinite;
}
.aents-ancestral-icon {
  display: grid;
  place-items: center;
  width: var(--control-lg);
  height: var(--control-lg);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--purple) 20%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--purple) 7%, var(--surface));
  transform: rotate(45deg);
  transition:
    transform var(--duration-base) var(--easing-emphasis),
    color var(--duration-fast) var(--easing-standard);
}
.aents-ancestral-icon svg {
  width: 70%;
  height: 70%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linejoin: round;
  transform: rotate(-45deg);
}
.aents-ancestral-frame {
  position: relative;
  isolation: isolate;
  padding: 1px;
  background: linear-gradient(
    115deg,
    color-mix(in srgb, var(--purple) 75%, transparent),
    color-mix(in srgb, var(--green) 40%, transparent)
  );
  clip-path: polygon(
    20px 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% calc(100% - 20px),
    calc(100% - 20px) 100%,
    20px 100%,
    0 calc(100% - 20px),
    0 20px
  );
}
.aents-ancestral-frame > i {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  opacity: 0.7;
  background: radial-gradient(
    280px circle at var(--ancestral-x, 25%) var(--ancestral-y, 50%),
    color-mix(in srgb, var(--green) 32%, transparent),
    transparent 65%
  );
  transition: opacity var(--duration-base) var(--easing-standard);
}
.aents-ancestral-frame__content {
  position: relative;
  z-index: 1;
  height: 100%;
  background: color-mix(in srgb, var(--navy) 94%, transparent);
  clip-path: inherit;
}
.aents-ancestral-frame.is-reactive:hover > i {
  opacity: 1;
}
@keyframes aents-ancestral-drift {
  to {
    transform: translateX(0);
  }
}
@keyframes aents-ancestral-signal {
  to {
    stroke-dashoffset: -208;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aents-ancestral-pattern svg,
  .aents-ancestral-pattern__signal {
    animation: none;
  }
}

/* ---- ProgressBar ---------------------------------------------------- */
/* Determinate progress scales the fill with transform only; the
   indeterminate sweep stops under prefers-reduced-motion. */
.aents-progress {
  position: relative;
  height: var(--space-2);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--primary) 16%, var(--surface-alt));
  overflow: hidden;
}
.aents-progress__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gradient-from), var(--gradient-to));
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform var(--duration-base) var(--easing-standard);
}
.aents-progress--info .aents-progress__fill {
  background: var(--info);
}
.aents-progress--success .aents-progress__fill {
  background: var(--success);
}
.aents-progress--warning .aents-progress__fill {
  background: var(--warning);
}
.aents-progress--error .aents-progress__fill {
  background: var(--error);
}
.aents-progress--neutral .aents-progress__fill {
  background: var(--text-muted);
}
/* A state bar sits on a neutral track: tinting the track with the state as
   well would leave the empty half looking like a second, paler measurement. */
.aents-progress:not(.aents-progress--primary) {
  background: var(--surface-alt);
}
.aents-progress--indeterminate .aents-progress__fill {
  width: 40%;
  transform: none;
  animation: aents-progress-sweep 1.2s var(--easing-emphasis) infinite;
}
@keyframes aents-progress-sweep {
  from {
    translate: -100% 0;
  }
  to {
    translate: 250% 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aents-progress--indeterminate .aents-progress__fill {
    animation: none;
    width: 100%;
    translate: 0 0;
    opacity: 0.6;
  }
}

/* ---- FileDropZone ---------------------------------------------------- */
/* The native input stays focusable but invisible; the zone shows the focus
   ring through :focus-within so keyboard users always see where they are. */
.aents-dropzone {
  position: relative;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    background-color var(--duration-fast) var(--easing-standard);
}
.aents-dropzone__label {
  display: block;
  cursor: pointer;
}
.aents-dropzone.is-disabled .aents-dropzone__label {
  cursor: not-allowed;
}
.aents-dropzone__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.aents-dropzone:focus-within {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.aents-dropzone.is-dragover {
  border-color: var(--primary);
  border-style: solid;
  background: color-mix(in srgb, var(--primary) 8%, var(--surface));
}
.aents-dropzone.is-disabled {
  opacity: var(--disabled-opacity);
}
.aents-dropzone__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background: color-mix(in srgb, var(--primary) 14%, var(--surface));
  color: var(--primary);
  font-weight: var(--weight-semibold);
  pointer-events: none;
}
.aents-dropzone.is-dragover .aents-dropzone__overlay {
  display: flex;
}

/* ---- Tool panel ------------------------------------------------------ */
.aents-tool-panel {
  position: sticky;
  isolation: isolate;
  top: var(--space-20);
  max-height: calc(100dvh - var(--space-20) * 2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 72%, transparent);
  border-radius: var(--radius-xl);
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lavender) 7%, var(--surface)),
    var(--surface) var(--space-20)
  );
  box-shadow:
    var(--shadow-2),
    inset 0 1px 0 color-mix(in srgb, var(--white) 72%, transparent);
}
.aents-tool-panel::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0 var(--radius-xl) auto;
  height: 3px;
  border-radius: 0 0 var(--radius-full) var(--radius-full);
  background: linear-gradient(
    90deg,
    var(--primary),
    var(--purple),
    var(--teal)
  );
  pointer-events: none;
}
.aents-tool-panel__body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.aents-tool-panel__section {
  padding: var(--spacing-lg);
}
.aents-tool-panel__section + .aents-tool-panel__section {
  border-top: 1px solid var(--border-subtle);
}
.aents-tool-panel__section-header {
  display: flex;
  gap: var(--spacing-sm);
  align-items: center;
  margin-bottom: var(--spacing-md);
}
.aents-tool-panel__section-icon {
  flex: 0 0 auto;
  width: var(--control-sm);
  height: var(--control-sm);
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}
.aents-tool-panel__section-icon svg {
  width: 17px;
  height: 17px;
}
.aents-tool-panel__section-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.aents-tool-panel__section-title {
  color: var(--text);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--weight-bold);
}
.aents-tool-panel__section-description {
  color: var(--text-muted);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
}
.aents-tool-panel__section-content {
  display: grid;
  gap: var(--spacing-md);
}
.aents-tool-panel__hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: var(--spacing-md);
  align-items: center;
  padding: var(--spacing-md);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--primary) 16%, var(--border));
  border-radius: var(--radius-xl);
  background:
    radial-gradient(
      circle at 100% 0,
      color-mix(in srgb, var(--purple) 16%, transparent),
      transparent 52%
    ),
    linear-gradient(
      145deg,
      color-mix(in srgb, var(--primary) 8%, var(--surface)),
      var(--surface)
    );
  box-shadow: inset 0 1px 0 color-mix(in srgb, var(--white) 70%, transparent);
}
.aents-tool-panel__hero::after {
  content: "";
  position: absolute;
  right: calc(var(--space-4) * -1);
  bottom: calc(var(--space-4) * -1);
  width: var(--space-20);
  height: var(--space-20);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: var(--radius-full);
  pointer-events: none;
}
.aents-tool-panel__hero-icon {
  position: relative;
  z-index: 1;
  width: var(--control-lg);
  height: var(--control-lg);
  display: grid;
  place-items: center;
  border-radius: var(--radius-lg);
  color: var(--white);
  background: linear-gradient(145deg, var(--primary), var(--purple));
  box-shadow: var(--shadow-2);
}
.aents-tool-panel__hero-icon svg {
  width: var(--icon-md);
  height: var(--icon-md);
}
.aents-tool-panel__hero-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.aents-tool-panel__hero-eyebrow {
  color: var(--primary);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
  font-weight: var(--weight-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aents-tool-panel__hero-title {
  color: var(--text);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--weight-bold);
}
.aents-tool-panel__hero-description {
  color: var(--text-muted);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
}
.aents-tool-panel__disclosure {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  background: var(--surface);
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard);
}
.aents-tool-panel__disclosure.is-open {
  border-color: color-mix(in srgb, var(--primary) 18%, var(--border));
  box-shadow: var(--shadow-1);
}
.aents-tool-panel__disclosure-trigger {
  width: 100%;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--spacing-sm);
  align-items: center;
  padding: var(--spacing-md);
  border: 0;
  color: var(--text);
  background: transparent;
  text-align: left;
  cursor: pointer;
}
.aents-tool-panel__disclosure-trigger:hover {
  background: color-mix(in srgb, var(--primary) 5%, var(--surface));
}
.aents-tool-panel__disclosure-icon {
  width: var(--control-sm);
  height: var(--control-sm);
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}
.aents-tool-panel__disclosure-icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
}
.aents-tool-panel__disclosure-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}
.aents-tool-panel__disclosure-title {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--weight-bold);
}
.aents-tool-panel__disclosure-description {
  color: var(--text-muted);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
}
.aents-tool-panel__disclosure-chevron {
  width: var(--spacing-sm);
  height: var(--spacing-sm);
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  color: var(--text-muted);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--duration-fast) var(--easing-standard);
}
.aents-tool-panel__disclosure.is-open .aents-tool-panel__disclosure-chevron {
  transform: rotate(225deg) translate(-2px, -2px);
}
.aents-tool-panel__disclosure-region {
  border-top: 1px solid var(--border-subtle);
}
.aents-tool-panel__disclosure-content {
  display: grid;
  gap: var(--spacing-md);
  padding: var(--spacing-md);
}
@media (prefers-reduced-motion: reduce) {
  .aents-tool-panel__disclosure,
  .aents-tool-panel__disclosure-chevron {
    transition: none;
  }
}
.aents-tool-panel__actions {
  flex: none;
  position: sticky;
  bottom: 0;
  padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
  border-top: 1px solid var(--border-subtle);
  background: linear-gradient(
    to bottom,
    color-mix(in srgb, var(--surface) 88%, transparent),
    var(--surface) 35%
  );
  box-shadow: 0 -10px 24px color-mix(in srgb, var(--navy) 5%, transparent);
  backdrop-filter: blur(14px);
}
@media (max-width: 820px) {
  .aents-tool-panel {
    position: static;
    display: block;
    max-height: none;
    overflow: visible;
  }
  .aents-tool-panel__body {
    overflow: visible;
  }
  .aents-tool-panel__actions {
    position: static;
  }
}

/* ---- Toast notifications --------------------------------------------
   The card is self-contained on `.aents-toast`: the playground's static
   preview and the Django toaster render the same card without the engine.
   The engine's own stylesheet only positions, stacks and swipes the cards.
   It is injected at runtime, so its place in the cascade varies between a
   dev server and a build; every rule here that touches a property it also
   sets is written one class deeper, and wins on specificity, not on order. */
.aents-toast {
  --aents-toast-tone: var(--primary);
  --aents-toast-tone-strong: var(--primary-strong);
  --aents-toast-icon-box: var(--space-8);
  --aents-toast-title-size: var(--type-bodyLarge-size);
  --aents-toast-title-line: var(--type-bodyLarge-line);
  --aents-toast-shadow: var(--shadow-1), var(--shadow-4);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "icon text close"
    ". action action";
  align-items: start;
  column-gap: var(--space-3);
  box-sizing: border-box;
  width: var(--width, auto);
  padding: var(--space-3) var(--space-2) var(--space-3) var(--space-3);
  border: 1px solid
    color-mix(in srgb, var(--aents-toast-tone) 24%, var(--border-subtle));
  border-radius: var(--radius-lg);
  color: var(--text);
  background: var(--surface-alt);
  box-shadow: var(--aents-toast-shadow);
  font-family: var(--font-sans);
}
@media (min-width: 768px) {
  .aents-toast {
    --aents-toast-title-size: var(--type-body-size);
    --aents-toast-title-line: var(--type-body-line);
  }
}
.aents-toast--success {
  --aents-toast-tone: var(--success);
  --aents-toast-tone-strong: var(--success-strong);
}
.aents-toast--warning {
  --aents-toast-tone: var(--warning);
  --aents-toast-tone-strong: var(--warning-strong);
}
.aents-toast--error {
  --aents-toast-tone: var(--error);
  --aents-toast-tone-strong: var(--error-strong);
}
/* The tone lives here and in the border tint, never in a stripe: the glyph
   says what kind of news it is before the sentence does. */
.aents-toast__icon {
  grid-area: icon;
  position: relative;
  display: grid;
  place-items: center;
  width: var(--aents-toast-icon-box);
  height: var(--aents-toast-icon-box);
  border-radius: var(--radius-sm);
  color: var(--aents-toast-tone-strong);
  background: color-mix(
    in srgb,
    var(--aents-toast-tone) 14%,
    var(--surface-alt)
  );
}
.aents-toast__icon svg {
  width: var(--icon-sm);
  height: var(--icon-sm);
}
.aents-toast__text {
  grid-area: text;
  display: grid;
  gap: var(--space-1);
  min-width: 0;
  /* Centres the first line of the title on the icon, whatever the line
     height of the current breakpoint. */
  padding-block-start: calc(
    (var(--aents-toast-icon-box) - var(--aents-toast-title-line)) / 2
  );
}
.aents-toast__title {
  margin: 0;
  font-size: var(--aents-toast-title-size);
  line-height: var(--aents-toast-title-line);
  font-weight: var(--weight-semibold);
}
.aents-toast__description {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
}
.aents-toast__action {
  grid-area: action;
  justify-self: start;
  min-height: var(--touch-target);
  margin-block-start: var(--space-3);
  padding-inline: var(--space-4);
  border: 0;
  border-radius: var(--radius-sm);
  color: var(--on-primary);
  background: var(--primary);
  font-family: inherit;
  font-size: var(--type-body-size);
  font-weight: var(--weight-semibold);
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--easing-standard);
}
.aents-toast__action:hover {
  background: var(--primary-pressed);
}
/* A full touch target that still sits on the icon's line: the negative
   margins hand back what the target adds beyond the icon's height. */
.aents-toast__close {
  grid-area: close;
  display: grid;
  place-items: center;
  width: var(--touch-target);
  height: var(--touch-target);
  margin-block: calc((var(--aents-toast-icon-box) - var(--touch-target)) / 2);
  padding: 0;
  border: 0;
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  background: transparent;
  cursor: pointer;
  transition: background-color var(--duration-fast) var(--easing-standard);
}
.aents-toast__close:hover {
  color: var(--text);
  background: color-mix(in srgb, var(--text) 7%, transparent);
}
.aents-toaster .aents-toast:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
  box-shadow: var(--aents-toast-shadow);
}
.aents-toaster [data-sonner-toast] {
  transition-timing-function: var(--easing-standard);
}
/* Behind the front card only its edge shows; its words would bleed through. */
.aents-toaster
  [data-sonner-toast][data-expanded="false"][data-front="false"]
  > * {
  opacity: 0;
}

/* ---- FAQ ------------------------------------------------------------- */
.aents-faq {
  position: relative;
  padding: var(--space-16) 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 8% 12%,
      color-mix(in srgb, var(--primary) 8%, transparent),
      transparent 32%
    ),
    var(--surface-alt);
}
.aents-faq__layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  gap: var(--space-14);
  align-items: start;
}
.aents-faq__header {
  position: sticky;
  top: var(--space-20);
}
.aents-faq__eyebrow {
  display: inline-flex;
  margin-bottom: var(--spacing-md);
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: var(--type-caption-size);
  font-weight: var(--weight-bold);
  letter-spacing: 0.14em;
}
.aents-faq__heading {
  max-width: 12ch;
  color: var(--text);
  font-size: var(--type-h1-size);
  line-height: var(--type-h1-line);
  letter-spacing: -0.025em;
}
.aents-faq__description {
  max-width: 34rem;
  margin-top: var(--spacing-md);
  color: var(--text-secondary);
  font-size: var(--type-bodyLarge-size);
  line-height: var(--type-bodyLarge-line);
}
.aents-faq__items {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.aents-faq__item {
  position: relative;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  overflow: clip;
  background: var(--surface);
  box-shadow: var(--shadow-1);
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-faq__item:hover {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border-subtle));
  transform: translateY(-1px);
}
.aents-faq__item[open] {
  border-color: color-mix(in srgb, var(--primary) 45%, var(--border-subtle));
  box-shadow: var(--shadow-2);
}
.aents-faq__question {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--spacing-lg);
  align-items: center;
  min-height: calc(var(--touch-target) + var(--spacing-lg));
  padding: var(--spacing-lg);
  color: var(--text);
  font-size: var(--type-bodyLarge-size);
  font-weight: var(--weight-bold);
  line-height: var(--type-bodyLarge-line);
  cursor: pointer;
  list-style: none;
}
.aents-faq__question::-webkit-details-marker {
  display: none;
}
.aents-faq__question:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: -3px;
}
.aents-faq__toggle {
  position: relative;
  width: var(--control-sm);
  height: var(--control-sm);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.aents-faq__toggle::before,
.aents-faq__toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 11px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--primary);
  transform: translate(-50%, -50%);
  transition: transform var(--duration-fast) var(--easing-standard);
}
.aents-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.aents-faq__item[open] .aents-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0);
}
.aents-faq__answer {
  max-width: 42rem;
  padding: 0 calc(var(--spacing-lg) + var(--control-sm) + var(--spacing-lg))
    var(--spacing-lg) var(--spacing-lg);
  color: var(--text-secondary);
  font-size: max(1rem, var(--type-body-size));
  line-height: 1.6;
}
@media (max-width: 820px) {
  .aents-faq__layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  .aents-faq__header {
    position: static;
  }
  .aents-faq__heading {
    max-width: none;
  }
}
@media (max-width: 560px) {
  .aents-faq {
    padding: var(--space-10) 0;
  }
  .aents-faq__layout {
    gap: var(--space-6);
  }
  .aents-faq__question {
    gap: var(--spacing-sm);
    padding: var(--spacing-md);
    font-size: max(1rem, var(--type-body-size));
  }
  .aents-faq__answer {
    padding: 0 calc(var(--spacing-md) + var(--control-sm) + var(--spacing-sm))
      var(--spacing-md) var(--spacing-md);
  }
}

/* ---- Site shell: header, brand band, footer -------------------------- */
/* Shared by every Aents web surface; promoted from the aents.net landing
   once a second surface consumed the same grammar. */
.aents-site-header {
  color: var(--white);
}
/* How far an anchor target stops below the top of the viewport: the sticky
   header plus a breath of space. A surface that measures its header publishes
   --aents-site-header-height; without it, the one-row header stands in, and
   on a phone the two rows it takes once the actions wrap. */
:root {
  --aents-anchor-offset: calc(
    var(--aents-site-header-height, var(--space-16) + var(--spacing-sm)) +
      var(--spacing-md)
  );
}
@media (max-width: 560px) {
  :root {
    --aents-anchor-offset: calc(
      var(--aents-site-header-height, var(--space-24) + var(--spacing-md)) +
        var(--spacing-md)
    );
  }
}
.aents-site-progress {
  position: absolute;
  inset: auto 0 -1px;
  z-index: 2;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--purple),
    var(--lavender),
    var(--green)
  );
  box-shadow: 0 0 12px color-mix(in srgb, var(--purple) 55%, transparent);
}
/* `min-height`, never `height`: a surface with several actions (language
   switcher plus buttons) wraps them onto a second line on a narrow phone, and
   the bar must grow with the content instead of clipping it. The minimum keeps
   the canonical one-line header exactly as tall as before. */
.aents-site-header__inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  min-height: calc(var(--space-16) + var(--spacing-sm));
  padding-block: var(--spacing-xs);
}
.aents-site-header .aents-badge--subtle {
  color: color-mix(in srgb, var(--white) 82%, transparent);
  border-color: color-mix(in srgb, var(--white) 42%, transparent);
}
.aents-site-header__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  margin-left: auto;
}
.aents-site-header .aents-language {
  gap: var(--spacing-sm);
  padding: var(--spacing-xs);
}
.aents-site-header .aents-language__icon {
  width: var(--control-sm);
  height: var(--control-sm);
}
.aents-site-header .aents-language__option {
  min-inline-size: var(--touch-target);
  min-block-size: var(--touch-target);
  font-size: max(0.75rem, var(--type-caption-size));
  padding-inline: var(--spacing-xs);
}

/* The panel only groups the navigation and the actions for the compact menu;
   everywhere else its children lay out as direct items of the header row. */
.aents-site-header__panel {
  display: contents;
}
.aents-site-header__toggle,
.aents-site-header__scrim {
  display: none;
}

/* Compact menu. The shell script marks the header ready once it can drive the
   toggle, so without JavaScript the links and actions stay visible in the row.
   1080px is where the longest aents.net row (Portuguese, five links, sign-in
   and languages) still fits on one line. */
@media (max-width: 1079px) {
  .aents-site-header[data-aents-site-menu="ready"] .aents-site-header__inner {
    flex-wrap: nowrap;
    justify-content: space-between;
    min-height: var(--space-16);
  }
  .aents-site-header[data-aents-site-menu="ready"] .aents-site-header__toggle {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    min-height: var(--touch-target);
    padding-inline: var(--space-4) var(--space-5);
    border: 1px solid color-mix(in srgb, var(--white) 22%, transparent);
    border-radius: var(--radius-full);
    color: var(--white);
    background: color-mix(in srgb, var(--white) 8%, transparent);
    font: inherit;
    font-size: max(0.875rem, var(--type-small-size));
    font-weight: var(--weight-semibold);
    cursor: pointer;
    transition: background-color var(--duration-fast) var(--easing-standard);
  }
  .aents-site-header[data-aents-site-menu="ready"]
    .aents-site-header__toggle:hover,
  .aents-site-header[data-aents-site-menu="ready"]
    .aents-site-header__toggle[aria-expanded="true"] {
    background: color-mix(in srgb, var(--white) 14%, transparent);
  }
  .aents-site-header__toggle-icon {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 14px;
  }
  .aents-site-header__toggle-icon i {
    position: absolute;
    inset-inline: 0;
    height: 2px;
    border-radius: var(--radius-full);
    background: currentColor;
    transition:
      transform var(--duration-base) var(--easing-standard),
      opacity var(--duration-fast) var(--easing-standard);
  }
  .aents-site-header__toggle-icon i:nth-child(1) {
    top: 0;
  }
  .aents-site-header__toggle-icon i:nth-child(2) {
    top: 6px;
  }
  .aents-site-header__toggle-icon i:nth-child(3) {
    top: 12px;
  }
  [aria-expanded="true"] > .aents-site-header__toggle-icon i:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  [aria-expanded="true"] > .aents-site-header__toggle-icon i:nth-child(2) {
    opacity: 0;
  }
  [aria-expanded="true"] > .aents-site-header__toggle-icon i:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  /* Closed, the panel leaves the accessibility tree through visibility; the
     delayed visibility lets the fade finish before it disappears. */
  .aents-site-header[data-aents-site-menu="ready"] .aents-site-header__panel {
    position: absolute;
    inset: 100% 0 auto;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    max-height: calc(100dvh - var(--aents-site-header-height, var(--space-16)));
    padding: var(--space-4) var(--spacing-lg) var(--space-8);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
    background: var(--navy);
    box-shadow: var(--shadow-5);
    visibility: hidden;
    opacity: 0;
    transform: translateY(calc(var(--space-2) * -1));
    transition:
      opacity var(--duration-base) var(--easing-standard),
      transform var(--duration-base) var(--easing-standard),
      visibility 0s linear var(--duration-base);
  }
  .aents-site-header.is-menu-open .aents-site-header__panel {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition:
      opacity var(--duration-base) var(--easing-standard),
      transform var(--duration-base) var(--easing-standard);
  }
  .aents-site-header[data-aents-site-menu="ready"]
    .aents-site-header__panel
    > nav {
    display: flex;
    flex: none;
    flex-direction: column;
    gap: 0;
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
    font-size: max(1.125rem, var(--type-h3-size));
    font-weight: var(--weight-medium);
    mask-image: none;
  }
  .aents-site-header[data-aents-site-menu="ready"]
    .aents-site-header__panel
    > nav
    a {
    min-height: var(--control-lg);
    padding-inline: 0;
    color: color-mix(in srgb, var(--white) 82%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--white) 8%, transparent);
  }
  .aents-site-header[data-aents-site-menu="ready"]
    .aents-site-header__panel
    > nav
    a:is(:hover, .is-active) {
    color: var(--white);
  }
  .aents-site-header[data-aents-site-menu="ready"] .aents-site-header__actions {
    justify-content: space-between;
    gap: var(--spacing-md);
    margin-left: 0;
  }
  .aents-site-header[data-aents-site-menu="ready"]
    .aents-site-header__actions
    .aents-language {
    transform: none;
  }
  .aents-site-header[data-aents-site-menu="ready"]
    .aents-account-menu__popover {
    position: static;
    margin-top: var(--spacing-sm);
  }
  .aents-site-header.is-menu-open .aents-site-header__scrim {
    position: fixed;
    inset: var(--aents-site-header-height, var(--space-16)) 0 0;
    display: block;
    background: color-mix(in srgb, var(--navy) 60%, transparent);
  }
}
:root.aents-scroll-locked {
  overflow: hidden;
}

@media (min-width: 760px) {
  .aents-site-header__actions .aents-language {
    transform: translateX(
      max(0px, calc((100vw - var(--container)) / 2 - var(--spacing-lg)))
    );
  }
}

@media (max-width: 560px) {
  .aents-site-header__inner {
    gap: var(--spacing-sm);
  }
  .aents-site-header .aents-badge {
    display: none;
  }
  .aents-site-header .aents-language__icon {
    display: none;
  }
  .aents-site-header .aents-language__option {
    min-inline-size: var(--control-md);
    padding-inline: var(--spacing-xs);
  }
}

.aents-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(
      circle at 78% 24%,
      color-mix(in srgb, var(--purple) 34%, transparent),
      transparent 38%
    ),
    var(--navy);
}
.aents-band > .aents-brand-grid {
  z-index: -1;
}
.aents-band__aura-a {
  inset-block-start: -18%;
  inset-inline-start: -10%;
}
.aents-band__aura-b {
  inset-block-end: -30%;
  inset-inline-end: -8%;
}

.aents-site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: var(--space-10) 0 var(--space-6);
  border-top: 1px solid color-mix(in srgb, var(--purple) 38%, transparent);
}
.aents-site-footer__grid {
  z-index: -1;
  opacity: 0.08;
}
.aents-site-footer__glow {
  z-index: -1;
  inset-inline-start: -10%;
  inset-block-end: -60%;
}
.aents-site-footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-items: start;
}
.aents-site-footer__brand-block {
  max-width: none;
}
.aents-site-footer__brand {
  position: relative;
  display: inline-flex;
  padding: var(--spacing-sm) var(--spacing-lg) var(--spacing-md) 0;
}
.aents-site-footer__brand::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(
    90deg,
    var(--purple),
    var(--lavender),
    var(--green),
    transparent
  );
  box-shadow: 0 0 14px color-mix(in srgb, var(--purple) 38%, transparent);
}
.aents-site-footer__origin {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
  max-width: 29rem;
  color: color-mix(in srgb, var(--white) 48%, transparent);
  font-size: max(0.875rem, var(--type-small-size));
}
.aents-site-footer__origin-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  margin-top: 0.45em;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
}
.aents-site-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-8);
  padding: var(--space-6) 0;
  border-block: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
}
/* Footer copy keeps the 14px floor of the content pages' meta lines: the
   phone scale (0.9) would otherwise set it at 12.6px and 10.8px. */
.aents-site-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  font-size: max(0.875rem, var(--type-body-size));
}
.aents-site-footer__title {
  font-weight: var(--weight-bold);
  color: var(--white);
  margin-bottom: var(--spacing-xs);
}
/* Each link is a full 44px row: on a phone the stacked list is tapped with a
   thumb, and the column gap keeps 8px between neighbouring targets. The row is
   a block padded to that height, not a flex box: in a flex row the external
   arrow is an item of its own and sits at the far edge whenever the label
   wraps, instead of following its last word. */
.aents-site-footer__col a {
  display: block;
  min-height: var(--touch-target);
  padding-block: calc((var(--touch-target) - 1.5em) / 2);
  padding-block: calc((var(--touch-target) - 1lh) / 2);
  color: color-mix(in srgb, var(--white) 70%, transparent);
  transition:
    color var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
@media (min-width: 561px) {
  .aents-site-footer__col a {
    min-height: 36px;
    padding-block: calc((36px - 1.5em) / 2);
    padding-block: calc((36px - 1lh) / 2);
  }
}
.aents-site-footer__external {
  margin-inline-start: var(--spacing-xs);
  white-space: nowrap;
}
.aents-site-footer__col a:hover {
  color: var(--white);
  transform: translateX(3px);
}
.aents-site-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
  margin-top: var(--space-6);
  padding-top: 0;
  font-size: max(0.875rem, var(--type-small-size));
  color: color-mix(in srgb, var(--white) 60%, transparent);
}
.aents-site-footer__signature {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm) var(--spacing-xs)
    var(--spacing-xs);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--lavender) 18%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--white) 4%, transparent);
  font-family: var(--font-mono);
  font-size: max(0.75rem, var(--type-caption-size));
}
.aents-site-footer__signature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    transparent 30%,
    color-mix(in srgb, var(--lavender) 13%, transparent),
    transparent 70%
  );
  transform: translateX(-110%);
  animation: aents-footer-sheen 5s var(--easing-emphasis) infinite;
  pointer-events: none;
}
.aents-site-footer__origin-signal {
  position: relative;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
}
.aents-site-footer__origin-signal i {
  position: absolute;
  inset: 3px;
  border: 1px solid color-mix(in srgb, var(--green) 55%, transparent);
  transform: rotate(45deg);
  animation: aents-footer-ring 3.2s var(--easing-emphasis) infinite;
}
.aents-site-footer__origin-signal i:nth-child(2) {
  inset: 8px;
  border-color: var(--purple);
  animation-delay: -1.6s;
  animation-direction: reverse;
}
.aents-site-footer__origin-signal b {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px var(--green);
  animation: aents-pulse 2s var(--easing-decelerate) infinite;
}
@keyframes aents-footer-ring {
  50% {
    transform: rotate(225deg) scale(0.82);
  }
}
@keyframes aents-footer-sheen {
  55%,
  100% {
    transform: translateX(110%);
  }
}
@media (max-width: 820px) {
  .aents-site-footer__inner {
    grid-template-columns: 1fr;
  }
}
@media (min-width: 821px) {
  .aents-site-footer__brand-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-8);
  }
  .aents-site-footer__origin {
    max-width: 34rem;
    margin-top: 0;
    text-align: end;
  }
}
@media (max-width: 560px) {
  .aents-site-footer {
    padding: var(--space-10) 0 var(--space-6);
  }
  .aents-site-footer__inner {
    gap: var(--space-6);
  }
  .aents-site-footer__brand-block {
    width: 100%;
    margin-inline: auto;
    text-align: center;
  }
  .aents-site-footer__brand {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 0 0 var(--spacing-sm);
    text-align: left;
  }
  .aents-site-footer__brand::after {
    left: 10%;
    right: 10%;
  }
  .aents-site-footer__brand svg {
    width: 64px;
    height: 64px;
  }
  .aents-site-footer__origin {
    margin-top: var(--spacing-md);
    margin-inline: auto;
    justify-content: center;
    text-align: center;
  }
  .aents-site-footer__cols {
    gap: var(--spacing-lg);
    padding: var(--spacing-md);
  }
  .aents-site-footer__bottom {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    margin-top: var(--space-6);
    padding-top: var(--spacing-md);
    text-align: center;
  }
  .aents-site-footer__signature {
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-xs) var(--spacing-sm) var(--spacing-xs)
      var(--spacing-xs);
    font-size: max(0.75rem, var(--type-caption-size));
    /* Its place and languages wrap onto two lines on a phone; a full pill
       would pinch them into a lozenge. */
    border-radius: var(--radius-lg);
  }
  .aents-site-footer__origin-signal {
    width: 24px;
    height: 24px;
  }
}

/* Brand lockup used next to the logo image. Shared by every web surface. */
.logo-lockup {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.aents-brand-symbol {
  display: block;
  object-fit: contain;
}
.logo-text {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}
.logo-wordmark {
  font-weight: var(--weight-extrabold);
  font-size: var(--type-h3-size);
  letter-spacing: -0.02em;
}
.logo-tagline {
  color: var(--lavender);
  font-weight: var(--weight-medium);
  font-size: var(--type-small-size);
  margin-top: 3px;
}
.aents-site-footer__brand .logo-lockup {
  gap: var(--spacing-md);
}
.aents-site-footer__brand .logo-wordmark {
  color: var(--white);
  font-size: var(--type-display2-size);
  line-height: var(--type-display2-line);
  letter-spacing: -0.03em;
}
.aents-site-footer__brand .logo-tagline {
  color: var(--lavender);
  font-size: var(--type-bodyLarge-size);
  line-height: var(--type-bodyLarge-line);
}

/* ---- Slider field ---------------------------------------------------- */
.aents-slider-field {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.aents-slider-field.is-disabled {
  opacity: var(--disabled-opacity);
}
.aents-slider-field__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--spacing-sm);
}
.aents-slider-field__label {
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-medium);
}
.aents-slider-field__output {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
  font-variant-numeric: tabular-nums;
}
/* Three real elements instead of the vendor pseudo-elements a range input
   forced us to write twice: the control is the hit area, the track is the rail,
   the indicator is the filled part. */
.aents-slider-field__control {
  display: flex;
  align-items: center;
  width: 100%;
  height: var(--icon-base);
  cursor: pointer;
  touch-action: none;
}
.aents-slider-field__control[data-disabled] {
  cursor: not-allowed;
}
.aents-slider-field__track {
  position: relative;
  width: 100%;
  height: var(--space-2);
  border-radius: var(--radius-full);
  background: var(--border);
}
.aents-slider-field__indicator {
  position: absolute;
  inset-block: 0;
  border-radius: inherit;
  background: var(--primary);
}
.aents-slider-field__thumb {
  width: var(--icon-md);
  height: var(--icon-md);
  background: var(--primary);
  border: 2px solid var(--surface);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-2);
  transition: transform var(--duration-fast) var(--easing-standard);
}
.aents-slider-field__thumb:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.aents-slider-field__thumb[data-dragging] {
  transform: scale(1.12);
}
@media (prefers-reduced-motion: reduce) {
  .aents-slider-field__thumb {
    transition: none;
  }
}

/* ---- Color field ----------------------------------------------------- */
.aents-color-field {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.aents-color-field__label {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-medium);
  cursor: pointer;
}
.aents-color-field__value {
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
  text-transform: uppercase;
}
/* The native input keeps its box and its focus, and only loses its paint: the
   swatch below it is what the user sees, the ring comes through :has(). */
.aents-color-field__swatch {
  position: relative;
  flex: none;
  width: var(--control-md);
  height: var(--control-md);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  box-shadow:
    var(--shadow-1),
    inset 0 1px 2px color-mix(in srgb, var(--navy) 18%, transparent);
}
.aents-color-field__swatch:has(:focus-visible) {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}
.aents-color-field__input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 0;
  cursor: pointer;
}

/* ---- Swatch grid ----------------------------------------------------- */
.aents-swatch-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: center;
}
/* The group is the grid: the radios and the "any colour" picker wrap together
   as cells of one palette, even though only the radios answer to arrow keys. */
.aents-swatch-grid__options {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  align-items: center;
}

/* Compact preset/recent-item rail. A rail remains one row on every viewport:
   wrapping would turn a short accelerator into another long form. */
.aents-quick-choice-strip {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}
.aents-quick-choice-strip__title {
  margin: 0;
  color: var(--text);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-semibold);
}
.aents-quick-choice-strip__track {
  display: flex;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-1) var(--space-2);
  overflow-x: auto;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
.aents-quick-choice-strip__track::-webkit-scrollbar {
  display: none;
}
.aents-quick-choice {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: var(--space-2);
  min-width: 128px;
  min-height: var(--touch-target);
  padding: var(--space-2) var(--space-3);
  color: var(--text);
  text-align: left;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  cursor: pointer;
  scroll-snap-align: start;
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    background var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-quick-choice:hover {
  border-color: color-mix(in srgb, var(--primary) 36%, var(--border));
  background: color-mix(in srgb, var(--primary) 5%, var(--surface));
  transform: translateY(-1px);
}
.aents-quick-choice:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.aents-quick-choice__visual {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: var(--space-8);
  height: var(--space-8);
  color: var(--primary);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--primary) 10%, var(--surface));
}
.aents-quick-choice__copy {
  display: grid;
  gap: 1px;
}
.aents-quick-choice__copy strong,
.aents-quick-choice__copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.aents-quick-choice__copy strong {
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
}
.aents-quick-choice__copy small,
.aents-quick-choice-strip__empty {
  color: var(--text-muted);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
}
.aents-phone-field {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.aents-phone-field > legend {
  margin-bottom: var(--space-2);
  color: var(--text);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-semibold);
}
.aents-phone-field__controls {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(180px, 1.1fr);
  gap: var(--space-3);
  align-items: start;
}
@media (max-width: 560px) {
  .aents-phone-field__controls {
    grid-template-columns: 1fr;
    gap: var(--space-2);
  }
}
.aents-swatch-grid__label {
  flex: 0 0 100%;
  color: var(--text);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-semibold);
}
/* The checkerboard lives on the button and the color on the fill above it, so
   a translucent or `transparent` option looks transparent instead of looking
   like the surface behind the panel. Drawn with tokens, not an image. */
.aents-swatch {
  position: relative;
  display: grid;
  place-items: center;
  /* WCAG 2.5.8: every icon-only control keeps the minimum touch target. */
  width: var(--touch-target);
  height: var(--touch-target);
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: repeating-conic-gradient(
      var(--surface-alt) 0% 25%,
      var(--background) 0% 50%
    )
    0 0 / var(--space-3) var(--space-3);
  cursor: pointer;
  transition: transform var(--duration-fast) var(--easing-standard);
}
.aents-swatch:hover {
  transform: scale(1.06);
}
.aents-swatch__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
}
/* Selection is a badge over a ring, never color alone: a border tint would
   disappear on a white or transparent swatch. */
.aents-swatch__check {
  position: relative;
  display: grid;
  place-items: center;
  width: var(--icon-base);
  height: var(--icon-base);
  color: var(--on-primary);
  background: var(--primary);
  border: 1px solid color-mix(in srgb, var(--white) 55%, transparent);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-2);
  opacity: 0;
  transform: scale(0.6);
  transition:
    opacity var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-swatch[data-checked] {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}
.aents-swatch[data-checked] .aents-swatch__check {
  opacity: 1;
  transform: scale(1);
}
.aents-swatch--labeled {
  width: auto;
  min-width: 112px;
  grid-template-columns: var(--touch-target) auto;
  justify-content: start;
  padding-right: var(--space-3);
  background: var(--surface-alt);
}
.aents-swatch--labeled .aents-swatch__fill {
  right: auto;
  width: var(--touch-target);
}
.aents-swatch--labeled .aents-swatch__check {
  grid-column: 1;
}
.aents-swatch__option-label {
  position: relative;
  z-index: 1;
  grid-column: 2;
  color: var(--text);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
  font-weight: var(--weight-semibold);
  white-space: nowrap;
}
.aents-swatch[data-swatch-value="transparent"] .aents-swatch__fill::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 2px;
  border-radius: var(--radius-full);
  background: var(--error);
  rotate: -45deg;
  translate: -50% -50%;
}
/* Declared last so the focus ring stays visible on an already selected swatch. */
.aents-swatch:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 4px;
}
.aents-swatch--custom {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.aents-swatch__input {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}
.aents-swatch__custom-fill {
  position: absolute;
  inset: var(--space-1);
  border-radius: inherit;
  background: conic-gradient(
    #ef4444,
    #f59e0b,
    #22c55e,
    #3b82f6,
    #6b5cf6,
    #ef4444
  );
}
.aents-swatch__custom-current {
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border: 2px solid var(--white);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 4px color-mix(in srgb, var(--navy) 30%, transparent);
}
.aents-swatch--custom[data-selected="true"] {
  border-color: var(--primary);
  box-shadow:
    0 0 0 2px var(--surface),
    0 0 0 4px color-mix(in srgb, var(--primary) 55%, transparent);
}

/* ---- Dialog ---------------------------------------------------------- */
.aents-dialog {
  width: min(calc(100% - 2 * var(--spacing-lg)), 34rem);
  max-height: min(calc(100dvh - 2 * var(--spacing-lg)), 44rem);
  margin: auto;
  overflow: visible;
  color: var(--text);
  border: 0;
  border-radius: var(--radius-xl);
  background: transparent;
}
.aents-dialog::backdrop {
  background: var(--overlay);
  backdrop-filter: blur(6px);
}
.aents-dialog__surface {
  display: flex;
  max-height: min(calc(100dvh - 2 * var(--spacing-lg)), 44rem);
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-5);
}
.aents-dialog__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-md);
}
.aents-dialog__heading {
  display: grid;
  gap: var(--spacing-xs);
}
.aents-dialog__title {
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-line);
  font-weight: var(--type-h2-weight);
}
.aents-dialog__description {
  color: var(--text-secondary);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
}
.aents-dialog__close {
  display: grid;
  flex: 0 0 var(--touch-target);
  width: var(--touch-target);
  height: var(--touch-target);
  place-items: center;
  padding: 0;
  color: var(--text-secondary);
  border: 0;
  border-radius: var(--radius-full);
  background: transparent;
  cursor: pointer;
}
.aents-dialog__close:hover {
  color: var(--text);
  background: var(--surface-alt);
}
.aents-dialog__body {
  display: grid;
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-xl);
  overflow-y: auto;
}
.aents-dialog__footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-sm);
  padding: var(--spacing-lg) var(--spacing-xl) var(--spacing-xl);
  border-top: 1px solid var(--border);
}

@media (max-width: 639px) {
  .aents-dialog {
    width: calc(100% - 2 * var(--spacing-md));
    max-height: calc(100dvh - 2 * var(--spacing-md));
  }
  .aents-dialog__surface {
    max-height: calc(100dvh - 2 * var(--spacing-md));
  }
  .aents-dialog__header,
  .aents-dialog__body {
    padding-right: var(--spacing-lg);
    padding-left: var(--spacing-lg);
  }
  .aents-dialog__footer {
    padding: var(--spacing-md) var(--spacing-lg) var(--spacing-lg);
  }
  .aents-dialog__footer > * {
    flex: 1;
  }
}

/* Animated storefront journey. Product copy is supplied by each consumer. */
.aents-storefront {
  position: relative;
  isolation: isolate;
  width: min(100%, 600px);
  margin-inline: auto;
  padding: var(--space-8) var(--space-6);
}
.aents-storefront > a {
  display: block;
  text-decoration: none;
}
.aents-storefront-scene {
  display: block;
  color: var(--text);
}
.aents-storefront::before {
  position: absolute;
  z-index: -2;
  inset: 8% 4%;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--purple) 42%, transparent),
    transparent 68%
  );
  filter: blur(16px);
  animation: aents-storefront-aura 5s ease-in-out infinite;
  content: "";
}
.aents-storefront-orbit {
  position: absolute;
  z-index: -1;
  inset: 2% 0;
  border: 1px solid color-mix(in srgb, var(--lavender) 18%, transparent);
  border-radius: 50%;
  transform: rotate(-10deg);
}
.aents-storefront-orbit--two {
  inset: 10% 7%;
  border-style: dashed;
  animation: aents-storefront-orbit 28s linear infinite;
}
.aents-storefront-window {
  position: relative;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  border-radius: var(--radius-xl);
  background: var(--white);
  box-shadow: 0 35px 85px rgb(5 8 25 / 48%);
  animation: aents-storefront-float 6s var(--easing-emphasis) infinite;
}
.aents-storefront-sheen {
  position: absolute;
  z-index: 5;
  inset: 0 auto 0 -45%;
  width: 32%;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgb(255 255 255 / 24%),
    transparent
  );
  transform: skewX(-14deg);
  animation: aents-storefront-sheen 7s ease-in-out infinite;
}
.aents-storefront-browserbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--space-10);
  padding-inline: var(--spacing-md);
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--surface-alt);
}
.aents-storefront-controls {
  display: flex;
  gap: var(--spacing-xs);
}
.aents-storefront-controls i {
  width: var(--spacing-sm);
  height: var(--spacing-sm);
  border-radius: 50%;
  background: color-mix(in srgb, var(--text-muted) 40%, transparent);
}
.aents-storefront-browserbar b {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-md);
  color: var(--text-secondary);
  border-radius: var(--radius-full);
  background: var(--surface);
  font: var(--weight-regular) var(--type-caption-size)/1 var(--font-mono);
}
.aents-storefront-browserbar b i {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 8px var(--green);
}
.aents-storefront-shopbar {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-md) var(--spacing-lg) 0;
}
.aents-storefront-brand {
  display: grid;
  place-items: center;
  width: var(--control-md);
  height: var(--control-md);
  color: var(--white);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, var(--purple), var(--teal));
  font-weight: var(--weight-extrabold);
}
.aents-storefront-shopbar > span:nth-child(2) {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.aents-storefront-shopbar strong,
.aents-storefront-product strong,
.aents-storefront-price {
  font-size: var(--type-small-size);
}
.aents-storefront-shopbar small {
  color: var(--text-muted);
  font-size: var(--type-caption-size);
}
.aents-storefront-cart {
  position: relative;
  margin-left: auto;
  padding: var(--spacing-xs) var(--spacing-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: var(--type-caption-size);
}
.aents-storefront-cart i {
  position: absolute;
  top: -0.42rem;
  right: -0.3rem;
  display: grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  color: var(--white);
  border-radius: 50%;
  background: var(--purple);
  font: normal 0.58rem/1 var(--font-mono);
  animation: aents-storefront-cart 7s var(--easing-emphasis) infinite;
}
.aents-storefront-products {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  padding: var(--spacing-md) var(--spacing-lg) var(--space-12);
}
.aents-storefront-product {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding: var(--spacing-md);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-1);
}
.aents-storefront-product.is-active {
  animation: aents-storefront-product 7s var(--easing-emphasis) infinite;
}
.aents-storefront-thumb {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  height: 108px;
  border-radius: var(--radius-md);
}
.aents-storefront-thumb--a {
  background: linear-gradient(145deg, var(--teal), var(--green));
}
.aents-storefront-thumb--b {
  background: linear-gradient(145deg, var(--purple), var(--lavender));
}
.aents-storefront-thumb::before,
.aents-storefront-thumb::after,
.aents-storefront-thumb i {
  position: absolute;
  content: "";
}
.aents-storefront-thumb--a::before {
  top: 16px;
  width: 48px;
  height: 58px;
  border-radius: 9px 9px 14px 14px;
  background: rgb(255 255 255 / 88%);
}
.aents-storefront-thumb--a::after {
  top: 12px;
  width: 18px;
  height: 14px;
  border-radius: 0 0 9px 9px;
  background: color-mix(in srgb, var(--teal) 65%, white);
}
.aents-storefront-thumb--a i {
  top: 19px;
  width: 76px;
  height: 25px;
  border-radius: 50%;
  border-top: 12px solid rgb(255 255 255 / 88%);
}
.aents-storefront-thumb--b::before {
  top: 23px;
  width: 45px;
  height: 45px;
  border-radius: 5px 5px 16px 16px;
  background: rgb(255 255 255 / 90%);
}
.aents-storefront-thumb--b::after {
  top: 30px;
  left: calc(50% + 14px);
  width: 22px;
  height: 25px;
  border: 7px solid rgb(255 255 255 / 82%);
  border-left: 0;
  border-radius: 0 14px 14px 0;
}
.aents-storefront-price {
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: var(--weight-bold);
}
.aents-storefront-add {
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--white);
  border-radius: var(--radius-full);
  background: var(--navy);
  font-size: var(--type-caption-size);
  text-align: center;
}
.aents-storefront-product.is-active .aents-storefront-add {
  animation: aents-storefront-button 7s var(--easing-emphasis) infinite;
}
.aents-storefront-cursor {
  position: absolute;
  z-index: 6;
  left: 33%;
  bottom: 24%;
  width: 18px;
  height: 24px;
  background: var(--white);
  clip-path: polygon(
    0 0,
    100% 72%,
    57% 76%,
    76% 100%,
    62% 100%,
    43% 79%,
    14% 100%
  );
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 35%));
  animation: aents-storefront-cursor 7s var(--easing-emphasis) infinite;
}
.aents-storefront-order {
  position: absolute;
  right: var(--spacing-lg);
  bottom: var(--spacing-md);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--white);
  background: color-mix(in srgb, var(--navy) 90%, transparent);
  box-shadow: 0 18px 38px rgb(4 8 28 / 30%);
  animation: aents-storefront-order 7s var(--easing-emphasis) infinite;
}
.aents-storefront-order b,
.aents-storefront-order small,
.aents-storefront-order em {
  display: block;
}
.aents-storefront-order b {
  font-size: var(--type-small-size);
}
.aents-storefront-order small {
  color: var(--lavender);
  font-size: var(--type-caption-size);
}
.aents-storefront-order em {
  color: var(--green);
  font: normal var(--type-caption-size)/1.4 var(--font-sans);
}
.aents-storefront-order-icon {
  display: grid;
  place-items: center;
  width: var(--control-md);
  height: var(--control-md);
  color: var(--navy);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  font-weight: var(--weight-extrabold);
}
.aents-storefront-status {
  position: absolute;
  z-index: 7;
  top: 1rem;
  right: 0;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  color: color-mix(in srgb, var(--white) 84%, transparent);
  border: 1px solid color-mix(in srgb, var(--white) 16%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--navy) 82%, transparent);
  backdrop-filter: blur(12px);
  font-size: var(--type-caption-size);
  box-shadow: var(--shadow-3);
  animation: aents-storefront-status 4s var(--easing-emphasis) infinite;
}
.aents-storefront-status i {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 9px var(--green);
}
@keyframes aents-storefront-float {
  0%,
  100% {
    transform: perspective(900px) rotateY(-4deg) rotateX(2deg) translateY(0);
  }
  50% {
    transform: perspective(900px) rotateY(-2deg) rotateX(1deg) translateY(-9px);
  }
}
@keyframes aents-storefront-aura {
  0%,
  100% {
    opacity: 0.65;
    transform: scale(0.94);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}
@keyframes aents-storefront-orbit {
  to {
    transform: rotate(350deg);
  }
}
@keyframes aents-storefront-sheen {
  0%,
  15% {
    left: -45%;
    opacity: 0;
  }
  35%,
  50% {
    opacity: 1;
  }
  65%,
  100% {
    left: 120%;
    opacity: 0;
  }
}
@keyframes aents-storefront-product {
  0%,
  20%,
  100% {
    transform: translateY(0);
  }
  35%,
  60% {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3);
  }
}
@keyframes aents-storefront-button {
  0%,
  35%,
  100% {
    background: var(--navy);
    transform: scale(1);
  }
  45%,
  58% {
    background: var(--purple);
    transform: scale(1.03);
  }
}
@keyframes aents-storefront-cursor {
  0%,
  20% {
    opacity: 0;
    transform: translate(42px, 38px);
  }
  32%,
  48% {
    opacity: 1;
    transform: translate(0);
  }
  55% {
    opacity: 1;
    transform: scale(0.82);
  }
  65%,
  100% {
    opacity: 0;
  }
}
@keyframes aents-storefront-cart {
  0%,
  52% {
    opacity: 0;
    transform: scale(0.2);
  }
  62%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
@keyframes aents-storefront-order {
  0%,
  58% {
    opacity: 0;
    transform: translateY(24px) scale(0.92);
  }
  70%,
  92% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translateY(-6px) scale(0.98);
  }
}
@keyframes aents-storefront-status {
  50% {
    transform: translateY(-4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .aents-storefront *,
  .aents-storefront::before {
    animation: none !important;
  }
  .aents-storefront-cursor {
    display: none;
  }
  .aents-storefront-order,
  .aents-storefront-cart i {
    opacity: 1;
  }
}

/* The scene keeps its desktop proportions and is scaled down as a whole.
   Its box is wider than a phone column, so the negative inline margins centre
   it: with `auto` the overflow went to the right and clipped the window. */
@media (max-width: 560px) {
  .aents-storefront {
    width: 430px;
    max-width: none;
    padding: var(--space-6) var(--spacing-lg);
    transform: scale(0.78);
    transform-origin: center;
    margin-block: calc(430px * -0.09);
    margin-inline: calc((100% - 430px) / 2);
  }
  .aents-storefront-browserbar b {
    max-width: 13rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .aents-storefront-status {
    right: var(--spacing-sm);
  }
  .aents-storefront-order {
    right: var(--spacing-md);
    max-width: calc(100% - var(--space-8));
  }
  .aents-storefront-thumb {
    height: 84px;
  }
}
/* Shared commercial pricing deck: full comparison on desktop, centered snap
 * carousel with adjacent-card affordances on mobile. */
.aents-pricing-swipe {
  display: none;
}
.aents-pricing-deck {
  display: grid;
  /* Wide-viewport column count; PricingDeck's wideColumns prop feeds the
   * custom property so consumers never restyle the deck themselves. */
  grid-template-columns: repeat(var(--pricing-wide-columns, 3), minmax(0, 1fr));
  align-items: stretch;
  gap: var(--spacing-lg);
}
.aents-pricing-item {
  /* The card is the sizing context for its own price and padding: a deck with
   * four columns hands each card far less room than the viewport suggests, and
   * a viewport-sized amount is what used to spill past the card border. */
  container-type: inline-size;
  height: 100%;
  animation: aents-pricing-enter var(--duration-slower) var(--easing-emphasis)
    both;
  animation-delay: calc(var(--pricing-index) * 90ms);
}
.aents-pricing-frame {
  height: 100%;
}
.aents-pricing-frame--featured {
  z-index: 2;
  padding: 2px;
  background: linear-gradient(
    125deg,
    var(--green),
    var(--teal) 42%,
    var(--lavender) 78%,
    var(--purple)
  );
  filter: drop-shadow(
    0 18px 34px color-mix(in srgb, var(--purple) 34%, transparent)
  );
  transform: translateY(calc(var(--spacing-md) * -1)) scale(1.025);
}
.aents-pricing-frame--featured .aents-ancestral-frame__content {
  background:
    radial-gradient(
      circle at 82% 12%,
      color-mix(in srgb, var(--purple) 24%, transparent),
      transparent 34%
    ),
    color-mix(in srgb, var(--navy) 96%, transparent);
}
.aents-pricing-card {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  height: 100%;
  padding: clamp(var(--spacing-lg), 9cqi, var(--space-8));
  color: var(--white);
}
/* The plan CTA carries a full sentence in some locales ("Construyamos tu
 * solución"); the shared button never wraps, so it overflowed the card. Inside
 * a plan card it wraps and grows instead. */
.aents-pricing-card .aents-btn {
  height: auto;
  padding-block: var(--spacing-sm);
  white-space: normal;
  text-wrap: balance;
}
.aents-pricing-head {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
}
.aents-pricing-head h3 {
  margin-top: var(--spacing-sm);
  font-size: var(--type-h2-size);
  line-height: var(--type-h2-line);
}
.aents-pricing-label {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: var(--spacing-xs);
  padding: var(--spacing-xs) var(--spacing-sm);
  color: var(--white);
  border: 1px solid color-mix(in srgb, var(--white) 34%, transparent);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--white) 10%, transparent);
  font: var(--weight-bold) var(--type-caption-size)/1.4 var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.aents-pricing-label i {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--lavender);
  box-shadow: 0 0 10px color-mix(in srgb, var(--lavender) 70%, transparent);
}
.aents-pricing-label--featured {
  border-color: color-mix(in srgb, var(--green) 70%, var(--white));
  background: linear-gradient(110deg, var(--teal), var(--purple));
  box-shadow: 0 0 18px color-mix(in srgb, var(--purple) 38%, transparent);
}
.aents-pricing-label--featured i {
  background: var(--white);
}
.aents-pricing-amount {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
  min-width: 0;
}
.aents-pricing-amount span {
  color: color-mix(in srgb, var(--white) 60%, transparent);
}
.aents-pricing-amount span:first-child {
  font-family: var(--font-mono);
  font-size: clamp(var(--type-body-size), 7cqi, var(--type-h3-size));
}
/* A price has no break opportunity: "24.99" set at the display size is simply
 * wider than a four-column card and pushed through the border. Both ends of
 * the clamp stay on the Brand Book scale; the middle term is the card. */
.aents-pricing-amount strong {
  font-size: clamp(var(--type-h1-size), 17cqi, var(--type-display1-size));
  line-height: 1.1;
  font-weight: var(--weight-extrabold);
}
.aents-pricing-amount--compact strong {
  font-size: clamp(var(--type-h3-size), 9cqi, var(--type-h2-size));
  line-height: var(--type-h2-line);
}
.aents-pricing-amount--compact {
  margin-top: 0;
}
.aents-pricing-note {
  color: color-mix(in srgb, var(--white) 55%, transparent);
  font-size: var(--type-caption-size);
}
.aents-pricing-features {
  flex: 1;
  display: grid;
  align-content: start;
  gap: var(--spacing-sm);
  list-style: none;
}
.aents-pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-sm);
  color: color-mix(in srgb, var(--white) 82%, transparent);
}
.aents-pricing-features li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--icon-lg);
  width: var(--icon-lg);
  height: var(--icon-lg);
  margin-top: 0.1em;
  color: var(--navy);
  border-radius: 50%;
  background: var(--green);
  font-size: var(--type-caption-size);
  font-weight: var(--weight-bold);
}
@keyframes aents-pricing-enter {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Four plans need more width than three: below this the tracks are narrower
 * than a plan reads at, so the deck halves its columns instead of squeezing
 * every card. Three-column decks are still comfortable here and keep going. */
@media (min-width: 961px) and (max-width: 1100px) {
  .aents-pricing-deck[data-columns="4"] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 46rem;
    margin-inline: auto;
  }
}
@media (max-width: 960px) {
  .aents-pricing-deck {
    grid-template-columns: 1fr;
    max-width: 32rem;
    margin-inline: auto;
  }
  .aents-pricing-frame--featured {
    transform: none;
  }
}
@media (max-width: 720px) {
  .aents-pricing-swipe {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-xs);
    margin: var(--spacing-lg) 0 var(--spacing-xs);
    color: color-mix(in srgb, var(--white) 62%, transparent);
    font-size: var(--type-caption-size);
  }
  .aents-pricing-swipe b {
    color: var(--green);
    animation: aents-pricing-nudge 1.8s var(--easing-emphasis) infinite
      alternate;
  }
  .aents-pricing-swipe b:first-child {
    animation-direction: alternate-reverse;
  }
  .aents-pricing-deck {
    display: flex;
    gap: var(--spacing-md);
    width: calc(100% + var(--space-8));
    max-width: none;
    margin-inline: calc(var(--space-4) * -1);
    padding: var(--spacing-sm) 9% var(--spacing-lg);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 9%;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .aents-pricing-deck::-webkit-scrollbar {
    display: none;
  }
  .aents-pricing-item {
    flex: 0 0 82%;
    scroll-snap-align: center;
  }
  .aents-pricing-frame {
    border-radius: var(--radius-xl);
  }
  .aents-pricing-frame--featured {
    filter: drop-shadow(
      0 12px 24px color-mix(in srgb, var(--purple) 28%, transparent)
    );
  }
}
@keyframes aents-pricing-nudge {
  from {
    transform: translateX(-2px);
  }
  to {
    transform: translateX(4px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .aents-pricing-item,
  .aents-pricing-swipe b {
    animation: none;
  }
}

/* ---- Search field ---------------------------------------------------- */
/* The trailing slot holds two controls (clear, submit), so it needs its own
   row box; the field's generic adornment is a single glyph. */
.aents-search__actions {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-xs);
}
/* The platform's own clear affordance would sit next to ours. */
.aents-search .aents-field__input::-webkit-search-cancel-button {
  display: none;
}

/* ---- Skeleton grid --------------------------------------------------- */
/* Same track rule as a catalog grid: the placeholder must occupy the layout
   the content will occupy, or the page jumps when the data lands. */
.aents-skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: var(--spacing-lg);
}
.aents-skeleton-grid__item {
  overflow: hidden;
}
.aents-skeleton-grid__lines {
  padding: var(--spacing-md);
}

/* ---- Media gallery --------------------------------------------------- */
.aents-gallery {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  min-width: 0;
}
.aents-gallery__stage {
  position: relative;
}
.aents-gallery__frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  padding: 0;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: zoom-in;
}
.aents-gallery__frame--empty {
  display: grid;
  place-items: center;
  cursor: default;
}
.aents-gallery__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.aents-gallery[data-fit="contain"] .aents-gallery__frame img,
.aents-gallery[data-fit="contain"] .aents-gallery__thumb img {
  object-fit: contain;
}
.aents-gallery__hint {
  position: absolute;
  inset-block-end: var(--spacing-sm);
  inset-inline-end: var(--spacing-sm);
  display: inline-flex;
  padding: var(--spacing-xs);
  color: var(--white);
  background: color-mix(in srgb, var(--navy) 62%, transparent);
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}
.aents-gallery__step {
  position: absolute;
  z-index: 1;
  inset-block-start: 50%;
  transform: translateY(-50%);
  border-color: color-mix(in srgb, var(--border) 72%, transparent);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  box-shadow: var(--shadow-2);
  backdrop-filter: blur(12px);
}
.aents-gallery__step--prev {
  inset-inline-start: var(--spacing-sm);
}
.aents-gallery__step--next {
  inset-inline-end: var(--spacing-sm);
}
.aents-gallery__counter {
  position: absolute;
  inset-block-start: var(--spacing-sm);
  inset-inline-end: var(--spacing-sm);
  padding: 0.3rem 0.6rem;
  border: 1px solid color-mix(in srgb, var(--white) 18%, transparent);
  border-radius: var(--radius-full);
  color: var(--white);
  background: color-mix(in srgb, var(--navy) 68%, transparent);
  font-size: var(--type-caption-size);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  backdrop-filter: blur(8px);
}
.aents-gallery__thumbs {
  display: flex;
  gap: var(--spacing-sm);
  margin: 0;
  padding: 0;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: thin;
}
.aents-gallery__thumb {
  width: var(--space-16);
  height: var(--space-16);
  padding: 0;
  background: var(--surface-alt);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  transition: border-color var(--duration-fast) var(--easing-standard);
}
.aents-gallery__thumb[aria-current="true"] {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 26%, transparent);
}
.aents-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (hover: hover) {
  .aents-gallery__step {
    opacity: 0;
    transition:
      opacity var(--duration-fast) var(--easing-standard),
      transform var(--duration-fast) var(--easing-standard);
  }
  .aents-gallery__stage:hover .aents-gallery__step,
  .aents-gallery__stage:focus-within .aents-gallery__step {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .aents-gallery__step {
    transition: none;
  }
}

/* ---- Lightbox -------------------------------------------------------- */
/* A photo over the page: the dialog fills the viewport and the chrome floats
   on top of it, instead of the titled card `Dialog` renders. */
/* `[open]` and not the bare element: a `display` of our own would beat the UA's
   `dialog:not([open]) { display: none }` and leave the closed lightbox laid out
   in the page. */
.aents-lightbox[open] {
  /* A column, so the stage takes whatever the bar leaves instead of a height
     computed from a guess about how tall the bar is. */
  display: flex;
  flex-direction: column;
}
.aents-lightbox {
  width: 100vw;
  max-width: 100vw;
  height: 100dvh;
  max-height: 100dvh;
  padding: 0;
  color: var(--white);
  background: color-mix(in srgb, var(--navy) 92%, black);
  border: 0;
}
.aents-lightbox::backdrop {
  background: color-mix(in srgb, var(--navy) 80%, black);
}
.aents-lightbox__bar {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
  padding: var(--spacing-sm) var(--spacing-md);
  padding-block-start: max(var(--spacing-sm), env(safe-area-inset-top));
}
.aents-lightbox__counter {
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
}
.aents-lightbox__actions {
  display: inline-flex;
  gap: var(--spacing-xs);
}
.aents-lightbox .aents-icon-btn {
  color: var(--white);
}
.aents-lightbox__stage {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1;
  /* Lets the grid shrink below the intrinsic size of the photo. */
  min-height: 0;
  padding: var(--spacing-md);
}
.aents-lightbox__image {
  /* Fills the stage and lets `contain` do the fitting: a percentage max-height
     would need the grid area to resolve one, which it does not always do. */
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform var(--duration-base) var(--easing-standard);
}
.aents-lightbox__image--zoomed {
  transform: scale(2);
  cursor: zoom-out;
}
.aents-lightbox__step {
  position: absolute;
  inset-block-start: 50%;
  translate: 0 -50%;
  background: color-mix(in srgb, var(--navy) 55%, transparent);
  border-radius: var(--radius-full);
}
.aents-lightbox__step--prev {
  inset-inline-start: var(--spacing-sm);
}
.aents-lightbox__step--next {
  inset-inline-end: var(--spacing-sm);
}
@media (prefers-reduced-motion: reduce) {
  .aents-lightbox__image {
    transition: none;
  }
}

/* ---- Storefront footer ----------------------------------------------- */
/* The merchant's footer, not ours: a quiet surface band that inherits the
   store's own tokens instead of the Aents navy of `SiteFooter`. */
.aents-shop-footer {
  margin-block-start: auto;
  padding-block: var(--spacing-xl);
  background: var(--surface-alt);
  border-block-start: 1px solid var(--border-subtle);
}
.aents-shop-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  justify-content: space-between;
}
.aents-shop-footer__brand-block {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  max-width: 28rem;
}
.aents-shop-footer__brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}
.aents-shop-footer__cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}
.aents-shop-footer__col {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  min-width: 12rem;
}
.aents-shop-footer__title {
  color: var(--text-secondary);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
  font-weight: var(--weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.aents-shop-footer__list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin: 0;
  padding: 0;
  list-style: none;
}
.aents-shop-footer__link {
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-height: var(--touch-target);
  color: var(--text-secondary);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  text-decoration: none;
}
a.aents-shop-footer__link:hover {
  color: var(--primary);
}
.aents-shop-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--touch-target);
  height: var(--touch-target);
  color: var(--text-secondary);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  transition:
    color var(--duration-fast) var(--easing-standard),
    border-color var(--duration-fast) var(--easing-standard);
}
.aents-shop-footer__social:hover {
  color: var(--primary);
  border-color: var(--primary);
}
.aents-shop-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  justify-content: space-between;
  margin-block-start: var(--spacing-lg);
  padding-block-start: var(--spacing-md);
  border-block-start: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
}

/* ---- Floating contact ------------------------------------------------ */
.aents-fab {
  position: fixed;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  gap: var(--spacing-sm);
  min-height: var(--touch-target);
  padding: var(--spacing-sm) var(--spacing-md);
  color: var(--white);
  font-weight: var(--weight-semibold);
  text-decoration: none;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-3);
  inset-block-end: max(var(--spacing-lg), env(safe-area-inset-bottom));
  transition: transform var(--duration-fast) var(--easing-standard);
}
.aents-fab--end {
  inset-inline-end: var(--spacing-lg);
}
.aents-fab--start {
  inset-inline-start: var(--spacing-lg);
}
.aents-fab--whatsapp {
  /* WhatsApp's own green: the affordance is recognised by its colour, and a
     store accent here would read as one more button. */
  background: #25d366;
  color: #05331a;
}
.aents-fab--primary {
  background: var(--primary);
  color: var(--on-primary);
}
.aents-fab:hover {
  transform: translateY(-2px);
}
@media (prefers-reduced-motion: reduce) {
  .aents-fab {
    transition: none;
  }
  .aents-fab:hover {
    transform: none;
  }
}
/* On a phone the label would crowd the thumb zone, so the chip shrinks to its
   glyph — the accessible name comes from aria-label either way. */
@media (max-width: 560px) {
  .aents-fab__label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .aents-fab {
    padding: var(--spacing-sm);
  }
}

/* Google sign-in. Google draws the button inside .aents-gsi__slot, so the
   only job here is to give it the full width of the card and hold that space
   before it paints — otherwise the form under it jumps on every load. */
.aents-gsi {
  display: grid;
  gap: var(--spacing-xs);
  width: 100%;
}
.aents-gsi__slot {
  min-height: 44px;
  width: 100%;
  color-scheme: light;
}
.aents-gsi__slot > div {
  width: 100% !important;
}
.aents-gsi__fallback {
  margin: 0;
  text-align: center;
  font-size: var(--type-caption-size);
  color: var(--text-secondary);
}
/* ---------- Creation workbench ---------- */
.aents-creation-workbench {
  display: grid;
  grid-template-areas:
    "primary preview"
    "secondary preview";
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  grid-template-rows: max-content max-content;
  gap: var(--space-5) var(--space-6);
  align-items: start;
}
.aents-creation-workbench__primary {
  grid-area: primary;
}
.aents-creation-workbench__preview {
  grid-area: preview;
  min-width: 0;
}
.aents-creation-workbench__secondary {
  grid-area: secondary;
}
.aents-creation-workbench__primary,
.aents-creation-workbench__secondary {
  min-width: 0;
}

@media (max-width: 899px) {
  .aents-creation-workbench {
    grid-template-areas:
      "primary"
      "preview"
      "secondary";
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: var(--space-4);
  }
}
/* ---------- Visual choice grid ---------- */
.aents-visual-choice-grid {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.aents-visual-choice-grid__label {
  margin-bottom: var(--spacing-sm);
  color: var(--text);
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
  font-weight: var(--weight-semibold);
}
.aents-visual-choice-grid__options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: var(--spacing-sm);
}
.aents-visual-choice {
  min-width: 0;
  min-height: 84px;
  display: grid;
  place-items: center;
  gap: var(--spacing-xs);
  padding: var(--spacing-sm);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  background: var(--surface-alt);
  cursor: pointer;
  transition:
    border-color var(--duration-fast) var(--easing-standard),
    background-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-fast) var(--easing-standard),
    transform var(--duration-fast) var(--easing-standard);
}
.aents-visual-choice:hover {
  border-color: color-mix(in srgb, var(--primary) 28%, var(--border));
  transform: translateY(-1px);
}
.aents-visual-choice[aria-pressed="true"] {
  border-color: color-mix(in srgb, var(--primary) 58%, var(--border));
  color: var(--primary);
  background: color-mix(in srgb, var(--primary) 7%, var(--white));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--primary) 12%, transparent);
}
.aents-visual-choice__preview {
  display: grid;
  place-items: center;
  min-height: 38px;
}
.aents-visual-choice__label {
  overflow: hidden;
  max-width: 100%;
  font-size: var(--type-caption-size);
  line-height: var(--type-caption-line);
  font-weight: var(--weight-semibold);
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Breadcrumb — the visible trail on a page below the root. */
.aents-breadcrumb {
  margin-bottom: var(--space-8);
  font-size: max(0.875rem, var(--type-small-size));
  color: var(--text-secondary);
}
.aents-breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 var(--spacing-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}
.aents-breadcrumb li + li::before {
  content: "/";
  margin-right: var(--spacing-xs);
  color: var(--text-muted);
}
/* A crumb is 44px tall; the trail keeps its rhythm because the row aligns on
   the text, not on the target box. Its width is the label's: every crumb is a
   word or more, past the 24px WCAG 2.5.8 floor, and a wider box would open a
   gap before the next separator. */
.aents-breadcrumb a {
  display: inline-flex;
  align-items: center;
  min-block-size: var(--touch-target);
  color: inherit;
  text-decoration: none;
}
.aents-breadcrumb a:hover {
  color: var(--primary);
}

/* Marketing sections — heading, feature grid and steps.
 *
 * The visual decisions (hover lift, glyph tile, numbered pill, responsive
 * columns) live here so every surface that publishes these blocks gets them
 * from one place. */
.aents-section-heading {
  display: grid;
  gap: var(--space-2);
  justify-items: start;
  max-width: 46rem;
}
.aents-section-heading--center {
  justify-items: center;
  margin-inline: auto;
  text-align: center;
}
.aents-section-heading .aents-eyebrow {
  margin-bottom: var(--spacing-xs);
}

.aents-feature-grid {
  display: grid;
  grid-template-columns: repeat(
    auto-fit,
    minmax(var(--aents-feature-min, 15rem), 1fr)
  );
  gap: var(--spacing-lg);
}
.aents-feature-grid > * {
  height: 100%;
}
.aents-feature-card {
  display: grid;
  gap: var(--spacing-sm);
  align-content: start;
  height: 100%;
  transition:
    translate var(--duration-fast) var(--easing-standard),
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-base) var(--easing-standard);
}
.aents-feature-card:hover {
  translate: 0 calc(-1 * var(--space-1));
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border-subtle));
  box-shadow: var(--shadow-3);
}
.aents-feature-card:hover .aents-ancestral-icon {
  transform: rotate(45deg) scale(1.06);
}
.aents-feature-card__heading {
  display: contents;
}
.aents-feature-card--inline-heading .aents-feature-card__heading {
  display: grid;
  grid-template-columns: var(--control-lg) minmax(0, 1fr);
  gap: var(--spacing-md);
  align-items: center;
}
.aents-feature-card a {
  color: inherit;
  text-decoration: none;
}
.aents-feature-card a:hover {
  color: var(--primary);
}
/* Product-supplied glyph, framed like the ancestral one so a grid that mixes
   both still reads as one family. */
.aents-feature-card__icon {
  display: grid;
  place-items: center;
  width: var(--control-lg);
  height: var(--control-lg);
  color: var(--primary);
  border: 1px solid color-mix(in srgb, var(--purple) 20%, transparent);
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--purple) 7%, var(--surface));
  font-weight: var(--weight-bold);
}
.aents-feature-card__meta {
  font-family: var(--font-mono);
}

/* Inverted token scope, for a panel that is dark in both schemes.
 *
 * The primitives paint their colour inline from the semantic tokens, so a
 * stylesheet outside them cannot repaint their copy — a dark panel that tried
 * would silently lose to the inline style. Rebinding the tokens on the panel
 * itself is what works, and it reaches everything inside at once: headings,
 * body copy, icons, borders and the surfaces of the controls that sit there. */
.aents-invert {
  --text: var(--white);
  --text-secondary: color-mix(in srgb, var(--white) 74%, transparent);
  --text-muted: color-mix(in srgb, var(--white) 58%, transparent);
  --border: color-mix(in srgb, var(--white) 22%, transparent);
  --border-subtle: color-mix(in srgb, var(--white) 12%, transparent);
  --surface: color-mix(in srgb, var(--white) 8%, transparent);
  --surface-alt: color-mix(in srgb, var(--white) 5%, transparent);
  color: var(--text);
}

.aents-step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--spacing-lg);
  /* A procedure is an ordered list, so consumers render this as <ol>/<li>.
     The markers would repeat the numbered station, and the list padding would
     push the thread out of centre. */
  margin: 0;
  padding: 0;
  list-style: none;
}
.aents-step-grid > * {
  height: 100%;
}
.aents-step-card {
  position: relative;
  overflow: hidden;
  /* A HowTo step links here; the sticky site header must not cover it. */
  scroll-margin-top: var(--aents-anchor-offset);
  display: grid;
  gap: var(--spacing-sm);
  align-content: start;
  height: 100%;
  transition:
    translate var(--duration-fast) var(--easing-standard),
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-base) var(--easing-standard);
}
/* The brand thread across the top: the step strip reads as one sequence. */
.aents-step-card:hover {
  translate: 0 calc(-1 * var(--space-1));
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border-subtle));
  box-shadow: var(--shadow-3);
}
.aents-step-card__number {
  display: inline-grid;
  place-items: center;
  width: var(--control-sm);
  height: var(--control-sm);
  color: var(--primary);
  border-radius: var(--radius-full);
  background: color-mix(in srgb, var(--primary) 14%, transparent);
  font-weight: var(--weight-bold);
}
/* The connected variant reads as a signal moving through a process: one thread,
 * one station per step. The thread carries a light that travels from the first
 * station to the last, each station answers with a ping, and the copy sits on a
 * panel of its own so the strip keeps its structure at every width.
 *
 * `--aents-step-halo` is the colour the stations punch out of the thread. It
 * defaults to the tinted band these strips usually sit on; a surface that puts
 * the strip somewhere else rebinds it to whatever is behind. */
.aents-step-grid--connected {
  --aents-step-halo: var(--surface-alt);
  /* One clock for the whole strip: the pulse crosses the thread in this time,
     and every station keys its answer off the same cycle. */
  --aents-step-cycle: 6s;
  /* One number: the side of the station tile. The thread meets it at its
     middle, and the phone layout shrinks it by rebinding this. */
  --aents-step-tile: calc(var(--space-12) * 2);
  --aents-step-line: calc(var(--aents-step-tile) / 2 - 1px);
  /* Three columns unless the markup states how many stations share one row;
     the thread runs from the middle of the first column to the middle of the
     last. */
  --aents-step-count: 3;
  position: relative;
  grid-template-columns: repeat(var(--aents-step-count), minmax(0, 1fr));
  gap: var(--space-10);
}
.aents-step-grid--connected::before,
.aents-step-grid--connected::after {
  position: absolute;
  top: var(--aents-step-line);
  right: calc(50% / var(--aents-step-count));
  left: calc(50% / var(--aents-step-count));
  height: 2px;
  content: "";
}
.aents-step-grid--connected::before {
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--purple) 20%, transparent),
    color-mix(in srgb, var(--teal) 58%, transparent),
    color-mix(in srgb, var(--purple) 20%, transparent)
  );
}
/* The travelling light. It is drawn over the thread, never wider than a third
   of it, so the eye reads a direction instead of a glowing line. */
.aents-step-grid--connected::after {
  background: linear-gradient(
    90deg,
    transparent,
    color-mix(in srgb, var(--white) 70%, var(--teal)),
    transparent
  );
  background-repeat: no-repeat;
  background-size: 32% 100%;
  animation: aents-step-signal var(--aents-step-cycle) linear infinite;
}
@keyframes aents-step-signal {
  0% {
    background-position-x: -40%;
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    background-position-x: 140%;
    opacity: 0;
  }
}
.aents-step-grid--connected > * {
  position: relative;
  z-index: 1;
}
.aents-step-card--connected {
  overflow: visible;
  /* Station, then panel: the second row takes whatever height is left, so three
     steps with three different amounts of copy still end on the same line. */
  grid-template-rows: auto minmax(0, 1fr);
  justify-items: center;
  align-content: stretch;
  gap: var(--spacing-lg);
  padding-inline: var(--spacing-md);
  text-align: center;
}
.aents-step-card--connected::before {
  display: none;
}
/* The lift belongs to the panel: moving the whole step would pull its station
   off the thread it is meant to sit on. */
.aents-step-card--connected:hover {
  translate: none;
  box-shadow: none;
}
/* The station IS the brand tile, with the step number where the symbol goes.
   Everything it wears is measured off the canonical raster export: the corner
   at 22% of the side, and the 135° ramp published as the `tile` gradient in
   @aents/theme. The lighter `primary` ramp used to sit here and read as a
   second, paler mark next to the header logo — the tile is darker than that. */
.aents-step-card--connected .aents-step-card__number {
  position: relative;
  width: var(--aents-step-tile);
  height: var(--aents-step-tile);
  color: var(--white);
  border: 0;
  border-radius: 22%;
  background: linear-gradient(
    135deg,
    var(--gradient-tile-from),
    var(--gradient-tile-to)
  );
  box-shadow:
    0 0 0 var(--spacing-sm) var(--aents-step-halo),
    0 14px 34px color-mix(in srgb, var(--purple-deep) 30%, transparent);
  /* Read off the mark too: the symbol fills a little under half the tile, and
     the numeral is set at the weight the logotype is drawn with. */
  font-size: calc(var(--aents-step-tile) * 0.46);
  font-weight: var(--weight-extrabold);
  line-height: 1;
  animation: aents-step-arrive var(--aents-step-cycle) var(--easing-standard)
    infinite;
  transition: box-shadow var(--duration-base) var(--easing-standard);
}
/* The light travelling the thread reaches the stations in order; each one
   answers as it passes rather than on a clock of its own. */
@keyframes aents-step-arrive {
  0%,
  30%,
  100% {
    scale: 1;
    filter: none;
  }
  8% {
    scale: 1.07;
    filter: brightness(1.16);
  }
}
/* Two rings half a cycle apart: the station keeps answering, never flashes. */
.aents-step-card--connected .aents-step-card__number::before,
.aents-step-card--connected .aents-step-card__number::after {
  position: absolute;
  inset: calc(var(--spacing-sm) * -1);
  border: 1px solid color-mix(in srgb, var(--primary) 34%, transparent);
  /* The ring keeps the tile's corner: 22% of a box grown by the inset. */
  border-radius: 24%;
  opacity: 0;
  animation: aents-step-ping var(--aents-step-cycle) var(--easing-standard)
    infinite;
  content: "";
}
/* A second ring a beat behind the first, so the answer expands instead of
   blinking once. */
.aents-step-card--connected .aents-step-card__number::after {
  animation-delay: 0.28s;
}
/* Every station keys off the same cycle, at the moment the pulse reaches it:
   the first at the start of the run, the last as it leaves the thread. The
   position along the thread is the station's place over the last place, for
   up to six stations. */
.aents-step-grid--connected > * {
  --aents-step-at: 0;
}
.aents-step-grid--connected > *:nth-child(2) {
  --aents-step-at: 1;
}
.aents-step-grid--connected > *:nth-child(3) {
  --aents-step-at: 2;
}
.aents-step-grid--connected > *:nth-child(4) {
  --aents-step-at: 3;
}
.aents-step-grid--connected > *:nth-child(5) {
  --aents-step-at: 4;
}
.aents-step-grid--connected > *:nth-child(6) {
  --aents-step-at: 5;
}
.aents-step-grid--connected > * .aents-step-card__number,
.aents-step-grid--connected > * .aents-step-card__number::before {
  --aents-step-delay: calc(
    var(--aents-step-cycle) * 0.82 * var(--aents-step-at) /
      max(1, var(--aents-step-count) - 1)
  );
  animation-delay: var(--aents-step-delay);
}
.aents-step-grid--connected > * .aents-step-card__number::after {
  animation-delay: calc(var(--aents-step-delay) + 0.28s);
}
@keyframes aents-step-ping {
  0% {
    opacity: 0.45;
    scale: 1;
  }
  22% {
    opacity: 0;
    scale: 1.45;
  }
  100% {
    opacity: 0;
    scale: 1.45;
  }
}
/* Illustration slot. The strip owns the frame — a panel inset with the card's
   own border and corner — and nothing about what is drawn inside it: a scene
   belongs to the product whose step it shows. */
.aents-step-card__visual {
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: var(--surface-alt);
}
.aents-step-card--connected .aents-step-card__visual {
  margin-bottom: var(--spacing-xs);
}
.aents-step-card--connected .aents-step-card__body {
  position: relative;
  display: grid;
  gap: var(--spacing-sm);
  width: 100%;
  height: 100%;
  align-content: start;
  padding: var(--spacing-lg);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition:
    translate var(--duration-fast) var(--easing-standard),
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-base) var(--easing-standard);
}
.aents-step-card--connected:hover .aents-step-card__body {
  translate: 0 calc(-1 * var(--space-1));
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border-subtle));
  box-shadow: var(--shadow-3);
}
.aents-step-card--connected:hover .aents-step-card__number {
  box-shadow:
    0 0 0 var(--spacing-sm) var(--aents-step-halo),
    0 0 0 calc(var(--spacing-sm) + 1px)
      color-mix(in srgb, var(--primary) 46%, transparent),
    0 18px 40px color-mix(in srgb, var(--purple) 30%, transparent);
}

/* The turning panel
   ------------------------------------------------------------------
   A step in this strip gets one narrow column, which is one short line of
   copy. The whole explanation still has to be reachable, so the panel keeps it
   on its back and turns over when the step is pointed at or focused.

   Both faces sit in the same grid cell, so the panel is as tall as the longer
   of the two and nothing jumps when it turns. */
.aents-step-card__flip {
  position: relative;
  display: grid;
  width: 100%;
  height: 100%;
  perspective: 1400px;
  /* The global focus ring is drawn on this box, so it has to take the panel's
     corner rather than sit as a rectangle around a rounded card. */
  border-radius: var(--radius-lg);
  outline-offset: 3px;
}
/* The front is a scene and a name, the back a paragraph, so the back is nearly
   always the taller of the two and the panel takes its height. Centring the
   front keeps it from sitting at the top of a box sized for the other side. */
.aents-step-card__face:not(.aents-step-card__face--back) {
  align-content: center;
}
.aents-step-card__face {
  grid-area: 1 / 1;
  backface-visibility: hidden;
  transform: rotateY(0deg);
  transition:
    transform var(--duration-extraSlow) var(--easing-emphasis),
    border-color var(--duration-fast) var(--easing-standard),
    box-shadow var(--duration-base) var(--easing-standard);
}
/* The turned side is a different surface, not the same panel with other words:
   a brand tint and the brand border, so a glance says the card has flipped
   rather than that its copy changed. The selector carries the connected
   variant because that is what sets the panel's own ground. */
.aents-step-card--connected .aents-step-card__face--back {
  transform: rotateY(180deg);
  align-content: center;
  border-color: color-mix(in srgb, var(--primary) 38%, var(--border-subtle));
  background: linear-gradient(
    160deg,
    color-mix(in srgb, var(--primary) 12%, var(--surface)),
    color-mix(in srgb, var(--teal) 7%, var(--surface))
  );
}
.aents-step-card__back-title {
  color: var(--primary);
  font-weight: var(--weight-bold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.aents-step-card--connected .aents-step-card__flip:hover .aents-step-card__face,
.aents-step-card--connected
  .aents-step-card__flip:focus
  .aents-step-card__face {
  transform: rotateY(-180deg);
}
.aents-step-card--connected
  .aents-step-card__flip:hover
  .aents-step-card__face--back,
.aents-step-card--connected
  .aents-step-card__flip:focus
  .aents-step-card__face--back {
  transform: rotateY(0deg);
}
/* The lift belongs to a panel that stays put. One that is turning already says
   it is being pointed at, and the two motions read as a wobble together. */
.aents-step-card--flips:hover .aents-step-card__body {
  translate: none;
  border-color: var(--border-subtle);
  box-shadow: none;
}
.aents-step-card--flips:hover .aents-step-card__face--back {
  border-color: color-mix(in srgb, var(--primary) 34%, var(--border-subtle));
}

/* Reduced motion keeps the reveal and drops the rotation: the back fades in
   over the front instead of the panel turning in space. */
@media (prefers-reduced-motion: reduce) {
  .aents-step-card__flip {
    perspective: none;
  }
  .aents-step-card__face {
    backface-visibility: visible;
    transform: none;
    transition: opacity var(--duration-base) var(--easing-standard);
  }
  .aents-step-card--connected .aents-step-card__face--back {
    transform: none;
    opacity: 0;
  }
  .aents-step-card--connected
    .aents-step-card__flip:hover
    .aents-step-card__face,
  .aents-step-card--connected
    .aents-step-card__flip:focus
    .aents-step-card__face {
    transform: none;
    opacity: 0;
  }
  .aents-step-card--connected
    .aents-step-card__flip:hover
    .aents-step-card__face--back,
  .aents-step-card--connected
    .aents-step-card__flip:focus
    .aents-step-card__face--back {
    opacity: 1;
  }
}

/* Without a hovering pointer, or on a narrow screen, nothing would turn the
   panel: both faces stand in order, the explanation under the step's name. */
@media (hover: none), (max-width: 960px) {
  .aents-step-card__face,
  .aents-step-card--connected .aents-step-card__face--back,
  .aents-step-card--connected
    .aents-step-card__flip:is(:hover, :focus)
    .aents-step-card__face {
    grid-area: auto;
    backface-visibility: visible;
    transform: none;
    opacity: 1;
  }
  .aents-step-card__back-title {
    display: none;
  }
}

/* On a phone the process turns on its side: three steps read as a column with
   the thread running down through the stations, which is the shape a phone can
   hold. It is never a swipeable rail — a process has an order, and an order
   that hides its later steps off-screen is one nobody finishes. */
@media (max-width: 560px) {
  .aents-step-grid--connected {
    --aents-step-tile: calc(var(--space-12) + var(--space-2));
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    gap: var(--space-6);
    overflow: visible;
  }
  .aents-step-grid--connected::before {
    top: calc(var(--aents-step-tile) / 2);
    right: auto;
    bottom: calc(var(--aents-step-tile) / 2);
    left: var(--aents-step-line);
    width: 2px;
    height: auto;
    background: linear-gradient(
      180deg,
      color-mix(in srgb, var(--purple) 20%, transparent),
      color-mix(in srgb, var(--teal) 58%, transparent),
      color-mix(in srgb, var(--purple) 20%, transparent)
    );
  }
  /* The travelling light runs along the horizontal thread; the column has its
     own, so that one stays off. */
  .aents-step-grid--connected::after {
    display: none;
  }
  .aents-step-card--connected {
    grid-template-columns: var(--aents-step-tile) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    align-items: stretch;
    justify-items: start;
    gap: var(--spacing-md);
    padding: 0;
    text-align: left;
  }
  /* Side by side now: the station stays at the top of the row and the panel
     beside it takes the height of the card. */
  .aents-step-card--connected .aents-step-card__number {
    align-self: start;
  }
  .aents-step-card--connected .aents-step-card__number::before,
  .aents-step-card--connected .aents-step-card__number::after {
    inset: calc(var(--spacing-xs) * -1);
  }
  .aents-step-card--connected .aents-step-card__body {
    padding: var(--spacing-md);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aents-feature-card,
  .aents-step-card,
  .aents-step-card--connected .aents-step-card__body,
  .aents-step-card--connected .aents-step-card__number {
    transition: none;
  }
  .aents-feature-card:hover,
  .aents-step-card:hover,
  .aents-step-card--connected:hover .aents-step-card__body {
    translate: none;
  }
  .aents-step-grid--connected::after,
  .aents-step-card--connected .aents-step-card__number,
  .aents-step-card--connected .aents-step-card__number::before,
  .aents-step-card--connected .aents-step-card__number::after {
    animation: none;
  }
  .aents-step-grid--connected::after {
    opacity: 0;
  }
}

/* Above the rail width there is nothing to swipe, so neither the hint nor the
   position indicator is there — and the wrapper lays nothing out either way. */
.aents-peek {
  display: contents;
}
.aents-peek-hint,
.aents-peek-dots {
  display: none;
}

/* On a phone these grids become a peeking rail: a card and a sliver of the
   next one, snapped, instead of a column that buries the rest under a scroll.

   `aents-peek-rail` is the same behaviour offered on its own, for a grid a
   product builds itself: adding the class is what any surface does instead of
   copying the rules into its own stylesheet. */
@media (max-width: 560px) {
  .aents-peek-rail,
  .aents-feature-grid,
  .aents-step-grid:not(.aents-step-grid--connected) {
    display: flex;
    gap: var(--spacing-md);
    width: calc(100% + var(--space-8));
    max-width: none;
    margin-inline: calc(-1 * var(--space-4));
    padding: var(--spacing-sm) 9% var(--spacing-lg);
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-inline: 9%;
    scroll-snap-type: inline mandatory;
    scrollbar-width: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
  }
  .aents-peek-rail::-webkit-scrollbar,
  .aents-feature-grid::-webkit-scrollbar,
  .aents-step-grid:not(.aents-step-grid--connected)::-webkit-scrollbar {
    display: none;
  }
  .aents-peek-rail > *,
  .aents-feature-grid > *,
  .aents-step-grid:not(.aents-step-grid--connected) > * {
    flex: 0 0 82%;
    /* A card in the rail must keep an auto cross size: with a height of its own
       it opts out of the stretch that makes every card end on the same line. */
    height: auto;
    scroll-snap-align: center;
  }
  /* A rail only announces itself once something has been dragged, so the hint
     says so first: an arrow on each side, swaying out of phase with the other,
     the way the app showcase on the Aents landing does it. */
  .aents-peek-hint {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: center;
    margin-top: var(--space-4);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: var(--type-caption-size);
    line-height: var(--type-caption-line);
  }
  .aents-peek-hint i {
    color: var(--green);
    font-style: normal;
    animation: aents-peek-nudge 1.8s var(--easing-emphasis) infinite alternate;
  }
  .aents-peek-hint i:last-of-type {
    animation-direction: alternate-reverse;
  }
  /* Once the rail has been dragged the hint has done its work; it fades out
     rather than disappearing, so nothing under it jumps. */
  .aents-peek-hint.is-quiet {
    opacity: 0;
    transition: opacity var(--duration-slow) var(--easing-standard);
  }
  /* Where the visible card sits in the set, and how many there are. Both this
     and the hint sit under the rail, where a thumb already is. */
  .aents-peek-dots {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
    justify-content: center;
    margin-top: var(--space-2);
  }
  .aents-peek-dots__dot {
    width: var(--space-2);
    height: var(--space-2);
    border-radius: var(--radius-full);
    background: color-mix(in srgb, var(--text-muted) 32%, transparent);
    transition:
      width var(--duration-base) var(--easing-emphasis),
      background var(--duration-base) var(--easing-standard);
  }
  .aents-peek-dots__dot.is-active {
    width: var(--space-6);
    background: linear-gradient(90deg, var(--purple), var(--green));
    box-shadow: 0 0 8px color-mix(in srgb, var(--green) 50%, transparent);
  }
  .aents-peek-dots__count {
    margin-left: var(--spacing-xs);
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: var(--type-caption-size);
    font-variant-numeric: tabular-nums;
  }
}
@keyframes aents-peek-nudge {
  to {
    translate: var(--space-1);
    opacity: 0.55;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aents-peek-hint i {
    animation: none;
  }
  .aents-peek-dots__dot {
    transition: none;
  }
}

/* ---------------- Light shell ---------------- */
/* The header and footer on a site whose page is white. Same structure as the
   dark shell; only the inks and the surfaces change. */
.aents-site-footer--light {
  background: var(--surface-alt);
  color: var(--text);
  border-top-color: var(--border-subtle);
}
.aents-site-footer--light .aents-site-footer__origin,
.aents-site-footer--light .aents-site-footer__bottom {
  color: var(--text-muted);
}
.aents-site-footer--light .aents-site-footer__cols {
  border-color: var(--border-subtle);
  background: var(--background);
  box-shadow: 0 18px 45px color-mix(in srgb, var(--purple) 7%, transparent);
}
.aents-site-footer--light .aents-site-footer__title,
.aents-site-footer--light .aents-site-footer__col a:hover,
.aents-site-footer--light .aents-site-footer__brand .logo-wordmark {
  color: var(--text);
}
.aents-site-footer--light .aents-site-footer__col a {
  color: var(--text-secondary);
}
.aents-site-footer--light .aents-site-footer__brand .logo-tagline {
  color: var(--purple-deep);
}
.aents-site-footer--light .aents-site-footer__bottom {
  border-top-color: var(--border-subtle);
}
/* The site header's inner rules were written for the dark bar and ink in
   --white over --navy; the light bar swaps the two. Text set on the purple
   language pill keeps real white. */
.aents-site-header:not(.aents-topbar--dark) {
  --white: var(--text);
  --navy: var(--background);
}
.aents-site-header:not(.aents-topbar--dark) .aents-language__option.is-active {
  --white: #ffffff;
}
.aents-site-header:not(.aents-topbar--dark) .aents-account-menu__login {
  border-color: var(--border);
  background: var(--background);
}
.aents-site-header:not(.aents-topbar--dark) .aents-account-menu__login:hover {
  border-color: color-mix(in srgb, var(--purple) 35%, var(--border));
  background: color-mix(in srgb, var(--purple) 5%, var(--background));
}
.aents-site-footer--light .aents-site-footer__signature {
  border-color: color-mix(in srgb, var(--purple) 18%, transparent);
  background: var(--background);
}
/* The Aents corporate footer follows the quiet, editorial rhythm used by the
   event product: one brand column, three useful link groups and a slim base. */
.aents-site-footer--light {
  padding-block: var(--space-10) var(--space-6);
  background: var(--background);
  border-top: 2px solid transparent;
  border-image: linear-gradient(
      90deg,
      var(--purple),
      var(--lavender),
      var(--green)
    )
    1;
}
.aents-site-footer--light .aents-site-footer__grid,
.aents-site-footer--light .aents-site-footer__glow {
  display: none;
}
.aents-site-footer--light .aents-site-footer__cols {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}
.aents-site-footer--light .aents-site-footer__brand {
  padding: 0 0 var(--spacing-md);
}
.aents-site-footer--light .aents-site-footer__brand .aents-brand-symbol {
  width: 64px;
  height: 64px;
}
.aents-site-footer--light .aents-site-footer__brand .logo-wordmark {
  font-size: var(--type-h3-size);
  line-height: var(--type-h3-line);
}
.aents-site-footer--light .aents-site-footer__brand .logo-tagline {
  font-size: var(--type-small-size);
  line-height: var(--type-small-line);
}
.aents-site-footer--light .aents-site-footer__origin {
  margin-top: var(--spacing-md);
  max-width: 26rem;
  line-height: 1.65;
}
.aents-site-footer--light .aents-site-footer__bottom {
  margin-top: var(--space-8);
  padding-top: var(--spacing-lg);
  border-top: 1px solid var(--border-subtle);
}
@media (min-width: 821px) {
  .aents-site-footer--light .aents-site-footer__inner {
    grid-template-columns: minmax(18rem, 1.15fr) minmax(0, 1.85fr);
    gap: clamp(3rem, 7vw, 7rem);
  }
  .aents-site-footer--light .aents-site-footer__brand-block {
    display: block;
  }
  .aents-site-footer--light .aents-site-footer__origin {
    margin-top: var(--spacing-md);
    text-align: start;
  }
  .aents-site-footer--light .aents-site-footer__cols {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 4.5rem);
  }
}
@media (max-width: 1079px) {
  .aents-site-header:not(.aents-topbar--dark)[data-aents-site-menu="ready"]
    .aents-site-header__toggle {
    border-color: var(--border);
    color: var(--text);
    background: var(--background);
  }
  .aents-site-header:not(.aents-topbar--dark)[data-aents-site-menu="ready"]
    .aents-site-header__toggle:hover,
  .aents-site-header:not(.aents-topbar--dark)[data-aents-site-menu="ready"]
    .aents-site-header__toggle[aria-expanded="true"] {
    background: var(--surface);
  }
  .aents-site-header:not(.aents-topbar--dark)[data-aents-site-menu="ready"]
    .aents-site-header__panel {
    border-bottom-color: var(--border-subtle);
    background: var(--background);
  }
}

/* ---------------- Footer columns ---------------- */
/* Each column is a <details>: open everywhere by default, folded into an
   accordion on a phone by shell.js so the footer stays one screen tall.
   Without JavaScript every column simply stays open. */
.aents-site-footer__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-sm);
  list-style: none;
}
.aents-site-footer__title::-webkit-details-marker {
  display: none;
}
.aents-site-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}
.aents-site-footer__chevron {
  display: none;
  flex: none;
  transition: transform var(--duration-fast) var(--easing-standard);
}
@media (min-width: 561px) {
  .aents-site-footer__title {
    pointer-events: none;
  }
}
@media (max-width: 560px) {
  .aents-site-footer__cols {
    grid-template-columns: 1fr;
    gap: 0;
    padding-block: var(--spacing-xs);
  }
  .aents-site-footer__col {
    gap: 0;
  }
  .aents-site-footer__col + .aents-site-footer__col {
    border-top: 1px solid color-mix(in srgb, var(--white) 10%, transparent);
  }
  .aents-site-footer__title {
    min-height: calc(var(--touch-target) + var(--spacing-xs));
    margin: 0;
    color: var(--lavender);
    cursor: pointer;
  }
  .aents-site-footer--light .aents-site-footer__title {
    color: var(--purple);
  }
  .aents-site-footer--light .aents-site-footer__col + .aents-site-footer__col {
    border-top-color: var(--border-subtle);
  }
  .aents-site-footer__chevron {
    display: block;
  }
  .aents-site-footer__col[open] .aents-site-footer__chevron {
    transform: rotate(180deg);
  }
  .aents-site-footer__links {
    padding-bottom: var(--spacing-md);
  }
}
