/* Agent Transcription: a recording becomes a checked, usable score. The hero acts out one real example,
   then rests. The detailed comparison and receipt replay reuse the workspace's own panels below. */
.public-page .at-hero {
  padding: var(--space-9) 0 var(--space-10);
}
.at-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.25fr);
  align-items: center;
  gap: var(--space-8);
}
.at-hero-text {
  min-width: 0;
}
.at-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  font-size: 14px;
  font-weight: 500;
}
.at-beta {
  color: var(--accent-text);
  font-family: var(--mono);
  font-size: 12px;
}
.public-page .at-hero .page-title {
  max-width: none;
  margin: var(--space-5) 0 0;
  font-size: var(--display-2);
  line-height: 1;
}
.at-hero .page-title span {
  display: block;
}
.at-hero-lede {
  max-width: 27em;
  margin-top: var(--space-6);
  font-size: var(--lede);
  line-height: var(--lh-snug);
  text-wrap: pretty;
}
.at-hero-detail {
  max-width: 28em;
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 15px;
  text-wrap: pretty;
}
.at-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-5);
  margin-top: var(--space-7);
}
.at-text-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.at-text-link:hover {
  color: var(--accent-text);
}
.at-text-link .icon {
  width: 18px;
  height: 18px;
}
.at-hero-note {
  max-width: none;
  margin-top: var(--space-3);
  color: var(--muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}

/* One flat desk: real waveform, real engraving and the reference it opened. No invented score drawing. */
.at-process {
  min-width: 0;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: var(--layer-1);
}
.at-process-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  min-height: 44px;
  color: var(--muted);
  font-size: 12px;
}
.at-process-replay {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  min-height: 44px;
  padding: 0 var(--space-2);
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink);
  font: 500 12px / 1 var(--sans);
  cursor: pointer;
}
.at-process-replay:hover {
  background: var(--layer-2);
}
.at-process-replay[hidden] {
  display: none;
}
.at-process-replay .icon {
  width: 16px;
  height: 16px;
}
.at-process-source {
  min-height: 44px;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-top: var(--space-2);
  font-size: 14px;
  font-weight: 500;
}
.at-process-source:hover {
  color: var(--accent-text);
}
.at-process-source .icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
}
.at-process-duration {
  margin-left: auto;
  color: var(--muted);
  font: 12px / 1 var(--mono);
  font-variant-numeric: tabular-nums;
}
.at-process-wave {
  position: relative;
  height: 40px;
  margin: var(--space-3) 0 var(--space-5);
  overflow: hidden;
  color: var(--muted);
}
.at-process-wave svg {
  width: 100%;
  height: 100%;
}
.at-process-wave i {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: var(--accent);
  opacity: 0;
}
.at-process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  list-style: none;
}
.at-process-steps button {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-2);
  width: 100%;
  min-height: 48px;
  padding: var(--space-2) 0;
  border: 0;
  border-top: 2px solid var(--hair-strong);
  background: transparent;
  color: var(--muted);
  text-align: left;
  font: 13px / var(--lh-ui) var(--sans);
  cursor: pointer;
}
.at-process-steps button:hover {
  color: var(--ink);
}
.at-process-steps button span {
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}
.at-process-steps b {
  font-weight: 500;
}
.at-process-steps button[aria-pressed="true"] {
  border-color: var(--accent);
  color: var(--accent-text);
}
.at-process[data-phase="done"] .at-process-steps button {
  border-color: var(--ink);
  color: var(--ink);
}
.at-process-desk {
  margin-top: var(--space-3);
}
.at-process-sheet {
  position: relative;
  overflow: hidden;
  padding: var(--space-4) var(--space-4) var(--space-6);
  border-radius: var(--radius-sm);
  background: var(--page-paper);
  box-shadow: inset 0 0 0 1px var(--hair);
}
.at-process-sheet-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 14px;
  font-weight: 500;
}
.at-process-sheet-head small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 400;
  white-space: nowrap;
}
.at-process-notation {
  padding-top: var(--space-5);
}
.at-process-notation .engraved {
  display: block;
  width: 100%;
  height: auto;
}
.at-process-narrow {
  display: none;
}
.at-process-scan {
  position: absolute;
  inset: 52px auto var(--space-4) var(--space-4);
  width: 2px;
  background: var(--accent);
  opacity: 0;
}
.at-process-receipt {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  min-height: 84px;
  padding-top: var(--space-3);
}
.at-process-receipt a {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 64px;
  color: var(--ink);
  text-decoration: none;
  transition: opacity 0.3s var(--ease);
}
.at-process-receipt img {
  flex: none;
  width: 36px;
  height: 48px;
  object-fit: cover;
  object-position: top;
  border-radius: var(--radius-xs);
}
.at-process-receipt b {
  display: block;
  font-size: 12px;
  font-weight: 500;
}
.at-process-receipt small {
  display: block;
  margin-top: var(--space-1);
  color: var(--muted);
  font-size: 11px;
}
.at-process-receipt small .icon {
  display: inline-block;
  width: 12px;
  height: 12px;
  vertical-align: -0.125em;
}
.at-process-doubt {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: opacity 0.3s var(--ease);
}
.at-process-doubt > span {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--layer-2);
  font-size: 14px;
}
.at-process-doubt p {
  color: var(--muted);
  font-size: 12px;
  line-height: var(--lh-ui);
  text-wrap: pretty;
}
.at-process-bottom {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 76px;
}
.at-process-bird {
  flex: none;
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.at-process-caption {
  font-size: 15px;
  font-weight: 500;
  line-height: var(--lh-ui);
  text-wrap: pretty;
}
.at-process-caption [hidden] {
  display: none;
}
.at-process-footnote {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}
.at-process[data-phase="listen"] .at-process-wave i {
  opacity: 1;
  animation: at-hear 2.2s linear both;
}
.at-process[data-phase="listen"] .at-process-receipt a {
  opacity: 0.25;
}
.at-process:is([data-phase="listen"], [data-phase="look"], [data-phase="write"]) .at-process-doubt {
  opacity: 0.2;
}
.at-process[data-phase="look"] .at-process-receipt img {
  animation: at-reference 0.4s var(--ease-settle) both;
}
.at-process[data-phase="write"] .at-process-scan {
  opacity: 1;
  animation: at-check 2.2s linear both;
}
.at-process[data-phase="proofread"] .at-process-scan {
  opacity: 1;
  animation: at-check 2.5s linear both;
}
.at-process[data-paused] *,
.at-process[data-paused] *::before,
.at-process[data-paused] *::after {
  animation-play-state: paused !important;
}
@keyframes at-hear {
  to {
    left: calc(100% - 2px);
  }
}
@keyframes at-check {
  to {
    left: calc(100% - 16px);
  }
}
@keyframes at-reference {
  from {
    opacity: 0.3;
    transform: translateY(8px);
  }
}

.at-stage {
  display: grid;
  gap: var(--space-4);
  margin: 0;
}
.at-stage-head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.at-live {
  position: relative;
  min-width: 0;
}
.at-poster {
  display: grid;
  place-items: center;
  min-height: clamp(260px, 36vw, 440px);
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background: var(--layer-1);
}
.at-poster svg {
  display: block;
  width: 100%;
  height: auto;
}
.at-demo-error {
  color: var(--muted);
  font-size: 14px;
  text-wrap: pretty;
}
.at-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-4);
  margin: var(--space-5) 0 0;
}
.at-facts div {
  display: grid;
  gap: var(--space-1);
}
.at-facts dt {
  order: 2;
  color: var(--muted);
  font-size: 13px;
}
.at-facts dd {
  margin: 0;
  font-family: var(--poster);
  font-size: var(--display-3);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.at-example-note {
  max-width: 56em;
  margin-top: var(--space-6);
  color: var(--muted);
  font-size: 14px;
  text-wrap: pretty;
}
.at-example .at-text-link {
  margin-top: var(--space-2);
}
:root[data-theme="dark"] .at-process-bird {
  border-radius: 50%;
  background: var(--sl-paper, #f1efe8);
  padding: var(--space-1);
}
:root[data-theme="dark"]
  .at-hero
  :is(
    .at-kicker,
    .at-process-source,
    .at-process-steps b,
    .at-process-sheet-head,
    .at-process-receipt b,
    .at-process-caption,
    .at-text-link
  ),
:root[data-theme="dark"] .at-stage-head {
  font-weight: 460;
}
:root[data-theme="dark"] .at-process-sheet-head small {
  font-weight: 360;
}
:root[data-theme="dark"] .at-hero-detail,
:root[data-theme="dark"] .at-hero-note {
  font-weight: 360;
}

/* ── The workspace's panels on this page: its tokens, and the controls ui.css draws there ─────────────────────── */
:is(.at-live, .at-studio) {
  --text: var(--ink);
  --text-2: var(--muted);
  --text-3: var(--muted);
  --fill: color-mix(in srgb, var(--ink) 5%, transparent);
  --fill-strong: color-mix(in srgb, var(--ink) 9%, transparent);
  --track: color-mix(in srgb, var(--ink) 12%, transparent);
  --thumb: var(--white);
  --thumb-ring: color-mix(in srgb, var(--ink) 20%, transparent);
  --primary: var(--ink);
  --primary-hover: var(--ink-soft);
  --on-primary: var(--page-paper);
  --seg-active: var(--page-paper);
  --seg-shadow: inset 0 0 0 1px var(--line-strong);
  --focus: color-mix(in srgb, var(--accent) 60%, transparent);
  --danger: var(--status-danger);
  --ai-mark: #2f6fdb;
  --play: #c27c0e;
  --select-hover: #f07a4c;
  --sl-paper: #f1efe8;
  --page-shadow: 0 0 0 1px var(--hair);
}
:root[data-theme="dark"] :is(.at-live, .at-studio) {
  --ai-mark: #7aa7ff;
  --play: #f3b74d;
  --thumb: #f2f1ee;
  --seg-active: color-mix(in srgb, var(--ink) 15%, transparent);
  --seg-shadow: none;
}
/* Icons the panels draw without a class of their own, as the workspace sizes them; never the score's drawing. */
.at-live :where(svg:not(.score-pages svg, .at-poster svg)) {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.at-live :where(button) {
  font: inherit;
  cursor: pointer;
}
/* The workspace's icons are outlines (its shared shell.css strokes them); the studio's source tiles use them here. */
.at-studio .studio-slot svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
:is(.at-live, .at-studio) .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.at-live .score-pages {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  user-select: none;
}
.at-live .score-pages > svg {
  display: block;
  width: 100%;
  height: auto;
  color: var(--ink);
  fill: currentColor;
}
.at-live .score-pages svg :is(ellipse, path, polygon, polyline, rect) {
  stroke: currentColor;
}
.at-live .score-pages svg g.page-margin {
  font-family: Times, serif;
}
.at-live .score-pages svg :is(g.dir, g.dynam, g.mNum) {
  font-style: italic;
}
.at-live .score-pages svg g.tempo {
  font-weight: bold;
}
.at-live .player {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-2) var(--space-3);
}
.at-live .play {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  transition:
    transform 0.12s,
    background-color 0.15s;
}
.at-live .play:hover {
  background: var(--primary-hover);
}
.at-live .play:active {
  transform: scale(0.93);
}
.at-live .play svg {
  width: 18px;
  height: 18px;
  stroke: none;
  fill: currentColor;
}
.at-live .play[data-state="playing"] .when-paused,
.at-live .play:not([data-state="playing"]) .when-playing {
  display: none;
}
.at-live .timeline {
  display: flex;
  flex: 1 1 180px;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}
.at-live .time {
  flex: none;
  color: var(--muted);
  font: 500 12px / 1 var(--mono);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.at-live .seek-wrap {
  --progress: 0%;
  position: relative;
  display: flex;
  flex: 1;
  align-items: center;
  min-width: 60px;
}
.at-live .seek {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 60px;
  height: 22px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  appearance: none;
  cursor: pointer;
}
.at-live .seek::-webkit-slider-runnable-track {
  height: 4px;
  background: transparent;
}
.at-live .seek::-moz-range-track {
  height: 4px;
  background: transparent;
}
.at-live .seek::-webkit-slider-thumb {
  width: 14px;
  height: 14px;
  margin-top: -5px;
  border: 0;
  border-radius: 50%;
  background: var(--thumb);
  box-shadow:
    0 0 0 1px var(--thumb-ring),
    0 1px 3px rgba(0, 0, 0, 0.25);
  appearance: none;
}
.at-live .seek::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 50%;
  background: var(--thumb);
  box-shadow:
    0 0 0 1px var(--thumb-ring),
    0 1px 3px rgba(0, 0, 0, 0.25);
}
.at-live .seek:focus-visible {
  outline: none;
}
.at-live .seek:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 2px var(--focus);
}
.at-live .seek-marks {
  position: absolute;
  inset: 50% 7px auto;
  height: 4px;
  margin-top: -2px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--accent) var(--progress), var(--track) var(--progress));
}
.at-live .seek-marks i {
  position: absolute;
  top: -1px;
  width: 1px;
  height: 6px;
  background: var(--page-paper);
}
.at-live .segmented {
  display: inline-flex;
  flex: none;
  gap: 2px;
  padding: 3px;
  border-radius: 999px;
  background: var(--fill);
}
.at-live .segmented button {
  height: 28px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.15s,
    color 0.15s;
}
.at-live .segmented button:hover {
  color: var(--ink);
}
.at-live .segmented button[aria-checked="true"] {
  background: var(--seg-active);
  color: var(--ink);
  box-shadow: var(--seg-shadow);
}
.at-live :focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
@media (max-width: 640px) {
  .at-live .segmented {
    flex: 1 1 100%;
  }
  .at-live .segmented button {
    padding: 0 4px;
    font-size: 12px;
  }
  /* Three full touch targets; longer translated names wrap within their share. */
  .at-live .agent-story[data-layout="narrow"] .agent-story-listen {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    min-width: 0;
  }
  .at-live .agent-story[data-layout="narrow"] .agent-story-listen button {
    white-space: normal;
    line-height: var(--lh-ui);
    overflow-wrap: anywhere;
  }
}

