/* Carried from the deployed Lawyer's marketing.css: its tokens named --la-, its data- states as is- classes. */
/*
 * The front of a court service: the opening with its search, the numbers,
 * the proofs against the portal, how it works, the plans, the install page
 * and the questions.
 *
 * Worn by procese.online. Every class is lawyer's, under its `la-` prefix,
 * and every colour a slot of `tokens.css`.
 */

/* ---- smart search ------------------------------------------------------ */

.la-smart-search {
  position: relative;
  max-width: 36rem;
  overflow: visible;
  background: var(--la-color-bg-raised);
  border: 2px solid var(--la-color-fg);
  border-radius: var(--la-radius-md);
}

.la-smart-search:focus-within {
  border-color: var(--la-color-border-focus);
}

.la-ss-page {
  max-width: 100%;
}

.la-ss-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip-path: inset(50%);
}

.la-ss-input-wrap {
  display: flex;
  gap: var(--la-space-2);
  align-items: center;
  padding: var(--la-space-3) var(--la-space-4);
}

.la-ss-search-icon {
  flex: none;
  width: var(--la-icon-md);
  height: var(--la-icon-md);
  color: var(--la-color-fg-muted);
}

.la-ss-input {
  flex: 1;
  min-width: 0;
  padding-block: var(--la-space-1);
  padding-inline: 0;
  overflow: hidden;
  color: var(--la-color-fg);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-input);
  letter-spacing: -0.005em;
  text-overflow: ellipsis;
  background: transparent;
  border: none;
  outline: none;
}

/* The shell carries the focus ring, on :focus-within, so the field itself
   drops the one the baseline gives it rather than painting a second inside. */
.la-ss-input:focus-visible {
  box-shadow: none;
}

.la-ss-input::placeholder {
  color: var(--la-color-fg-subtle);
  font-family: var(--la-font-sans);
}

.la-ss-input::-webkit-search-cancel-button {
  appearance: none;
}

.la-ss-cta {
  display: inline-flex;
  flex: none;
  gap: var(--la-space-2);
  align-items: center;
  height: max(var(--la-control-md), var(--la-tap-target));
  padding-inline: var(--la-space-4);
  color: var(--la-color-fg-on-accent);
  font-family: var(--la-font-sans);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-semi);
  cursor: pointer;
  background: var(--la-color-accent);
  border: none;
  border-radius: var(--la-radius-sm);
  transition:
    opacity var(--la-duration-fast) var(--la-ease-out),
    background var(--la-duration-fast) var(--la-ease-out);
}

a.la-ss-cta {
  text-decoration: none;
}

.la-ss-cta[hidden] {
  display: none;
}

/* What the door to watch a case found cannot do yet, inside the field's box beneath its press. */
.la-ss-soon {
  margin: 0;
  padding: 0 var(--la-space-4) var(--la-space-3);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-xs);
  text-align: end;
}

.la-ss-soon[hidden] {
  display: none;
}

/* On a phone the page's field holds its text whole on a row of its own and its press stands beneath it, the whole
   width under the thumb, whichever press it is: a case number is never cut to fit a longer word. */
@container la-page (max-width: 36rem) {
  .la-ss-page .la-ss-input-wrap {
    flex-wrap: wrap;
  }

  .la-ss-page .la-ss-input {
    flex-basis: calc(100% - var(--la-icon-md) - var(--la-space-2));
  }

  .la-ss-page .la-ss-cta {
    flex: 1 1 100%;
    justify-content: center;
  }

  .la-ss-page .la-ss-soon {
    text-align: center;
  }
}

.la-ss-cta svg {
  width: var(--la-icon-sm);
  height: var(--la-icon-sm);
}

.la-ss-cta:hover:not(:disabled) {
  background: var(--la-color-accent-hover);
}

.la-ss-cta:disabled,
.la-ss-cta.la-disabled {
  color: var(--la-color-fg-subtle);
  cursor: not-allowed;
  background: var(--la-color-bg-sunken);
}

/* A lookup in flight keeps the accent, so the button reads as working rather
   than as stepped out, which is what the empty-field state means. */
.la-ss-cta.la-loading {
  color: var(--la-color-fg-on-accent);
  cursor: progress;
  background: var(--la-color-accent);
  opacity: 0.55;
}

.la-ss-list {
  position: absolute;
  inset-inline: -2px;
  z-index: var(--la-z-overlay);
  max-height: 26rem;
  margin: 0;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  list-style: none;
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
  box-shadow: var(--la-shadow-lg);
  top: calc(100% + var(--la-space-1));
}

.la-ss-section-label {
  padding: var(--la-space-2) var(--la-space-4) var(--la-space-1);
  color: var(--la-color-fg-muted);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--la-color-bg-sunken);
  border-block-start: 1px solid var(--la-color-border);
}

.la-ss-list > li:first-child.la-ss-section-label {
  border-block-start: 0;
}

.la-ss-row {
  display: flex;
  gap: var(--la-space-2);
  align-items: center;
  padding: var(--la-space-3) var(--la-space-4);
  color: var(--la-color-fg);
  cursor: pointer;
  border-block-start: 1px solid var(--la-color-border);
}

.la-ss-section-label + .la-ss-row {
  border-block-start: 0;
}

.la-ss-row:hover,
.la-ss-row.la-is-active {
  color: var(--la-color-link);
  background: var(--la-color-accent-subtle);
}

.la-ss-row-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--la-control-sm);
  height: var(--la-control-sm);
  color: var(--la-color-fg-muted);
  background: var(--la-color-bg-sunken);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-sm);
}

