/* Company pages: About, Contact, Privacy Policy, Terms of Use.
   Loaded via front matter "styles: /assets/css/pages/company.css".
   Prefixes: .co- shared, .ct- contact, .lg- legal, .ab- about. Tokens only. */

/* Shared ------------------------------------------------------------------- */
/* A gradient hairline frame (same recipe as the home demo frame). */
.co-frame { position: relative; }
.co-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(169, 166, 255, 0.55), rgba(108, 77, 255, 0.06) 32%, rgba(108, 77, 255, 0.04) 68%, rgba(70, 232, 212, 0.38));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
/* Continuous decorative animations carry the shared [data-anim-pause] hook (site.js). */

/* Contact ------------------------------------------------------------------- */
.ct-hero { padding-top: calc(var(--header-h) + clamp(40px, 6vw, 88px)); padding-bottom: var(--section-y); }
.ct-hero .fx-grid { -webkit-mask-image: radial-gradient(ellipse 70% 50% at 30% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 50% at 30% 0%, #000 0%, transparent 75%); }
.ct-hero__glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(40% 36% at 74% 30%, rgba(108, 77, 255, 0.22), rgba(108, 77, 255, 0) 70%),
    radial-gradient(22% 20% at 82% 16%, rgba(70, 232, 212, 0.07), rgba(70, 232, 212, 0) 70%);
}
.ct-layout { display: grid; gap: clamp(40px, 6vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) {
  .ct-layout {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    grid-template-areas: "intro intro" "next form";
    column-gap: clamp(48px, 5.5vw, 88px);
    row-gap: clamp(56px, 5vw, 72px);
    align-items: start;
  }
  .ct-intro { grid-area: intro; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); column-gap: clamp(40px, 5vw, 80px); align-items: end; }
  .ct-intro > .eyebrow { grid-column: 1 / -1; justify-self: start; }
  .ct-intro .page-hero__lede { margin-top: 0; padding-bottom: 8px; }
  .ct-form-wrap { grid-area: form; }
  .ct-next { grid-area: next; padding-top: 6px; }
}
.ct-intro .page-hero__lede { max-width: 540px; }
@media (prefers-reduced-motion: no-preference) {
  .ct-intro > *, .ct-form-wrap { animation: rise-in 800ms var(--ease-out) both; }
  .ct-intro > :nth-child(2) { animation-delay: 60ms; }
  .ct-intro > :nth-child(3) { animation-delay: 120ms; }
  .ct-form-wrap { animation-delay: 140ms; }
}

/* Form card */
.ct-form-card {
  position: relative;
  padding: clamp(22px, 3vw, 36px);
  border-radius: var(--r-2xl);
  background:
    radial-gradient(90% 40% at 50% 0%, rgba(108, 77, 255, 0.12), rgba(108, 77, 255, 0) 70%),
    linear-gradient(180deg, rgba(22, 25, 38, 0.88), rgba(14, 16, 24, 0.94));
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 50px 120px -40px rgba(108, 77, 255, 0.5), 0 40px 80px -30px rgba(0, 0, 0, 0.85);
}
.ct-form-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(160deg, rgba(169, 166, 255, 0.6), rgba(108, 77, 255, 0.08) 30%, rgba(108, 77, 255, 0.05) 70%, rgba(70, 232, 212, 0.4));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
}
.ct-form-card::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 70%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(169, 166, 255, 0.8) 35%, rgba(125, 240, 226, 0.8) 60%, transparent);
  pointer-events: none;
}
.ct-form-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--hairline); }
.ct-form-card__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); line-height: 1.2; letter-spacing: -0.02em; color: var(--text-1); }
.ct-form .chip-group { gap: 8px; }
.ct-form__footer { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 4px; }
@media (max-width: 479px) { .ct-form__submit { width: 100%; } }
.ct-mailnote {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px 14px;
  border-radius: var(--r-md);
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--text-3);
  background: rgba(255, 255, 255, 0.025);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.ct-mailnote > .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--violet-300); }
.ct-status:focus-visible { outline-offset: 3px; border-radius: var(--r-lg); }
.ct-status p + p { margin-top: 6px; }
.ct-status__body { flex: 1; min-width: 0; }
.ct-status__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 14px !important; }
/* Fallback when no email app opens: the full request as copyable text. */
.ct-copy { display: grid; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--hairline); }
.ct-status .ct-copy p + p { margin-top: 0; }
.ct-copy__trimmed { color: var(--text-1); }
.ct-copy__label { margin-top: 4px; font-size: 0.8125rem; font-weight: 550; color: var(--text-1); }
.ct-copy__text { min-height: 0; font-family: var(--font-mono); font-size: 0.75rem; line-height: 1.55; color: var(--text-2); resize: vertical; }
.ct-copy__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
.ct-copy__done { font-size: 0.8125rem; color: var(--text-2); }
@media (prefers-reduced-motion: no-preference) {
  .ct-status:not([hidden]) { animation: rise-in 480ms var(--ease-out) both; }
}

