/* Page composition only. Typography, controls and themes use the current site foundation. */
.ata-page {
  --ata-green: #296747;
  --ata-guide: #72937c;
  --ata-gold: #987331;
  --ata-violet: #7d6d9e;
  overflow-x: visible;
}
.dark .ata-page {
  --ata-green: #b5d9c0;
  --ata-guide: #90ad98;
  --ata-gold: #d2bd86;
  --ata-violet: #b2a5cf;
}
.ata-page :is(h1, h2, h3, p, figure, dl, dd, ol) { margin: 0; }
.ata-page :is(h1, h2, h3, dt) { font-weight: 600; letter-spacing: -0.045em; }
.ata-page :is(h1, h2) span { color: var(--ata-green); }
.ata-main :is(p, dd) { color: var(--v2-muted); }
.ata-main .v2-kicker { color: var(--ata-green); font-size: .875rem; margin-bottom: 1rem; }
.ata-main .v2-section { padding-block: clamp(3.5rem, 6.5vw, 6rem); }
.ata-main .v2-heading { max-width: 24ch; }
.ata-main .v2-heading + :is(p, .v2-copy) { margin-top: 1.5rem; }
.ata-main h3 { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.3; }
.ata-page :where(a, summary):focus-visible { outline: 3px solid #b9472b; outline-offset: 5px; }
.ata-page :is(.home-site-header, .v2-dark) :where(a, summary):focus-visible { outline-color: #ffd1aa; }

/* The existing service-page header, with the same quiet Home escape. */
.ata-site-header .ata-focused-nav { grid-template-columns: auto minmax(0, 1fr); }
.ata-page .ata-back-link { display: inline-flex; align-items: center; justify-self: end; min-height: 44px; color: #d0ddd1; font-size: .875rem; font-weight: 700; text-decoration: underline; text-underline-offset: .3em; }
.ata-page .ata-back-link:hover { color: #fff; }

.ata-hero { padding-block: clamp(3rem, 5.7vw, 5.5rem); }
.ata-hero-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.ata-hero h1 { max-width: 17ch; font-size: clamp(2.5rem, 4.45vw, 4.25rem); line-height: 1.08; }
.ata-hero .v2-lede { margin-top: 1.5rem; max-width: 52ch; }
.ata-definition { margin-top: 1.25rem !important; max-width: 62ch; }
.ata-actions { margin-top: 1.75rem; }
.ata-main .ata-email-note { margin-top: 1rem; max-width: 63ch; }

/* Native line work: context enters on the left, prepared work reaches a person. */
.ata-context-visual { min-width: 0; width: 100%; max-width: 35rem; justify-self: center; }
.ata-context-scene { position: relative; }
.ata-context-scene > svg { display: block; width: 100%; height: auto; }
.ata-scene-glow { color: var(--ata-green); }
.ata-scene-guides { stroke: var(--ata-guide); stroke-width: .8; opacity: .28; }
.ata-scene-threads { stroke: var(--ata-green); stroke-width: 1.4; }
.ata-scene-threads path:nth-child(2) { stroke: var(--ata-violet); }
.ata-scene-threads path:nth-child(3) { stroke: var(--ata-gold); }
.ata-scene-threads .ata-scene-route { stroke: var(--ata-gold); stroke-width: 2; }
.ata-scene-points { fill: var(--ata-green); }
.ata-scene-points circle:nth-child(2) { fill: var(--ata-violet); }
.ata-scene-points circle:nth-child(3) { fill: var(--ata-gold); }
.ata-scene-assistant { fill: var(--v2-canvas); stroke: var(--ata-green); stroke-width: 1.2; }
.ata-scene-assistant path { fill: none; stroke-linejoin: round; }
.ata-scene-assistant circle:not(:first-child) { fill: var(--ata-green); }
.ata-scene-review { fill: var(--v2-canvas); stroke: var(--ata-gold); stroke-width: 1.3; }
.ata-scene-review path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ata-context-label { position: absolute; padding: .25rem .5rem; background: var(--v2-canvas); color: var(--v2-ink); font-size: .875rem; font-weight: 700; line-height: 1.4; }
.ata-context-information { top: 14%; left: 1%; }
.ata-context-tools { top: 42%; left: 1%; }
.ata-context-jobs { top: 70%; left: 1%; }
.ata-context-assistants { top: 65%; left: 40%; width: 27%; text-align: center; }
.ata-context-review { top: 65%; right: 0; width: 26%; text-align: center; }
.ata-context-visual figcaption { margin-top: .5rem; text-align: center; color: var(--v2-muted); font-size: .875rem; }

.ata-split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 7vw, 6rem); }
.ata-section-intro { max-width: 65ch; }
.ata-jobs { background: var(--v2-soft); }
.ata-job-list, .ata-delivery-list { min-width: 0; }
.ata-job-list > div, .ata-delivery-list > div { padding-block: 1.5rem; border-top: 1px solid var(--v2-line); }
.ata-job-list > div:first-child, .ata-delivery-list > div:first-child { padding-top: 1.25rem; }
.ata-job-list > div:last-child, .ata-delivery-list > div:last-child { padding-bottom: 0; }
.ata-job-list dt, .ata-delivery-list dt { font-size: 1.25rem; line-height: 1.4; }
.ata-job-list dd, .ata-delivery-list dd { margin-top: .75rem; max-width: 65ch; font-size: 1rem; line-height: 1.75; }

.ata-example-intro { max-width: 54rem; margin-bottom: 2.5rem; }
.ata-example-intro .v2-heading { max-width: 29ch; }
.ata-workflow { border: 1px solid var(--v2-line); }
.ata-workflow-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; list-style: none; }
.ata-workflow-steps li { position: relative; min-width: 0; padding: clamp(1.5rem, 3vw, 2.5rem); }
.ata-workflow-steps li + li { border-left: 1px solid var(--v2-line); }
.ata-workflow-steps li + li::before { content: "→"; position: absolute; top: 2rem; left: -.75rem; width: 1.5rem; background: var(--v2-canvas); color: var(--ata-green); text-align: center; font-size: 1.25rem; line-height: 1.5rem; }
.ata-step-index { display: inline-block; margin-bottom: 1.25rem; color: var(--ata-green); font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .875rem; font-weight: 600; line-height: 1.5; }
.ata-workflow-steps h3 + p, .ata-process-steps h3 + p { margin-top: 1rem; }
.ata-human-step { background: var(--v2-soft); }
.ata-workflow-steps .ata-human-step::before { background: var(--v2-soft); }
.ata-output { display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; padding: 1.25rem clamp(1.5rem, 3vw, 2.5rem); border-top: 1px solid var(--v2-line); font-size: .9375rem; }
.ata-output .v2-kicker { margin: 0; margin-right: auto; }
.ata-output > span:not(:first-child)::before { content: "·"; margin-right: .5rem; color: var(--ata-green); }
.ata-delivery { border-top: 1px solid var(--v2-line); }

.ata-process .ata-section-intro { margin-bottom: 3rem; }
.ata-page .v2-dark { --ata-green: #b8dfb0; }
.ata-process-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; list-style: none; padding: 0; }
.ata-process-steps li { --ata-stage-color: #82b99b; position: relative; padding-top: 1.5rem; border-top: 1px solid var(--v2-line); }
.ata-process-steps li:nth-child(2) { --ata-stage-color: #c38fa1; }
.ata-process-steps li:nth-child(3) { --ata-stage-color: #a497cd; }
.ata-process-steps .ata-step-index { padding: .25rem .75rem; border: 1px solid color-mix(in srgb, var(--ata-stage-color) 60%, transparent); border-radius: 2rem; color: #edf4e9; background: radial-gradient(ellipse at center, color-mix(in srgb, var(--ata-stage-color) 18%, transparent), transparent); }
.ata-running .ata-section-intro .v2-copy { max-width: 44ch; }
.ata-faq summary { gap: 1rem; }

.ata-closing-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.ata-closing .v2-copy { max-width: 57ch; }
.ata-work-link { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; margin-top: 1.25rem; }
.ata-closing-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; justify-self: end; }
.ata-closing-actions > .v2-link { display: inline-flex; gap: .5rem; align-items: center; min-height: 44px; }
.ata-footer { padding-block: 1.5rem; color: var(--v2-muted); font-size: .875rem; }
.ata-footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; }
.ata-footer a { display: inline-flex; align-items: center; min-height: 44px; }

@media (max-width: 900px) {
  .ata-hero-layout, .ata-split, .ata-closing-layout { grid-template-columns: minmax(0, 1fr); }
  .ata-hero h1 { max-width: 20ch; }
  .ata-context-visual { max-width: 31rem; }
  .ata-workflow-steps, .ata-process-steps { grid-template-columns: minmax(0, 1fr); }
  .ata-workflow-steps li + li { border-left: 0; border-top: 1px solid var(--v2-line); }
  .ata-workflow-steps li + li::before { content: "↓"; top: -.75rem; left: 1.5rem; }
  .ata-output .v2-kicker { flex-basis: 100%; }
  .ata-closing-actions { justify-self: start; }
}
@media (max-width: 640px) {
  .ata-hero { padding-block: 3rem; }
  .ata-main .v2-section { padding-block: 3.5rem; }
  .ata-hero h1 { font-size: clamp(2.5rem, 10.4vw, 3.25rem); }
  .ata-main .v2-kicker { font-size: .8125rem; letter-spacing: .08em; }
  .ata-context-label { padding-inline: .25rem; }
  .ata-closing-actions { width: 100%; }
  .ata-closing-actions .v2-button { width: 100%; }
}
@media (max-width: 420px) {
  .ata-page .home-brand img { width: 8.125rem; }
  .ata-site-header .ata-focused-nav { gap: .75rem; }
  .ata-back-link { max-width: 9rem; font-size: .875rem; text-align: right; }
  .ata-context-information { max-width: 10rem; top: 9%; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.ata-page) { scroll-behavior: auto; }
  .ata-page .home-skip-link { transition: none; }
}