.la-ss-row-icon svg {
  width: var(--la-icon-sm);
  height: var(--la-icon-sm);
}

.la-ss-row.la-kind-case .la-ss-row-icon {
  color: var(--la-color-link);
  background: var(--la-color-accent-subtle);
  border-color: var(--la-color-role-accent-soft, var(--la-color-accent));
}

.la-ss-row-body {
  flex: 1;
  min-width: 0;
}

.la-ss-primary {
  overflow: hidden;
  color: inherit;
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-medium);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.la-ss-secondary {
  overflow: hidden;
  color: var(--la-color-fg-muted);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-2xs);
  letter-spacing: 0.04em;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* A correction must never lose its example to an ellipsis: a suggestion row
   may truncate, the row that teaches the format wraps. */
.la-ss-row.la-empty .la-ss-secondary {
  white-space: normal;
}

.la-ss-mono {
  color: var(--la-color-fg);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-semi);
}

.la-ss-row.la-is-active .la-ss-secondary,
.la-ss-row:hover .la-ss-secondary {
  color: var(--la-color-link);
  opacity: 0.8;
}

.la-ss-row-chips {
  display: flex;
  flex: none;
  flex-wrap: wrap;
  gap: var(--la-space-1);
}

.la-ss-row-body .la-ss-row-chips {
  margin-block-start: var(--la-space-1);
}

.la-ss-next {
  display: flex;
  flex-wrap: wrap;
  gap: var(--la-space-2);
  align-items: center;
  margin-block-start: var(--la-space-2);
  padding: var(--la-space-2) var(--la-space-2);
  color: var(--la-color-fg);
  font-size: var(--la-text-xs);
  background: var(--la-color-bg-sunken);
  border: 1px solid var(--la-color-border);
  border-inline-start: 3px solid var(--la-color-accent);
  border-radius: var(--la-radius-sm);
}

.la-ss-next-lbl {
  color: var(--la-color-fg-muted);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.la-ss-next-when {
  color: var(--la-color-fg);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-xs);
  font-weight: var(--la-weight-semi);
}

.la-ss-next-complet {
  margin-inline-start: auto;
  padding: 2px var(--la-space-2);
  color: var(--la-color-success);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-2xs);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--la-color-success-subtle);
  border: 1px solid var(--la-color-success-subtle);
  border-radius: var(--la-radius-full);
}

.la-ss-row.la-is-active .la-ss-next,
.la-ss-row:hover .la-ss-next {
  background: var(--la-color-accent-subtle);
  border-inline-start-color: var(--la-color-accent-active);
}

.la-ss-row-badge {
  padding: 2px var(--la-space-2);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-2xs);
  letter-spacing: 0.03em;
  border-radius: var(--la-radius-full);
}

.la-ss-row-badge.la-cat {
  color: var(--la-color-link);
  background: var(--la-color-accent-subtle);
  border: 1px solid var(--la-color-role-accent-soft, var(--la-color-accent));
}

.la-ss-row-badge.la-stadiu {
  color: var(--la-color-fg);
  background: var(--la-color-bg-sunken);
  border: 1px solid var(--la-color-border);
}

.la-ss-row.la-empty {
  cursor: default;
}

.la-ss-row.la-empty:hover,
.la-ss-row.la-empty.la-is-active {
  color: var(--la-color-fg);
  background: transparent;
}

.la-ss-row.la-empty.la-unavailable .la-ss-row-icon {
  color: var(--la-color-danger);
  background: var(--la-color-danger-subtle);
  border-color: var(--la-color-danger-subtle);
}

.la-ss-row.la-empty .la-ss-secondary {
  color: var(--la-color-fg);
  opacity: 0.85;
}

/* A spinner keeps its meaning under reduced motion, so it turns on its own
   duration rather than through --la-motion. */
.la-ss-row.la-loading .la-ss-spinner {
  display: inline-block;
  width: var(--la-icon-sm);
  height: var(--la-icon-sm);
  border: 2px solid var(--la-color-border);
  border-block-start-color: var(--la-color-link);
  border-radius: var(--la-radius-full);
  transform-origin: 50% 50%;
  animation: la-ss-spin var(--la-duration-spin) linear infinite;
}

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

.la-ss-turnstile {
  width: 0;
  height: 0;
  overflow: hidden;
}

/* The case, once it is found ---------------------------------------------- */

.la-ss-panel {
  position: absolute;
  inset-inline: -2px;
  z-index: var(--la-z-dialog);
  max-height: 70vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
  box-shadow: var(--la-shadow-lg);
  top: calc(100% + var(--la-space-2));
}

.la-ss-panel-head {
  display: flex;
  gap: var(--la-space-2);
  align-items: center;
  min-height: var(--la-control-md);
  padding: var(--la-space-2) var(--la-space-3);
  border-block-end: 1px solid var(--la-color-border);
}

.la-ss-panel-handle {
  display: none;
}

.la-ss-panel-title {
  flex: 1;
  color: var(--la-color-fg-muted);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-2xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.la-ss-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--la-space-1);
  color: var(--la-color-fg-muted);
  cursor: pointer;
  background: transparent;
  border: 0;
  border-radius: var(--la-radius-sm);
}

.la-ss-panel-close svg {
  width: var(--la-icon-sm);
  height: var(--la-icon-sm);
}

.la-ss-panel-close:hover {
  color: var(--la-color-fg);
  background: var(--la-color-bg-sunken);
}

.la-ss-panel-body {
  padding: var(--la-card-pad);
}

.la-ss-panel-actions {
  display: flex;
  gap: var(--la-space-2);
  align-items: center;
  margin-block-start: var(--la-space-3);
}

