/* "Inside MI8OS" guide block: the same panel as the FAQ page on mi8os.com (assets/mi8os-faq.css, .faq-guide).
   Always dark, like the guide's covers. Identical in app.mi8os.com and guide.mi8os.com. */
.faq-guide { padding-block: 0 clamp(4rem, 8vw, 7rem); scroll-margin-top: 5rem; }
.faq-guide__panel { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  padding: clamp(2rem, 5vw, 4.5rem); border-radius: 2rem; color: #ede7e1;
  background: radial-gradient(90% 80% at 85% 70%, rgba(184,115,97,.28) 0%, rgba(11,10,10,0) 60%), linear-gradient(160deg, #1b1715 0%, #0f0d0c 60%, #0b0a0a 100%);
  border: 1px solid rgba(232,186,163,.16); }
.faq-guide__eyebrow { margin: 0; font-weight: 650; font-size: .875rem; letter-spacing: .12em; text-transform: uppercase; color: #e8baa3; }
.faq-guide h2 { margin: 1rem 0 0; font: 600 clamp(2rem, 4.4vw, 3.5rem)/1.02 "Manrope", ui-sans-serif, system-ui, sans-serif; letter-spacing: -.025em; color: #f4efea; text-wrap: balance; }
.faq-guide__body { margin: 1.4rem 0 0; max-width: 46ch; color: #b9aea6; font-size: 1.0938rem; line-height: 1.65; }
.faq-guide__topics { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .55rem 1.5rem; }
.faq-guide__topics li { position: relative; padding-left: 1.5rem; color: #ddd3cc; font-size: .9688rem; line-height: 1.45; }
.faq-guide__topics li::before { content: ""; position: absolute; left: 0; top: .5em; width: .55rem; height: .55rem; border-radius: 50%; background: linear-gradient(135deg, #e8baa3, #b87361); }
.faq-guide__downloads { display: grid; gap: .75rem; margin-top: 2.2rem; max-width: 30rem; }
.faq-guide__dl { display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; padding: 1rem 1.25rem; border-radius: 1rem;
  border: 1px solid rgba(232,186,163,.26); background: rgba(255,255,255,.035); color: #f4efea; transition: border-color .3s cubic-bezier(.16, 1, .3, 1), background .3s cubic-bezier(.16, 1, .3, 1), transform .3s cubic-bezier(.16, 1, .3, 1); }
.faq-guide__dl:first-child { background: linear-gradient(115deg, #e8baa3 0%, #d79a82 38%, #c47e6a 68%, #b87361 100%); border-color: transparent; color: #181210; }
.faq-guide__dl:hover { transform: translateY(-2px); border-color: rgba(232,186,163,.6); }
.faq-guide__dl svg { opacity: .9; }
.faq-guide__dl b { display: block; font-size: 1rem; font-weight: 650; }
.faq-guide__dl small { display: block; margin-top: .15rem; font-size: .8438rem; opacity: .75; }
.faq-guide__arrow { flex: none; transition: transform .25s cubic-bezier(.16, 1, .3, 1); }
.faq-guide__dl:hover .faq-guide__arrow { transform: translate(2px, -2px); }
.faq-guide__dl:not(:first-child) svg [stroke="currentColor"] { stroke: url(#faq-rose); }
.faq-guide__dl:not(:first-child) .faq-guide__arrow { stroke: url(#faq-rose); }

.faq-guide__visual { position: relative; min-height: clamp(22rem, 38vw, 33rem); }
.faq-guide__sheet, .faq-guide__phone { position: absolute; display: block; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.faq-guide__sheet { right: 12%; top: 4%; width: 62%; transform: rotate(-5deg); border-radius: .5rem; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(232,186,163,.18); }
/* the phone: iPhone Air frame (1380 x 2880) with the cover rendered at its screen size (1260 x 2736) */
.faq-guide__phone { right: 0; bottom: 0; width: 36%; aspect-ratio: 1380 / 2880; transform: rotate(4deg);
  filter: drop-shadow(0 30px 40px rgba(0,0,0,.75)); }
.faq-guide__screen { position: absolute; left: 4.347826%; top: 2.5%; width: 91.304348%; height: 95%; max-width: none; object-fit: cover; background: #0b0a09; border-radius: 10% / 5%; }
.faq-guide__frame { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; max-width: none; }
.faq-guide__sheet img { display: block; width: 100%; height: auto; }
.faq-guide__panel:hover .faq-guide__sheet { transform: rotate(-7deg) translateY(-6px); }
.faq-guide__panel:hover .faq-guide__phone { transform: rotate(2deg) translateY(-10px); }
.faq-guide__dl { text-decoration: none; }
@media (max-width: 900px) {
  .faq-guide__panel { grid-template-columns: 1fr; }
  .faq-guide__visual { order: -1; min-height: 0; aspect-ratio: 1.15; }
}
@media (max-width: 560px) {
  .faq-guide__panel { border-radius: 1.5rem; }
  .faq-guide__topics { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .faq-guide__sheet, .faq-guide__phone { transition: none; }
}
