/* =========================================================
   Websting AI Tools page
   Production page-specific styles
   Load after styles.css and theme.css
   ========================================================= */

.ai-tools-page {
  --ai-purple-rgb: 176, 144, 255;
  --ai-teal-rgb: 111, 226, 214;
  --ai-gold-rgb: 245, 196, 94;
  --ai-pink-rgb: 237, 139, 199;
}

.ai-tools-page .site-nav a[aria-current="page"],
.ai-tools-page .mobile-site-nav a[aria-current="page"],
.ai-tools-page .footer-nav a[aria-current="page"] {
  color: var(--gold-300);
}

.ai-tools-page .page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 690px;
  padding: clamp(2rem, 3vw, 2.8rem) 0 clamp(3.5rem, 5vw, 4.5rem);
  overflow: hidden;
}

.ai-tools-page .hero-background {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.ai-tools-page .hero-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 76% 26%, rgba(var(--ai-purple-rgb), 0.2), transparent 29%),
    radial-gradient(circle at 84% 76%, rgba(var(--ai-teal-rgb), 0.11), transparent 31%),
    radial-gradient(circle at 16% 22%, rgba(var(--ai-gold-rgb), 0.09), transparent 27%),
    linear-gradient(180deg, rgba(5, 5, 8, 0.08), rgba(2, 2, 4, 0.64));
}

.ai-tools-page .hero-grid {
  position: absolute;
  width: 40rem;
  height: 40rem;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%);
}

.ai-tools-page .hero-grid-left {
  left: -15rem;
  top: 5rem;
  transform: rotate(12deg);
}

.ai-tools-page .hero-grid-right {
  right: -13rem;
  bottom: -11rem;
  transform: rotate(-10deg);
}

.ai-tools-page .hero-orb {
  position: absolute;
  width: 19rem;
  height: 19rem;
  border-radius: 50%;
  filter: blur(84px);
  opacity: 0.18;
}

.ai-tools-page .hero-orb-left {
  left: 3%;
  bottom: 4%;
  background: rgb(var(--ai-gold-rgb));
}

.ai-tools-page .hero-orb-right {
  right: 7%;
  top: 11%;
  background: rgb(var(--ai-purple-rgb));
}

.ai-hero-layout {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2.7rem, 6vw, 5.8rem);
  align-items: center;
}

.ai-tools-page .hero-copy {
  gap: 1.15rem;
}

.ai-hero-title {
  max-width: 12ch;
  font-size: clamp(2.85rem, 5.4vw, 4.6rem);
}

.ai-hero-title span {
  display: block;
  color: transparent;
  background:
    linear-gradient(
      90deg,
      var(--gold-300) 0%,
      #f0a8d8 35%,
      #b59bff 66%,
      #8bf0e0 100%
    );
  -webkit-background-clip: text;
  background-clip: text;
}

.ai-tools-page .hero-text {
  max-width: 46rem;
}

.tool-chip-list,
.outcome-tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tool-chip-list li,
.outcome-tool-list li {
  padding: 0.55rem 0.76rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.045);
  font-size: 0.78rem;
  line-height: 1.2;
}

.hero-media-card,
.outcome-media,
.case-media,
.challenge-media,
.custom-studio-media {
  min-width: 0;
  padding: clamp(0.65rem, 1.4vw, 0.9rem);
  overflow: hidden;
}

.placeholder-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: clamp(20px, 3vw, 30px);
  object-fit: cover;
}

.image-slot-caption {
  display: grid;
  gap: 0.25rem;
  padding: 0.85rem 0.35rem 0.2rem;
}

.image-slot-caption strong {
  color: var(--text);
  font-size: 0.88rem;
}

.image-slot-caption span {
  color: var(--text-dim);
  font-size: 0.76rem;
  line-height: 1.5;
}

.tools-section-nav {
  position: sticky;
  top: 5.4rem;
  z-index: 38;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(5, 5, 8, 0.86);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tools-section-nav-inner {
  display: flex;
  gap: 0.3rem;
  overflow-x: auto;
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
  scrollbar-width: none;
}

.tools-section-nav-inner::-webkit-scrollbar {
  display: none;
}

.tools-section-nav a {
  flex: 0 0 auto;
  padding: 0.65rem 0.85rem;
  border-radius: 999px;
  color: var(--text-dim);
  font-size: 0.83rem;
  font-weight: 700;
  white-space: nowrap;
}

.tools-section-nav a:hover,
.tools-section-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.why-grid,
.entry-path-grid,
.pricing-grid,
.faq-grid {
  display: grid;
  gap: var(--space-5);
}

.why-card,
.entry-path-card,
.pricing-card {
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 1.8rem);
}