.la-ss-panel-actions.la-stacked {
  flex-direction: column;
  align-items: stretch;
}

.la-ss-panel-cta {
  width: 100%;
  min-height: max(var(--la-control-md), var(--la-tap-target));
  padding: var(--la-space-3) var(--la-space-4);
  color: var(--la-color-fg-on-accent);
  font-family: var(--la-font-sans);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-semi);
  cursor: pointer;
  background: var(--la-color-accent);
  border: 0;
  border-radius: var(--la-radius-sm);
  transition: background var(--la-duration-fast) var(--la-ease-out);
}

.la-ss-panel-cta:hover {
  background: var(--la-color-accent-hover);
}

.la-ss-panel-search-again {
  padding: var(--la-space-2);
  color: var(--la-color-fg-muted);
  font-family: inherit;
  font-size: var(--la-text-sm);
  text-decoration: underline;
  text-decoration-color: var(--la-color-border);
  text-underline-offset: 3px;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.la-ss-panel-search-again:hover {
  color: var(--la-color-fg);
}

.la-ss-panel-search-again.la-link {
  align-self: center;
}

.la-ss-backdrop {
  position: fixed;
  inset: 0;
  z-index: var(--la-z-overlay);
  display: none;
  background: var(--la-color-bg-overlay);
}

.la-ss-panel .la-error-block {
  padding: var(--la-space-3) var(--la-space-4);
  color: var(--la-color-fg);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
  border-radius: var(--la-radius-md);
}

.la-ss-panel .la-error-block.la-tone-brick {
  color: var(--la-color-danger);
  background: var(--la-color-danger-subtle);
  border: 1px solid var(--la-color-danger-subtle);
}

/* The warning tone carries in the wash and not in the words: warning on its
   own subtle ground is under the contrast floor, and the copy has to read. */
.la-ss-panel .la-error-block.la-tone-amber {
  color: var(--la-color-fg);
  background: var(--la-color-warning-subtle);
  border: 1px solid var(--la-color-warning-subtle);
}

.la-ss-panel .la-search-loading-row {
  display: flex;
  gap: var(--la-space-2);
  align-items: center;
  margin-block-end: var(--la-space-3);
  padding: var(--la-space-3);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-xs);
  background: var(--la-color-bg-sunken);
  border: 1px dashed var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-ss-panel .la-ss-spinner-dot {
  width: var(--la-icon-sm);
  height: var(--la-icon-sm);
  border: 2px solid var(--la-color-border);
  border-block-start-color: var(--la-color-accent);
  border-radius: var(--la-radius-full);
  animation: la-ss-spin var(--la-duration-spin) linear infinite;
}

.la-ss-panel .la-case-block.la-skeleton {
  border-color: var(--la-color-border);
  box-shadow: none;
}

.la-ss-panel .la-sk-line,
.la-ss-panel .la-sk-chip,
.la-ss-panel .la-sk-block {
  background: var(--la-color-bg-raised-strong);
  animation: la-ss-sk-pulse calc(1200ms * var(--la-motion)) var(--la-ease-in-out) infinite;
}

.la-ss-panel .la-sk-line {
  height: var(--la-space-4);
  margin-block-end: var(--la-space-2);
  border-radius: var(--la-radius-sm);
}

.la-ss-panel .la-sk-line.la-sk-num {
  width: 60%;
  height: var(--la-space-5);
}

.la-ss-panel .la-sk-line.la-sk-court {
  width: 40%;
  height: var(--la-space-3);
}

.la-ss-panel .la-sk-chips {
  display: flex;
  gap: var(--la-space-1);
  margin-block: var(--la-space-2);
}

.la-ss-panel .la-sk-chip {
  width: 3.5rem;
  height: var(--la-space-5);
  border-radius: var(--la-radius-full);
}

.la-ss-panel .la-sk-block {
  height: var(--la-space-7);
  border-radius: var(--la-radius-sm);
}

@keyframes la-ss-sk-pulse {
  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 0.85;
  }
}

/* On the tail banner the box stands on an emphasis ground, so it borrows
   that ground's own foreground rather than the page's. */
.la-ss-tail {
  color: var(--la-color-fg);
  background: color-mix(in oklab, var(--la-color-fg) 6%, transparent);
  border-color: color-mix(in oklab, var(--la-color-fg) 18%, transparent);
}

.la-ss-tail .la-ss-input {
  color: var(--la-color-fg);
  font-family: var(--la-font-sans);
}

.la-ss-tail .la-ss-input::placeholder,
.la-ss-tail .la-ss-search-icon {
  color: var(--la-color-fg-body);
}

/* Narrow: the case comes up from the bottom as a sheet rather than hanging
   under a box that has no room under it. */
@container la-page (max-width: 48rem) {
  .la-ss-panel:not([hidden]) {
    position: fixed;
    inset-block: auto 0;
    inset-inline: 0;
    z-index: var(--la-z-dialog);
    max-height: 85vh;
    border: 1px solid var(--la-color-border);
    border-block-end: 0;
    border-start-start-radius: var(--la-radius-xl);
    border-start-end-radius: var(--la-radius-xl);
    box-shadow: var(--la-shadow-xl);
    animation: la-ss-sheet-up calc(220ms * var(--la-motion)) var(--la-ease-out);
  }

  .la-ss-panel-handle {
    position: absolute;
    inset-block-start: var(--la-space-2);
    inset-inline-start: 50%;
    display: block;
    width: var(--la-space-6);
    height: var(--la-space-1);
    background: var(--la-color-border);
    border-radius: var(--la-radius-full);
    transform: translateX(-50%);
  }

  .la-ss-panel-head {
    padding-block-start: var(--la-space-4);
  }

  .la-ss-backdrop:not([hidden]) {
    display: block;
    animation: la-ss-fade calc(180ms * var(--la-motion)) var(--la-ease-out);
  }
}