/* What happens next */
.ct-next__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); letter-spacing: -0.015em; color: var(--text-1); }
.ct-steps { margin-top: 28px; gap: 30px; }
.ct-steps .step__text { max-width: 460px; }
.ct-art {
  grid-column: 2;
  position: relative;
  margin-top: 14px;
  padding: 40px 14px 14px;
  border-radius: var(--r-lg);
  background: radial-gradient(80% 100% at 50% 0%, rgba(255, 255, 255, 0.03), transparent 70%), rgba(14, 16, 24, 0.7);
  box-shadow: inset 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 20px 40px -24px rgba(0, 0, 0, 0.8);
  overflow: hidden;
  z-index: 1;
}
.ct-art > .badge--sample { position: absolute; top: 12px; right: 12px; z-index: 2; }
.ct-art--chat { gap: 10px; padding-top: 14px; }
.ct-art--chat .msg { max-width: 92%; }
.ct-art--chat .msg--in { max-width: calc(100% - 92px); }
.ct-art--chat .msg__bubble { font-size: 0.8125rem; padding: 9px 12px; line-height: 1.45; }
.ct-art--chat .msg__meta { font-size: 0.6875rem; }
.ct-art--chat .chat-event { font-size: 0.6875rem; padding: 5px 10px; }
.ct-art--chat .chat-event .icon { width: 14px; height: 14px; }

.ct-mail { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ct-mail__icon { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; color: var(--violet-200); background: rgba(108, 77, 255, 0.16); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.35); }
.ct-mail__icon .icon { width: 17px; height: 17px; }
.ct-mail__lines { display: grid; gap: 4px; min-width: 0; }
.ct-mail__row { display: flex; gap: 10px; min-width: 0; font-size: 0.8125rem; line-height: 1.4; }
.ct-mail__k { flex: none; width: 56px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); padding-top: 2px; }
.ct-mail__v { min-width: 0; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ct-reply { display: flex; align-items: center; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border); }
.ct-reply .avatar .icon { width: 12px; height: 12px; }
.ct-reply__lines { flex: 1; display: grid; gap: 7px; }
.ct-reply__icon { width: 16px; height: 16px; color: var(--success); }