.why-card {
  display: grid;
  align-content: start;
  gap: 0.68rem;
  min-height: 100%;
}

.why-card h3 {
  line-height: 1.18;
}

.why-card p {
  line-height: 1.62;
}

.why-card > span,
.entry-path-card > span {
  color: var(--gold-300);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Why Studio section */
.ai-tools-page #why-studio .section-stack {
  gap: clamp(1.4rem, 3vw, 2.25rem);
}

.ai-tools-page #why-studio .section-heading {
  gap: 0.62rem;
}

.ai-tools-page #why-studio .eyebrow {
  margin-bottom: 0.18rem;
}

.ai-tools-page #why-studio .why-studio-title {
  margin: 0;
  color: var(--text);
  background: none !important;
  line-height: 1.03;
  animation: none !important;
  -webkit-background-clip: border-box;
  background-clip: border-box;
  -webkit-text-fill-color: currentColor;
}

.ai-tools-page #why-studio .why-studio-title-accent {
  display: inline;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    var(--gold-300) 0%,
    #e8a5cf 34%,
    #ad91f2 67%,
    #72c9c9 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  -webkit-text-fill-color: transparent;
}

.ai-tools-page #why-studio .why-studio-positioning {
  max-width: 44rem;
  margin: 0;
  color: var(--text);
  font-size: clamp(1.04rem, 1.8vw, 1.24rem);
  font-weight: 600;
  line-height: 1.45;
}

.ai-tools-page #why-studio .why-grid-intro {
  max-width: 48rem;
  margin: 0;
  color: var(--text-soft);
  font-size: clamp(1rem, 1.6vw, 1.1rem);
  line-height: 1.65;
}

.ai-tools-page #why-studio .why-section-action {
  display: flex;
  justify-content: flex-start;
}

.entry-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-height: 100%;
  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.entry-path-card:hover {
  transform: translateY(-3px);
}

.entry-path-card small {
  display: block;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  line-height: 1.55;
}

.outcomes-stack {
  display: grid;
  gap: clamp(3rem, 8vw, 7rem);
}

.outcome-feature {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.outcome-copy {
  display: grid;
  gap: 1.1rem;
  align-content: center;
}

.outcome-index {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--gold-300);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.outcome-index::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: currentColor;
}

.outcome-copy h3 {
  font-size: clamp(2rem, 4.5vw, 3.6rem);
}

.outcome-points {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.outcome-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-soft);
}

.outcome-points li::before {
  content: "";
  position: absolute;
  top: 0.6em;
  left: 0;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #b99fff, #7fe4d8);
  box-shadow: 0 0 16px rgba(var(--ai-purple-rgb), 0.45);
}

.fun-band {
  position: relative;
  overflow: hidden;
}

.fun-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 30%, rgba(var(--ai-pink-rgb), 0.13), transparent 28%),
    radial-gradient(circle at 86% 70%, rgba(var(--ai-teal-rgb), 0.13), transparent 31%);
  pointer-events: none;
}

.fun-band-inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.fun-copy {
  display: grid;
  gap: 1rem;
}

.fun-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.fun-tool {
  min-width: 0;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 17px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.04);
  font-size: 0.82rem;
  text-align: center;
}

.case-study-heading {
  display: grid;
  gap: 1.5rem;
  align-items: end;
}

.graduate-profile {
  display: grid;
  gap: 1.3rem;
  padding: clamp(1.3rem, 3vw, 2rem);
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--ai-purple-rgb), 0.14), transparent 35%),
    rgba(255, 255, 255, 0.055);
}

.graduate-profile-copy {
  display: grid;
  gap: 0.65rem;
}

.case-study-label {
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.graduate-profile-details {
  display: grid;
  gap: 0.75rem;
}

.graduate-profile-details > div {
  display: grid;
  gap: 0.25rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.035);
}

.graduate-profile-details span {
  color: var(--text-dim);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.graduate-profile-details strong {
  color: var(--text);
  font-size: 0.9rem;
}

.case-layout {
  display: grid;
  gap: var(--space-5);
  align-items: start;
}

.case-steps {
  display: grid;
  gap: 0.9rem;
}

.case-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  padding: 1.1rem;
}