@keyframes la-ss-sheet-up {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes la-ss-fade {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@container la-page (min-width: 48rem) {
  .la-ss-input-wrap {
    padding: var(--la-space-3) var(--la-space-4);
  }

  .la-ss-input {
    font-size: var(--la-text-lg);
  }

  .la-ss-page .la-ss-input {
    font-size: var(--la-text-2xl);
  }

  .la-ss-cta {
    height: max(var(--la-control-lg), var(--la-tap-target));
    padding-inline: var(--la-space-5);
  }
}

/* ---- calendar preview -------------------------------------------------- */

.la-preview {
  position: relative;
  padding: var(--la-space-5);
  overflow: hidden;
  border-radius: var(--la-radius-md);
}

.la-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(38rem 18rem at 100% 0, var(--la-color-role-glow-hero, transparent), transparent 70%);
  pointer-events: none;
}

.la-preview-eyebrow {
  position: relative;
  margin-block-end: var(--la-space-2);
  color: var(--la-color-accent);
}

.la-preview-line {
  position: relative;
  margin-block-end: var(--la-space-2);
  color: var(--la-color-fg);
  font-size: var(--la-text-2xl);
  font-weight: var(--la-weight-semi);
  letter-spacing: -0.015em;
}

.la-preview-lede {
  position: relative;
  max-width: 60ch;
  margin-block-end: var(--la-space-4);
  color: var(--la-color-fg-body);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

.la-preview-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: var(--la-space-1);
  max-width: 24rem;
  margin-block-start: var(--la-space-4);
}

.la-preview-tile {
  aspect-ratio: 1;
  background: var(--la-color-border);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-sm);
}

.la-preview-tile.is-heat-0 {
  background: transparent;
  border-style: dashed;
}

.la-preview-tile.is-heat-1 {
  background: var(--la-color-role-tile-1, var(--la-color-accent));
}

.la-preview-tile.is-heat-2 {
  background: var(--la-color-role-tile-2, var(--la-color-accent));
}

.la-preview-tile.is-heat-3 {
  background: var(--la-color-role-tile-3, var(--la-color-accent));
}

.la-preview-tile.is-heat-4 {
  background: var(--la-color-role-tile-4, var(--la-color-accent));
}

.la-preview-tile.is-heat-5 {
  background: var(--la-color-role-tile-5, var(--la-color-accent));
}

.la-preview-tile.is-heat-6 {
  background: linear-gradient(
    135deg,
    var(--la-color-role-tile-3, var(--la-color-accent)),
    var(--la-color-role-tile-5, var(--la-color-accent)) 60%,
    var(--la-color-role-tile-top, var(--la-color-accent))
  );
}

.la-preview-cta {
  position: relative;
  margin-block-start: var(--la-space-5);
}

@container la-page (min-width: 48rem) {
  .la-preview {
    padding: var(--la-space-6);
  }

  .la-preview-line {
    max-width: 34ch;
    font-size: var(--la-text-3xl);
  }
}

/* Wide enough for the picture to stand beside the words instead of under
   them. The order in the document does not change, so the narrow stack is
   still copy, picture, link. */
@container la-page (min-width: 64rem) {
  .la-preview {
    display: grid;
    grid-template-areas: 'eyebrow tiles' 'line tiles' 'lede tiles' 'cta tiles';
    grid-template-columns: minmax(0, 1fr) 27.5rem;
    column-gap: var(--la-space-7);
    align-items: start;
  }

  .la-preview-eyebrow {
    grid-area: eyebrow;
  }

  .la-preview-line {
    grid-area: line;
  }

  .la-preview-lede {
    grid-area: lede;
  }

  .la-preview-cta {
    grid-area: cta;
    justify-self: start;
  }

  .la-preview-grid {
    grid-area: tiles;
    align-self: center;
    max-width: none;
    margin-block-start: 0;
  }
}

/* ---- change types ------------------------------------------------------ */

.la-types {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-2);
}

.la-type {
  padding: var(--la-card-pad);
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-type-source {
  background: var(--la-color-bg-sunken);
}

.la-type-tag {
  display: flex;
  gap: var(--la-space-2);
  align-items: center;
  color: var(--la-color-fg-subtle);
  letter-spacing: 0.06em;
}

.la-type-was {
  margin-block-start: var(--la-space-2);
  color: var(--la-color-fg);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-semi);
}

.la-type-now {
  margin-block-start: var(--la-space-1);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-xs);
  line-height: var(--la-leading-normal);
}