.ct-plan { display: grid; gap: 0; }
.ct-plan__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding-block: 6px; }
.ct-plan__row + .ct-plan__row { border-top: 1px solid var(--border-subtle); }
.ct-plan__k { font-size: 0.8125rem; color: var(--text-2); }
.ct-plan__v { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.ct-plan__v .chip--sm { height: 28px; font-size: 0.75rem; padding: 0 10px; }
.ct-plan__v .chip--sm .icon { width: 13px; height: 13px; }
.ct-plan__v--bars { align-items: center; gap: 8px; }
.ct-switch { position: relative; display: block; width: 38px; height: 22px; border-radius: var(--r-pill); background: var(--grad-button); box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.6), 0 0 14px -2px rgba(108, 77, 255, 0.7); }
.ct-switch > span { position: absolute; top: 3px; right: 3px; width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(180deg, #fff, #DCDFF0); box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45); }

.ct-direct { display: flex; align-items: center; gap: 12px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--border-subtle); font-size: 0.9375rem; color: var(--text-2); }
.ct-direct > .icon { width: 18px; height: 18px; color: var(--violet-300); }
@media (max-width: 479px) {
  .ct-art { margin-left: -62px; background: radial-gradient(80% 100% at 50% 0%, rgba(255, 255, 255, 0.03), transparent 70%), var(--surface-1); }
  .ct-mail__k { width: 52px; }
  .ct-mail__v { white-space: normal; }
}

/* Legal (Privacy Policy, Terms of Use) --------------------------------------- */
.lg-hero { padding-bottom: clamp(48px, 6vw, 80px); }
.lg-hero__rays {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-conic-gradient(from 180deg at 82% -6%, rgba(138, 110, 255, 0.11) 0deg 0.5deg, transparent 0.5deg 6.5deg);
  -webkit-mask-image: radial-gradient(ellipse 46% 64% at 82% 0%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 46% 64% at 82% 0%, #000 0%, transparent 72%);
}
.lg-hero .page-hero__lede { max-width: 620px; }
.lg-meta { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 26px; }
.lg-meta > li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  font-size: 0.8125rem;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 0 0 1px var(--hairline);
}
.lg-meta .icon { width: 14px; height: 14px; color: var(--violet-300); }

/* Decorative document stack (desktop only). */
.lg-hero__doc { display: none; }
@media (min-width: 1100px) {
  .lg-hero__doc { display: block; position: absolute; top: -36px; right: var(--gutter); width: 300px; height: 290px; pointer-events: none; }
}
.lg-page {
  position: absolute;
  inset: 0 0 auto auto;
  width: 228px;
  height: 272px;
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(24, 27, 41, 0.92), rgba(14, 16, 24, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.lg-page--back { transform: translate(-6px, 18px) rotate(7deg); opacity: 0.55; }
.lg-page--front {
  right: 44px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
  transform: rotate(-4deg);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 50px 100px -30px rgba(108, 77, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.lg-page__head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid var(--hairline); }
.lg-page__mark { width: 22px; height: 22px; flex: none; }
.lg-page .skeleton { height: 6px; }
.lg-page__title { width: 62%; height: 10px !important; background: linear-gradient(90deg, rgba(169, 166, 255, 0.45), rgba(169, 166, 255, 0.12)) !important; margin-bottom: 6px; }
.lg-page__seal {
  position: absolute;
  right: -16px;
  bottom: 26px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: #fff;
  background: radial-gradient(circle at 30% 20%, var(--violet-400), var(--violet-700) 75%);
  box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.6), 0 0 30px -4px rgba(108, 77, 255, 0.9);
}
.lg-page__seal .icon { width: 22px; height: 22px; }
@media (prefers-reduced-motion: no-preference) {
  .lg-hero__doc { animation: rise-in 900ms 120ms var(--ease-out) both; }
  .lg-page--front { animation: lg-float 8s var(--ease-in-out) infinite alternate; }
}
@keyframes lg-float { from { transform: rotate(-4deg) translateY(0); } to { transform: rotate(-3deg) translateY(-8px); } }

/* At a glance */
.lg-glance { display: grid; gap: 12px; grid-template-columns: minmax(0, 1fr); margin-top: clamp(36px, 5vw, 56px); }
@media (min-width: 640px) { .lg-glance { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .lg-glance { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.lg-glance__item { transition: transform var(--dur-slow) var(--ease-out); }
@media (max-width: 639px) {
  .lg-glance__item { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; align-items: start; padding: 16px 18px; }
  .lg-glance__item .icon-tile { grid-row: span 2; }
  .lg-glance__item .lg-glance__title { margin-top: 6px; }
}
.lg-glance__item:hover { transform: translateY(-2px); }
.lg-glance__title { margin-top: 16px; font-family: var(--font-body); font-weight: 600; font-size: 0.9375rem; line-height: 1.35; letter-spacing: -0.005em; color: var(--text-1); }
.lg-glance__text { margin-top: 6px; font-size: 0.875rem; line-height: 1.55; color: var(--text-2); }

/* Document layout: sticky table of contents + 720px reading column. */
.lg-body { padding-top: clamp(8px, 2vw, 24px); }
.lg-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; }
@media (min-width: 1024px) {
  .lg-layout { grid-template-columns: 252px minmax(0, 720px); column-gap: clamp(56px, 7vw, 104px); align-items: start; }
  .lg-toc-wrap { position: sticky; top: calc(var(--header-h) + 28px); max-height: calc(100vh - var(--header-h) - 56px); overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
}
.lg-toc {
  border-radius: var(--r-xl);
  background: var(--grad-surface), var(--surface-1);
  box-shadow: inset 0 0 0 1px var(--border-subtle), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: 6px;
}
.lg-toc__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  border-radius: var(--r-lg);
  cursor: pointer;
  list-style: none;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-2);
}
.lg-toc__summary::-webkit-details-marker { display: none; }
.lg-toc__summary .icon { width: 16px; height: 16px; color: var(--text-3); transition: transform var(--dur-slow) var(--ease-out); }
.lg-toc[open] .lg-toc__summary .icon { transform: rotate(180deg); }
.lg-toc__summary:focus-visible { outline-offset: -2px; border-radius: var(--r-lg); }
@media (min-width: 1024px) {
  .lg-toc__summary { cursor: default; pointer-events: none; color: var(--text-3); }
  .lg-toc__summary .icon { display: none; }
}
.lg-toc__progress { display: none; }
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) and (min-width: 1024px) {
    .lg-toc__progress { display: block; position: relative; height: 1px; margin: 0 12px 6px; background: var(--border-subtle); overflow: hidden; }
    .lg-toc__progress::after { content: ""; position: absolute; inset: 0; transform-origin: left; background: linear-gradient(90deg, var(--violet-400), var(--aqua-400)); animation: lg-progress linear both; animation-timeline: scroll(root block); }
  }
}
@keyframes lg-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.lg-toc__list { display: grid; gap: 2px; padding: 2px 0 4px; }
.lg-toc__link {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 8px 12px;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--text-2);
  transition: color var(--dur-base), background var(--dur-base), box-shadow var(--dur-base);
}
.lg-toc__link:hover { color: var(--text-1); background: rgba(255, 255, 255, 0.04); }
.lg-toc__link:focus-visible { outline-offset: -2px; border-radius: var(--r-md); }
.lg-toc__num { flex: none; width: 18px; padding-top: 2px; font-family: var(--font-mono); font-size: 0.6875rem; color: var(--text-3); transition: color var(--dur-base); }
.lg-toc__link[aria-current="true"] { color: var(--text-1); background: rgba(108, 77, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.28); }
.lg-toc__link[aria-current="true"]::before { content: ""; position: absolute; left: -1px; top: 9px; bottom: 9px; width: 2px; border-radius: 2px; background: var(--violet-400); box-shadow: 0 0 10px rgba(138, 110, 255, 0.9); }
.lg-toc__link[aria-current="true"] .lg-toc__num { color: var(--violet-300); }

/* Reading column */
.lg-doc { max-width: 720px; }
.lg-doc > .lg-sec + .lg-sec { margin-top: clamp(44px, 5vw, 60px); padding-top: clamp(40px, 4.5vw, 52px); border-top: 1px solid var(--border-subtle); }
.lg-sec > * + * { margin-top: 1.1em; }
.lg-sec > h2 { display: flex; align-items: baseline; gap: 14px; margin-top: 0; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.625rem); }
.lg-sec h2 + * { margin-top: 0.85em; }
.lg-sec > h3 { font-size: 1.125rem; margin-top: 1.7em; }
.lg-sec__num { flex: none; font-family: var(--font-mono); font-size: 0.8125rem; font-weight: 500; letter-spacing: 0.04em; color: var(--violet-300); transform: translateY(-3px); }
.lg-sec:focus { outline: none; }
.lg-doc .callout { font-size: 0.9375rem; }
.lg-doc .callout > .icon { margin-top: 3px; }