.case-step-number {
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.case-step-content {
  display: grid;
  gap: 0.55rem;
}

.case-step-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.35rem;
}

.case-step-tools span {
  padding: 0.42rem 0.58rem;
  border-radius: 999px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.05);
  font-size: 0.72rem;
}

.case-conclusion {
  display: grid;
  gap: 1rem;
  align-items: center;
  padding: clamp(1.3rem, 3vw, 2rem);
  border-color: rgba(var(--ai-teal-rgb), 0.24);
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--ai-teal-rgb), 0.12), transparent 35%),
    rgba(255, 255, 255, 0.055);
}

.studio-path {
  display: grid;
  gap: 1rem;
  align-items: stretch;
}

.studio-path-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  padding: clamp(1.25rem, 2.6vw, 1.8rem);
}

.studio-path-number {
  color: var(--gold-300);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
}

.studio-path-card ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.15rem;
}

.studio-path-card li {
  color: var(--text-soft);
}

.studio-path-card-featured {
  border-color: rgba(var(--ai-gold-rgb), 0.28);
  background:
    radial-gradient(circle at 88% 8%, rgba(var(--ai-gold-rgb), 0.13), transparent 35%),
    rgba(255, 255, 255, 0.06);
}

.studio-path-connector {
  display: grid;
  min-height: 2rem;
  place-items: center;
}

.studio-path-connector span {
  display: block;
  width: 2px;
  height: 100%;
  background:
    linear-gradient(
      rgba(var(--ai-purple-rgb), 0.15),
      rgba(var(--ai-teal-rgb), 0.65),
      rgba(var(--ai-gold-rgb), 0.15)
    );
}

.challenge-intro-layout,
.challenge-layout,
.custom-studio-layout {
  display: grid;
  gap: var(--space-8);
  align-items: center;
}

.challenge-intro-copy,
.custom-studio-copy {
  display: grid;
  gap: 1.1rem;
}

.challenge-form,
.challenge-result {
  min-width: 0;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.challenge-form {
  display: grid;
  gap: 1.35rem;
  align-content: start;
}

.quick-profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.quick-profile-list .pill-button {
  padding: 0.65rem 0.85rem;
  font-size: 0.84rem;
}

.quick-profile-list .pill-button.is-active {
  color: var(--text);
  border-color: rgba(var(--ai-gold-rgb), 0.42);
  background: rgba(var(--ai-gold-rgb), 0.12);
}

.challenge-result {
  display: grid;
  min-height: 100%;
  align-content: center;
  background:
    radial-gradient(circle at 85% 10%, rgba(var(--ai-teal-rgb), 0.12), transparent 35%),
    rgba(255, 255, 255, 0.055);
}

.challenge-result-empty {
  display: grid;
  justify-items: center;
  max-width: 30rem;
  margin: auto;
  text-align: center;
}

.challenge-result-empty .label {
  margin-top: 1.5rem;
}

.challenge-result-empty h3 {
  margin-top: 0.45rem;
}

.challenge-result-empty p:last-child {
  margin-top: 0.7rem;
}

.result-orbit {
  position: relative;
  display: block;
  width: 7.5rem;
  height: 7.5rem;
  border: 1px solid rgba(var(--ai-purple-rgb), 0.32);
  border-radius: 50%;
  box-shadow:
    inset 0 0 45px rgba(var(--ai-purple-rgb), 0.1),
    0 0 70px rgba(var(--ai-teal-rgb), 0.07);
}

.result-orbit::before,
.result-orbit::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.result-orbit::before {
  inset: 1.25rem;
  border: 1px solid rgba(var(--ai-teal-rgb), 0.28);
}

.result-orbit::after {
  inset: 2.65rem;
  background: linear-gradient(135deg, #c3adff, #8ceadf);
  box-shadow: 0 0 30px rgba(var(--ai-purple-rgb), 0.55);
}

.result-orbit span {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 14px rgba(var(--ai-gold-rgb), 0.75);
}

.result-orbit span:nth-child(1) {
  left: 0.8rem;
  top: 2rem;
}

.result-orbit span:nth-child(2) {
  right: 0.8rem;
  top: 3.2rem;
  background: #a995ff;
}

.result-orbit span:nth-child(3) {
  left: 3.5rem;
  bottom: 0.45rem;
  background: #8be9dc;
}

.challenge-result-content {
  display: grid;
  gap: 1.25rem;
}

.result-heading {
  display: grid;
  gap: 0.55rem;
}

.result-section {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(0, 0, 0, 0.2);
}

.result-use-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding-left: 1.25rem;
}

.result-use-list li {
  color: var(--text-soft);
}

.result-use-list li::marker {
  color: var(--gold-300);
  font-weight: 800;
}

.result-detail-grid {
  display: grid;
  gap: 0.75rem;
}

.result-detail-grid > div {
  display: grid;
  gap: 0.3rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
}

.result-detail-grid span {
  color: var(--text-dim);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-detail-grid strong {
  color: var(--text);
  font-size: 0.92rem;
}

.pricing-grid {
  align-items: stretch;
}

.pricing-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 100%;
}

.pricing-card-featured {
  border-color: rgba(var(--ai-gold-rgb), 0.34);
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--ai-gold-rgb), 0.14), transparent 34%),
    rgba(255, 255, 255, 0.065);
}