@container la-page (min-width: 37rem) {
  .la-types {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container la-page (min-width: 57rem) {
  .la-types {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--la-space-3);
  }
}

/* ---- cta tail ---------------------------------------------------------- */

.la-tail {
  background: var(--la-color-accent-subtle);
}

.la-tail-banner {
  position: relative;
  padding: var(--la-space-6) var(--la-space-6);
  text-align: center;
  /* Two layers, the wash over the ground, and the corner clips both. No
     overflow: hidden here: the search offers its list past the banner. */
  background:
    radial-gradient(50rem 25rem at 50% 0, var(--la-color-role-glow-hero, transparent), transparent 70%),
    var(--la-color-bg);
  border-radius: var(--la-radius-md);
}

.la-tail-line {
  max-width: 26ch;
  margin-block-end: var(--la-space-2);
  margin-inline: auto;
  color: var(--la-color-fg);
  font-size: var(--la-text-3xl);
  font-weight: var(--la-weight-semi);
  letter-spacing: -0.018em;
}

.la-tail-lede {
  margin-block-end: var(--la-space-5);
  color: var(--la-color-fg-body);
  font-size: var(--la-text-sm);
}

.la-tail-search {
  max-width: 34rem;
  margin-inline: auto;
  text-align: start;
}

.la-tail-meta {
  margin-block-start: var(--la-space-3);
  color: var(--la-color-fg-subtle);
  font-size: var(--la-text-2xs);
}

@container la-page (min-width: 48rem) {
  .la-tail-banner {
    padding: var(--la-space-8);
  }

  .la-tail-line {
    font-size: var(--la-text-4xl);
  }
}

/* ---- faq --------------------------------------------------------------- */

.la-faq-title {
  margin-block-end: var(--la-space-6);
}

.la-faqs {
  display: flex;
  flex-direction: column;
  gap: var(--la-space-2);
  max-width: 80ch;
}

.la-faq {
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-faq summary {
  display: flex;
  gap: var(--la-space-3);
  align-items: center;
  padding: var(--la-space-4) var(--la-space-5);
  cursor: pointer;
  list-style: none;
}

.la-faq summary::-webkit-details-marker {
  display: none;
}

.la-faq-q {
  flex: 1;
  color: var(--la-color-fg);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-semi);
  letter-spacing: -0.005em;
}

.la-faq svg {
  flex: none;
  width: var(--la-icon-sm);
  height: var(--la-icon-sm);
  color: var(--la-color-fg-muted);
  transition: transform var(--la-duration-fast) var(--la-ease-out);
}

.la-faq[open] svg {
  transform: rotate(180deg);
}

.la-faq-a {
  padding: 0 var(--la-space-5) var(--la-space-4);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

@container la-page (min-width: 48rem) {
  .la-faq-q {
    font-size: var(--la-text-lg);
  }
}

/* A desk and a wide tablet: the title and its eyebrow on the left, the questions beside them, so the room is held on
   both sides and never leans to one. */
@container la-page (min-width: 64rem) {
  .la-band:has(> .la-faqs) {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto 1fr;
    column-gap: var(--la-space-8);
    align-items: start;
  }

  .la-band:has(> .la-faqs) > .la-faqs {
    grid-column: 2;
    grid-row: 1 / -1;
    max-width: none;
  }
}

/* ---- hero -------------------------------------------------------------- */

.la-front {
  position: relative;
  padding: var(--la-space-6) var(--la-page-edge);
  overflow-x: clip;
  overflow-y: visible;
  background: var(--la-color-bg);
}

/* The saffron wash behind the words. A gradient and not an image, so it
   costs no request and follows the palette into either theme. */
.la-front::before {
  content: '';
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 50%;
  width: 50rem;
  height: 24rem;
  background: radial-gradient(50rem 24rem at 50% 0, var(--la-color-role-glow-hero, transparent), transparent 70%);
  transform: translateX(-50%);
  pointer-events: none;
}

.la-hero-eyebrow {
  position: relative;
  margin-block-end: var(--la-space-3);
  color: var(--la-color-link);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-2xs);
  font-weight: var(--la-weight-semi);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.la-hero-line {
  position: relative;
  max-width: 22ch;
  margin-block-end: var(--la-space-3);
  color: var(--la-color-fg);
  /* Never wider than the room lets a word stand whole, the person's larger text among it. */
  font-size: min(var(--la-text-6xl), 12cqi);
  font-weight: var(--la-weight-bold);
  line-height: var(--la-leading-display);
  letter-spacing: -0.025em;
}

.la-hero-line em {
  font-style: normal;
  background: linear-gradient(
    135deg,
    var(--la-color-role-display-from, currentcolor),
    var(--la-color-role-display-to, currentcolor)
  );
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.la-hero-lede {
  position: relative;
  max-width: 56ch;
  margin-block-end: var(--la-space-5);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-lg);
  line-height: var(--la-leading-normal);
}

/* Under the base's list reset, which a bare class would lose to: the marks stand a line under the search. */
.la-shell .la-hero-trust {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: var(--la-space-2) var(--la-space-4);
  margin-block-start: var(--la-space-4);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-xs);
}

.la-hero-trust li {
  display: inline-flex;
  gap: var(--la-space-1);
  align-items: center;
}

.la-hero-trust svg {
  width: var(--la-icon-sm);
  height: var(--la-icon-sm);
  color: var(--la-color-success);
}

@container la-page (min-width: 48rem) {
  .la-front {
    padding: var(--la-space-8) var(--la-page-edge) var(--la-space-7);
    background:
      radial-gradient(80rem 36rem at 100% 0, var(--la-color-role-glow-hero, transparent), transparent 70%),
      var(--la-color-bg);
  }

  .la-front::before {
    display: none;
  }

  .la-hero-line {
    max-width: 26ch;
  }

  .la-hero-lede {
    max-width: 64ch;
    font-size: var(--la-text-xl);
  }
}

/* ---- how it works ------------------------------------------------------ */

.la-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-4);
}

.la-step {
  padding: var(--la-space-5);
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

/* The badge stays ink in both themes, like every other emphasis surface
   here, so the numbers read as one set down the page. */
.la-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--la-control-sm);
  height: var(--la-control-sm);
  margin-block-end: var(--la-space-3);
  color: var(--la-color-role-emphasis-accent, var(--la-color-accent));
  font-family: var(--la-font-mono);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-bold);
  background: var(--la-color-role-emphasis-raised, var(--la-color-bg-raised-strong));
  border-radius: var(--la-radius-md);
}