/* ── Watch Starling at work: the studio replaying the run, its steps lit beside it ─────────────────────────────── */
.at-how-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.at-studio {
  display: grid;
  gap: var(--space-3);
  min-width: 0;
}
.at-studio-room {
  min-width: 0;
}
.at-studio-poster {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  image-rendering: pixelated;
}
.at-replay {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: var(--space-2);
  min-height: 36px;
  padding: 0 16px 0 12px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--layer-2);
  color: var(--ink);
  font: 500 14px / 1 var(--sans);
  cursor: pointer;
  transition: background-color 0.15s;
}
.at-replay:hover {
  background: color-mix(in srgb, var(--ink) 9%, transparent);
}
.at-replay[hidden] {
  display: none;
}
.at-replay .icon {
  width: 18px;
  height: 18px;
}
.at-steps {
  position: relative;
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}
.at-step {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: var(--space-4);
  padding-bottom: var(--space-7);
}
.at-step:last-child {
  padding-bottom: 0;
}
/* The rail between the discs, filling as the run passes each step. */
.at-step:not(:last-child)::before,
.at-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 36px;
  bottom: 4px;
  left: 15.5px;
  width: 1px;
  background: var(--hair-strong);
}
.at-step:not(:last-child)::after {
  background: var(--ink);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease);
}
.at-step[data-state="done"]:not(:last-child)::after {
  transform: none;
}
.at-num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--layer-2);
  color: var(--ink);
  font: 600 14px / 1 var(--sans);
  font-variant-numeric: tabular-nums;
  transition:
    background-color 0.3s,
    color 0.3s,
    box-shadow 0.3s;
}
.at-label {
  margin: var(--space-1) 0 0;
  font-size: 18px;
  font-weight: 600;
  line-height: var(--lh-snug);
}
.at-step p {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: 15px;
  line-height: var(--lh-body);
  text-wrap: pretty;
}
.at-step[data-state="next"] .at-label {
  color: var(--muted);
}
.at-step[data-state="now"] .at-num {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 0 0 6px var(--accent-tint);
}
:root[data-theme="dark"] .at-step[data-state="now"] .at-num {
  color: #0f0e12;
}
.at-step[data-state="done"] .at-num {
  background: var(--ink);
  color: var(--page-paper);
}

