/* CodePulse and AFH-LR detail pages (framework slides 10-17). Approved product components keep their own styles. */
@layer pages {
  /* Product names use the Home hero size, so the gradient reads as bright as the Home title (Riley, 2026-10-21). */
  .ix-product-page main h1{font-size:var(--ix-hero-type);line-height:1.04;letter-spacing:-.04em;font-weight:520;color:var(--ix-t-title);}
  .ix-product-page .ix-product-tagline{display:block;margin-top:var(--ix-space-4);font-size:var(--ix-heading);line-height:var(--ix-heading-lh);letter-spacing:var(--ix-heading-ls);font-weight:500;color:var(--ix-t-heading);}
  .ix-product-page .ix-scene__copy>.ix-body{max-width:34em;margin-top:var(--ix-space-5);font-size:var(--ix-section-copy-type);line-height:1.65;color:var(--ix-t-body);}
  .ix-product-page .ix-product-actions{display:flex;flex-wrap:wrap;gap:var(--ix-space-3);margin-top:var(--ix-space-6);}
  /* Section titles and the AFH-LR capability text use the Home section sizes (Riley, 2026-10-29; tokens.css). */
  .ix-product-page .ix-section-title{font-size:var(--ix-section-title-size);line-height:1.15;letter-spacing:-.015em;font-weight:500;color:var(--ix-t-title);}
  .ix-product-page .ix-product-head{max-width:none;margin:0 0 var(--ix-space-7);text-align:left;}
  .ix-product-page .ix-product-head .ix-meta{display:block;margin-bottom:var(--ix-space-3);color:var(--ix-ui-blue);}
  .ix-product-page .ix-product-head .ix-body{margin:var(--ix-space-4) 0 0;max-width:46rem;font-size:var(--ix-copy-size);color:var(--ix-t-body);}
  .ix-product-page :is(.ix-product-band,.ix-scene--hero-center)>.ix-scene__inner{display:block;}
  .ix-product-page .ix-product-band>.ix-scene__inner{padding:var(--ix-space-8) 0;}

  /* CodePulse intro: a wider text column; the hero window (codepulse-hero.css) fits the page at every width and gives
     the text more room (Riley, 2026-11-02). */
  .ix-product-page .ix-scene--story:not(.ix-product-band){overflow-x:clip;}
  .ix-product-page .ix-scene--story:not(.ix-product-band) .ix-scene__inner{grid-template-columns:minmax(31rem,1fr) minmax(0,800px);gap:var(--ix-space-7);}
  .ix-product-page .ix-scene--story:not(.ix-product-band) .ix-scene__stage{min-width:0;margin-right:0;}

  /* AFH-LR capabilities (slide 15; Riley, 2026-10-29): each feature has its own window, and both use the same alignment.
     The capability name is the title, then an emphasized subtitle and the text; the visual sits centred in the space
     to the right (afh-lr-visuals.css). Since 2026-11-02 (Riley) the title runs on one line above both columns and the
     visual starts level with the subtitle, so it aligns with the text rather than the title. Below 1100 px the visual
     moves below the text. */
  .ix-product-page .ix-lr-capabilities>.ix-scene__inner{display:grid;grid-template-columns:minmax(0,1fr);padding:clamp(24px,4svh,48px) 0;}
  .ix-product-page .ix-product-feature{display:grid;grid-template-columns:minmax(18rem,32rem) minmax(0,1fr);justify-content:start;
    grid-template-rows:auto auto 1fr;grid-template-areas:"title title" "sub visual" "body visual";column-gap:clamp(64px,7vw,140px);}
  .ix-product-page .ix-product-feature__copy{display:contents;}
  .ix-product-page .ix-product-feature .ix-section-title{grid-area:title;text-wrap:balance;}
  .ix-product-page .ix-product-feature .ix-product-subtitle{grid-area:sub;align-self:start;}
  .ix-product-page .ix-product-feature__copy .ix-body{grid-area:body;align-self:start;}
  .ix-product-page .ix-product-feature__visual{grid-area:visual;align-self:start;margin-top:var(--ix-space-4);}
  @media(min-width:1101px){.ix-product-page .ix-product-feature .ix-section-title{white-space:nowrap;}}
  .ix-product-page .ix-product-subtitle{width:fit-content;margin-top:var(--ix-space-4);padding-bottom:.12em;font-size:clamp(1.25rem,1.7vw,1.625rem);font-weight:500;line-height:1.3;
    background-image:var(--ix-title-sheen);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;color:transparent;}
  .ix-product-page .ix-product-feature__copy .ix-body{max-width:34em;margin-top:var(--ix-space-4);font-size:var(--ix-section-body-size);line-height:1.6;color:var(--ix-t-body);text-wrap:pretty;}
  .ix-product-page .ix-product-feature__visual{min-width:0;display:flex;justify-content:center;}

  .ix-product-page .ix-scene--hero-center .ix-scene__inner{padding:var(--ix-space-8) 0 var(--ix-space-6);}
  .ix-product-page .ix-scene--hero-center .ix-scene__copy{max-width:54rem;margin:auto;text-align:center;}
  /* The AFH-LR hero text runs in two lines at desktop widths (Riley, 2026-10-29). */
  /* 54rem holds the first sentence (851 px at 20 px) on one line, so the paragraph runs in two lines (Riley, 2026-11-03). */
  .ix-product-page .ix-scene--hero-center .ix-scene__copy>.ix-body{max-width:54rem;margin-left:auto;margin-right:auto;}
  .ix-product-page .ix-scene--hero-center .ix-product-actions{justify-content:center;}

  /* Slide 11: the three approved CodePulse panels under one section heading. */
  .ix-product-page .ix-product-capabilities .ix-scene__inner{display:block;min-height:0;}
  .ix-product-page .ix-product-capabilities .idx-matrix-cell h3{margin-top:0;font-size:var(--ix-heading);font-weight:500;line-height:var(--ix-heading-lh);letter-spacing:var(--ix-heading-ls);color:var(--ix-t-title);}
  .ix-product-page .ix-product-capabilities .idx-matrix-cell p{font-size:var(--ix-copy-size);}

  /* Slides 12 and 16: inactive video slot until a finished demo video exists. */
  .ix-product-page #demo .ix-product-head{margin-left:auto;margin-right:auto;text-align:center;}
  .ix-product-page .ix-video-tabs{display:flex;justify-content:center;gap:var(--ix-space-2);margin:0 0 var(--ix-space-4);}
  /* The tab look is shared with the Blog filters (surfaces.css). A tab without a video stays inactive. */
  .ix-product-page .ix-video-tabs button{cursor:not-allowed;opacity:.6;}
  .ix-product-page .ix-video-slot{position:relative;max-width:1080px;margin:0 auto;aspect-ratio:16/9;display:grid;place-items:center;border:var(--ix-hairline) solid var(--ix-edge);background:radial-gradient(ellipse 70% 60% at 50% 40%,#198dd826,transparent 75%),linear-gradient(150deg,#0c1622,#050a12 78%);box-shadow:var(--ix-body-shadow);}
  /* A released channel or a demo video turns the hero buttons into links; they keep the button look. */
  .ix-product-page a.ix-button{text-decoration:none;}
  .ix-product-page .ix-video-slot--live{display:block;aspect-ratio:auto;}
  .ix-product-page .ix-video-slot--live .ix-media :is(img,video,iframe){aspect-ratio:16/9;object-fit:cover;}
  .ix-product-page .ix-video-panel+.ix-video-panel{margin-top:var(--ix-space-4);}
  .ix-product-page .ix-video-panel[hidden]{display:none;}
  .ix-product-page .ix-video-tabs button[aria-pressed]{cursor:pointer;opacity:1;}
  .ix-product-page .ix-video-slot button{display:grid;place-items:center;width:4.5rem;height:4.5rem;border:var(--ix-hairline) solid var(--ix-edge-strong);border-radius:0;background:#0a1626cc;color:var(--ix-t-heading);font-size:1.25rem;cursor:not-allowed;opacity:.6;}

  /* Slides 13 and 17, Q&A (Riley, 2026-10-29, third review): the title starts at the left edge of the questions (faq.css),
     and the larger closing line sits beside them, centred in height against the title and the questions. Draft answers
     wait for confirmed text. */
  .ix-product-page #qa>.ix-scene__inner{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
    grid-template-areas:"close head" "close faq" "close action";gap:0 var(--ix-space-7);}
  /* "Contact us" after the questions (Riley, 2026-11-03), aligned with their left edge. */
  .ix-product-page .ix-product-qa-action{grid-area:action;margin-top:var(--ix-space-6);}
  .ix-product-page #qa .ix-product-head{grid-area:head;}
  .ix-product-page .ix-product-next{display:contents;}
  .ix-product-page .ix-product-closing{grid-area:close;align-self:center;max-width:14em;margin:0;font-size:clamp(1.5rem,2.4vw,2.25rem);
    line-height:1.25;letter-spacing:-.01em;font-weight:500;color:var(--ix-t-title);text-wrap:balance;}
  .ix-product-page #qa .ix-faq{grid-area:faq;}

  @media(max-width:1350px){
    .ix-product-page .ix-scene--story:not(.ix-product-band) .ix-scene__inner{grid-template-columns:minmax(0,1fr);}
  }
  @media(max-width:1100px){
    .ix-product-page .ix-product-feature{grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"title" "sub" "body" "visual";column-gap:0;}
    .ix-product-page .ix-product-feature__visual{display:block;margin-top:clamp(38px,5vw,96px);}
  }
  @media(max-width:860px){
    .ix-product-page main h1{font-size:var(--ix-hero-mobile);}
    .ix-product-page .ix-scene__copy>.ix-body{font-size:var(--ix-section-copy-mobile);}
    .ix-product-page #qa>.ix-scene__inner{grid-template-columns:minmax(0,1fr);grid-template-areas:"head" "close" "faq" "action";}
    .ix-product-page .ix-product-closing{margin-bottom:var(--ix-space-6);}
    .ix-product-page .ix-product-band>.ix-scene__inner{padding:var(--ix-space-7) 0;}
  }
  @media(max-width:520px){
    .ix-product-page .ix-scene__inner{width:calc(100% - 32px);}
    .ix-product-page .ix-video-tabs{flex-direction:column;}
  }
}
