/**
 * Accelerating AI Mastermind landing page (built as the AI Accelerator landing).
 *
 * Extends the Signal system (signal.css) with the page-specific lp-* rules from
 * the design handoff. The hero, veil, frames, signal line, CTA band, buttons
 * and inputs are the theme's own components; nothing here redefines a token.
 */

/* In-page anchors clear the 76px sticky site header. */
.lp [id] { scroll-margin-top: 90px; }

/* The handoff's reveal animates transform only, never opacity - the hero form
   in particular must never fade in. */
.lp [data-rs] { opacity: 1; }

/* Hero with the application form ------------------------------------------ */
.lp-hero .rs-hero__grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
@media (max-width: 980px) { .lp-hero .rs-hero__grid { grid-template-columns: 1fr; } }
.lp-hero h1 { font-size: clamp(40px, 6vw, 78px); }
.lp-hero__tagline { color: #fff; font-size: clamp(20px, 2.5vw, 26px); font-weight: 500; line-height: 1.35;
  letter-spacing: -.01em; max-width: 580px; margin: 22px 0 0; text-shadow: 0 1px 12px rgba(0, 0, 0, .5); }
.lp-hero__lead { color: #fff; font-size: clamp(18px, 2.2vw, 22px); font-weight: 500; line-height: 1.45;
  max-width: 540px; margin: 24px 0 0; }
.lp-hero__tagline + .lp-hero__lead { margin-top: 14px; color: var(--neutral-lighter); font-size: clamp(17px, 2vw, 20px); }
.lp-hero__sub { margin-top: 12px; }
.lp-hero__note { color: var(--neutral-lighter); font-size: 15px; line-height: 1.55; max-width: 480px;
  margin: 16px 0 0; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }

/* Under reduced motion the decorative video is dropped and the poster shown
   as a still, so the hero never goes blank. */
@media (prefers-reduced-motion: reduce) {
  .lp-hero .rs-hero__video { display: none; }
  .lp-hero { background: var(--lp-poster) center / cover no-repeat; }
}

/* Application panel */
.lp-reg { position: relative; z-index: 2; background: rgba(22, 22, 22, .9);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: var(--radius-sm); box-shadow: var(--stroke-card), var(--shadow-pop);
  padding: clamp(24px, 3vw, 34px); }