/* ── Price ─────────────────────────────────────────────────────────────────────────────────────────────────── */
.at-price-card {
  display: grid;
  justify-items: start;
  gap: var(--space-6);
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--layer-1);
}
.at-price-label {
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
}
.at-price-figure {
  margin-top: var(--space-1);
  font-size: 20px;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.at-price-figure span {
  margin-right: var(--space-1);
  font-family: var(--poster);
  font-size: var(--display-2);
  line-height: 1;
}
.at-price-small {
  margin-top: var(--space-2);
  color: var(--muted);
  font-size: 14px;
}
.at-price-terms {
  display: grid;
  gap: var(--space-3);
  width: 100%;
  margin: 0;
}
.at-price-terms div {
  display: grid;
  grid-template-columns: minmax(0, 7em) minmax(0, 1fr);
  gap: var(--space-4);
  padding-top: var(--space-3);
  box-shadow: inset 0 1px 0 var(--hair);
}
.at-price-terms dt {
  color: var(--muted);
  font-size: 14px;
}
.at-price-terms dd {
  margin: 0;
  font-size: 15px;
  line-height: var(--lh-ui);
  text-wrap: pretty;
}

/* ── Its method, questions and the finale ──────────────────────────────────────────────────────────────── */
.at-method {
  display: grid;
  justify-items: start;
  gap: var(--space-6);
  max-width: 36em;
}
.at-method p {
  font-size: 17px;
  line-height: var(--lh-body);
  text-wrap: pretty;
}
.at-method-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}
.at-finale-line {
  max-width: 36em;
  margin: var(--space-6) 0 0;
  color: var(--muted);
  font-size: var(--lede);
  line-height: var(--lh-body);
  font-variant-numeric: tabular-nums;
  text-wrap: pretty;
}
.public-page .finale .at-finale-line + .finale-actions {
  margin-top: var(--space-7);
}