.pricing-label {
  color: var(--gold-300);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
}

.price-line strong {
  color: var(--text);
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
}

.price-line span {
  color: var(--text-dim);
}

.pricing-card ul {
  display: grid;
  gap: 0.6rem;
  margin: 0;
  padding-left: 1.15rem;
}

.pricing-card li {
  color: var(--text-soft);
}

.pricing-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.pricing-note {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
  line-height: 1.6;
}

.custom-studio-features {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.custom-studio-features li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-soft);
}

.custom-studio-features li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 14px rgba(var(--ai-gold-rgb), 0.45);
}

.faq-grid {
  align-items: start;
}

.faq-column {
  display: grid;
  gap: 0.75rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.045);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  padding: 1.05rem 3.2rem 1.05rem 1.1rem;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 1.1rem;
  color: var(--gold-300);
  font-size: 1.45rem;
  transform: translateY(-50%);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 1.1rem 1.1rem;
}

.ai-tools-page .final-cta-panel {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(var(--ai-gold-rgb), 0.13), transparent 35%),
    radial-gradient(circle at 94% 100%, rgba(var(--ai-purple-rgb), 0.14), transparent 38%),
    rgba(255, 255, 255, 0.06);
}

.ai-tools-page .final-cta-panel > div:first-child {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.ai-tools-page .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 600ms ease,
    transform 600ms ease;
}

.ai-tools-page .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.ai-tools-page .mobile-site-nav {
  position: fixed;
  top: 5.75rem;
  right: 1rem;
  left: 1rem;
  z-index: 49;
  display: none;
  max-height: calc(100svh - 7rem);
  overflow-y: auto;
  padding: 0.9rem;
  border-radius: 24px;
  background: rgba(7, 7, 10, 0.96);
}

.ai-tools-page.mobile-menu-open .mobile-site-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.ai-tools-page .mobile-site-nav a {
  padding: 0.8rem 0.9rem;
  border-radius: 14px;
}

.ai-tools-page .mobile-site-nav a:not(.button):hover,
.ai-tools-page .mobile-site-nav a:not(.button):focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

.ai-tools-page .mobile-site-nav .button {
  margin-top: 0.35rem;
}

@media (min-width: 48rem) {
  .why-grid,
  .entry-path-grid,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .graduate-profile-details,
  .result-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .graduate-profile {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  }

  .case-conclusion,
  .ai-tools-page .final-cta-panel {
    grid-template-columns: minmax(0, 1fr) auto;
  }
}

@media (min-width: 64rem) {
  .ai-hero-layout,
  .challenge-intro-layout,
  .challenge-layout,
  .custom-studio-layout {
    grid-template-columns: minmax(0, 1fr) minmax(28rem, 0.95fr);
  }

  .why-grid,
  .entry-path-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .outcome-feature {
    grid-template-columns: minmax(0, 0.92fr) minmax(28rem, 1.08fr);
  }

  .outcome-feature:nth-child(even) .outcome-copy {
    order: 2;
  }

  .outcome-feature:nth-child(even) .outcome-media {
    order: 1;
  }

  .fun-band-inner,
  .case-study-heading,
  .case-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(28rem, 1.1fr);
  }

  .studio-path {
    grid-template-columns:
      minmax(0, 1fr)
      4rem
      minmax(0, 1fr)
      4rem
      minmax(0, 1fr);
  }

  .studio-path-connector {
    min-height: 0;
  }

  .studio-path-connector span {
    width: 100%;
    height: 2px;
  }

  .pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 80rem) {
  .ai-tools-page .site-header .site-nav {
    display: none !important;
  }

  .ai-tools-page .site-header .nav-toggle {
    display: inline-flex !important;
  }
}