.lp-reg__k { font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.lp-reg h2 { font-size: 26px; letter-spacing: -.015em; margin: 10px 0 6px; }
.lp-reg__sub { color: var(--text-secondary); font-size: 15px; margin: 0 0 20px; }
.lp-reg__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lp-reg__fields .full { grid-column: 1 / -1; }
@media (max-width: 520px) { .lp-reg__fields { grid-template-columns: 1fr; } }
.lp-reg .aai-field { margin: 0; }
.lp-textarea { height: auto; min-height: 104px; padding-top: 12px; padding-bottom: 12px; resize: vertical; line-height: 1.5; }

/* Employee band chips: real radio buttons, so the choice works and is
   required without JavaScript. The pill is drawn on the span that follows. */
.lp-bands { border: 0; margin: 0; padding: 0; min-width: 0; }
.lp-q-lab { font-size: 14px; font-weight: 500; color: var(--text-secondary); margin-bottom: 8px; display: block; padding: 0; }
.lp-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.lp-chip { position: relative; cursor: pointer; }
.lp-chip__in { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.lp-chip__ui { height: 38px; padding: 0 14px; border-radius: 100px; font-size: 14px; font-weight: 500;
  color: var(--text-secondary); box-shadow: inset 0 0 0 1px var(--border-default);
  display: inline-flex; align-items: center; gap: 6px; transition: all .15s var(--ease-out); }
.lp-chip:hover .lp-chip__ui { color: #fff; box-shadow: inset 0 0 0 1px var(--border-strong); }
.lp-chip__tick { display: none; }
.lp-chip__tick svg { display: block; }
.lp-chip__in:checked + .lp-chip__ui { background: var(--accent-subtle); color: #fff; box-shadow: inset 0 0 0 1px var(--accent); }
.lp-chip__in:checked + .lp-chip__ui .lp-chip__tick { display: inline-flex; }
.lp-chip__in:focus-visible + .lp-chip__ui { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 2px var(--accent-subtle); }

.lp-consent { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; color: var(--text-muted);
  font-size: 13px; line-height: 1.5; margin: 16px 0 18px; }
.lp-consent input { width: 17px; height: 17px; margin: 1px 0 0; accent-color: var(--accent); flex: 0 0 auto; }
.lp-consent a { color: var(--text-secondary); text-decoration: underline; text-underline-offset: 3px; }
.lp-consent a:hover { color: #fff; }
.lp-err { color: var(--danger); font-size: 13px; margin-top: 10px; }
.lp-err[hidden] { display: none; }
.lp-reg__form[aria-busy="true"] .aai-btn { opacity: .7; pointer-events: none; }

/* Honeypot - off-screen rather than display:none, which some bots detect. */
.lp-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Success */
.lp-done { text-align: center; padding: 18px 0 6px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lp-done[hidden] { display: none; }
.lp-done__ico { width: 60px; height: 60px; border-radius: 50%; background: var(--accent-subtle); color: var(--accent);
  display: flex; align-items: center; justify-content: center; }
.lp-done h2 { margin: 6px 0 0; }
.lp-done p { color: var(--text-secondary); font-size: 15px; max-width: 360px; margin: 0; }

/* What to expect ------------------------------------------------------------ */
.lp-expect { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .lp-expect { grid-template-columns: 1fr; } }
.lp-mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 200px 200px; gap: 14px; }
.lp-mosaic > :first-child { grid-row: span 2; }
.lp-mosaic .rs-frame { height: 100%; }
.lp-exp h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.025em; line-height: 1.04; margin-top: 16px; }
.lp-exp > p { color: var(--text-secondary); font-size: 17px; margin-top: 16px; }
.lp-exp__list { margin-top: 26px; border-top: 1px solid var(--border-default); }
.lp-exp__row { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle); align-items: start; }
.lp-exp__row .aai-icontile { width: 48px; height: 48px; border-radius: 50%; }
.lp-exp__row h3 { font-size: 17px; margin: 2px 0 4px; }
.lp-exp__row p { color: var(--text-secondary); font-size: 15px; margin: 0; }
.lp-cover-h { font-size: clamp(24px, 3vw, 32px); letter-spacing: -.02em; margin: 56px 0 0; }
.lp-quarters { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 22px; }
@media (max-width: 900px) { .lp-quarters { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .lp-quarters { grid-template-columns: 1fr; } }
.lp-q { padding: 22px 24px; border-radius: var(--radius-sm); background: var(--surface-card); box-shadow: var(--stroke-card);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.lp-q:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent), 0 0 40px -4px rgba(0, 130, 255, .45); }
.lp-q__n { font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.lp-q h3 { font-size: 18px; margin: 8px 0 6px; }
.lp-q p { color: var(--text-secondary); font-size: 14px; margin: 0; }

/* Photo strip ------------------------------------------------------------------ */
.lp-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .lp-strip { grid-template-columns: 1fr 1fr; } }

/* Why us ------------------------------------------------------------------------ */
.lp-why__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.lp-why__head h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.025em; line-height: 1.04; margin-top: 16px; }
.lp-why__head p { color: var(--text-secondary); font-size: 17px; margin-top: 16px; }
.lp-orgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 960px) { .lp-orgs { grid-template-columns: 1fr; max-width: 640px; } }
.lp-org { display: flex; flex-direction: column; padding: clamp(22px, 2.6vw, 30px); border-radius: var(--radius-sm);
  background: var(--surface-card); box-shadow: var(--stroke-card);
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.lp-org:hover { transform: translateY(-4px); box-shadow: inset 0 0 0 1px var(--accent), 0 0 40px -4px rgba(0, 130, 255, .45); }
/* The three logos are white artwork; a fixed-height slot keeps them aligned. */
.lp-org__logo { height: 44px; display: flex; align-items: center; margin-bottom: 22px; }
.lp-org__logo img { max-height: 44px; max-width: 180px; width: auto; height: auto; object-fit: contain; }
.lp-org__company { font-size: 22px; letter-spacing: -.015em; margin: 0; }
.lp-org__focus { color: var(--accent); font-size: 14px; font-weight: 500; margin: 6px 0 0; }
.lp-org__body { color: var(--text-secondary); font-size: 15px; line-height: 1.6; margin: 14px 0 0; }
.lp-org__creds { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--border-subtle);
  display: grid; gap: 10px; }
.lp-org__creds li { display: grid; grid-template-columns: 15px 1fr; gap: 10px; align-items: start;
  color: var(--neutral-lighter); font-size: 14.5px; line-height: 1.45; }
.lp-org__creds svg { color: var(--accent); margin-top: 3px; }
.lp-org__person { display: flex; align-items: flex-start; gap: 14px; margin-top: auto; padding-top: 22px; }
.lp-org__person > div { padding-top: 7px; } /* names line up across cards even when a role wraps */
.lp-org__photo { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: 0 0 auto;
  box-shadow: 0 0 0 2px var(--surface-card), 0 0 0 3px var(--border-default); }
.lp-org__who { font-weight: 600; font-size: 16px; }
.lp-org__role { color: var(--text-muted); font-size: 13.5px; margin-top: 2px; }
.lp-org__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--accent);
  font-size: 14px; font-weight: 500; text-decoration: none; align-self: flex-start; }