.la-step-head {
  margin-block-end: var(--la-space-2);
  color: var(--la-color-fg);
  font-size: var(--la-text-lg);
  font-weight: var(--la-weight-semi);
  letter-spacing: -0.01em;
}

.la-step-body {
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

@container la-page (min-width: 48rem) {
  .la-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--la-space-6);
  }
}

/* ---- install page ------------------------------------------------------ */

.la-install {
  padding: var(--la-space-6) var(--la-page-edge) var(--la-space-7);
  background: var(--la-color-bg);
}

.la-apps {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-4);
}

.la-app {
  display: flex;
  flex-direction: column;
  padding: var(--la-space-5);
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-app-head {
  display: flex;
  gap: var(--la-space-3);
  align-items: center;
  margin-block-end: var(--la-space-3);
}

.la-app-glyph {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  width: var(--la-control-lg);
  height: var(--la-control-lg);
  color: var(--la-color-fg);
  background: var(--la-color-bg-sunken);
  border-radius: var(--la-radius-lg);
}

.la-app-glyph svg {
  width: var(--la-icon-md);
  height: var(--la-icon-md);
}

.la-app.is-app-android .la-app-glyph {
  color: var(--la-color-success);
  background: var(--la-color-success-subtle);
}

.la-app-name {
  color: var(--la-color-fg);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-semi);
  letter-spacing: -0.005em;
}

.la-app-body {
  margin-block-end: var(--la-space-4);
  color: var(--la-color-fg);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

.la-app-state {
  align-self: flex-start;
}

@container la-page (min-width: 48rem) {
  .la-install {
    padding: var(--la-space-7) var(--la-page-edge) var(--la-space-9);
  }

  .la-apps {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--la-space-5);
  }
}

/* ---- numbers strip ----------------------------------------------------- */

.la-numbers {
  padding: var(--la-space-6) var(--la-page-edge);
  background: var(--la-color-bg-sunken);
  border-block: 1px solid var(--la-color-border);
}

.la-numbers-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--la-space-5) var(--la-space-4);
}

.la-numbers-value {
  margin: 0;
  color: var(--la-color-fg);
  font-size: var(--la-text-3xl);
  font-weight: var(--la-weight-semi);
  line-height: 1;
  letter-spacing: -0.015em;
}

.la-numbers-stat .la-lbl {
  display: block;
  margin-block-start: var(--la-space-1);
  letter-spacing: 0.04em;
}

@container la-page (min-width: 48rem) {
  .la-numbers {
    padding: var(--la-space-6) var(--la-page-edge);
  }

  .la-numbers-row {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--la-space-6);
  }

  .la-numbers-value {
    font-size: var(--la-text-4xl);
  }
}

/* ---- persona fit ------------------------------------------------------- */

.la-personas {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-3);
}

.la-persona {
  padding: var(--la-space-4);
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-inline-start: 3px solid var(--la-color-accent);
  border-radius: var(--la-radius-md);
}

.la-persona .la-lbl {
  color: var(--la-color-fg-subtle);
  letter-spacing: 0.06em;
}

.la-persona-why {
  margin-block-start: var(--la-space-2);
  color: var(--la-color-fg);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-semi);
  line-height: var(--la-leading-tight);
}

/* Two across as soon as two fit, three when three do. The question is the
   room this list has and not the window it is on. */
@container la-page (min-width: 42rem) {
  .la-personas {
    grid-template-columns: repeat(2, 1fr);
  }
}

@container la-page (min-width: 61rem) {
  .la-personas {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--la-space-4);
  }
}

/* ---- portal contrast --------------------------------------------------- */

.la-contrast {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-4);
  align-items: stretch;
}

.la-register {
  overflow: hidden;
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

/* Drawn as an official register is drawn, in the system's own face rather
   than this site's, so the two sides read as two places and not as one
   site praising itself in its own voice. */
.la-register-bar {
  padding: var(--la-space-2) var(--la-space-3);
  color: var(--la-color-role-on-emphasis, var(--la-color-bg));
  font-family: Arial, system-ui, sans-serif;
  font-size: var(--la-text-xs);
  background: var(--la-color-role-emphasis-strong, var(--la-color-fg));
}

.la-register-table {
  color: var(--la-color-fg);
  font-family: Arial, system-ui, sans-serif;
  font-size: var(--la-text-2xs);
}

.la-register-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  border-block-end: 1px solid var(--la-color-border);
}

.la-register-row span {
  padding: var(--la-space-1) var(--la-space-2);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  border-inline-end: 1px solid var(--la-color-border);
}

.la-register-head {
  font-weight: var(--la-weight-bold);
  background: var(--la-color-bg-sunken);
}

.la-contrast-note {
  padding: var(--la-space-2) var(--la-space-3);
  color: var(--la-color-fg-subtle);
  font-size: var(--la-text-2xs);
}

.la-contrast-arrow {
  display: grid;
  place-items: center;
  color: var(--la-color-accent);
  transform: rotate(90deg);
}

.la-contrast-arrow svg {
  width: var(--la-icon-lg);
  height: var(--la-icon-lg);
}

.la-ours {
  padding: var(--la-card-pad);
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-ours-num {
  color: var(--la-color-fg-muted);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-sm);
}

.la-ours-court {
  margin-block: var(--la-space-05) var(--la-space-3);
  color: var(--la-color-fg);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-bold);
}

.la-ours-next {
  padding: var(--la-space-2) var(--la-space-3);
  background: var(--la-color-accent-subtle);
  border: 1px solid var(--la-color-role-accent-soft, var(--la-color-accent));
  border-radius: var(--la-radius-sm);
}

