/* =========================================================
   ASK PAGE V2
   Learning Rewired Lab
   Page-specific styling only
   Header and footer are injected by shared JS
   ========================================================= */

.ask-page-v2 {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(87, 112, 255, 0.10), transparent 28%),
    radial-gradient(circle at 86% 14%, rgba(19, 186, 174, 0.10), transparent 30%),
    #ffffff;
  color: #080b12;
  overflow: hidden;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ask-page-v2 *,
.ask-page-v2 *::before,
.ask-page-v2 *::after {
  box-sizing: border-box;
}

.ask-hero-section,
.ask-thesis-section,
.ask-embed-section,
.ask-prompts-section,
.ask-ecosystem-section,
.ask-final-cta-section {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

.ask-hero-inner,
.ask-thesis-card,
.ask-embed-inner,
.ask-prompts-inner,
.ask-ecosystem-inner,
.ask-final-cta-card {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.ask-prompts-inner,
.ask-ecosystem-inner {
  max-width: 1060px;
}

.ask-eyebrow,
.ask-section-kicker,
.ask-card-kicker {
  margin: 0 0 14px;
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #3159f5;
}


/* Hero */

.ask-hero-section {
  padding-top: clamp(64px, 8vw, 112px);
  padding-bottom: clamp(72px, 8vw, 124px);
}

.ask-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.72fr);
  gap: clamp(44px, 6vw, 88px);
  align-items: center;
}

.ask-hero-copy h1,
.ask-section-header h2,
.ask-thesis-card h2,
.ask-final-cta-card h2 {
  margin: 0;
  color: #07111f;
  letter-spacing: -0.052em;
  line-height: 1.04;
}

.ask-hero-copy h1 {
  max-width: 850px;
  font-size: clamp(3.15rem, 6.15vw, 6.05rem);
  padding-bottom: 0.12em;
  overflow: visible;
}

.ask-hero-copy h1 span,
.ask-final-cta-card h2 span {
  display: block;
  padding-bottom: 0.06em;
  background: linear-gradient(100deg, #1c4cff 0%, #6c3cff 46%, #00a99d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.ask-hero-intro {
  max-width: 700px;
  margin: 28px 0 0;
  color: #4e5a6d;
  font-size: clamp(1.05rem, 1.45vw, 1.28rem);
  line-height: 1.72;
}

.ask-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ask-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 850;
  line-height: 1;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.ask-btn:hover {
  transform: translateY(-2px);
}

.ask-btn-primary {
  color: #ffffff;
  background: linear-gradient(100deg, #1d4cff 0%, #6845ff 56%, #00a99d 120%);
  box-shadow: 0 18px 44px rgba(29, 76, 255, 0.24);
}

.ask-btn-secondary {
  color: #101827;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(16, 24, 39, 0.13);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.ask-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.ask-status-row span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(49, 89, 245, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: #344154;
  font-size: 0.84rem;
  font-weight: 760;
}


/* Assistant visual */

.ask-hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

.ask-hero-visual::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(49, 89, 245, 0.18), transparent 58%),
    radial-gradient(circle at 75% 25%, rgba(0, 169, 157, 0.16), transparent 44%);
  filter: blur(4px);
  z-index: 0;
}

.ask-assistant-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 14px;
  border-radius: 34px;
  background: linear-gradient(145deg, #101827, #111b31);
  box-shadow:
    0 32px 90px rgba(12, 20, 38, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.ask-assistant-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.72);
}

.ask-assistant-topbar div {
  display: flex;
  gap: 7px;
}

.ask-assistant-topbar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
}

.ask-assistant-topbar p {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ask-chat-window {
  display: grid;
  gap: 16px;
  min-height: 430px;
  padding: 22px;
  border-radius: 26px;
  background:
    radial-gradient(circle at 12% 8%, rgba(74, 111, 255, 0.18), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f6f8ff 100%);
}

.ask-message {
  max-width: 88%;
  padding: 16px 18px;
  border-radius: 22px;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.08);
}

.ask-message p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.55;
}

.ask-message-user {
  justify-self: end;
  background: #101827;
  color: #ffffff;
  border-bottom-right-radius: 8px;
}

.ask-message-lab {
  justify-self: start;
  background: #ffffff;
  color: #293446;
  border: 1px solid rgba(16, 24, 39, 0.09);
  border-bottom-left-radius: 8px;
}

.ask-suggestion-stack {
  display: grid;
  gap: 10px;
  align-self: end;
}

.ask-suggestion-stack button {
  width: 100%;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(16, 24, 39, 0.10);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: #273245;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 780;
  text-align: left;
}


/* Thesis */

.ask-thesis-section,
.ask-embed-section,
.ask-prompts-section,
.ask-ecosystem-section,
.ask-final-cta-section {
  padding-top: clamp(68px, 8vw, 116px);
  padding-bottom: clamp(68px, 8vw, 116px);
}

.ask-thesis-card {
  max-width: 920px;
  padding: clamp(30px, 5vw, 56px);
  border-radius: 42px;
  background:
    linear-gradient(145deg, rgba(248, 250, 255, 0.94), rgba(255, 255, 255, 0.96)),
    #ffffff;
  border: 1px solid rgba(16, 24, 39, 0.09);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.10);
}

.ask-thesis-card h2 {
  max-width: 760px;
  font-size: clamp(2.1rem, 4.4vw, 4.1rem);
}

