/* Intermittor 6 on the homepage (26 September 2026).
   Only styles the blocks added for v6; everything else keeps the page's own
   ih-* system (typography, cards, cut-out frames, zoom buttons). */

/* Two native iPhone captures in a frame drawn like the page's cut-out frames.
   Not an .ih-product-frame on purpose: bevel-motion.js would parallax only the first phone. */
.ih-v6-frame {
  padding: clamp(28px, 5vw, 56px) clamp(20px, 4vw, 54px);
  border: 1px solid rgba(123, 77, 245, .12);
  border-radius: 24px;
  background: #eee9ff;
  box-shadow: 0 28px 70px rgba(39, 30, 62, .12);
}
.ih-v6-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: clamp(24px, 6vw, 72px); }
.ih-v6-gallery figure { margin: 0; min-width: 0; }
.ih-v6-phone {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 21, 29, .08);
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(69, 42, 142, .14);
}
.ih-v6-phone img { display: block; width: 100%; height: auto; }
.ih-v6-gallery figcaption { margin-top: 14px; color: var(--ih-muted); font-size: .92rem; line-height: 1.5; text-align: center; text-wrap: balance; }

/* Feature cards whose visual is a pair of native iPhone captures (27/09/2026):
   copy on the left and phones on the right on large screens, stacked below. */
@media (min-width: 900px) {
  .ih-feature.ih-feature--phones {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    column-gap: clamp(32px, 5vw, 64px);
    align-items: center;
  }
  .ih-feature--phones > .ih-feature-copy { margin-bottom: 0; }
  .ih-feature--phones > .ih-v6-android { grid-column: 1 / -1; }
}
.ih-feature--phones .ih-v6-gallery { grid-template-columns: repeat(2, minmax(0, 250px)); gap: clamp(14px, 3vw, 28px); }
@media (min-width: 900px) { .ih-feature--phones .ih-v6-frame { padding: clamp(24px, 2.6vw, 36px); } }
/* Round, icon-only zoom on phone captures: the "Agrandir" label would cover the app's bottom bar.
   The text stays in the DOM as the accessible name. */
.ih-v6-phone .visual-zoom { right: 10px; bottom: 10px; width: 40px; min-height: 40px; padding: 0; gap: 0; justify-content: center; font-size: 0; }

/* Android 6.0.4 news, closing the Intermittor 6 card. */
.ih-v6-android {
  max-width: 760px;
  margin-top: clamp(32px, 4vw, 44px);
  padding-top: clamp(28px, 4vw, 36px);
  border-top: 1px solid rgba(123, 77, 245, .16);
}
.ih-v6-android h3 { margin: 0 0 12px; font-size: clamp(1.3rem, 2vw, 1.6rem); line-height: 1.15; letter-spacing: -.035em; }
.ih-v6-android p:not(.ih-eyebrow) { margin: 0 0 14px; color: var(--ih-muted); line-height: 1.65; }
.ih-v6-android .ih-web-link { display: inline-flex; margin-top: 4px; }

/* Native iPad demo video (1280x960): keep its ratio, the width/height attributes only reserve space. */
.ih-video-frame video { height: auto; aspect-ratio: 4 / 3; }

/* Comparison links. */
.ih-v6-comparisons { padding: 0 0 112px; }
.ih-v6-comparison-layout { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.ih-v6-comparison-layout figure { margin: 0; min-width: 0; }
.ih-v6-comparison-layout img { display: block; width: 100%; height: auto; border-radius: 24px; }
.ih-v6-comparison-layout h2 { margin: 0; font-size: clamp(2rem, 3.6vw, 3.5rem); line-height: 1.05; letter-spacing: -.05em; text-wrap: balance; }
.ih-v6-comparison-layout p:not(.ih-eyebrow) { margin: 18px 0 0; color: var(--ih-muted); font-size: 1.06rem; line-height: 1.65; }
.ih-v6-comparison-layout nav { display: flex; flex-direction: column; margin: 24px 0 18px; border-top: 1px solid var(--ih-line); }
.ih-v6-comparison-layout nav a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 54px;
  padding: 14px 0;
  border-bottom: 1px solid var(--ih-line);
  color: var(--ih-ink);
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}
.ih-v6-comparison-layout nav a span { color: var(--ih-purple-dark); }
.ih-v6-comparison-layout nav a:hover { color: var(--ih-purple-dark); }
.ih-v6-comparison-layout p.ih-v6-note { margin: 0; font-size: .92rem; }

@media (max-width: 820px) {
  .ih-v6-comparison-layout { grid-template-columns: 1fr; }
  .ih-v6-comparisons { padding-bottom: 84px; }
  .ih-v6-comparison-layout figure { max-width: 460px; }
  .ih-v6-frame { padding: 24px 16px; }
}
@media (max-width: 560px) {
  .ih-v6-gallery { grid-template-columns: minmax(0, 270px); gap: 32px; }
}
@media (max-width: 560px) {
  .ih-feature--phones .ih-v6-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ih-feature--phones .ih-v6-frame { padding: 16px 12px; }
  .ih-feature--phones .ih-v6-phone { border-radius: 18px; }
  .ih-feature--phones .ih-v6-gallery figcaption { font-size: .82rem; }
  .ih-feature--phones .ih-v6-phone .visual-zoom { right: 6px; bottom: 6px; width: 34px; min-height: 34px; }
}