.la-ours-next .la-lbl {
  color: var(--la-color-accent-hover);
  font-weight: var(--la-weight-bold);
  letter-spacing: 0.1em;
}

.la-ours-when {
  margin-block-start: var(--la-space-05);
  color: var(--la-color-fg);
  font-size: var(--la-text-lg);
  font-weight: var(--la-weight-bold);
  letter-spacing: -0.01em;
}

.la-ours .la-contrast-note {
  padding-inline: 0;
  padding-block-end: 0;
}

@container la-page (min-width: 48rem) {
  .la-contrast {
    grid-template-columns: 1fr auto 1fr;
    gap: var(--la-space-5);
    align-items: stretch;
  }

  .la-contrast-arrow {
    transform: none;
  }
}

/* ---- pricing ----------------------------------------------------------- */

.la-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-4);
}

.la-plan {
  display: flex;
  flex-direction: column;
  padding: var(--la-space-6) var(--la-space-5);
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-plan-pro {
  position: relative;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    var(--la-color-role-emphasis-raised, var(--la-color-bg-raised)),
    var(--la-color-role-emphasis-strong, var(--la-color-bg-raised-strong))
  );
  /* On a dark page the ink card and the ink page have the same ground, so
     the chosen one keeps a saffron edge to be found at all. */
  border-color: color-mix(in oklab, var(--la-color-accent) 55%, transparent);
}

.la-plan-pro::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(25rem 12rem at 100% 0, var(--la-color-role-glow-hero, transparent), transparent 70%);
  pointer-events: none;
}

.la-plan-name {
  position: relative;
  margin-block-end: var(--la-space-3);
  color: var(--la-color-fg);
  font-size: var(--la-text-sm);
}

.la-plan-pro .la-plan-name {
  color: var(--la-color-accent);
}

.la-plan-price {
  position: relative;
  margin-block-end: var(--la-space-1);
  color: var(--la-color-fg);
  font-size: var(--la-text-4xl);
  font-weight: var(--la-weight-semi);
  line-height: 1;
  letter-spacing: -0.02em;
}

.la-plan-price small {
  margin-inline-start: var(--la-space-1);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-medium);
}

.la-plan-meta {
  position: relative;
  margin-block-end: var(--la-space-5);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-xs);
}

.la-plan-bullets {
  position: relative;
  flex: 1;
}

.la-plan-bullets li {
  position: relative;
  padding-block: var(--la-space-1);
  padding-inline-start: var(--la-space-5);
  color: var(--la-color-fg);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-tight);
}

.la-plan-bullets li::before {
  content: '✓';
  position: absolute;
  inset-inline-start: 0;
  color: var(--la-color-link);
  font-weight: var(--la-weight-bold);
}

.la-plan-cta {
  position: relative;
  display: flex;
  margin-block-start: var(--la-space-5);
  text-align: center;
}

/* The two plans share the one column, each half of it, so the calculator under them and the headline above stand on the
   same width: a price is read across the whole room, never left in its half. */
@container la-page (min-width: 48rem) {
  .la-plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--la-space-5);
  }
}

/* ---- push moat --------------------------------------------------------- */

.la-moat {
  background: linear-gradient(180deg, var(--la-color-role-emphasis-raised, var(--la-color-bg)), var(--la-color-bg));
}

.la-moat-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-6);
  align-items: center;
}

.la-moat-eyebrow {
  color: var(--la-color-accent);
}

.la-moat-line {
  max-width: 18ch;
  margin-block-end: var(--la-space-3);
  color: var(--la-color-fg);
  font-size: var(--la-text-3xl);
  font-weight: var(--la-weight-bold);
  line-height: var(--la-leading-tight);
  letter-spacing: -0.018em;
}

.la-moat-lede {
  max-width: 52ch;
  margin-block-end: var(--la-space-6);
  color: var(--la-color-fg-body);
  font-size: var(--la-text-base);
  line-height: var(--la-leading-normal);
}

.la-points {
  display: flex;
  flex-direction: column;
  gap: var(--la-space-4);
}

.la-point {
  display: grid;
  grid-template-columns: var(--la-control-sm) 1fr;
  gap: var(--la-space-3);
}

.la-point-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--la-control-sm);
  height: var(--la-control-sm);
  color: var(--la-color-accent);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-bold);
  background: color-mix(in oklab, var(--la-color-accent) 18%, transparent);
  border-radius: var(--la-radius-md);
}

.la-point-head {
  color: var(--la-color-fg);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-semi);
}

.la-point-body {
  margin-block-start: var(--la-space-1);
  color: var(--la-color-fg-body);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

.la-phone {
  width: 17.5rem;
  padding: var(--la-space-3);
  margin-inline: auto;
  background: var(--la-color-bg);
  /* A keyline, because an ink bezel on an ink band would otherwise have
     only the shadow to carve it out. */
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-xl);
  box-shadow: var(--la-shadow-xl);
}

.la-phone-screen {
  display: flex;
  flex-direction: column;
  aspect-ratio: 9 / 19.5;
  padding: var(--la-space-4);
  overflow: hidden;
  color: var(--la-color-fg);
  background: radial-gradient(
    120% 80% at 50% 110%,
    color-mix(in oklab, var(--la-color-accent) 40%, var(--la-color-bg)) 0%,
    var(--la-color-bg-raised) 58%,
    var(--la-color-bg) 100%
  );
  border-radius: var(--la-radius-lg);
}

.la-phone-time {
  margin-block-start: var(--la-space-5);
  font-size: var(--la-text-6xl);
  font-weight: var(--la-weight-normal);
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: center;
}