@media (max-width: 63.99rem) {
  .ai-tools-page .page-hero {
    min-height: auto;
    padding: clamp(2.5rem, 7vw, 3.75rem) 0 clamp(3.5rem, 8vw, 4.75rem);
  }
}

@media (max-width: 47.99rem) {

  .ai-hero-title {
    max-width: none;
    font-size: clamp(2.65rem, 13vw, 4rem);
  }

  .tools-section-nav {
    top: 5rem;
  }

  .quick-profile-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
  }

  .quick-profile-list::-webkit-scrollbar {
    display: none;
  }

  .quick-profile-list .pill-button {
    flex: 0 0 auto;
  }

  .case-step {
    grid-template-columns: 1fr;
  }

  .pricing-card .button,
  .challenge-result .button,
  .ai-tools-page .final-cta-panel .button,
  .ai-tools-page #why-studio .why-section-action .button {
    width: 100%;
  }

  .ai-tools-page .final-cta-panel .hero-actions,
  .challenge-result .result-actions {
    display: grid;
    width: 100%;
  }
}

html[data-theme="light"] .ai-tools-page #why-studio .why-studio-title {
  color: #171925;
}

html[data-theme="light"] .ai-tools-page #why-studio .why-studio-title-accent {
  background-image: linear-gradient(
    90deg,
    #9a6815 0%,
    #9a4e80 34%,
    #674eb7 67%,
    #276e73 100%
  );
}

html[data-theme="light"] .ai-tools-page .page-hero {
  color: #fff;
  background:
    radial-gradient(circle at 72% 30%, rgba(var(--ai-purple-rgb), 0.2), transparent 28%),
    radial-gradient(circle at 82% 72%, rgba(var(--ai-teal-rgb), 0.1), transparent 30%),
    linear-gradient(180deg, #12121a 0%, #090910 100%);
}

html[data-theme="light"] .ai-tools-page .page-hero p,
html[data-theme="light"] .ai-tools-page .page-hero .tool-chip-list li {
  color: rgba(255, 255, 255, 0.8);
}

html[data-theme="light"] .ai-tools-page .tools-section-nav {
  border-color: rgba(28, 31, 45, 0.12);
  background: rgba(246, 248, 252, 0.92);
}

html[data-theme="light"] .ai-tools-page .tools-section-nav a {
  color: rgba(23, 25, 37, 0.65);
}

html[data-theme="light"] .ai-tools-page .tools-section-nav a:hover,
html[data-theme="light"] .ai-tools-page .tools-section-nav a:focus-visible {
  color: #171925;
  background: rgba(103, 78, 183, 0.08);
}

html[data-theme="light"] .ai-tools-page .graduate-profile,
html[data-theme="light"] .ai-tools-page .case-conclusion,
html[data-theme="light"] .ai-tools-page .challenge-result,
html[data-theme="light"] .ai-tools-page .pricing-card-featured,
html[data-theme="light"] .ai-tools-page .studio-path-card-featured,
html[data-theme="light"] .ai-tools-page .final-cta-panel {
  background:
    radial-gradient(circle at 90% 0%, rgba(var(--ai-purple-rgb), 0.1), transparent 34%),
    radial-gradient(circle at 2% 100%, rgba(var(--ai-teal-rgb), 0.08), transparent 35%),
    rgba(255, 255, 255, 0.82);
}

html[data-theme="light"] .ai-tools-page .graduate-profile-details > div,
html[data-theme="light"] .ai-tools-page .result-section,
html[data-theme="light"] .ai-tools-page .result-detail-grid > div,
html[data-theme="light"] .ai-tools-page .faq-item {
  border-color: rgba(28, 31, 45, 0.12);
  background: rgba(247, 248, 252, 0.78);
}

html[data-theme="light"] .ai-tools-page .graduate-profile-details strong,
html[data-theme="light"] .ai-tools-page .result-detail-grid strong {
  color: #171925;
}

html[data-theme="light"] .ai-tools-page .entry-path-card small {
  border-color: rgba(28, 31, 45, 0.12);
}

html[data-theme="light"] .ai-tools-page .mobile-site-nav {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(28, 31, 45, 0.13);
  box-shadow: 0 24px 60px -36px rgba(28, 31, 45, 0.45);
}

@media (prefers-reduced-motion: reduce) {
  .ai-tools-page .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .entry-path-card:hover {
    transform: none;
  }
}