@media (max-width: 960px) {
  .at-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-7);
  }
  .at-hero-text {
    max-width: 640px;
  }
  .at-process {
    width: 100%;
    max-width: 680px;
  }
  .at-how-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 640px) {
  .public-page .at-hero {
    padding: var(--space-6) 0 var(--space-9);
  }
  .at-hero-lede {
    margin-top: var(--space-5);
  }
  .at-actions {
    gap: var(--space-2);
    margin-top: var(--space-6);
  }
  .at-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .at-actions .at-text-link {
    width: 100%;
    justify-content: center;
  }
  .at-hero-note {
    margin-top: var(--space-2);
    text-align: center;
    max-width: none;
  }
  .at-process {
    padding: var(--space-3);
  }
  .at-process-top {
    min-height: 36px;
  }
  .at-process-wave {
    height: 32px;
    margin-bottom: var(--space-3);
  }
  .at-process-steps {
    gap: var(--space-1);
  }
  .at-process-steps button {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: var(--space-1);
    min-height: 52px;
    font-size: 12px;
  }
  .at-process-sheet {
    padding: var(--space-3) var(--space-2) var(--space-4);
  }
  .at-process-sheet-head {
    font-size: 12px;
  }
  .at-process-notation {
    padding-top: var(--space-4);
  }
  .at-process-notation > .engraved {
    display: none;
  }
  .at-process-narrow {
    display: grid;
    gap: var(--space-3);
  }
  .at-process-receipt {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding-top: var(--space-2);
  }
  .at-process-receipt a {
    min-height: 52px;
  }
  .at-process-receipt img {
    width: 28px;
    height: 36px;
  }
  .at-process-doubt {
    min-height: 40px;
  }
  .at-process-bottom {
    min-height: 68px;
    gap: var(--space-2);
  }
  .at-process-bird {
    width: 52px;
    height: 52px;
  }
  .at-process-caption {
    font-size: 14px;
  }
  .at-process-footnote {
    text-align: left;
  }
  .at-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: var(--space-5);
  }
  .at-replay {
    min-height: 44px;
  }
  .at-price-card .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .at-process *,
  .at-process *::before,
  .at-process *::after {
    animation: none !important;
    transition: none !important;
  }
  .at-process :is(.at-process-scan, .at-process-wave i) {
    display: none;
  }
  .at-step::after,
  .at-num {
    transition: none !important;
    animation: none !important;
  }
}
:root[data-theme="dark"] .public-page .at-label {
  font-weight: 560;
}