.lg-end {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 16px 18px;
  align-items: center;
  margin-top: clamp(56px, 6vw, 80px) !important;
  padding: clamp(22px, 3vw, 30px);
  border-radius: var(--r-xl);
  background: radial-gradient(70% 120% at 0% 0%, rgba(108, 77, 255, 0.16), rgba(108, 77, 255, 0) 70%), var(--surface-1);
  box-shadow: 0 30px 70px -40px rgba(108, 77, 255, 0.6);
}
.lg-end__title { font-family: var(--font-display); font-weight: 500; font-size: 1.1875rem; line-height: 1.3; letter-spacing: -0.012em; color: var(--text-1); }
.lg-end__text { margin-top: 4px !important; font-size: 0.9375rem; line-height: 1.5; color: var(--text-2); }
.lg-end__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
@media (min-width: 720px) {
  .lg-end { grid-template-columns: auto minmax(0, 1fr) auto; }
  .lg-end__actions { grid-column: auto; flex-direction: column; align-items: flex-end; gap: 10px; }
}

/* About ------------------------------------------------------------------------ */
/* Hero: centred copy above a one-point-perspective "agora" (colonnades and a plaza
   floor converging on the mark). Channel messages gather into the square. */
.ab-hero { padding-bottom: 0; }
.ab-hero .page-hero__title { max-width: 1000px; }
.ab-hero .page-hero__lede { max-width: 700px; }
@media (prefers-reduced-motion: no-preference) {
  .ab-hero__copy > * { animation: rise-in 800ms var(--ease-out) both; }
  .ab-hero__copy > :nth-child(2) { animation-delay: 70ms; }
  .ab-hero__copy > :nth-child(3) { animation-delay: 140ms; }
  .ab-stage { animation: ab-stage-in 1400ms 160ms var(--ease-out) both; }
}
@keyframes ab-stage-in { from { opacity: 0; transform: translateY(24px) scale(0.98); } to { opacity: 1; transform: none; } }
.ab-stage-wrap { position: relative; z-index: 1; margin-top: clamp(28px, 4vw, 52px); }
.ab-stage {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, #000 80%, transparent 100%), linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-composite: intersect;
}
.ab-stage__canvas { position: relative; width: 100%; aspect-ratio: 1200 / 460; container-type: inline-size; }
@media (max-width: 899px) { .ab-stage__canvas { width: 116%; margin-left: -8%; } }
@media (max-width: 559px) { .ab-stage__canvas { width: 132%; margin-left: -16%; } }
.ab-stage__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ab-floor { fill: none; stroke: url(#ab-floor-fade); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ab-floor--h { opacity: 0.75; }
.ab-ring { fill: none; stroke: rgba(169, 166, 255, 0.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ab-ring + .ab-ring { stroke: rgba(169, 166, 255, 0.2); }
.ab-ring + .ab-ring + .ab-ring { stroke: rgba(169, 166, 255, 0.12); stroke-dasharray: 3 6; }
.ab-col { fill: url(#ab-col); stroke: rgba(169, 166, 255, 0.3); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ab-cap { fill: rgba(169, 166, 255, 0.28); }
.ab-stoa__lines { fill: none; stroke: rgba(169, 166, 255, 0.26); stroke-width: 1; vector-effect: non-scaling-stroke; }
.ab-pulse { fill: none; stroke-width: 2; stroke-linecap: round; stroke-dasharray: 0.07 1.2; stroke-dashoffset: 0.07; opacity: 0; }
.ab-pulse--in { stroke: var(--violet-300); }
.ab-pulse--out { stroke: var(--aqua-300); }
@media (prefers-reduced-motion: no-preference) {
  .ab-pulse { opacity: 0.9; animation: ab-pulse 5.2s linear infinite; animation-delay: calc(var(--i) * -0.87s); }
  .ab-pulse--out { opacity: 0.8; animation-duration: 4.4s; animation-delay: calc(var(--i) * -0.88s - 0.4s); }
}
@keyframes ab-pulse { from { stroke-dashoffset: 0.07; } to { stroke-dashoffset: -1.05; } }

.ab-hub { position: absolute; left: 50%; top: 32.6%; z-index: 2; width: clamp(48px, 7cqw, 92px); aspect-ratio: 1; transform: translate(-50%, -50%); }
.ab-hub__halo { position: absolute; inset: -95%; border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 77, 255, 0.55), rgba(108, 77, 255, 0.14) 45%, transparent 75%); }
.ab-hub__ring {
  position: absolute;
  inset: -12%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(169, 166, 255, 0) 0deg, rgba(169, 166, 255, 0.85) 70deg, rgba(125, 240, 226, 0.9) 100deg, rgba(169, 166, 255, 0) 160deg, rgba(169, 166, 255, 0) 360deg);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
}
.ab-hub__disc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 25%, rgba(138, 110, 255, 0.35), rgba(20, 16, 50, 0.94) 62%), #0B0B18;
  box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 0 60px -6px rgba(108, 77, 255, 0.85), 0 30px 60px -20px rgba(0, 0, 0, 0.9);
}
.ab-hub__mark { width: 48%; height: 48%; filter: drop-shadow(0 6px 18px rgba(108, 77, 255, 0.65)); }
.ab-hub__pulse { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 1px rgba(169, 166, 255, 0.5); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .ab-hub__ring { animation: co-spin 9s linear infinite; }
  .ab-hub__pulse { animation: co-ping 3s var(--ease-out) infinite; }
  .ab-hub__pulse + .ab-hub__pulse { animation-delay: 1.5s; }
}
@keyframes co-spin { to { transform: rotate(360deg); } }
@keyframes co-ping { 0% { opacity: 0.8; transform: scale(1); } 100% { opacity: 0; transform: scale(2); } }

/* A message arriving in the square (house bubble: square lower-left corner). */
.ab-bubble {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 3;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.65em;
  row-gap: 0.4em;
  padding: 0.6em 1em 0.6em 0.6em;
  font-size: max(10px, 1.1cqw);
  line-height: 1.2;
  white-space: nowrap;
  color: var(--text-1);
  border-radius: 1.3em 1.3em 1.3em 0.3em;
  background: rgba(18, 20, 31, 0.82);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 18px 36px -14px rgba(0, 0, 0, 0.9);
  translate: -50% -100%;
  scale: var(--s);
  transform-origin: 50% 100%;
}
.ab-bubble::after { content: ""; position: absolute; left: 12%; right: 12%; top: calc(100% + 0.7em); height: 0.8em; border-radius: 50%; background: radial-gradient(closest-side, rgba(108, 77, 255, 0.45), transparent); }
.ab-bubble__glyph { grid-row: span 2; display: grid; place-items: center; width: 2.3em; height: 2.3em; border-radius: 50%; background: linear-gradient(160deg, var(--surface-4), var(--surface-2)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1); }
.ab-bubble__glyph .icon { width: 1.15em; height: 1.15em; }
.ab-bubble__label { font-weight: 600; font-size: 1em; }
.ab-bubble__lines { display: grid; gap: 0.3em; }
.ab-bubble__lines > span { display: block; height: 0.32em; border-radius: 1em; background: rgba(255, 255, 255, 0.12); width: 5.4em; }
.ab-bubble__lines > span + span { width: 3.4em; background: rgba(255, 255, 255, 0.07); }
/* Narrow canvases: drop the skeleton lines, then the labels, so bubbles never pile up. */
@container (max-width: 760px) {
  .ab-bubble { font-size: max(8.5px, 1.1cqw); row-gap: 0; }
  .ab-bubble__lines { display: none; }
  .ab-bubble__glyph { grid-row: auto; }
}
@container (max-width: 560px) {
  .ab-bubble { padding: 0.55em; column-gap: 0; font-size: 9px; }
  .ab-bubble__label { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .ab-bubble { animation: ab-gather 18s var(--ease-in-out) infinite both; animation-delay: var(--d); }
}
@keyframes ab-gather {
  0% { opacity: 0; translate: -50% -70%; scale: calc(var(--s) * 0.92); }
  6% { opacity: 1; translate: -50% -100%; scale: var(--s); }
  50% { opacity: 1; translate: -50% -100%; scale: var(--s); animation-timing-function: cubic-bezier(0.6, 0, 0.25, 1); }
  66% { opacity: 0; translate: calc(-50% + var(--dx)) calc(-100% + var(--dy)); scale: 0.14; }
  100% { opacity: 0; translate: calc(-50% + var(--dx)) calc(-100% + var(--dy)); scale: 0.14; }
}

/* The name: three chapters */
.ab-name .fx-grid { -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 60% at 50% 30%, #000 0%, transparent 75%); }
.ab-chapters { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1024px) { .ab-chapters { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 640px) and (max-width: 1023px) {
  .ab-chapter { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr); }
  .ab-chapter__visual { height: auto !important; min-height: 220px; border-bottom: 0 !important; border-right: 1px solid var(--border-subtle); }
  .ab-chapter__body { align-self: center; }
}
.ab-chapter { padding: 0; overflow: hidden; }
.ab-chapter__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 220px;
  padding: 10px;
  border-bottom: 1px solid var(--border-subtle);
  background: radial-gradient(80% 90% at 50% 100%, rgba(108, 77, 255, 0.07), transparent 70%), repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.022) 0 1px, transparent 1px 24px);
  overflow: hidden;
}
.ab-chapter__body { padding: clamp(22px, 2.4vw, 28px) clamp(22px, 2.6vw, 30px) clamp(24px, 2.8vw, 32px); }
.ab-chapter__body p { margin-top: 12px; font-size: 1rem; line-height: 1.65; color: var(--text-2); }
.ab-chapter--now {
  background: radial-gradient(90% 60% at 50% 0%, rgba(108, 77, 255, 0.14), transparent 70%) padding-box, linear-gradient(var(--surface-1), var(--surface-1)) padding-box, var(--grad-border) border-box;
  border: 1px solid transparent;
  box-shadow: 0 30px 70px -36px rgba(108, 77, 255, 0.6);
}
.ab-chapter--now .ab-chapter__body p { color: var(--text-1); }
.ab-ch-svg { display: block; width: 100%; height: 100%; max-width: 320px; max-height: 200px; }