.la-phone-date {
  color: var(--la-color-fg-body);
  font-size: var(--la-text-base);
  text-align: center;
}

.la-phone-stack {
  display: flex;
  flex-direction: column;
  gap: var(--la-space-2);
  margin-block-start: var(--la-space-5);
}

.la-notif {
  display: grid;
  grid-template-columns: var(--la-control-sm) 1fr;
  gap: var(--la-space-2);
  padding: var(--la-space-3);
  background: color-mix(in oklab, var(--la-color-fg) 14%, transparent);
  border-radius: var(--la-radius-lg);
  backdrop-filter: blur(18px) saturate(160%);
}

.la-notif-app {
  display: grid;
  place-items: center;
  width: var(--la-control-sm);
  height: var(--la-control-sm);
  color: var(--la-color-accent);
  font-family: var(--la-font-mono);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-bold);
  background: var(--la-color-bg-raised);
  border-radius: var(--la-radius-md);
}

.la-notif-head {
  display: flex;
  justify-content: space-between;
  color: var(--la-color-fg-body);
  font-size: var(--la-text-2xs);
}

.la-notif-name {
  font-weight: var(--la-weight-bold);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.la-notif-title {
  margin-block-start: var(--la-space-05);
  color: var(--la-color-fg);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-semi);
}

.la-notif-body {
  margin-block-start: var(--la-space-05);
  color: var(--la-color-fg-body);
  font-size: var(--la-text-xs);
  line-height: var(--la-leading-tight);
}

@container la-page (min-width: 55rem) {
  .la-moat-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: var(--la-space-7);
  }

  .la-moat-line {
    font-size: var(--la-text-4xl);
  }

  .la-moat-lede {
    font-size: var(--la-text-lg);
  }
}

/* ---- search page ------------------------------------------------------- */

.la-search {
  max-width: 48rem;
  padding: var(--la-space-6) var(--la-page-edge) var(--la-space-7);
  margin-inline: auto;
  background: var(--la-color-bg);
}

.la-search-box {
  margin-block-start: var(--la-space-6);
}

/* What the search answered: a plain line, the case at each court, or the
   courts and counties its words name, each row a link to its calendar. */
.la-search-said {
  margin-block-start: var(--la-space-5);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

.la-search-cases {
  display: grid;
  gap: var(--la-space-4);
  margin-block-start: var(--la-space-5);
}

.la-search-places {
  margin: var(--la-space-5) 0 0;
  padding: 0;
  overflow: hidden;
  list-style: none;
  background: var(--la-color-bg-raised);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
  box-shadow: var(--la-shadow-sm);
}

.la-search-places > .la-ss-section-label {
  border-block-start: 0;
}

.la-search-places .la-ss-row {
  text-decoration: none;
}

.la-search-places .la-ss-section-label + li .la-ss-row {
  border-block-start: 0;
}

.la-search-places .la-ss-primary,
.la-search-places .la-ss-secondary {
  display: block;
}

.la-search-note {
  margin-block-start: var(--la-space-4);
  color: var(--la-color-fg);
  font-size: var(--la-text-sm);
  background: var(--la-color-accent-subtle);
  border: 1px solid var(--la-color-role-accent-soft, var(--la-color-accent));
  border-inline-start: 3px solid var(--la-color-accent);
}

.la-search-alt {
  margin-block-start: var(--la-space-6);
  padding: var(--la-space-5);
  background: var(--la-color-bg-sunken);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-search-alt-head {
  margin-block-end: var(--la-space-2);
  color: var(--la-color-fg);
  font-size: var(--la-text-base);
  font-weight: var(--la-weight-semi);
  letter-spacing: -0.005em;
}

.la-search-alt-body {
  margin-block-end: var(--la-space-3);
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

.la-search-alt-cta {
  color: var(--la-color-link);
  font-size: var(--la-text-sm);
  font-weight: var(--la-weight-medium);
  text-decoration: none;
  border-block-end: 1px solid var(--la-color-role-accent-soft, var(--la-color-accent));
}

.la-search-alt-cta:hover {
  color: var(--la-color-link-hover);
  border-color: var(--la-color-link-hover);
}

@container la-page (min-width: 48rem) {
  .la-search {
    padding: var(--la-space-8) var(--la-page-edge) var(--la-space-9);
  }

  .la-search-box {
    margin-block-start: var(--la-space-7);
  }

  .la-search-alt {
    padding: var(--la-space-6);
  }
}

/* ---- value grid -------------------------------------------------------- */

.la-values-band {
  background: var(--la-color-bg-raised);
  border-block: 1px solid var(--la-color-border);
}

.la-values {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--la-space-3);
}

.la-value {
  padding: var(--la-space-5);
  background: var(--la-color-bg-sunken);
  border: 1px solid var(--la-color-border);
  border-radius: var(--la-radius-md);
}

.la-value-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--la-control-md);
  height: var(--la-control-md);
  margin-block-end: var(--la-space-3);
  color: var(--la-color-link);
  background: var(--la-color-accent-subtle);
  border-radius: var(--la-radius-md);
}

.la-value-glyph svg {
  width: var(--la-icon-md);
  height: var(--la-icon-md);
}

.la-value-head {
  margin-block-end: var(--la-space-2);
  color: var(--la-color-fg);
  font-size: var(--la-text-lg);
  font-weight: var(--la-weight-semi);
  letter-spacing: -0.005em;
}

.la-value-body {
  color: var(--la-color-fg-muted);
  font-size: var(--la-text-sm);
  line-height: var(--la-leading-normal);
}

@container la-page (min-width: 48rem) {
  .la-values {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--la-space-5);
  }
}