.ask-thesis-card p {
  max-width: 760px;
  margin: 22px 0 0;
  color: #526074;
  font-size: 1.04rem;
  line-height: 1.72;
}


/* Shared section headers */

.ask-section-header {
  max-width: 780px;
  margin: 0 auto clamp(34px, 4vw, 52px);
  text-align: center;
}

.ask-section-header h2 {
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
}

.ask-section-header p {
  margin: 22px auto 0;
  color: #526074;
  font-size: 1.04rem;
  line-height: 1.72;
}


/* Embed */

.ask-embed-inner {
  max-width: 1060px;
}

.ask-embed-shell {
  width: 100%;
  min-height: 740px;
  overflow: hidden;
  border-radius: 36px;
  background: #ffffff;
  border: 1px solid rgba(16, 24, 39, 0.10);
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.ask-embed-shell iframe {
  display: block;
  width: 100%;
  height: 740px;
  border: 0;
}

.ask-embed-note {
  max-width: 760px;
  margin: 18px auto 0;
  color: #677287;
  font-size: 0.94rem;
  line-height: 1.6;
  text-align: center;
}

.ask-embed-note a {
  color: #3159f5;
  font-weight: 800;
  text-decoration: none;
}

.ask-embed-note a:hover {
  text-decoration: underline;
}


/* Prompt cards */

.ask-prompt-grid,
.ask-ecosystem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
}

.ask-prompt-card,
.ask-ecosystem-card {
  min-height: 220px;
  padding: 30px;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(16, 24, 39, 0.09);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
}

.ask-prompt-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: #ffffff;
  background: linear-gradient(135deg, #1d4cff, #00a99d);
  font-size: 0.82rem;
  font-weight: 900;
}

.ask-prompt-card h3,
.ask-ecosystem-card h3 {
  margin: 16px 0 0;
  color: #111827;
  font-size: 1.22rem;
  letter-spacing: -0.035em;
}

.ask-prompt-card p,
.ask-ecosystem-card p {
  margin: 12px 0 0;
  color: #5b6678;
  font-size: 0.96rem;
  line-height: 1.65;
}


/* Ecosystem cards */

.ask-ecosystem-card.featured {
  color: #ffffff;
  background:
    radial-gradient(circle at 16% 10%, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(145deg, #101827, #1d4cff 58%, #00a99d 125%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 26px 74px rgba(29, 76, 255, 0.22);
}

.ask-ecosystem-card.featured .ask-card-kicker,
.ask-ecosystem-card.featured h3,
.ask-ecosystem-card.featured p {
  color: #ffffff;
}

.ask-ecosystem-card.featured p {
  opacity: 0.84;
}


/* Final CTA */

.ask-final-cta-card {
  padding: clamp(34px, 5vw, 64px);
  border-radius: 42px;
  text-align: center;
  background:
    radial-gradient(circle at 16% 12%, rgba(49, 89, 245, 0.16), transparent 30%),
    radial-gradient(circle at 82% 20%, rgba(0, 169, 157, 0.16), transparent 30%),
    linear-gradient(145deg, #f8faff, #ffffff);
  border: 1px solid rgba(16, 24, 39, 0.09);
  box-shadow: 0 28px 84px rgba(15, 23, 42, 0.10);
}

.ask-final-cta-card h2 {
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(2.35rem, 4.7vw, 4.6rem);
}

.ask-final-cta-card p {
  max-width: 720px;
  margin: 22px auto 0;
  color: #526074;
  font-size: 1.04rem;
  line-height: 1.72;
}

.ask-cta-actions {
  justify-content: center;
}


/* Responsive */

@media (max-width: 980px) {
  .ask-hero-inner {
    grid-template-columns: 1fr;
  }

  .ask-hero-copy {
    text-align: center;
  }

  .ask-hero-intro {
    margin-left: auto;
    margin-right: auto;
  }

  .ask-hero-actions,
  .ask-status-row {
    justify-content: center;
  }

  .ask-prompt-grid,
  .ask-ecosystem-grid {
    grid-template-columns: 1fr;
  }

  .ask-embed-shell {
    min-height: 680px;
  }

  .ask-embed-shell iframe {
    height: 680px;
  }
}

@media (max-width: 680px) {
  .ask-hero-section,
  .ask-thesis-section,
  .ask-embed-section,
  .ask-prompts-section,
  .ask-ecosystem-section,
  .ask-final-cta-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .ask-hero-copy h1 {
    font-size: clamp(3rem, 16vw, 4.35rem);
    letter-spacing: -0.058em;
    line-height: 1.04;
    padding-bottom: 0.14em;
  }

  .ask-section-header h2,
  .ask-thesis-card h2,
  .ask-final-cta-card h2 {
    font-size: clamp(2.25rem, 12vw, 3.35rem);
    letter-spacing: -0.055em;
    line-height: 1.04;
  }

  .ask-hero-actions,
  .ask-cta-actions {
    flex-direction: column;
  }

  .ask-btn {
    width: 100%;
  }

  .ask-assistant-shell {
    width: min(100%, 340px);
  }

  .ask-chat-window {
    min-height: 410px;
    padding: 18px;
  }

  .ask-message {
    max-width: 94%;
  }

  .ask-embed-shell {
    min-height: 620px;
    border-radius: 28px;
  }

  .ask-embed-shell iframe {
    height: 620px;
  }
}