.ab-ch1__plaza { fill: rgba(108, 77, 255, 0.05); stroke: rgba(169, 166, 255, 0.35); stroke-width: 1; }
.ab-ch1__inner { fill: none; stroke: rgba(169, 166, 255, 0.18); stroke-width: 1; stroke-dasharray: 3 5; }
.ab-ch1__cols circle { fill: rgba(169, 166, 255, 0.5); }
.ab-ch1__people circle { fill: var(--text-2); opacity: 0.75; }
.ab-ch1__people circle:nth-child(3n) { fill: var(--violet-300); opacity: 0.9; }
.ab-ch1__talk path { fill: rgba(108, 77, 255, 0.28); stroke: rgba(169, 166, 255, 0.7); stroke-width: 1; }

.ab-scatter { position: relative; width: 100%; max-width: 320px; height: 200px; }
.ab-win {
  position: absolute;
  width: 100px;
  border-radius: 10px;
  background: linear-gradient(160deg, var(--surface-3), var(--surface-2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 14px 26px -12px rgba(0, 0, 0, 0.85);
  transform: rotate(var(--r));
}
.ab-win__bar { display: flex; gap: 3px; padding: 6px 8px; border-bottom: 1px solid var(--border-subtle); }
.ab-win__bar > span { width: 5px; height: 5px; border-radius: 50%; background: var(--surface-4); }
.ab-win__body { display: flex; align-items: center; gap: 8px; padding: 9px 9px 10px; }
.ab-win__body .icon { width: 16px; height: 16px; color: var(--text-2); }
.ab-win__lines { flex: 1; display: grid; gap: 5px; }
.ab-win__lines > span { display: block; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, 0.1); }
.ab-win__lines > span + span { width: 60%; background: rgba(255, 255, 255, 0.06); }
.ab-win__dot { position: absolute; top: -4px; right: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--danger); box-shadow: 0 0 0 3px var(--surface-1), 0 0 10px rgba(255, 92, 122, 0.8); }