@media (max-width: 640px) {
  .at-hero-detail {
    font-size: 14px;
  }
  .at-actions {
    margin-top: var(--space-5);
  }
  .at-actions .at-text-link {
    display: none;
  }
  .at-actions .btn {
    min-height: 48px;
    height: 48px;
  }
  .at-process-receipt {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-2);
  }
  .at-process-receipt a > span {
    min-width: 0;
  }
  .at-process-receipt small {
    overflow-wrap: anywhere;
  }
  .at-process-bottom {
    min-height: 60px;
  }
}
.at-process-replay [hidden] {
  display: none;
}
/* The comparison's small phase labels remain readable, with full touch targets, on a phone. */
@media (max-width: 640px) {
  .at-live .agent-story[data-layout="narrow"] .agent-story-strip {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--space-3);
  }
  .at-live .agent-story[data-layout="narrow"] .agent-story-group {
    grid-row: auto;
    grid-template-rows: auto auto;
    gap: var(--space-1);
  }
  .at-live .agent-story[data-layout="narrow"] .agent-story-steps {
    grid-auto-columns: minmax(44px, 1fr);
    gap: var(--space-1);
  }
}
:root[data-theme="dark"] :is(.at-hero, .at-section) {
  font-weight: 360;
}
:root[data-theme="dark"] .at-process-steps button {
  font-weight: 360;
}
:root[data-theme="dark"]:is(:lang(zh), :lang(ja), :lang(ko)) :is(.at-hero .page-title, .at-section h2) {
  font-weight: 560;
}
:root[data-theme="dark"]
  :is(.at-process-replay, .at-replay, .at-price-label, .at-price-figure, .at-live .time, .at-live .segmented button) {
  font-weight: 460;
}
:root[data-theme="dark"] .at-num {
  font-weight: 560;
}
