/* ═══════════════════════════════════════════════════════════════════════
   /solutions/ai-training-data — the web as a clean, model-ready corpus. Own
   spine: raw→clean→tokens intake → strip the boilerplate → the corpus pipeline
   (dedup/lang/quality/license/PII) → purple coverage band. Accent PURPLE.
   ═══════════════════════════════════════════════════════════════════════ */
@import url("../../_ds/fonts.css");
@import url("../../_ds/theme.css");
@import url("../../_shared/chrome.css");
@import url("../../_shared/components.css");
@import url("../../_shared/audience-switcher.css");

main { position: relative; z-index: 1; overflow-x: clip; }
.blur-t { opacity: 0; filter: blur(12px); transition: opacity 760ms cubic-bezier(0.22,1,0.36,1), filter 760ms cubic-bezier(0.22,1,0.36,1); transform: translateZ(0); backface-visibility: hidden; will-change: filter, opacity; }
.blur-t.is-in { opacity: 1; filter: blur(0); }
@media (prefers-reduced-motion: reduce) { .blur-t { opacity: 1; filter: none; transition: none; } }

/* ── Act 1 — Hero ─────────────────────────────────────────────────────── */
.at-hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(28px, 4vw, 72px); align-items: center; max-width: 1500px; margin-inline: auto; padding: clamp(120px, 15vh, 176px) clamp(20px, 5vw, 72px) clamp(64px, 9vh, 110px); }
.at-hero-h1 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero-xl); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; max-width: 13ch; }
.at-hero-h1 em { font-style: normal; color: var(--text-primary); }
.at-hero-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 22px 0 0; max-width: 44ch; }
.at-hero-cta { margin-top: clamp(26px, 4vh, 40px); }
.at-hero-x { margin-top: 18px; }

