/* Instagram product page. Shared typography, navigation and buttons live in stur.css. */
.instagram-page { --ig-purple: #4424d7; --ig-lilac: #eee9ff; --ig-dark: #100d29; }
.instagram-page h1, .instagram-page main h2, .instagram-page main h3 { font-family: var(--font-head); font-weight: 600; letter-spacing: -.04em; }
.instagram-page h1 { font-size: clamp(3rem, 5.7vw, 5.4rem); line-height: 1.03; max-width: 1080px; }
.instagram-page main h2 { font-size: clamp(2.25rem, 4.4vw, 4rem); line-height: 1.08; }
.instagram-page main h3 { font-size: 1.65rem; line-height: 1.15; }
.ig-btn-white { background: #fff; color: var(--ig-purple); }
.ig-btn-outline { color: var(--ink); border: 1px solid var(--line); }
.ig-hero { background: #fff; color: var(--ink); padding: 150px 0 30px; }
.ig-hero-copy .pill { border-color: var(--line); margin-bottom: 24px; }
.ig-hero-copy > p { max-width: 560px; margin-top: 28px; font-size: 1.125rem; line-height: 1.6; color: var(--muted); }
.ig-hero-actions { display: flex; justify-content: center; align-items: center; gap: 24px; margin: 30px 0 48px; }
.ig-hero-demo { isolation: isolate; position: relative; min-height: 630px; border-radius: var(--radius-card); overflow: hidden; background: #143d69; }
.ig-hero-photo { position: absolute; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 60% 46%; }
.ig-hero-demo::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #05051cbd, transparent 65%), linear-gradient(0deg, #06051eaa, transparent 40%); }
.ig-demo-tabs { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
.ig-demo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: inherit; font-size: .75rem; line-height: 1.4; }
.ig-motion { min-height: 36px; padding: 6px 12px; border: 1px solid currentColor; border-radius: 100px; font-size: .75rem; line-height: 1.4; white-space: nowrap; }
.ig-motion:hover { background: #ffffff20; }
.ig-section { padding: 104px 0; }
.ig-section-heading { text-align: center; margin: 0 auto 64px; max-width: 900px; }
.ig-section-heading .pill { margin-bottom: 24px; }
.ig-section-heading p { max-width: 570px; margin: 24px auto 0; color: var(--muted); font-size: 1.125rem; line-height: 1.6; }
.ig-eyebrow { display: block; font-size: .875rem; font-weight: 600; letter-spacing: .015em; margin-bottom: 20px; }
.ig-setup-art { height: 230px; border-radius: 24px; margin-bottom: 26px; position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ig-setup-signup { background-color: var(--ig-lilac); background-image: linear-gradient(#4424d70c 1px,transparent 1px), linear-gradient(90deg,#4424d70c 1px,transparent 1px); background-size: 50px 50px; }
.ig-setup-signup .btn { font-size: .875rem; padding: 0 18px; }
.ig-pointer { position: absolute; bottom: 42px; right: 35px; width: 20px; height: 28px; background: #1d1640; clip-path: polygon(0 0, 100% 63%, 56% 67%, 43% 100%); transform: rotate(-10deg); }
.ig-setup-connect { background: var(--grad-navy); gap: 16px; }
.ig-connect-icon, .ig-connect-stur { position: relative; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 22px; background: #4424d7; }
.ig-connect-icon { background: linear-gradient(40deg,#ffa54d,#c6279f,#4424d7); }
.ig-connect-line { width: 45px; height: 2px; background: #fff; transform-origin: left; }
.ig-setup-automate { flex-direction: column; gap: 10px; background: var(--surface); padding: 26px; }
.ig-setup-automate > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; background: #fff; border-radius: 10px; padding: 10px 12px; font-size: .8rem; }
.ig-setup-automate span { color: #4424d7; font-size: .75rem; }
.ig-setup-grid h3 { font-size: 1.3rem !important; margin-bottom: 12px; }
.ig-setup-grid p { color: var(--muted); line-height: 1.6; }
.ig-centered-actions { display: flex; justify-content: center; gap: 12px; margin-top: 44px; }
.ig-centered-actions .btn { min-width: 180px; }

/* Animated screens: HTML scenes, not video or screenshots. */
.ig-phone { width: 290px; height: 550px; flex-shrink: 0; padding: 12px; background: #100f16; border: 2px solid #ffffff2e; box-shadow: 0 26px 60px #08032545; border-radius: 40px; position: relative; overflow: hidden; color: #fff; }
.ig-phone::before { content: ''; position: absolute; top: 7px; left: 50%; transform: translateX(-50%); width: 80px; height: 16px; border-radius: 0 0 15px 15px; background: #100f16; z-index: 4; }
.ig-screen-inner { height: 100%; border-radius: 28px; overflow: hidden; position: relative; background: #18171f; }
.ig-screen-head { display: flex; align-items: center; gap: 10px; padding: 22px 14px 16px; border-bottom: 1px solid #ffffff17; font-size: .8rem; line-height: 1.3; }
.ig-screen-head small { display: block; margin-top: 3px; font-size: .65rem; color: #bbb5c9; }
.ig-avatar { flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; background: #bba9f7; color: #281059; display: inline-grid; place-items: center; font-family: var(--font-head); font-weight: 600; font-size: .85rem; }
.ig-avatar.ig-customer { background: #f5d5c6; color: #6b351f; }
.ig-screen-head > span:last-child { margin-left: auto; color: #c3bdd1; }
.ig-post-photo { position: relative; height: 240px; }
.ig-post-photo img { width: 100%; height: 100%; object-fit: cover; }
.ig-post-photo .ig-post-tag { position: absolute; bottom: 16px; left: 16px; right: 16px; background: #4424d7; color: #fff; border-radius: 15px; padding: 12px; font-weight: 600; font-size: .9rem; line-height: 1.4; text-align: center; }
.ig-post-caption { font-size: .75rem; line-height: 1.5; padding: 14px; }
.ig-post-icons { padding: 12px 14px 0; letter-spacing: 8px; font-size: 1.3rem; }
.ig-comment-sheet { position: absolute; bottom: 0; left: 0; right: 0; background: #27252f; border-radius: 24px 24px 0 0; padding: 12px 14px 24px; min-height: 245px; box-shadow: 0 -20px 60px #0005; }
.ig-comment-sheet > strong { display: block; text-align: center; border-bottom: 1px solid #ffffff20; padding: 0 0 12px; font-size: .85rem; }
.ig-comment { display: flex; gap: 10px; font-size: .75rem; line-height: 1.5; padding-top: 18px; }
.ig-comment small { color: #aaa2b7; display: block; margin-top: 4px; font-size: .65rem; }
.ig-comment.ig-reply { margin-left: 22px; }
.ig-screen-input { position: absolute; bottom: 14px; left: 14px; right: 14px; border: 1px solid #ffffff30; border-radius: 30px; color: #a39aaa; font-size: .75rem; padding: 10px 14px; }
.ig-inbox-row { display: flex; gap: 10px; padding: 20px 12px; border-bottom: 1px solid #ffffff20; font-size: .75rem; line-height: 1.5; }
.ig-inbox-row small { display: block; color: #b6acc8; font-size: .7rem; }
.ig-inbox-status { margin: 20px 12px; border-radius: 14px; background: #4424d7; font-size: .75rem; padding: 14px; }
.ig-fallback { padding: 32px 24px; font-size: 1rem; line-height: 1.6; }
.ig-enhanced [data-screen] .ig-comment-sheet.is-shown { transform: none; }
.ig-motion, .ig-demo-tabs { visibility: hidden; }
.ig-enhanced .ig-motion, .ig-enhanced .ig-demo-tabs { visibility: visible; }
/* Instagram's interface stays distinct from Stur's surrounding brand system. */
[data-screen] { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.ig-screen-head { padding: 22px 10px 12px; gap: 7px; font-size: .8rem; border-color: #262626; }
.ig-screen-head small { color: #a8a8a8; font-size: .65rem; }
.ig-screen-head .ig-back { margin: 0; display: flex; }
.ig-screen-head .ig-head-actions { display: flex; gap: 10px; color: #f5f5f5; margin-left: auto; }
.ig-head-actions svg { width: 18px; height: 18px; }
.ig-avatar { background: #f0eee9; color: #111; font-family: Georgia, serif; overflow: hidden; border: 1px solid #ffffff30; }
.ig-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ig-post-head .ig-avatar { outline: 2px solid #d633a0; outline-offset: 2px; margin-right: 4px; }
.ig-post-icons { display: flex; gap: 13px; letter-spacing: normal; padding: 14px 12px 0; }
.ig-post-icons span { margin-left: auto; }
.ig-post-icons svg { width: 23px; height: 23px; }
.ig-post-tag { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
.ig-chat-day { text-align: center; color: #a8a8a8; font-size: .625rem; line-height: 1.4; margin: 16px 0 0; }
.ig-screen-input { display: flex; align-items: center; gap: 10px; left: 8px; right: 8px; bottom: 10px; padding: 6px; border: 1px solid #363636; color: #f5f5f5; background: #000; }
.ig-screen-input > span:nth-child(2) { color: #a8a8a8; margin-right: auto; font-size: .7rem; }
.ig-screen-input > svg { width: 17px; height: 17px; flex-shrink: 0; }
.ig-screen-input > svg:last-child { margin-right: 5px; }
.ig-composer-camera { width: 28px; height: 28px; border-radius: 50%; background: #3797f0; display: grid; place-items: center; }
.ig-composer-camera svg { width: 17px; height: 17px; }
.ig-comment-sheet { background: #262626; min-height: 285px; padding: 8px 12px 60px; }
.ig-sheet-handle { display: block; width: 32px; height: 4px; border-radius: 4px; background: #737373; margin: 0 auto 16px; }
.ig-comment-sheet > strong { font-size: .85rem; border-color: #363636; }
.ig-comment { gap: 8px; font-size: .75rem; }
.ig-comment > div { flex: 1; }
.ig-comment > svg { width: 12px; height: 12px; color: #a8a8a8; align-self: center; }
.ig-comment small { color: #a8a8a8; }
.ig-comment-compose { display: flex; align-items: center; gap: 10px; position: absolute; bottom: 12px; left: 12px; right: 12px; border-top: 1px solid #363636; padding-top: 10px; color: #a8a8a8; font-size: .75rem; }
@media (prefers-reduced-motion: no-preference) {
  .ig-setup-art.ig-art-visible .ig-pointer { animation: ig-pointer 4s ease-in-out 1; }
  .ig-setup-art.ig-art-visible .ig-connect-line { animation: ig-connect 2s ease-out 1; }
  .ig-setup-automate.ig-art-visible > div { animation: ig-row .6s ease-out both; }
  .ig-setup-automate.ig-art-visible > div:nth-child(2) { animation-delay: .3s; }
  .ig-setup-automate.ig-art-visible > div:nth-child(3) { animation-delay: .6s; }
}
@keyframes ig-pointer { 35%,65% { transform: translate(-55px,-35px) rotate(-10deg); } }
@keyframes ig-connect { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes ig-row { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 1100px) {
}
@media (max-width: 860px) {
  .ig-hero { padding-top: 118px; }
  .ig-hero-copy > p { max-width: 540px; }
  .ig-hero-demo { min-height: 700px; }
  .ig-hero-photo { object-position: 52% center; }
  .ig-hero-demo::before { background: linear-gradient(180deg,#090524b8,transparent 45%,#08052580); }
  .ig-section { padding: 76px 0; }

  .ig-setup-art { height: 185px; }
  .ig-setup-signup .btn { white-space: normal; height: auto; min-height: 50px; margin: 14px; text-align: center; }
  .ig-setup-connect { gap: 8px; }
  .ig-connect-line { width: 16px; }
  .ig-connect-icon, .ig-connect-stur { width: 58px; height: 58px; }
  .ig-connect-stur img { width: 44px; }
  .ig-setup-automate { padding: 12px; }
  .ig-setup-automate > div { font-size: .7rem; padding: 8px; }
}
@media (max-width: 640px) {
  .instagram-page { --gutter: 20px; }
  .instagram-page h1 { font-size: clamp(2.7rem, 11vw, 4rem); }
  .ig-desktop-break { display: none; }
  .ig-hero { padding-bottom: 20px; }
  .ig-hero-copy > p { font-size: 1rem; margin-top: 22px; }
  .ig-hero-actions { flex-direction: column; align-items: stretch; margin: 28px 0 32px; gap: 20px; }
  .ig-hero-demo { min-height: 660px; border-radius: 26px; }
  .ig-hero-photo { object-position: 50% center; }
  .ig-section { padding: 64px 0; }
  .ig-section-heading { margin-bottom: 40px; }
  .ig-section-heading p { font-size: 1rem; }
  .ig-section-heading .pill { margin-bottom: 20px; }
  .ig-setup-art { height: 230px; margin-bottom: 20px; }
  .ig-setup-automate { padding: 36px; }
  .ig-setup-automate > div { font-size: .875rem; padding: 12px; }
  .ig-setup-connect { gap: 18px; }
  .ig-connect-line { width: 45px; }
  .ig-connect-icon, .ig-connect-stur { width: 68px; height: 68px; }
  .ig-centered-actions { flex-direction: column; }
}
@media (max-width: 360px) {
  .ig-phone { width: 260px; height: 525px; }
}
@media (prefers-reduced-motion: reduce) {
  .instagram-page { scroll-behavior: auto; }
  .instagram-page *, .instagram-page *::before, .instagram-page *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Centered, open hero; only the Instagram conversation sits over the photograph. */
.ig-hero-copy { text-align: center; }
.ig-hero-copy h1 { margin: 0 auto; }
.ig-hero-copy > p { margin-left: auto; margin-right: auto; max-width: 610px; }
.ig-hero-copy .pill img { filter: brightness(0); }
.ig-hero-actions { justify-content: center; }
.ig-hero-demo::before { background: linear-gradient(0deg,#08052560,transparent 45%); }
.instagram-page .faq h2 { font-size: 40px; line-height: 44px; letter-spacing: -.8px; }
.ig-hero-demo { color: #fff; }

/* Photographic iPhone 16 Pro Max frame. Screen coordinates come from the source asset. */
.ig-phone { width: 330px; height: auto; aspect-ratio: 1520 / 3068; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; filter: drop-shadow(0 18px 18px #17102518); }
.ig-phone::before { display: none; }
.ig-phone .ig-screen-inner { position: absolute; left: 6.578947%; top: 3.259452%; width: 86.842105%; height: 93.481095%; border-radius: 14% / 6.5%; overflow: hidden; background: #000; }
.ig-phone .ig-app { position: absolute; inset: 48px 0 18px; overflow: hidden; }
.ig-device-frame { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; z-index: 4; pointer-events: none; }
.ig-phone .ig-screen-inner::after { content: ''; position: absolute; bottom: 8px; width: 33%; height: 4px; left: 33.5%; background: #fff; border-radius: 4px; z-index: 3; }
.ig-phone .ig-screen-head { padding-top: 10px; }
.ig-phone .ig-screen-head .ig-head-actions { gap: 8px; }
.ig-phone .ig-screen-input { bottom: 5px; }

/* White feature walkthroughs alternate the device side. Desktop scrolling advances the screen. */
@media (max-width: 1100px) {
}
@media (max-width: 860px) {
}
@media (max-width: 640px) {
  .ig-hero-actions { align-items: center; }
  .ig-hero-actions .btn { width: 100%; max-width: 330px; }
  .ig-hero-demo { min-height: 580px; }
  .ig-hero-photo { object-position: 50% 40%; }
  .ig-hero-demo::before { background: linear-gradient(0deg,#08052580,transparent 70%); }
  .ig-phone .ig-app { top: 44px; }
  .instagram-page .faq h2 { font-size: 36px; line-height: 40px; }
}

/* Keep the shopper and her phone in view in the supplied portrait photograph. */
.ig-hero-photo { object-position: 50% 65%; }
@media (max-width: 640px) {
  .ig-hero-photo { object-position: 50% 55%; }
}

/* One continuous CTA rail matches the reference while the feature rows scroll. */
.ig-phone .ig-app { inset: 0; }
.ig-phone .ig-screen-inner::after { display: none; }
.ig-phone .ig-screen-head { padding-top: 35px; }
@media (min-width: 861px) {
}

/* Lumera storefront: existing Stur product, cart, and checkout visual language. */
.ig-store-page { position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; background: #fff; color: #000; font-family: var(--font-body); border-radius: inherit; }
.ig-store-page::-webkit-scrollbar { display: none; }
.ig-store-header { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 34px 13px 13px; border-bottom: 1px solid #ebebeb; background: #fff; }
.ig-store-header > a { display: flex; flex-direction: column; gap: 2px; }
.ig-store-header small { font-size: 5px; letter-spacing: 1px; color: #666; }
.ig-store-header > a img { width: 29px; height: auto; }
.ig-store-header > b { font-size: 12px; letter-spacing: -.3px; }
.ig-store-header > span { display: flex; gap: 8px; }
.ig-store-header > span img { width: 16px; height: 16px; }
.ig-store-content { padding: 12px 14px 25px; }
.ig-store-gallery { border-radius: 16px; overflow: hidden; margin-bottom: 14px; }
.ig-store-gallery img { width: 100%; height: 190px; object-fit: cover; object-position: center 60%; }
.ig-store-content h4 { font-family: var(--font-body); font-size: 16px; line-height: 1.2; font-weight: 600; letter-spacing: -.4px; margin: 0; }
.ig-store-price { font-size: 13px; margin-top: 8px; }
.ig-store-quantity { margin-top: 15px; display: flex; align-items: center; justify-content: space-between; }
.ig-store-quantity small { font-size: 10px; font-weight: 600; }
.ig-store-quantity > span, .ig-store-count { display: inline-block; padding: 6px 10px; border: 1px solid #0000001a; border-radius: 100px; font-size: 12px; }
.ig-store-purchase { margin-top: 15px; padding: 12px; border: 1px solid #f0f0f0; border-radius: 20px; box-shadow: 0 2px 6px #0000000d; }
.ig-store-purchase > strong, .ig-store-purchase > b { display: block; font-size: 11px; margin-bottom: 5px; }
.ig-store-primary { background: #3248c3; }
.ig-store-highlights { margin-top: 20px; font-size: 11px; }
.ig-store-highlights p { font-size: 9px; line-height: 1.5; margin-top: 10px; }
.ig-setup-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
@media (max-width: 640px) { .ig-setup-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .ig-setup-grid { gap: 18px; } }
@media (max-width: 640px) {
  .ig-setup-grid { gap: 36px; }
}

/* ==========================================================================
   Conversation bubbles (shared by hero, chapters and phone demos).
   A message grows from a small pill, then its words and buttons fade in.
   ========================================================================== */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Hero: the conversation sits on the photograph. */
.ig-hero-chat { position: absolute; right: 48px; top: 50%; transform: translateY(-50%); width: 280px; height: 420px; pointer-events: none; }
.ig-hero-chat .cb-stack { padding: 0; }
.ig-hero-chat .cb-b { font-size: 16px; box-shadow: 0 8px 24px #0a062640; }
.ig-hero-chat .cb-us .cb-b { background: #4424d7; }
.ig-hero-chat .cb-them .cb-b { background: #1d1b26e6; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.ig-hero-chat .cb-av { flex-basis: 26px; width: 26px; height: 26px; }
.ig-pause { position: absolute; z-index: 3; left: 20px; bottom: 20px; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff; background: #0a06264d; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px #ffffff40; transition: background-color .2s ease; }
.ig-pause:hover { background: #0a062680; }
.ig-pause:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.ig-pause .ig-play-icon, .ig-pause[aria-pressed=true] .ig-pause-icon { display: none; }
.ig-pause[aria-pressed=true] .ig-play-icon { display: block; }
.ig-hero-demo::before { background: linear-gradient(0deg, #0805255e, transparent 50%), linear-gradient(270deg, #08052540, transparent 45%); }

/* ==========================================================================
   Sticky chapters: purple stage, headline left, animated card right.
   ========================================================================== */
.st { --st-accent: #4424d7; --st-card-h: 600px; position: relative; background: #fff; color: var(--ink); padding-top: 104px; }
.st-heading { margin-bottom: 0; }
.st-sticky { position: relative; }
.st-inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 120px 40px 80px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.st-left { display: flex; flex-direction: column; gap: 32px; }
.st-chapter { text-align: center; padding: 24px 0; }
.instagram-page .st-chapter h3 { font-family: var(--font-head); font-weight: 600; font-size: clamp(2.5rem, 4.3vw, 3.9rem); line-height: 1; letter-spacing: -.045em; color: var(--ink); }
.st-chapter > p { max-width: 400px; margin: 18px auto 0; font-size: 1.125rem; line-height: 1.5; color: var(--muted); }
.st-cta { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 100px; background: #4424d7; color: #fff; font-size: 16px; font-weight: 600; letter-spacing: -.01em; transition: transform .2s ease, box-shadow .2s ease; }
.st-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 30px #4424d740; }
.st-cta:focus-visible { outline: 2px solid #4424d7; outline-offset: 3px; }
.st-right, .st-pause { display: none; }

.st-ready .st-track { height: calc(100svh + 4 * 90svh); }
.st-ready .st-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.st-ready .st-inner { height: 100%; padding: 108px 40px 36px; grid-template-rows: minmax(0, 1fr); }
.st-ready .st-left { display: grid; grid-template-rows: 1fr auto; gap: 0; min-height: 0; }
.st-ready .st-copy { display: grid; align-items: center; min-height: 0; }
.st-ready .st-chapter { grid-area: 1 / 1; padding: 0; opacity: 0; visibility: hidden; transform: translateY(18px); transition: opacity .45s ease, transform .6s cubic-bezier(.22,.8,.24,1), visibility 0s linear .6s; }
.st-ready .st-chapter.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: .18s, .18s, 0s; }
.st-ready .st-right { display: grid; place-items: center; min-height: 0; position: relative; }
.st-ready .st-pause { display: grid; left: auto; right: 40px; bottom: 36px; color: var(--ink); background: #0a0a1e0d; box-shadow: inset 0 0 0 1px #0a0a1e1a; }
.st-ready .st-pause:hover { background: #0a0a1e1a; }
.st-ready .st-pause:focus-visible { outline-color: #4424d7; }
.st-device { grid-area: 1 / 1; width: calc(var(--st-card-h) * .625); will-change: transform; }
.st-card { position: relative; height: var(--st-card-h); border-radius: 32px; overflow: hidden; background: #000; color: #fff; box-shadow: 0 34px 60px -26px #1a124038; isolation: isolate; }

.st-scene { position: absolute; inset: 0; background: #000; overflow: hidden; }
.st-scene .cb-stack { position: absolute; inset: 0; padding: 20px 16px; }
.st-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.st-photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 20%, #00000059 55%, transparent 90%); pointer-events: none; }
.st-photo .cb-stack { z-index: 1; padding: 20px 16px; }
.st-photo .cb-them .cb-b { background: #1f1f22eb; }
.st-sticker { position: absolute; left: 50%; bottom: 18%; transform: translateX(-50%); width: max-content; max-width: 86%; padding: 9px 14px; border-radius: 14px; background: var(--st-accent); color: #fff; font-size: 15px; font-weight: 600; line-height: 1.3; text-align: center; box-shadow: 0 6px 20px #0004; }

.st-post { display: flex; flex-direction: column; }
.st-post-head { display: flex; align-items: center; gap: 10px; padding: 18px 18px 14px; font-size: 15px; }
.st-post-head img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #000, 0 0 0 3.5px #d633a0; }
.st-post-photo { position: relative; flex: 1; min-height: 0; }
.st-post-photo > img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.st-post-photo .st-sticker { bottom: 12%; }
.st-post-icons { display: flex; gap: 16px; padding: 14px 18px 20px; }
.st-sheet { position: absolute; left: 0; right: 0; bottom: 0; height: 46%; padding: 10px 18px 0; background: #0b0b0c; border-radius: 24px 24px 0 0; visibility: hidden; overflow: hidden; }
.st-sheet.is-open { visibility: visible; }
.st-sheet.is-full { height: calc(100% - 64px); }
.st-grip { display: block; width: 34px; height: 4px; border-radius: 4px; background: #ffffff40; margin: 0 auto 12px; }
.st-comments { display: flex; flex-direction: column; }
.st-comment { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; align-items: start; padding-bottom: 14px; overflow: hidden; font-size: 14.5px; line-height: 1.3; }
.st-comment > img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.st-comment b { font-weight: 600; }
.st-comment b small { color: #ffffff70; font-weight: 400; margin-left: 4px; }
.st-comment p { margin: 2px 0 3px; }
.st-comment > div > small { color: #ffffff70; font-size: 12px; }
.st-comment .w { opacity: 0; }
.st-comment.is-in .w { opacity: 1; }
.st-like { display: grid; justify-items: center; gap: 2px; color: #ffffff80; padding-top: 2px; }
.st-like small { font-size: 11px; }

.st-story-photo { position: absolute; inset: 0; z-index: 2; overflow: hidden; transform-origin: 20% 70%; }
.st-story-photo > img { width: 100%; height: 100%; object-fit: cover; }
.st-story-photo::after { content: ''; position: absolute; inset: 0 0 auto; height: 28%; background: linear-gradient(#0000008c, transparent); pointer-events: none; }
.st-story-head { position: absolute; z-index: 2; top: 24px; left: 16px; display: flex; align-items: center; gap: 8px; font-size: 15px; text-shadow: 0 1px 6px #0006; }
.st-story-head img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.st-story-head small { color: #ffffffb3; }
.st-story .st-sticker { bottom: 22%; }

@media (max-width: 860px) {
  .st { padding-top: 64px; }
  .st-inner { grid-template-columns: 1fr; padding: 40px 20px 56px; gap: 24px; }
  .cb-b { font-size: 15px; padding: 11px 13px; }
  .cb-btn { font-size: 14px; }
  .st-sticker { font-size: 13.5px; }
  .st-comment { font-size: 13.5px; }
  .ig-hero-chat { left: auto; right: 16px; width: min(260px, calc(100% - 32px)); top: auto; bottom: 72px; transform: none; height: 400px; }
  .ig-hero-chat .cb-b { font-size: 15px; }
}

/* Phone demos: chat column with header, bottom-anchored messages and composer. */
.ig-app { display: flex; flex-direction: column; }
.ig-layer { position: absolute; inset: 0; background: #000; display: flex; flex-direction: column; }
.ig-chat-view, .ig-inbox, .ig-post-view { position: relative; display: flex; flex-direction: column; height: 100%; }
.ig-chat-view .cb-stack, .ig-inbox .cb-stack { flex: 1; min-height: 0; height: auto; }
.ig-chat-view .ig-screen-input { position: relative; left: auto; right: auto; bottom: auto; margin: 0 8px 12px; }
.ig-post-view .ig-comment-sheet { visibility: hidden; }
.ig-post-view .ig-comment-sheet.is-open { visibility: visible; }
.ig-comment .w { opacity: 0; }
.ig-comment.is-in .w { opacity: 1; }
.ig-inbox-list { flex-shrink: 0; }
.ig-inbox .cb-stack { padding-bottom: 22px; }
.ig-store-purchase .ig-store-buy { display: block; width: 100%; padding: 11px 8px; border-radius: 100px; background: #000; color: #fff; font-size: 12px; font-weight: 600; text-align: center; margin-top: 10px; box-shadow: 0 4px 12px #00000024, inset 1px 1px 1px #ffffff52; transition: transform .2s ease, opacity .2s ease; }
.ig-store-buy.is-tapped { transform: scale(.97); opacity: .8; }
.ig-store-page { overflow: hidden; }

/* "Stop living in your DMs" heading. */
.ig-eyes { display: block; font-size: 44px; line-height: 1; margin-bottom: 18px; }

/* Hero button is black. */
.ig-hero-actions .btn--brand { background: #000; color: #fff; }
.ig-hero-actions .btn--brand:hover { background: #1c1c22; }

/* Use cases: tabs on the left (active one expands), phone on a lilac panel. */
.ig-usecases { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: center; max-width: 1120px; margin: 0 auto; }
.ig-usecase-menu { display: flex; flex-direction: column; gap: 28px; }
.ig-usecase-menu .ig-demo-tabs { display: flex; flex-direction: column; gap: 4px; }
.ig-demo-tabs button { position: relative; display: block; width: 100%; padding: 18px 22px; border-radius: 20px; text-align: left; color: var(--muted); transition: background-color .25s ease, color .25s ease; }
.ig-demo-tabs button b { display: block; font-family: var(--font-head); font-size: 1.3rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.ig-demo-tabs button:hover { color: var(--ink); background: #0a0a1e08; }
.ig-demo-tabs button[aria-pressed=true] { color: var(--ink); background: var(--ig-lilac); }
.ig-demo-tabs button:focus-visible { outline: 2px solid #4424d7; outline-offset: 2px; }
.ig-tab-desc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.22,.8,.24,1); }
.ig-tab-desc > span { overflow: hidden; font-size: 1rem; line-height: 1.5; color: var(--muted); }
.ig-demo-tabs button[aria-pressed=true] .ig-tab-desc { grid-template-rows: 1fr; }
.ig-demo-tabs button[aria-pressed=true] .ig-tab-desc > span { padding-top: 8px; }
.ig-usecase-menu .btn { align-self: flex-start; min-width: 200px; margin-left: 22px; }
.ig-usecase-visual { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 24px; border-radius: 36px; background: var(--ig-lilac); background-image: radial-gradient(circle at 50% 35%, #ffffff 0, transparent 60%); min-height: 640px; }
.ig-usecase-visual .ig-phone { width: min(300px, 100%); }
.ig-usecase-caption { display: none; }
.ig-usecase-pause { left: auto; right: 20px; bottom: 20px; color: var(--ink); background: #ffffffb3; box-shadow: inset 0 0 0 1px #0a0a1e14; }
.ig-usecase-pause:hover { background: #fff; }
.ig-eyes-heading h2 { margin-top: 0; }
@media (max-width: 860px) {
  .ig-usecases { grid-template-columns: 1fr; gap: 20px; }
  .ig-usecase-menu { display: contents; }
  .ig-usecase-menu .ig-demo-tabs { flex-direction: row; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--gutter, 20px) * -1); padding: 0 var(--gutter, 20px) 4px; scrollbar-width: none; }
  .ig-usecase-menu .ig-demo-tabs::-webkit-scrollbar { display: none; }
  .ig-demo-tabs button { flex: 0 0 auto; width: auto; padding: 11px 16px; border-radius: 100px; background: var(--surface); scroll-snap-align: start; }
  .ig-demo-tabs button b { font-family: var(--font-body); font-size: .9rem; font-weight: 600; letter-spacing: 0; white-space: nowrap; }
  .ig-demo-tabs button[aria-pressed=true] { background: var(--ink); color: #fff; }
  .ig-tab-desc { display: none; }
  .ig-usecase-visual { padding: 32px 16px 24px; border-radius: 28px; min-height: 0; }
  .ig-usecase-caption { display: block; max-width: 320px; margin: 20px auto 0; text-align: center; font-size: .95rem; line-height: 1.5; color: var(--muted); }
  .ig-usecase-pause { right: 14px; bottom: auto; top: 14px; }
  .ig-usecase-menu .btn { order: 3; align-self: stretch; margin: 4px 0 0; }
}

/* Type and imagery inside the chapter cards: between ManyChat's compact size and too large. */
.st-card .cb-stack { padding: 22px 16px; }
.st-card .cb-b { font-size: 16px; line-height: 1.34; padding: 12px 14px; border-radius: 20px; }
.st-card .cb-pill .cb-b { padding: 10px 14px; border-radius: 16px; }
.st-card .cb-us .cb-b, .st-card .cb-them .cb-b { max-width: 82%; }
.st-card .cb-has-btn .cb-b { min-width: min(250px, 82%); }
.st-card .cb-btn { font-size: 15px; padding: 11px 10px; border-radius: 12px; margin-top: 10px; }
.st-card .cb-row + .cb-row { margin-top: 8px; }
.st-card .cb-av { flex-basis: 28px; width: 28px; height: 28px; }
.st-card .cb-story-label { margin-left: 36px; font-size: 13px; }
.st-card .cb-story-thumb { width: 112px; height: 168px; border-radius: 14px; }
.st-card .cb-story-thumb img { border-radius: 14px; }
.st-card .cb-story-thumb b { font-size: 32px; }
.st-sticker { font-size: 15.5px; padding: 10px 14px; border-radius: 14px; max-width: 88%; }
.st-post-head { font-size: 15.5px; padding: 18px 18px 14px; gap: 10px; }
.st-post-head img { width: 34px; height: 34px; }
.st-post-icons { gap: 16px; padding: 14px 18px 20px; }
.st-post-icons svg { width: 24px; height: 24px; }
.st-comment { grid-template-columns: 36px 1fr auto; gap: 10px; font-size: 15px; padding-bottom: 16px; }
.st-comment > img { width: 36px; height: 36px; }
.st-comment > div > small { font-size: 12.5px; }
.st-like svg { width: 14px; height: 14px; }
.st-like small { font-size: 12px; }
.st-story-head { font-size: 15.5px; top: 20px; }
.st-story-head img { width: 34px; height: 34px; }
.ig-hero-chat .cb-b { font-size: 14.5px; padding: 11px 13px; border-radius: 18px; }
.ig-hero-chat .cb-btn { font-size: 14px; padding: 10px; }
.ig-hero-chat .cb-av { flex-basis: 26px; width: 26px; height: 26px; }
@media (max-width: 860px) {
  .st-card .cb-stack { padding: 16px 12px; }
  .st-card .cb-b { font-size: 14px; line-height: 1.32; padding: 10px 12px; border-radius: 18px; }
  .st-card .cb-pill .cb-b { padding: 8px 12px; border-radius: 14px; }
  .st-card .cb-btn { font-size: 13.5px; padding: 9px 8px; border-radius: 10px; margin-top: 8px; }
  .st-card .cb-row + .cb-row { margin-top: 6px; }
  .st-card .cb-av { flex-basis: 24px; width: 24px; height: 24px; }
  .st-card .cb-story-label { margin-left: 32px; font-size: 12px; }
  .st-card .cb-story-thumb { width: 92px; height: 138px; }
  .st-sticker { font-size: 13.5px; padding: 8px 12px; }
  .st-post-head { font-size: 14px; padding: 14px 14px 10px; }
  .st-post-head img { width: 30px; height: 30px; }
  .st-post-icons { padding: 12px 14px 16px; }
  .st-post-icons svg { width: 22px; height: 22px; }
  .st-comment { grid-template-columns: 30px 1fr auto; font-size: 13.5px; padding-bottom: 12px; }
  .st-comment > img { width: 30px; height: 30px; }
  .st-comment > div > small { font-size: 11.5px; }
  .st-story-head { font-size: 14px; }
  .st-story-head img { width: 30px; height: 30px; }
  .ig-hero-chat .cb-b { font-size: 13.5px; }
}

/* Photo messages are just the picture: no bubble padding or fill. */
.ig-hero-chat .cb-photo .cb-b, .st-card .cb-photo .cb-b, .cb-ig .cb-photo .cb-b { padding: 0; background: none; backdrop-filter: none; border-radius: 16px; overflow: hidden; width: auto; }
.ig-hero-chat .cb-photo .cb-b img { width: 96px; height: 120px; border-radius: 16px; }
.st-card .cb-photo .cb-b img, .cb-ig .cb-photo .cb-b img { width: 120px; height: 150px; border-radius: 16px; }
@media (max-width: 860px) { .ig-hero-chat .cb-photo .cb-b img { width: 84px; height: 104px; } }

/* Hero chats hug their text in a narrow column on one side of the photo. */
.ig-hero-chat .cb-us .cb-b, .ig-hero-chat .cb-them .cb-b { max-width: 230px; }
.ig-hero-chat .cb-has-btn .cb-b { min-width: 0; width: 230px; }
@media (max-width: 860px) {
  .ig-hero-chat .cb-us .cb-b, .ig-hero-chat .cb-them .cb-b { max-width: 210px; }
  .ig-hero-chat .cb-has-btn .cb-b { width: 210px; }
}

/* More room between the hero button and the photograph. */
.ig-hero-actions { margin-bottom: 72px; }
@media (max-width: 640px) { .ig-hero-actions { margin-bottom: 48px; } }

/* ==========================================================================
   Phones (ManyChat pattern): no sticky stage. Each chapter is a centred
   block (headline, short line, its own animated card), 80px apart, with one
   "Get started" button pinned to the bottom while the chapters scroll past.
   ========================================================================== */
@media (max-width: 860px) {
  .instagram-page h1 { line-height: .98; letter-spacing: -.045em; }
  .instagram-page main h2 { font-size: clamp(2.1rem, 9.6vw, 2.75rem); line-height: 1.02; letter-spacing: -.045em; text-wrap: balance; }
  .instagram-page main h2 br, .instagram-page .st-chapter h3 br { display: none; }
  .ig-section-heading { margin-bottom: 40px; }
  .ig-section-heading .pill { margin-bottom: 18px; }
  .ig-section-heading p { font-size: 15px; line-height: 1.45; margin-top: 16px; max-width: 360px; }

  /* Phones go straight from the hero photo to the first chapter. */
  .st { padding-top: 0; }
  .st-heading { display: none; }
  .st-stacked .st-inner { display: block; padding: 56px var(--gutter, 20px) 64px; }
  .st-stacked .st-left { display: block; }
  .st-stacked .st-copy { display: flex; flex-direction: column; gap: 80px; }
  .st-stacked .st-chapter { padding: 0; }
  .instagram-page .st-chapter h3 { font-size: clamp(1.9rem, 8.6vw, 2.25rem); line-height: .95; letter-spacing: -.045em; text-wrap: balance; max-width: 340px; margin: 0 auto; }
  .st-chapter > p { margin: 12px auto 0; font-size: 15px; line-height: 1.45; max-width: 330px; }
  .st-inline { display: flex; flex-direction: column; width: min(310px, calc(100vw - 40px)); margin: 28px auto 0; text-align: left; }
  .st-device--inline { width: 100%; }
  .st-device--inline .st-card { height: 600px; border-radius: 22px; }
  .st-device--inline .cb-story-thumb { width: 76px; height: 112px; }
  .st-device--inline .st-comment { padding-bottom: 10px; }
  .st-device--inline .st-sheet.is-full { height: calc(100% - 56px); }
  .st-card-pause { position: relative; left: auto; bottom: auto; align-self: flex-end; margin-top: 10px; width: 30px; height: 30px; color: var(--ink); background: #0a0a1e0d; box-shadow: inset 0 0 0 1px #0a0a1e1a; }
  .st-stacked .st-cta { position: sticky; z-index: 5; bottom: 16px; height: 48px; margin-top: 64px; font-size: 15px; box-shadow: 0 10px 28px #4424d740; }
  body:has(.install-banner) .st-stacked .st-cta { bottom: 86px; }

  /* Use cases: small scrolling cards, then the phone on a lilac panel
     with the description at the top. */
  .ig-usecases { gap: 16px; }
  .ig-usecase-menu .ig-demo-tabs { gap: 8px; padding-bottom: 2px; scroll-padding-inline: var(--gutter, 20px); }
  .ig-demo-tabs button { flex: 0 0 156px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 101px; padding: 12px 16px; border-radius: 8px; background: #0000000d; color: var(--ink); }
  .ig-demo-tabs button b { font-family: var(--font-body); font-size: 13px; line-height: 1.3; font-weight: 600; letter-spacing: 0; white-space: normal; }
  .ig-demo-tabs button::after { content: 'See it \2192'; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .ig-demo-tabs button:hover { background: #00000014; }
  .ig-demo-tabs button[aria-pressed=true] { background: var(--ig-purple); color: #fff; }
  .ig-demo-tabs button[aria-pressed=true]::after { content: 'Playing'; color: #ffffffb3; }
  .ig-usecase-visual { justify-content: flex-start; padding: 20px 20px 28px; border-radius: 20px; background-image: none; }
  .ig-usecase-caption { order: -1; align-self: stretch; max-width: none; margin: 0 0 24px; padding: 2px 0 2px 14px; border-left: 2px solid var(--ig-purple); text-align: left; font-size: 15px; line-height: 1.45; color: var(--ink); }
  .ig-usecase-visual .ig-phone { width: min(260px, 74vw); }
  .ig-usecase-pause { top: auto; bottom: 14px; right: 14px; }
}
@media (max-width: 360px) {
  .instagram-page .st-chapter h3 { font-size: 1.8rem; }
  .st-device--inline .st-card { height: 580px; }
  .st-device--inline .st-comment { font-size: 13px; padding-bottom: 8px; }
  .st-device--inline .cb-story-thumb { width: 68px; height: 100px; }
  .ig-demo-tabs button { flex-basis: 144px; }
}