.lp-org__link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
/* Where supported, the cards share one set of rows (subgrid), so each part -
   logo, heading, background, credentials, the person - lines up across all
   three even when one card's text wraps further. Elsewhere the person row is
   simply pushed to the bottom of each card. */
@supports (grid-template-rows: subgrid) {
  .lp-orgs { grid-auto-rows: auto; }
  .lp-org { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; align-content: start; }
  .lp-org > * { align-self: start; }
  .lp-org__person { margin-top: 0; }
}

/* FAQs -------------------------------------------------------------------------- */
.lp-signal { margin-bottom: 56px; }
.lp-faq { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 900px) { .lp-faq { grid-template-columns: 1fr; } }
.lp-faq__aside h2 { font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -.025em; line-height: 1.04; margin-top: 16px; }
.lp-faq__aside p { color: var(--text-secondary); font-size: 16px; margin-top: 16px; }
.lp-faq__btn { margin-top: 24px; }
.lp-acc { border-top: 1px solid var(--border-default); }
.lp-acc__i { border-bottom: 1px solid var(--border-default); }
.lp-acc__q { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0;
  cursor: pointer; list-style: none; color: #fff; font-size: 18px; font-weight: 500; }
.lp-acc__q::-webkit-details-marker { display: none; }
.lp-acc__q::marker { content: ""; }
.lp-acc__q:hover { color: var(--accent-hover); }
.lp-acc__q:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 2px; }
.lp-acc__ico { width: 34px; height: 34px; border-radius: 50%; flex: 0 0 auto; display: flex; align-items: center;
  justify-content: center; box-shadow: var(--stroke-card); color: var(--accent);
  transition: transform .25s var(--ease-out), background .2s; }
.lp-acc__i[open] .lp-acc__ico { transform: rotate(45deg); background: var(--accent); color: #fff; box-shadow: none; }
.lp-acc__a { color: var(--text-secondary); font-size: 16px; line-height: 1.6; padding: 0 56px 24px 0; max-width: 720px; }
@media (max-width: 520px) { .lp-acc__a { padding-right: 0; } }

@media (prefers-reduced-motion: reduce) {
  .lp-q, .lp-q:hover, .lp-org, .lp-org:hover, .lp-acc__ico { transition: none; transform: none; }
  .lp-acc__i[open] .lp-acc__ico { transform: rotate(45deg); }
}