.at-flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 8px; }
.at-flow-arrow { align-self: center; color: var(--text-quaternary); font-size: 18px; animation: at-flow 1.6s ease-in-out infinite; }
@keyframes at-flow { 0%,100% { transform: translateX(0); opacity: 0.5; } 50% { transform: translateX(4px); opacity: 1; color: #7C4FE8; } }
.at-flow-arrow:nth-of-type(4) { animation-delay: 0.5s; }
@media (prefers-reduced-motion: reduce) { .at-flow-arrow { animation: none; } }
.at-stage { border: 1px solid var(--border-subtle); border-radius: 12px; padding: 12px; display: flex; flex-direction: column; gap: 8px; transition: border-color 300ms ease, background 300ms ease; }
.at-stage.is-active { border-color: var(--border); }
.at-stage-tag { font-family: var(--font-code); font-size: 9.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-quaternary); }
.at-stage.is-active .at-stage-tag { color: #7C4FE8; }
.at-doc { display: flex; flex-direction: column; gap: 5px; min-height: 116px; }
.at-raw-l { font-family: var(--font-code); font-size: 9.5px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.at-raw-l--nav, .at-raw-l--ad, .at-raw-l--foot { color: var(--text-quaternary); opacity: 0.6; }
.at-clean-l { height: 7px; border-radius: 3px; background: var(--border-subtle); width: 92%; }
.at-clean-l--sh { width: 62%; }
.at-doc--tok { flex-direction: row; flex-wrap: wrap; gap: 4px; align-content: flex-start; }
.at-tok { font-family: var(--font-code); font-size: 10px; color: #7C4FE8; border: 1px solid color-mix(in srgb, #7C4FE8 35%, transparent); border-radius: 4px; padding: 2px 5px; }

/* ── Act 2 — Strip the boilerplate ────────────────────────────────────── */
.at-strip { max-width: 1080px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.at-strip-head { max-width: 680px; }
.at-strip-h2, .at-pipe-h2, .at-use-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: var(--text-primary); margin: 0; }
.at-strip-h2 em, .at-pipe-h2 em, .at-use-h2 em, .at-end-h2 em { font-style: normal; color: var(--text-primary); }
.at-strip-sub, .at-pipe-sub, .at-use-sub { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 16px 0 0; max-width: 52ch; }
.at-strip-seg { margin-top: 22px; }
.at-doc-full { margin-top: clamp(26px, 4vh, 44px); border: 1px solid var(--border-subtle); border-radius: 16px; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.at-df-block { border: 1px solid var(--border-subtle); border-radius: 10px; padding: 14px 16px; transition: opacity 500ms ease, filter 500ms ease, border-color 500ms ease; }
.at-df-tag { font-family: var(--font-code); font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-quaternary); }
.at-df-content .at-df-tag { color: #7C4FE8; }
.at-df-l { display: block; height: 7px; border-radius: 3px; background: var(--border-subtle); width: 92%; margin-top: 9px; }
.at-df-l--sh { width: 58%; }
.at-doc-full[data-mode="clean"] .at-df-chrome { opacity: 0.18; filter: grayscale(1); }
.at-doc-full[data-mode="clean"] .at-df-content { border-color: var(--border); }

/* ── Act 3 — Pipeline ─────────────────────────────────────────────────── */
.at-pipe { max-width: 1100px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.at-pipe-head { max-width: 640px; }
.at-pipe-rail { list-style: none; margin: clamp(30px, 4vh, 50px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.at-pstage { border: 1px solid var(--border-subtle); border-radius: 12px; padding: 18px 16px; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: border-color 200ms ease, background 200ms ease; }
.at-pstage-n { font-family: var(--font-code); font-size: 11px; color: var(--text-quaternary); }
.at-pstage-t { font-family: var(--font-display); font-size: var(--mkt-body); color: var(--text-primary); }
.at-pstage.is-active { border-color: var(--border); }
.at-pstage.is-active .at-pstage-n { color: #7C4FE8; }
.at-pipe-view { margin-top: 22px; min-height: 84px; }
.at-pnote { font-family: var(--font-base); font-size: var(--mkt-body); line-height: 1.5; color: var(--text-secondary); margin: 0; max-width: 62ch; display: none; }
.at-pnote[data-active="true"] { display: block; }

/* ── Act 4 — Coverage band (SOLID purple + bloom) ─────────────────────── */
.at-cover { position: relative; overflow: hidden; isolation: isolate; padding: clamp(90px, 14vh, 180px) clamp(20px, 5vw, 72px); }
.at-cover-fill { position: absolute; inset: 0; z-index: -1; background: #7C4FE8; clip-path: inset(0 0 100% 0); transition: clip-path 820ms cubic-bezier(0.22,1,0.36,1); }
.at-cover.is-in .at-cover-fill { clip-path: inset(0 0 0 0); }
.at-cover-inner { position: relative; z-index: 1; max-width: 1200px; margin-inline: auto; }
.at-cover-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-h2); line-height: 1.0; letter-spacing: -0.026em; color: #FFFFFF; margin: 0; }
.at-cover-list { list-style: none; margin: clamp(30px, 4vh, 52px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.at-cover-k { font-family: var(--font-display); font-size: clamp(17px, 1.7vw, 23px); color: #FFFFFF; }
.at-cover-v { font-family: var(--font-base); font-size: 14.5px; line-height: 1.5; color: rgba(255,255,255,0.82); max-width: 38ch; }

/* ── Act 5 — Use-cases ────────────────────────────────────────────────── */
.at-use { max-width: 1200px; margin-inline: auto; padding: clamp(56px, 9vh, 120px) clamp(20px, 5vw, 72px); }
.at-use-head { max-width: 620px; }
.at-use-grid { margin-top: clamp(30px, 4vh, 52px); display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(14px, 1.6vw, 22px); }

/* ── Act 6 — Closer ───────────────────────────────────────────────────── */
.at-end { padding: clamp(96px, 16vh, 200px) clamp(20px, 5vw, 72px); text-align: center; }
.at-end-frame { max-width: 820px; margin-inline: auto; }
.at-end-h2 { font-family: var(--font-display); font-weight: 500; font-size: var(--mkt-hero); line-height: 0.98; letter-spacing: -0.03em; color: var(--text-primary); margin: 0; }
.at-end-cta { margin-top: clamp(28px, 4vh, 44px); justify-content: center; }
.at-end-x { margin-top: 20px; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .at-hero { grid-template-columns: 1fr; gap: 40px; }
  .at-flow { grid-template-columns: 1fr; }
  .at-flow-arrow { transform: rotate(90deg); justify-self: center; }
  .at-pipe-rail { grid-template-columns: repeat(2, 1fr); }
  .at-cover-list, .at-use-grid { grid-template-columns: 1fr; }
}
@media (min-width: 1600px) {
  
  .at-hero, .at-strip, .at-pipe, .at-use { max-width: 1640px; }
}