.ab-gather { position: relative; width: 100%; max-width: 320px; aspect-ratio: 320 / 200; }
.ab-gather .ab-ch-svg { position: absolute; inset: 0; max-height: none; }
.ab-gather__ring { fill: none; stroke: rgba(138, 110, 255, 0.4); stroke-width: 1; stroke-dasharray: 3 5; transform-origin: 160px 100px; }
.ab-gather__ring--inner { stroke: rgba(138, 110, 255, 0.16); stroke-dasharray: none; }
.ab-spoke { fill: none; stroke: rgba(169, 166, 255, 0.35); stroke-width: 1.25; stroke-linecap: round; }
@media (prefers-reduced-motion: no-preference) {
  .ab-gather__ring:not(.ab-gather__ring--inner) { animation: co-spin 40s linear infinite; }
  .ab-spoke { stroke: var(--violet-300); stroke-width: 2; stroke-dasharray: 0.3 1.3; stroke-dashoffset: 0.3; animation: ab-pulse-spoke 2.6s var(--ease-in-out) infinite; animation-delay: calc(var(--i) * -0.43s); }
}
@keyframes ab-pulse-spoke { from { stroke-dashoffset: 0.3; } to { stroke-dashoffset: -1; } }
.ab-gather .channel-icon { position: absolute; transform: translate(-50%, -50%); width: 34px; height: 34px; z-index: 1; }
.ab-gather__hub { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; transform: translate(-50%, -50%); border-radius: 18px; background: radial-gradient(circle at 30% 20%, rgba(138, 110, 255, 0.4), #120F2A 70%); box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.45), 0 0 40px -6px rgba(108, 77, 255, 0.9); }
.ab-gather__mark { width: 28px; height: 28px; }

/* Principles */
.ab-principles { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 720px) { .ab-principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ab-principle { min-height: 250px; padding: clamp(26px, 3vw, 40px); overflow: hidden; }
.ab-principle > .ab-principle__num {
  position: absolute;
  top: clamp(16px, 2vw, 24px);
  right: clamp(20px, 2.6vw, 34px);
  z-index: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(4.25rem, 3rem + 3.4vw, 7rem);
  line-height: 1;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(169, 166, 255, 0.24);
  pointer-events: none;
  user-select: none;
}
.ab-principle .card__title { margin-top: 28px; font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); }
.ab-principle .card__text { max-width: 470px; font-size: 1rem; }

/* AI and people */
.ab-beliefs .fx-aurora::before { opacity: 0.45; }
.ab-beliefs__split { align-items: center; }
.ab-beliefs__head { margin-bottom: 28px; }
.ab-beliefs__head .section-head__title { font-size: clamp(1.875rem, 1.3rem + 1.9vw, 2.75rem); line-height: 1.1; }
.ab-beliefs__text p { font-size: 1.0625rem; line-height: 1.7; color: var(--text-2); }
.ab-beliefs__text p + p { margin-top: 1em; }
.ab-lanes {
  position: relative;
  padding: clamp(16px, 2.2vw, 24px);
  border-radius: var(--r-2xl);
  background: radial-gradient(80% 50% at 50% 0%, rgba(108, 77, 255, 0.14), transparent 70%), rgba(14, 16, 24, 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: 0 50px 100px -40px rgba(108, 77, 255, 0.45), 0 30px 60px -30px rgba(0, 0, 0, 0.9);
}
.ab-lane { padding: 18px; border-radius: var(--r-xl); }
.ab-lane--ai { background: linear-gradient(160deg, rgba(123, 92, 255, 0.14), rgba(86, 52, 236, 0.04)); box-shadow: inset 0 0 0 1px rgba(169, 166, 255, 0.24); }
.ab-lane--human { background: linear-gradient(160deg, rgba(61, 220, 151, 0.09), rgba(61, 220, 151, 0.02)); box-shadow: inset 0 0 0 1px rgba(61, 220, 151, 0.24); }
.ab-lane__head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.ab-lane__head .avatar .icon { width: 13px; height: 13px; }
.ab-lane__name { font-size: 0.875rem; font-weight: 600; color: var(--text-1); }
.ab-lane__qs { display: flex; flex-wrap: wrap; gap: 8px; }
.ab-lane__qs > li { padding: 8px 13px; border-radius: var(--r-bubble-in); font-size: 0.8125rem; line-height: 1.35; color: var(--text-1); background: var(--surface-3); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06), 0 8px 18px -10px rgba(0, 0, 0, 0.8); }
.ab-lanes__handoff { display: flex; align-items: center; gap: 10px; padding: 12px 22px; }
.ab-lanes__line { flex: 1; height: 0; border-top: 1px dashed rgba(245, 181, 68, 0.45); }
.ab-lanes__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: var(--warning); background: rgba(245, 181, 68, 0.1); box-shadow: inset 0 0 0 1px rgba(245, 181, 68, 0.4), 0 0 18px -4px rgba(245, 181, 68, 0.5); }
.ab-lanes__icon .icon { width: 16px; height: 16px; }

.ab-pledge { position: relative; max-width: 940px; margin: clamp(64px, 8vw, 112px) auto 0; padding-top: clamp(40px, 5vw, 56px); text-align: center; }
.ab-pledge::before { content: ""; position: absolute; left: 50%; top: 0; width: min(560px, 80%); height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(169, 166, 255, 0.7) 30%, rgba(125, 240, 226, 0.7) 60%, transparent); }
.ab-pledge__text { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.5rem, 1.05rem + 1.7vw, 2.375rem); line-height: 1.25; letter-spacing: -0.025em; color: var(--text-1); text-wrap: balance; }
.ab-pledge__marks { display: flex; justify-content: center; gap: 12px; margin-top: 28px; }
.ab-pledge__mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--violet-200); background: rgba(108, 77, 255, 0.12); box-shadow: inset 0 0 0 1px rgba(138, 110, 255, 0.35); }
.ab-pledge__mark .icon { width: 18px; height: 18px; }

