/* -- Image model pages ----------------------------------------------------
   Only the shared basics live here: buttons, section rhythm, the related
   models row, the closing band and the sticky button. Each page brings its
   own layouts in a page <style>, so no two look alike, but every page uses
   the site's type, colors and buttons (same tokens as model-page.css). */

.ip-page { --ip-ink: var(--fg-1, #001F3C); --ip-ink-2: var(--fg-2, rgba(0, 31, 60, .75)); --ip-ink-3: rgba(0, 31, 60, .55); --ip-line: var(--border-1, rgba(0, 31, 60, .1)); --ip-bg: #fff; --ip-tint: #F4F7FF; --ip-accent: var(--predis-blue, #1A6AFF); --ip-pink: var(--predis-pink, #F41A58); --ip-grad: linear-gradient(90deg, #1A6AFF 0%, #F41A58 100%); --ip-night: #0B1B3A; --ip-radius: 18px; color: var(--ip-ink); background: var(--ip-bg); }
.ip-page h1, .ip-page h2, .ip-page h3 { color: var(--ip-ink); }
.ip-page :focus-visible { outline: 2px solid var(--ip-accent); outline-offset: 2px; }
.ip-sec--tint { background: linear-gradient(180deg, #fff 0%, var(--ip-tint) 10%, var(--ip-tint) 90%, #fff 100%); }
.ip-page img { max-width: 100%; height: auto; display: block; }
.ip-sec { padding: clamp(56px, 8vw, 112px) 0; }
.ip-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; letter-spacing: .10em; text-transform: uppercase; color: var(--ip-accent); margin-bottom: 14px; }
.ip-eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ip-pink); flex-shrink: 0; }
.ip-lede { font-size: clamp(16px, 1.4vw, 19px); line-height: 1.6; color: var(--ip-ink-2); max-width: 640px; }
.ip-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13.5px; color: var(--ip-ink-3); margin-bottom: 18px; }
.ip-crumbs a { color: inherit; text-decoration: none; }
.ip-crumbs a:hover { color: var(--ip-accent); }
.ip-crumbs [aria-current] { color: var(--ip-ink); font-weight: 600; }

/* Buttons */
.ip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 1px solid var(--ip-line); background: #fff; color: var(--ip-ink); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.ip-btn:hover { border-color: rgba(26, 106, 255, .45); color: var(--ip-accent); }
.ip-btn--solid { border: 0; color: #fff; background: var(--ip-grad); box-shadow: 0 8px 24px rgba(26, 106, 255, .22); }
.ip-btn--solid:hover { color: #fff; }
.ip-btn--sm { min-height: 36px; padding: 7px 14px; font-size: 13.5px; }

/* Prompt block shared by every page: the exact words behind an image. */
.ip-prompt { font-size: 14px; line-height: 1.65; color: var(--ip-ink-2); }
.ip-prompt summary { cursor: pointer; font-weight: 600; color: var(--ip-ink); list-style: none; display: inline-flex; align-items: center; gap: 6px; }
.ip-prompt summary::-webkit-details-marker { display: none; }
.ip-prompt summary::after { content: "+"; font-weight: 400; }
.ip-prompt[open] summary::after { content: "\2212"; }
.ip-prompt p { margin: 10px 0 0; white-space: pre-line; }
.ip-prov { font-size: 12.5px; color: var(--ip-ink-2); margin-top: 8px; }

/* Related models */
.ip-related { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.ip-rel { display: block; padding: 20px 22px; border: 1px solid var(--ip-line); border-radius: var(--ip-radius); color: var(--ip-ink); text-decoration: none; background: #fff; transition: border-color .2s ease, transform .2s ease; }
.ip-rel:hover { border-color: var(--ip-accent); transform: translateY(-2px); color: var(--ip-ink); }
.ip-rel strong { display: block; font-size: 17px; margin-bottom: 4px; }
.ip-rel span { font-size: 14px; color: var(--ip-ink-2); }
.ip-hub-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--ip-accent); text-decoration: none; }

/* Closing band */
.ip-cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(28px, 4vw, 52px); border-radius: 26px; background: radial-gradient(ellipse 70% 70% at 100% 0%, rgba(244, 26, 88, .3) 0%, transparent 60%), radial-gradient(ellipse 70% 80% at 0% 100%, rgba(43, 117, 255, .4) 0%, transparent 60%), #0B1B3A; color: #fff; }
.ip-page .ip-cta h2 { margin: 0 0 8px; font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; color: #fff; }
.ip-cta p { margin: 0; color: rgba(255, 255, 255, .75); }
.ip-cta .ip-btn { background: #fff; color: #0B1B3A; border: 0; flex-shrink: 0; }
.ip-cta .ip-btn:hover { color: var(--ip-accent); }

.ip-sticky { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none; }
.ip-sticky .ip-btn { width: 100%; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }

@media (max-width: 991.98px) {
  .ip-related { grid-template-columns: minmax(0, 1fr); }
  .ip-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 767.98px) {
  .ip-sticky.is-on { display: block; }
}
@media (prefers-reduced-motion: reduce) {
  .ip-page *, .ip-page *::before, .ip-page *::after { transition: none !important; animation: none !important; }
}

/* Trademark line above the footer, same as the MCP pages. */
.tm-note { max-width: 1140px; margin: 0 auto; padding: 0 1rem 24px; font-size: 12.5px; color: rgba(0,31,60,.55); text-align: center; }