/* Careers */
.ab-careers {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  gap: 40px;
  padding: clamp(28px, 5vw, 64px);
  border-radius: var(--r-2xl);
  background: radial-gradient(55% 80% at 100% 0%, rgba(108, 77, 255, 0.22), transparent 70%), radial-gradient(30% 40% at 85% 100%, rgba(70, 232, 212, 0.06), transparent 70%), linear-gradient(180deg, var(--surface-1), #0B0C15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 40px 100px -50px rgba(108, 77, 255, 0.6);
}
@media (min-width: 960px) { .ab-careers { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); align-items: center; gap: 56px; } }
.ab-careers > .fx-grid { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 85% 30%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 60% 80% at 85% 30%, #000 0%, transparent 75%); }
.ab-careers__copy, .ab-compose { position: relative; z-index: 1; }
.ab-careers__title { margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 1.35rem + 2.3vw, 3.25rem); line-height: 1.06; letter-spacing: -0.03em; color: var(--text-1); }
.ab-careers__text { margin-top: 18px; max-width: 520px; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; color: var(--text-2); }
.ab-compose {
  width: 100%;
  max-width: 460px;
  justify-self: center;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #131622, #0C0E16);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 40px 80px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  overflow: hidden;
}
@media (min-width: 960px) { .ab-compose { justify-self: end; transform: rotate(1.5deg); } }
.ab-compose__bar { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; border-bottom: 1px solid var(--border-subtle); background: rgba(255, 255, 255, 0.015); }
.ab-compose__bar > .icon { width: 16px; height: 16px; color: var(--violet-300); }
.ab-compose__row { display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 0 18px; border-bottom: 1px solid var(--border-subtle); font-size: 0.875rem; }
.ab-compose__row .skeleton { flex: none; }
.ab-compose__k { flex: none; width: 62px; font-family: var(--font-mono); font-size: 0.6875rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.ab-compose__v { color: var(--text-1); }
.ab-compose__body { display: grid; gap: 12px; align-content: start; min-height: clamp(96px, 12vw, 150px); padding: 20px 18px; }
.ab-compose__last { display: flex; align-items: center; gap: 4px; }
.ab-compose__caret { width: 2px; height: 16px; border-radius: 1px; background: var(--violet-300); box-shadow: 0 0 8px rgba(169, 166, 255, 0.8); }
@media (prefers-reduced-motion: no-preference) { .ab-compose__caret { animation: ab-blink 1.1s steps(1) infinite; } }
@keyframes ab-blink { 50% { opacity: 0; } }
.ab-compose__foot { display: flex; justify-content: flex-end; padding: 0 18px 18px; }
.ab-compose__send { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: #fff; background: var(--grad-button); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 24px -6px rgba(108, 77, 255, 0.8); }
.ab-compose__send .icon { width: 18px; height: 18px; }
